diff --git a/PlayFabSdk/Scripts/PlayFab/PlayFab.js b/PlayFabSdk/Scripts/PlayFab/PlayFab.js index d58a05a..9c3ad9d 100644 --- a/PlayFabSdk/Scripts/PlayFab/PlayFab.js +++ b/PlayFabSdk/Scripts/PlayFab/PlayFab.js @@ -3,8 +3,8 @@ var url = require("url"); var https = require("https"); -exports.sdk_version = "2.160.240816"; -exports.buildIdentifier = "adobuild_nodesdk_117"; +exports.sdk_version = "2.161.240830"; +exports.buildIdentifier = "adobuild_nodesdk_8"; var settings = (exports.settings = { productionUrl: ".playfabapi.com", @@ -19,7 +19,7 @@ var _internalSettings = (exports._internalSettings = { entityToken: null, sessionTicket: null, requestGetParams: { - sdk: "JavaScriptSDK-2.160.240816", + sdk: "JavaScriptSDK-2.161.240830", }, }); diff --git a/PlayFabSdk/Scripts/PlayFab/PlayFabMatchmaker.js b/PlayFabSdk/Scripts/PlayFab/PlayFabMatchmaker.js deleted file mode 100644 index c2b9243..0000000 --- a/PlayFabSdk/Scripts/PlayFab/PlayFabMatchmaker.js +++ /dev/null @@ -1,6 +0,0 @@ -/// - -var PlayFab = require("./PlayFab.js"); - -exports.settings = PlayFab.settings; - diff --git a/PlayFabSdk/Scripts/typings/PlayFab/PlayFabAddon.d.ts b/PlayFabSdk/Scripts/typings/PlayFab/PlayFabAddon.d.ts index dafe64d..1cf5a9e 100644 --- a/PlayFabSdk/Scripts/typings/PlayFab/PlayFabAddon.d.ts +++ b/PlayFabSdk/Scripts/typings/PlayFab/PlayFabAddon.d.ts @@ -2,163 +2,163 @@ declare module PlayFabAddonModule { export interface IPlayFabAddon { settings: PlayFabModule.IPlayFabSettings; // Creates the Apple addon on a title, or updates it if it already exists. - // https://docs.microsoft.com/rest/api/playfab/addon/null/createorupdateapple + // https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdateapple CreateOrUpdateApple( request: PlayFabAddonModels.CreateOrUpdateAppleRequest | null, callback: PlayFabModule.ApiCallback | null, ): void; // Creates the Facebook addon on a title, or updates it if it already exists. - // https://docs.microsoft.com/rest/api/playfab/addon/null/createorupdatefacebook + // https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdatefacebook CreateOrUpdateFacebook( request: PlayFabAddonModels.CreateOrUpdateFacebookRequest | null, callback: PlayFabModule.ApiCallback | null, ): void; // Creates the Facebook Instant Games addon on a title, or updates it if it already exists. - // https://docs.microsoft.com/rest/api/playfab/addon/null/createorupdatefacebookinstantgames + // https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdatefacebookinstantgames CreateOrUpdateFacebookInstantGames( request: PlayFabAddonModels.CreateOrUpdateFacebookInstantGamesRequest | null, callback: PlayFabModule.ApiCallback | null, ): void; // Creates the Google addon on a title, or updates it if it already exists. - // https://docs.microsoft.com/rest/api/playfab/addon/null/createorupdategoogle + // https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdategoogle CreateOrUpdateGoogle( request: PlayFabAddonModels.CreateOrUpdateGoogleRequest | null, callback: PlayFabModule.ApiCallback | null, ): void; // Creates the Kongregate addon on a title, or updates it if it already exists. - // https://docs.microsoft.com/rest/api/playfab/addon/null/createorupdatekongregate + // https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdatekongregate CreateOrUpdateKongregate( request: PlayFabAddonModels.CreateOrUpdateKongregateRequest | null, callback: PlayFabModule.ApiCallback | null, ): void; // Creates the Nintendo addon on a title, or updates it if it already exists. - // https://docs.microsoft.com/rest/api/playfab/addon/null/createorupdatenintendo + // https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdatenintendo CreateOrUpdateNintendo( request: PlayFabAddonModels.CreateOrUpdateNintendoRequest | null, callback: PlayFabModule.ApiCallback | null, ): void; // Creates the PSN addon on a title, or updates it if it already exists. - // https://docs.microsoft.com/rest/api/playfab/addon/null/createorupdatepsn + // https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdatepsn CreateOrUpdatePSN( request: PlayFabAddonModels.CreateOrUpdatePSNRequest | null, callback: PlayFabModule.ApiCallback | null, ): void; // Creates the Steam addon on a title, or updates it if it already exists. - // https://docs.microsoft.com/rest/api/playfab/addon/null/createorupdatesteam + // https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdatesteam CreateOrUpdateSteam( request: PlayFabAddonModels.CreateOrUpdateSteamRequest | null, callback: PlayFabModule.ApiCallback | null, ): void; // Creates the Twitch addon on a title, or updates it if it already exists. - // https://docs.microsoft.com/rest/api/playfab/addon/null/createorupdatetwitch + // https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdatetwitch CreateOrUpdateTwitch( request: PlayFabAddonModels.CreateOrUpdateTwitchRequest | null, callback: PlayFabModule.ApiCallback | null, ): void; // Deletes the Apple addon on a title. - // https://docs.microsoft.com/rest/api/playfab/addon/null/deleteapple + // https://docs.microsoft.com/rest/api/playfab/addon/addon/deleteapple DeleteApple( request: PlayFabAddonModels.DeleteAppleRequest | null, callback: PlayFabModule.ApiCallback | null, ): void; // Deletes the Facebook addon on a title. - // https://docs.microsoft.com/rest/api/playfab/addon/null/deletefacebook + // https://docs.microsoft.com/rest/api/playfab/addon/addon/deletefacebook DeleteFacebook( request: PlayFabAddonModels.DeleteFacebookRequest | null, callback: PlayFabModule.ApiCallback | null, ): void; // Deletes the Facebook addon on a title. - // https://docs.microsoft.com/rest/api/playfab/addon/null/deletefacebookinstantgames + // https://docs.microsoft.com/rest/api/playfab/addon/addon/deletefacebookinstantgames DeleteFacebookInstantGames( request: PlayFabAddonModels.DeleteFacebookInstantGamesRequest | null, callback: PlayFabModule.ApiCallback | null, ): void; // Deletes the Google addon on a title. - // https://docs.microsoft.com/rest/api/playfab/addon/null/deletegoogle + // https://docs.microsoft.com/rest/api/playfab/addon/addon/deletegoogle DeleteGoogle( request: PlayFabAddonModels.DeleteGoogleRequest | null, callback: PlayFabModule.ApiCallback | null, ): void; // Deletes the Kongregate addon on a title. - // https://docs.microsoft.com/rest/api/playfab/addon/null/deletekongregate + // https://docs.microsoft.com/rest/api/playfab/addon/addon/deletekongregate DeleteKongregate( request: PlayFabAddonModels.DeleteKongregateRequest | null, callback: PlayFabModule.ApiCallback | null, ): void; // Deletes the Nintendo addon on a title. - // https://docs.microsoft.com/rest/api/playfab/addon/null/deletenintendo + // https://docs.microsoft.com/rest/api/playfab/addon/addon/deletenintendo DeleteNintendo( request: PlayFabAddonModels.DeleteNintendoRequest | null, callback: PlayFabModule.ApiCallback | null, ): void; // Deletes the PSN addon on a title. - // https://docs.microsoft.com/rest/api/playfab/addon/null/deletepsn + // https://docs.microsoft.com/rest/api/playfab/addon/addon/deletepsn DeletePSN( request: PlayFabAddonModels.DeletePSNRequest | null, callback: PlayFabModule.ApiCallback | null, ): void; // Deletes the Steam addon on a title. - // https://docs.microsoft.com/rest/api/playfab/addon/null/deletesteam + // https://docs.microsoft.com/rest/api/playfab/addon/addon/deletesteam DeleteSteam( request: PlayFabAddonModels.DeleteSteamRequest | null, callback: PlayFabModule.ApiCallback | null, ): void; // Deletes the Twitch addon on a title. - // https://docs.microsoft.com/rest/api/playfab/addon/null/deletetwitch + // https://docs.microsoft.com/rest/api/playfab/addon/addon/deletetwitch DeleteTwitch( request: PlayFabAddonModels.DeleteTwitchRequest | null, callback: PlayFabModule.ApiCallback | null, ): void; // Gets information of the Apple addon on a title, omits secrets. - // https://docs.microsoft.com/rest/api/playfab/addon/null/getapple + // https://docs.microsoft.com/rest/api/playfab/addon/addon/getapple GetApple( request: PlayFabAddonModels.GetAppleRequest | null, callback: PlayFabModule.ApiCallback | null, ): void; // Gets information of the Facebook addon on a title, omits secrets. - // https://docs.microsoft.com/rest/api/playfab/addon/null/getfacebook + // https://docs.microsoft.com/rest/api/playfab/addon/addon/getfacebook GetFacebook( request: PlayFabAddonModels.GetFacebookRequest | null, callback: PlayFabModule.ApiCallback | null, ): void; // Gets information of the Facebook Instant Games addon on a title, omits secrets. - // https://docs.microsoft.com/rest/api/playfab/addon/null/getfacebookinstantgames + // https://docs.microsoft.com/rest/api/playfab/addon/addon/getfacebookinstantgames GetFacebookInstantGames( request: PlayFabAddonModels.GetFacebookInstantGamesRequest | null, callback: PlayFabModule.ApiCallback | null, ): void; // Gets information of the Google addon on a title, omits secrets. - // https://docs.microsoft.com/rest/api/playfab/addon/null/getgoogle + // https://docs.microsoft.com/rest/api/playfab/addon/addon/getgoogle GetGoogle( request: PlayFabAddonModels.GetGoogleRequest | null, callback: PlayFabModule.ApiCallback | null, ): void; // Gets information of the Kongregate addon on a title, omits secrets. - // https://docs.microsoft.com/rest/api/playfab/addon/null/getkongregate + // https://docs.microsoft.com/rest/api/playfab/addon/addon/getkongregate GetKongregate( request: PlayFabAddonModels.GetKongregateRequest | null, callback: PlayFabModule.ApiCallback | null, ): void; // Gets information of the Nintendo addon on a title, omits secrets. - // https://docs.microsoft.com/rest/api/playfab/addon/null/getnintendo + // https://docs.microsoft.com/rest/api/playfab/addon/addon/getnintendo GetNintendo( request: PlayFabAddonModels.GetNintendoRequest | null, callback: PlayFabModule.ApiCallback | null, ): void; // Gets information of the PSN addon on a title, omits secrets. - // https://docs.microsoft.com/rest/api/playfab/addon/null/getpsn + // https://docs.microsoft.com/rest/api/playfab/addon/addon/getpsn GetPSN( request: PlayFabAddonModels.GetPSNRequest | null, callback: PlayFabModule.ApiCallback | null, ): void; // Gets information of the Steam addon on a title, omits secrets. - // https://docs.microsoft.com/rest/api/playfab/addon/null/getsteam + // https://docs.microsoft.com/rest/api/playfab/addon/addon/getsteam GetSteam( request: PlayFabAddonModels.GetSteamRequest | null, callback: PlayFabModule.ApiCallback | null, ): void; // Gets information of the Twitch addon on a title, omits secrets. - // https://docs.microsoft.com/rest/api/playfab/addon/null/gettwitch + // https://docs.microsoft.com/rest/api/playfab/addon/addon/gettwitch GetTwitch( request: PlayFabAddonModels.GetTwitchRequest | null, callback: PlayFabModule.ApiCallback | null, @@ -240,6 +240,10 @@ declare module PlayFabAddonModels { // Google OAuth Client Secret obtained through the Google Developer Console by creating a new set of "OAuth Client ID". // Required if using Google Authentication. OAuthClientSecret?: string; + // Authorized Redirect Uri obtained through the Google Developer Console. This currently defaults to + // https://oauth.playfab.com/oauth2/google. If you are authenticating players via browser, please update this to your own + // domain. + OAuthCustomRedirectUri?: string; // Needed to enable pending purchase handling and subscription processing. ServiceAccountKey?: string; } @@ -481,6 +485,10 @@ declare module PlayFabAddonModels { // Google OAuth Client ID obtained through the Google Developer Console by creating a new set of "OAuth Client ID". // Required if using Google Authentication. OAuthClientID?: string; + // Authorized Redirect Uri obtained through the Google Developer Console. This currently defaults to + // https://oauth.playfab.com/oauth2/google. If you are authenticating players via browser, please update this to your own + // domain. + OauthCustomRedirectUri?: string; } export interface GetKongregateRequest extends PlayFabModule.IPlayFabRequestCommon { diff --git a/PlayFabSdk/Scripts/typings/PlayFab/PlayFabAdmin.d.ts b/PlayFabSdk/Scripts/typings/PlayFab/PlayFabAdmin.d.ts index 56ea3ab..50e44e2 100644 --- a/PlayFabSdk/Scripts/typings/PlayFab/PlayFabAdmin.d.ts +++ b/PlayFabSdk/Scripts/typings/PlayFab/PlayFabAdmin.d.ts @@ -2536,7 +2536,7 @@ declare module PlayFabAdminModels { | "MultipleLinkedStatisticsNotAllowed" | "DuplicateLinkedStatisticColumnNameFound" | "AggregationTypeNotAllowedForMultiColumnStatistic" - | "MaxQueryableVerionsValueNotAllowedForTier" + | "MaxQueryableVersionsValueNotAllowedForTier" | "StatisticDefinitionHasNullOrEmptyVersionConfiguration" | "StatisticColumnLengthMismatch" | "MatchmakingEntityInvalid" diff --git a/PlayFabSdk/Scripts/typings/PlayFab/PlayFabClient.d.ts b/PlayFabSdk/Scripts/typings/PlayFab/PlayFabClient.d.ts index c835707..d872209 100644 --- a/PlayFabSdk/Scripts/typings/PlayFab/PlayFabClient.d.ts +++ b/PlayFabSdk/Scripts/typings/PlayFab/PlayFabClient.d.ts @@ -2057,18 +2057,19 @@ declare module PlayFabClientModels { } export interface FriendInfo { - // Available Facebook information (if the user and PlayFab friend are also connected in Facebook). + // Available Facebook information (if the user and connected Facebook friend both have PlayFab Accounts in the same title). FacebookInfo?: UserFacebookInfo; // PlayFab unique identifier for this friend. FriendPlayFabId?: string; - // Available Game Center information (if the user and PlayFab friend are also connected in Game Center). + // Available Game Center information (if the user and connected Game Center friend both have PlayFab Accounts in the same + // title). GameCenterInfo?: UserGameCenterInfo; // The profile of the user, if requested. Profile?: PlayerProfileModel; - // Available PlayStation :tm: Network information, if the user and PlayFab friend are both connected to PlayStation :tm: - // Network. + // Available PlayStation :tm: Network information, if the user connected PlayStation :tm Network friend both have PlayFab + // Accounts in the same title. PSNInfo?: UserPsnInfo; - // Available Steam information (if the user and PlayFab friend are also connected in Steam). + // Available Steam information (if the user and connected Steam friend both have PlayFab Accounts in the same title). SteamInfo?: UserSteamInfo; // Tags which have been associated with this friend. Tags?: string[]; @@ -2076,7 +2077,7 @@ declare module PlayFabClientModels { TitleDisplayName?: string; // PlayFab unique username for this friend. Username?: string; - // Available Xbox information, if the user and PlayFab friend are both connected to Xbox Live. + // Available Xbox information, (if the user and connected Xbox Live friend both have PlayFab Accounts in the same title). XboxInfo?: UserXboxInfo; } diff --git a/PlayFabSdk/Scripts/typings/PlayFab/PlayFabEconomy.d.ts b/PlayFabSdk/Scripts/typings/PlayFab/PlayFabEconomy.d.ts index 59c3bab..bb470e7 100644 --- a/PlayFabSdk/Scripts/typings/PlayFab/PlayFabEconomy.d.ts +++ b/PlayFabSdk/Scripts/typings/PlayFab/PlayFabEconomy.d.ts @@ -1714,17 +1714,17 @@ declare module PlayFabEconomyModels { FailureCode?: string; // The marketplace error details explaining why the offer failed to redeem. FailureDetails?: string; + // The Marketplace Alternate ID being redeemed. + MarketplaceAlternateId?: string; // The transaction id in the external marketplace. MarketplaceTransactionId?: string; - // The ID of the offer being redeemed. - OfferId?: string; } export interface RedemptionSuccess { + // The Marketplace Alternate ID being redeemed. + MarketplaceAlternateId?: string; // The transaction id in the external marketplace. MarketplaceTransactionId?: string; - // The ID of the offer being redeemed. - OfferId?: string; // The timestamp for when the redeem was completed. SuccessTimestamp: string; } diff --git a/PlayFabSdk/Scripts/typings/PlayFab/PlayFabMatchmaker.d.ts b/PlayFabSdk/Scripts/typings/PlayFab/PlayFabMatchmaker.d.ts deleted file mode 100644 index 69d7b55..0000000 --- a/PlayFabSdk/Scripts/typings/PlayFab/PlayFabMatchmaker.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -declare module PlayFabMatchmakerModule { - export interface IPlayFabMatchmaker { - settings: PlayFabModule.IPlayFabSettings; - - - } -} - -declare module PlayFabMatchmakerModels { -} diff --git a/PlayFabSdk/Scripts/typings/PlayFab/PlayFabServer.d.ts b/PlayFabSdk/Scripts/typings/PlayFab/PlayFabServer.d.ts index a17cb2d..623de6b 100644 --- a/PlayFabSdk/Scripts/typings/PlayFab/PlayFabServer.d.ts +++ b/PlayFabSdk/Scripts/typings/PlayFab/PlayFabServer.d.ts @@ -1829,18 +1829,19 @@ declare module PlayFabServerModels { } export interface FriendInfo { - // Available Facebook information (if the user and PlayFab friend are also connected in Facebook). + // Available Facebook information (if the user and connected Facebook friend both have PlayFab Accounts in the same title). FacebookInfo?: UserFacebookInfo; // PlayFab unique identifier for this friend. FriendPlayFabId?: string; - // Available Game Center information (if the user and PlayFab friend are also connected in Game Center). + // Available Game Center information (if the user and connected Game Center friend both have PlayFab Accounts in the same + // title). GameCenterInfo?: UserGameCenterInfo; // The profile of the user, if requested. Profile?: PlayerProfileModel; - // Available PlayStation :tm: Network information, if the user and PlayFab friend are both connected to PlayStation :tm: - // Network. + // Available PlayStation :tm: Network information, if the user connected PlayStation :tm Network friend both have PlayFab + // Accounts in the same title. PSNInfo?: UserPsnInfo; - // Available Steam information (if the user and PlayFab friend are also connected in Steam). + // Available Steam information (if the user and connected Steam friend both have PlayFab Accounts in the same title). SteamInfo?: UserSteamInfo; // Tags which have been associated with this friend. Tags?: string[]; @@ -1848,7 +1849,7 @@ declare module PlayFabServerModels { TitleDisplayName?: string; // PlayFab unique username for this friend. Username?: string; - // Available Xbox information, if the user and PlayFab friend are both connected to Xbox Live. + // Available Xbox information, (if the user and connected Xbox Live friend both have PlayFab Accounts in the same title). XboxInfo?: UserXboxInfo; } @@ -2431,7 +2432,7 @@ declare module PlayFabServerModels { | "MultipleLinkedStatisticsNotAllowed" | "DuplicateLinkedStatisticColumnNameFound" | "AggregationTypeNotAllowedForMultiColumnStatistic" - | "MaxQueryableVerionsValueNotAllowedForTier" + | "MaxQueryableVersionsValueNotAllowedForTier" | "StatisticDefinitionHasNullOrEmptyVersionConfiguration" | "StatisticColumnLengthMismatch" | "MatchmakingEntityInvalid" diff --git a/PlayFabSdk/package-lock.json b/PlayFabSdk/package-lock.json index 6f599ad..c0c3a0b 100644 --- a/PlayFabSdk/package-lock.json +++ b/PlayFabSdk/package-lock.json @@ -1,12 +1,12 @@ { "name": "playfab-sdk", - "version": "2.160.240816", + "version": "2.161.240830", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "playfab-sdk", - "version": "2.160.240816", + "version": "2.161.240830", "license": "Apache-2.0", "devDependencies": { "@types/node": "^9.6.55", diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 2634be4..28679ef 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-sdk", - "version": "2.160.240816", + "version": "2.161.240830", "description": "Playfab SDK for node.js applications", "license": "Apache-2.0", "devDependencies": {