Skip to content

Commit

Permalink
https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#230306
Browse files Browse the repository at this point in the history
  • Loading branch information
PlayFab SDK Team authored and PlayFab SDK Team committed Mar 6, 2023
2 parents 5f933df + 48ae1b4 commit 63ab7a8
Show file tree
Hide file tree
Showing 8 changed files with 55 additions and 10 deletions.
6 changes: 3 additions & 3 deletions PlayFabSdk/Scripts/PlayFab/PlayFab.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
var url = require("url");
var https = require("https");

exports.sdk_version = "2.119.230220";
exports.buildIdentifier = "adobuild_nodesdk_114";
exports.sdk_version = "2.120.230306";
exports.buildIdentifier = "adobuild_nodesdk_115";

var settings = (exports.settings = {
productionUrl: ".playfabapi.com",
Expand All @@ -19,7 +19,7 @@ var _internalSettings = (exports._internalSettings = {
entityToken: null,
sessionTicket: null,
requestGetParams: {
sdk: "JavaScriptSDK-2.119.230220",
sdk: "JavaScriptSDK-2.120.230306",
},
});

Expand Down
13 changes: 12 additions & 1 deletion PlayFabSdk/Scripts/typings/PlayFab/PlayFabAdmin.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2396,6 +2396,12 @@ declare module PlayFabAdminModels {
| "AnalysisSubscriptionManagementInvalidInput"
| "InvalidGameCenterId"
| "InvalidNintendoSwitchAccountId"
| "EntityAPIKeysNotSupported"
| "IpAddressBanned"
| "EntityLineageBanned"
| "NamespaceMismatch"
| "InvalidServiceConfiguration"
| "InvalidNamespaceMismatch"
| "MatchmakingEntityInvalid"
| "MatchmakingPlayerAttributesInvalid"
| "MatchmakingQueueNotFound"
Expand Down Expand Up @@ -2542,6 +2548,11 @@ declare module PlayFabAdminModels {
| "EventSamplingInvalidEventNamespace"
| "EventSamplingInvalidEventName"
| "EventSamplingRatioNotFound"
| "TelemetryKeyNotFound"
| "TelemetryKeyInvalidName"
| "TelemetryKeyAlreadyExists"
| "TelemetryKeyInvalid"
| "TelemetryKeyCountOverLimit"
| "EventSinkConnectionInvalid"
| "EventSinkConnectionUnauthorized"
| "EventSinkRegionInvalid"
Expand Down Expand Up @@ -2780,7 +2791,7 @@ declare module PlayFabAdminModels {
// segment.
MaxBatchSize?: number;
// Number of seconds to keep the continuation token active. After token expiration it is not possible to continue paging
// results. Default is 300 (5 minutes). Maximum is 1,800 (30 minutes).
// results. Default is 300 (5 minutes). Maximum is 5,400 (90 minutes).
SecondsToLive?: number;
// Unique identifier for this segment.
SegmentId: string;
Expand Down
2 changes: 2 additions & 0 deletions PlayFabSdk/Scripts/typings/PlayFab/PlayFabClient.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3484,6 +3484,8 @@ declare module PlayFabClientModels {
// OAuth 2.0 server authentication code obtained on the client by calling the getServerAuthCode()
// (https://developers.google.com/identity/sign-in/android/offline-access) Google client API.
ServerAuthCode?: string;
// Optional boolean to opt out of setting the MPA email when creating a Google account, defaults to true.
SetEmail?: boolean;
// Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a
// title has been selected.
TitleId?: string;
Expand Down
21 changes: 21 additions & 0 deletions PlayFabSdk/Scripts/typings/PlayFab/PlayFabEconomy.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,8 @@ declare module PlayFabEconomyModels {
CollectionId?: string;
// The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).
CustomTags?: { [key: string]: string | null };
// The duration to add to the current item expiration date.
DurationInSeconds?: number;
// The entity to perform this action on.
Entity?: EntityKey;
// ETags are used for concurrency checking when updating resources.
Expand Down Expand Up @@ -359,6 +361,10 @@ declare module PlayFabEconomyModels {
CreatorEntity?: EntityKey;
// The set of platform specific deep links for this item.
DeepLinks?: DeepLink[];
// The Stack Id that will be used as default for this item in Inventory when an explicit one is not provided. This
// DefaultStackId can be a static stack id or '{guid}', which will generate a unique stack id for the item. If null,
// Inventory's default stack id will be used.
DefaultStackId?: string;
// A dictionary of localized descriptions. Key is language code and localized string is the value. The neutral locale is
// required.
Description?: { [key: string]: string | null };
Expand Down Expand Up @@ -415,6 +421,8 @@ declare module PlayFabEconomyModels {
export interface CatalogPrice {
// The amounts of the catalog item price.
Amounts?: CatalogPriceAmount[];
// The per-unit duration this price can be used to purchase.
UnitDurationInSeconds?: number;
}

export interface CatalogPriceAmount {
Expand Down Expand Up @@ -1226,6 +1234,9 @@ declare module PlayFabEconomyModels {
Amount?: number;
// Game specific properties for display purposes. This is an arbitrary JSON blob.
DisplayProperties?: any;
// Only used for subscriptions. The date of when the item will expire in UTC. If not provided then the product will be
// available indefinitely.
ExpirationDate?: string;
// The id of the item. This should correspond to the item id in the catalog.
Id?: string;
// The stack id of the item.
Expand Down Expand Up @@ -1310,6 +1321,8 @@ declare module PlayFabEconomyModels {
// Indicates whether stacks reduced to an amount of 0 during the operation should be deleted from the inventory. (Default =
// false)
DeleteEmptyStacks: boolean;
// The duration to purchase.
DurationInSeconds?: number;
// The inventory item the operation applies to.
Item?: InventoryItemReference;
// The values to apply to a stack newly created by this operation.
Expand All @@ -1331,6 +1344,8 @@ declare module PlayFabEconomyModels {
// Indicates whether stacks reduced to an amount of 0 during the request should be deleted from the inventory.
// (Default=false)
DeleteEmptyStacks: boolean;
// The duration to purchase.
DurationInSeconds?: number;
// The entity to perform this action on.
Entity?: EntityKey;
// ETags are used for concurrency checking when updating resources.
Expand Down Expand Up @@ -1707,6 +1722,8 @@ declare module PlayFabEconomyModels {
// Indicates whether stacks reduced to an amount of 0 during the request should be deleted from the inventory. (Default =
// false).
DeleteEmptyStacks: boolean;
// The duration to subtract from the current item expiration date.
DurationInSeconds?: number;
// The inventory item the operation applies to.
Item?: InventoryItemReference;
}
Expand All @@ -1721,6 +1738,8 @@ declare module PlayFabEconomyModels {
// Indicates whether stacks reduced to an amount of 0 during the request should be deleted from the inventory.
// (Default=false)
DeleteEmptyStacks: boolean;
// The duration to subtract from the current item expiration date.
DurationInSeconds?: number;
// The entity to perform this action on.
Entity?: EntityKey;
// ETags are used for concurrency checking when updating resources.
Expand Down Expand Up @@ -1773,6 +1792,8 @@ declare module PlayFabEconomyModels {
export interface TransactionOperation {
// The amount of items in this transaction.
Amount?: number;
// The duration modified in this transaction.
DurationInSeconds?: number;
// The item id of the items in this transaction.
ItemId?: string;
// The type of item that the operation occurred on.
Expand Down
2 changes: 1 addition & 1 deletion PlayFabSdk/Scripts/typings/PlayFab/PlayFabProfiles.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ declare module PlayFabProfilesModels {
// The entity to perform this action on.
Entity: EntityKey;
// The statements to include in the access policy.
Statements?: EntityPermissionStatement[];
Statements: EntityPermissionStatement[];
}

export interface SetEntityProfilePolicyResponse extends PlayFabModule.IPlayFabResultCommon {
Expand Down
15 changes: 13 additions & 2 deletions PlayFabSdk/Scripts/typings/PlayFab/PlayFabServer.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2387,6 +2387,12 @@ declare module PlayFabServerModels {
| "AnalysisSubscriptionManagementInvalidInput"
| "InvalidGameCenterId"
| "InvalidNintendoSwitchAccountId"
| "EntityAPIKeysNotSupported"
| "IpAddressBanned"
| "EntityLineageBanned"
| "NamespaceMismatch"
| "InvalidServiceConfiguration"
| "InvalidNamespaceMismatch"
| "MatchmakingEntityInvalid"
| "MatchmakingPlayerAttributesInvalid"
| "MatchmakingQueueNotFound"
Expand Down Expand Up @@ -2533,6 +2539,11 @@ declare module PlayFabServerModels {
| "EventSamplingInvalidEventNamespace"
| "EventSamplingInvalidEventName"
| "EventSamplingRatioNotFound"
| "TelemetryKeyNotFound"
| "TelemetryKeyInvalidName"
| "TelemetryKeyAlreadyExists"
| "TelemetryKeyInvalid"
| "TelemetryKeyCountOverLimit"
| "EventSinkConnectionInvalid"
| "EventSinkConnectionUnauthorized"
| "EventSinkRegionInvalid"
Expand Down Expand Up @@ -2921,7 +2932,7 @@ declare module PlayFabServerModels {
// segment.
MaxBatchSize?: number;
// Number of seconds to keep the continuation token active. After token expiration it is not possible to continue paging
// results. Default is 300 (5 minutes). Maximum is 1,800 (30 minutes).
// results. Default is 300 (5 minutes). Maximum is 5,400 (90 minutes).
SecondsToLive?: number;
// Unique identifier for this segment.
SegmentId: string;
Expand Down Expand Up @@ -3570,7 +3581,7 @@ declare module PlayFabServerModels {
// Player secret that is used to verify API request signatures (Enterprise Only).
PlayerSecret?: string;
// The backend server identifier for this player.
ServerCustomId?: string;
ServerCustomId: string;
}

export interface LoginWithSteamIdRequest extends PlayFabModule.IPlayFabRequestCommon {
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.119.230220",
"version": "2.120.230306",
"description": "Playfab SDK for node.js applications",
"license": "Apache-2.0",
"devDependencies": {
Expand Down

0 comments on commit 63ab7a8

Please sign in to comment.