From b30518a4020fe9ac61c12bd02fb7a9f1a19ba728 Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Wed, 7 Sep 2022 21:21:56 +0000 Subject: [PATCH] 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;