Skip to content

Commit

Permalink
https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#240621
Browse files Browse the repository at this point in the history
  • Loading branch information
PlayFab SDK Team authored and PlayFab SDK Team committed Jun 25, 2024
2 parents 317ccb3 + 3caf18a commit 5dc5ef7
Show file tree
Hide file tree
Showing 10 changed files with 87 additions and 31 deletions.
4 changes: 2 additions & 2 deletions PlayFabSdk/Scripts/PlayFab/PlayFab.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
var url = require("url");
var https = require("https");

exports.sdk_version = "2.155.240524";
exports.sdk_version = "2.156.240621";
exports.buildIdentifier = "adobuild_nodesdk_114";

var settings = (exports.settings = {
Expand All @@ -19,7 +19,7 @@ var _internalSettings = (exports._internalSettings = {
entityToken: null,
sessionTicket: null,
requestGetParams: {
sdk: "JavaScriptSDK-2.155.240524",
sdk: "JavaScriptSDK-2.156.240621",
},
});

Expand Down
30 changes: 26 additions & 4 deletions PlayFabSdk/Scripts/typings/PlayFab/PlayFabAdmin.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2525,6 +2525,8 @@ declare module PlayFabAdminModels {
| "StatisticDefinitionModificationNotAllowedWhileLinked"
| "LeaderboardUpdateNotAllowedWhileLinked"
| "CloudScriptAzureFunctionsEventHubRequestError"
| "LeaderboardRateLimitExceeded"
| "ExternalEntityNotAllowedForTier"
| "MatchmakingEntityInvalid"
| "MatchmakingPlayerAttributesInvalid"
| "MatchmakingQueueNotFound"
Expand Down Expand Up @@ -2771,9 +2773,27 @@ declare module PlayFabAdminModels {
| "TrueSkillJobAlreadyExists"
| "TrueSkillJobNotFound"
| "TrueSkillOperationCanceled"
| "StateShareUnauthorized"
| "TrueSkillActiveModelLimitExceeded"
| "TrueSkillTotalModelLimitExceeded"
| "TrueSkillUnknownInitialModelId"
| "TrueSkillUnauthorizedForJob"
| "TrueSkillInvalidScenarioName"
| "TrueSkillConditionStateIsRequired"
| "TrueSkillEventStateIsRequired"
| "TrueSkillDuplicateEvent"
| "TrueSkillDuplicateCondition"
| "TrueSkillInvalidAnomalyThreshold"
| "TrueSkillConditionKeyLimitExceeded"
| "TrueSkillConditionValuePerKeyLimitExceeded"
| "TrueSkillEventLimitExceeded"
| "StateShareForbidden"
| "StateShareTitleNotInFlight"
| "StateShareStateNotFound"
| "StateShareLinkNotFound";
| "StateShareLinkNotFound"
| "StateShareStateRedemptionLimitExceeded"
| "StateShareStateRedemptionLimitNotUpdated"
| "StateShareCreatedStatesLimitExceeded"
| "StateShareIdMissingOrMalformed";

export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon {
// Parameter of this task instance
Expand Down Expand Up @@ -3456,7 +3476,8 @@ declare module PlayFabAdminModels {
| "OpenIdConnect"
| "Apple"
| "NintendoSwitchAccount"
| "GooglePlayGames";
| "GooglePlayGames"
| "XboxMobileStore";

export interface LogStatement {
// Optional object accompanying the message as contextual information
Expand Down Expand Up @@ -5311,7 +5332,8 @@ declare module PlayFabAdminModels {
| "OpenIdConnect"
| "Apple"
| "NintendoSwitchAccount"
| "GooglePlayGames";
| "GooglePlayGames"
| "XboxMobileStore";

export interface UserOriginationSegmentFilter {
// User login provider.
Expand Down
12 changes: 10 additions & 2 deletions PlayFabSdk/Scripts/typings/PlayFab/PlayFabAuthentication.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,14 @@ declare module PlayFabAuthenticationModels {
type IdentifiedDeviceType = "Unknown"

| "XboxOne"
| "Scarlett";
| "Scarlett"
| "WindowsOneCore"
| "WindowsOneCoreMobile"
| "Win32"
| "android"
| "iOS"
| "PlayStation"
| "Nintendo";

type LoginIdentityProvider = "Unknown"

Expand All @@ -130,7 +137,8 @@ declare module PlayFabAuthenticationModels {
| "OpenIdConnect"
| "Apple"
| "NintendoSwitchAccount"
| "GooglePlayGames";
| "GooglePlayGames"
| "XboxMobileStore";

export interface ValidateEntityTokenRequest extends PlayFabModule.IPlayFabRequestCommon {
// The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).
Expand Down
6 changes: 4 additions & 2 deletions PlayFabSdk/Scripts/typings/PlayFab/PlayFabClient.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3235,7 +3235,8 @@ declare module PlayFabClientModels {
| "OpenIdConnect"
| "Apple"
| "NintendoSwitchAccount"
| "GooglePlayGames";
| "GooglePlayGames"
| "XboxMobileStore";

export interface LoginResult extends PlayFabModule.IPlayFabResultCommon {
// If LoginTitlePlayerAccountEntity flag is set on the login request the title_player_account will also be logged in and
Expand Down Expand Up @@ -4827,7 +4828,8 @@ declare module PlayFabClientModels {
| "OpenIdConnect"
| "Apple"
| "NintendoSwitchAccount"
| "GooglePlayGames";
| "GooglePlayGames"
| "XboxMobileStore";

export interface UserPrivateAccountInfo {
// user email address
Expand Down
3 changes: 2 additions & 1 deletion PlayFabSdk/Scripts/typings/PlayFab/PlayFabCloudScript.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,8 @@ declare module PlayFabCloudScriptModels {
| "OpenIdConnect"
| "Apple"
| "NintendoSwitchAccount"
| "GooglePlayGames";
| "GooglePlayGames"
| "XboxMobileStore";

export interface LogStatement {
// Optional object accompanying the message as contextual information
Expand Down
23 changes: 11 additions & 12 deletions PlayFabSdk/Scripts/typings/PlayFab/PlayFabEconomy.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
declare module PlayFabEconomyModule {
export interface IPlayFabEconomy {
settings: PlayFabModule.IPlayFabSettings;
// Add inventory items. Up to 3500 stacks of items can be added to a single inventory collection. Stack size is uncapped.
// Add inventory items. Up to 10,000 stacks of items can be added to a single inventory collection. Stack size is uncapped.
// https://docs.microsoft.com/rest/api/playfab/economy/inventory/addinventoryitems
AddInventoryItems(
request: PlayFabEconomyModels.AddInventoryItemsRequest | null,
Expand Down Expand Up @@ -47,11 +47,10 @@ declare module PlayFabEconomyModule {
request: PlayFabEconomyModels.DeleteItemRequest | null,
callback: PlayFabModule.ApiCallback<PlayFabEconomyModels.DeleteItemResponse> | null,
): void;
// Execute a list of Inventory Operations. A maximum list of 10 operations can be performed by a single request. There is
// also a limit to 250 items that can be modified/added in a single request. For example, adding a bundle with 50 items
// Execute a list of Inventory Operations. A maximum list of 250 operations can be performed by a single request. There is
// also a limit to 300 items that can be modified/added in a single request. For example, adding a bundle with 50 items
// counts as 50 items modified. All operations must be done within a single inventory collection. This API has a reduced
// RPS compared to an individual inventory operation with Player Entities limited to 15 requests in 90 seconds and Title
// Entities limited to 500 requests in 10 seconds.
// RPS compared to an individual inventory operation with Player Entities limited to 60 requests in 90 seconds.
// https://docs.microsoft.com/rest/api/playfab/economy/inventory/executeinventoryoperations
ExecuteInventoryOperations(
request: PlayFabEconomyModels.ExecuteInventoryOperationsRequest | null,
Expand Down Expand Up @@ -104,8 +103,9 @@ declare module PlayFabEconomyModule {
request: PlayFabEconomyModels.GetEntityItemReviewRequest | null,
callback: PlayFabModule.ApiCallback<PlayFabEconomyModels.GetEntityItemReviewResponse> | null,
): void;
// Get Inventory Collection Ids. Up to 50 Ids can be returned at once. You can use continuation tokens to paginate through
// results that return greater than the limit. It can take a few seconds for new collection Ids to show up.
// Get Inventory Collection Ids. Up to 50 Ids can be returned at once (or 250 with response compression enabled). You can
// use continuation tokens to paginate through results that return greater than the limit. It can take a few seconds for
// new collection Ids to show up.
// https://docs.microsoft.com/rest/api/playfab/economy/inventory/getinventorycollectionids
GetInventoryCollectionIds(
request: PlayFabEconomyModels.GetInventoryCollectionIdsRequest | null,
Expand Down Expand Up @@ -182,10 +182,9 @@ declare module PlayFabEconomyModule {
request: PlayFabEconomyModels.GetMicrosoftStoreAccessTokensRequest | null,
callback: PlayFabModule.ApiCallback<PlayFabEconomyModels.GetMicrosoftStoreAccessTokensResponse> | null,
): void;
// Get transaction history for a player. Up to 50 Events can be returned at once. You can use continuation tokens to
// Get transaction history for a player. Up to 250 Events can be returned at once. You can use continuation tokens to
// paginate through results that return greater than the limit. Getting transaction history has a lower RPS limit than
// getting a Player's inventory with Player Entities having a limit of 30 requests in 300 seconds and Title Entities having
// a limit of 100 requests in 10 seconds.
// getting a Player's inventory with Player Entities having a limit of 30 requests in 300 seconds.
// https://docs.microsoft.com/rest/api/playfab/economy/inventory/gettransactionhistory
GetTransactionHistory(
request: PlayFabEconomyModels.GetTransactionHistoryRequest | null,
Expand All @@ -198,7 +197,7 @@ declare module PlayFabEconomyModule {
request: PlayFabEconomyModels.PublishDraftItemRequest | null,
callback: PlayFabModule.ApiCallback<PlayFabEconomyModels.PublishDraftItemResponse> | null,
): void;
// Purchase an item or bundle. Up to 3500 stacks of items can be added to a single inventory collection. Stack size is
// Purchase an item or bundle. Up to 10,000 stacks of items can be added to a single inventory collection. Stack size is
// uncapped.
// https://docs.microsoft.com/rest/api/playfab/economy/inventory/purchaseinventoryitems
PurchaseInventoryItems(
Expand Down Expand Up @@ -978,7 +977,7 @@ declare module PlayFabEconomyModels {
// be garbage collected eventually.
IdempotencyId?: string;
// The operations to run transactionally. The operations will be executed in-order sequentially and will succeed or fail as
// a batch. Up to 10 operations can be added.
// a batch. Up to 50 operations can be added.
Operations?: InventoryOperation[];
}

Expand Down
4 changes: 3 additions & 1 deletion PlayFabSdk/Scripts/typings/PlayFab/PlayFabMultiplayer.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2910,6 +2910,8 @@ declare module PlayFabMultiplayerModels {
Ports?: Port[];
// The server's region.
Region?: string;
// The string server ID of the multiplayer server generated by PlayFab.
ServerId?: string;
}

export interface ServerResourceConstraintParams {
Expand Down Expand Up @@ -2953,7 +2955,7 @@ declare module PlayFabMultiplayerModels {
// The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).
CustomTags?: { [key: string]: string | null };
// The matchmaking queue config.
MatchmakingQueue?: MatchmakingQueueConfig;
MatchmakingQueue: MatchmakingQueueConfig;
}

export interface SetMatchmakingQueueResult extends PlayFabModule.IPlayFabResultCommon {}
Expand Down
30 changes: 26 additions & 4 deletions PlayFabSdk/Scripts/typings/PlayFab/PlayFabServer.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2420,6 +2420,8 @@ declare module PlayFabServerModels {
| "StatisticDefinitionModificationNotAllowedWhileLinked"
| "LeaderboardUpdateNotAllowedWhileLinked"
| "CloudScriptAzureFunctionsEventHubRequestError"
| "LeaderboardRateLimitExceeded"
| "ExternalEntityNotAllowedForTier"
| "MatchmakingEntityInvalid"
| "MatchmakingPlayerAttributesInvalid"
| "MatchmakingQueueNotFound"
Expand Down Expand Up @@ -2666,9 +2668,27 @@ declare module PlayFabServerModels {
| "TrueSkillJobAlreadyExists"
| "TrueSkillJobNotFound"
| "TrueSkillOperationCanceled"
| "StateShareUnauthorized"
| "TrueSkillActiveModelLimitExceeded"
| "TrueSkillTotalModelLimitExceeded"
| "TrueSkillUnknownInitialModelId"
| "TrueSkillUnauthorizedForJob"
| "TrueSkillInvalidScenarioName"
| "TrueSkillConditionStateIsRequired"
| "TrueSkillEventStateIsRequired"
| "TrueSkillDuplicateEvent"
| "TrueSkillDuplicateCondition"
| "TrueSkillInvalidAnomalyThreshold"
| "TrueSkillConditionKeyLimitExceeded"
| "TrueSkillConditionValuePerKeyLimitExceeded"
| "TrueSkillEventLimitExceeded"
| "StateShareForbidden"
| "StateShareTitleNotInFlight"
| "StateShareStateNotFound"
| "StateShareLinkNotFound";
| "StateShareLinkNotFound"
| "StateShareStateRedemptionLimitExceeded"
| "StateShareStateRedemptionLimitNotUpdated"
| "StateShareCreatedStatesLimitExceeded"
| "StateShareIdMissingOrMalformed";

export interface GenericPlayFabIdPair {
// Unique generic service identifier for a user.
Expand Down Expand Up @@ -3723,7 +3743,8 @@ declare module PlayFabServerModels {
| "OpenIdConnect"
| "Apple"
| "NintendoSwitchAccount"
| "GooglePlayGames";
| "GooglePlayGames"
| "XboxMobileStore";

export interface LoginWithPSNRequest extends PlayFabModule.IPlayFabRequestCommon {
// Auth code provided by the PlayStation :tm: Network OAuth provider.
Expand Down Expand Up @@ -5033,7 +5054,8 @@ declare module PlayFabServerModels {
| "OpenIdConnect"
| "Apple"
| "NintendoSwitchAccount"
| "GooglePlayGames";
| "GooglePlayGames"
| "XboxMobileStore";

export interface UserPrivateAccountInfo {
// user email address
Expand Down
4 changes: 2 additions & 2 deletions PlayFabSdk/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion PlayFabSdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "playfab-sdk",
"version": "2.155.240524",
"version": "2.156.240621",
"description": "Playfab SDK for node.js applications",
"license": "Apache-2.0",
"devDependencies": {
Expand Down

0 comments on commit 5dc5ef7

Please sign in to comment.