Skip to content

Commit aec9b2e

Browse files
author
PlayFabJenkinsBot
committed
https://api.playfab.com/releaseNotes/#180507
1 parent 2c3ee95 commit aec9b2e

19 files changed

+131
-35
lines changed

PlayFabSdk/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "playfab-web-sdk",
3-
"version": "1.20.180409",
3+
"version": "1.21.180507",
44
"description": "Playfab SDK for JS client applications",
55
"license": "Apache-2.0",
66
"repository": {

PlayFabSdk/src/PlayFab/PlayFabAdminApi.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ if(!PlayFab.settings) {
2121
if(!PlayFab._internalSettings) {
2222
PlayFab._internalSettings = {
2323
entityToken: null,
24-
sdkVersion: "1.20.180409",
24+
sdkVersion: "1.21.180507",
2525
sessionTicket: null,
2626
productionServerUrl: ".playfabapi.com",
2727
errorTitleId: "Must be have PlayFab.settings.titleId set to call this method",
@@ -125,8 +125,8 @@ if(!PlayFab._internalSettings) {
125125
}
126126
}
127127

128-
PlayFab.buildIdentifier = "jbuild_javascriptsdk_0";
129-
PlayFab.sdkVersion = "1.20.180409";
128+
PlayFab.buildIdentifier = "jbuild_javascriptsdk_1";
129+
PlayFab.sdkVersion = "1.21.180507";
130130
PlayFab.GenerateErrorReport = function (error) {
131131
if (error == null)
132132
return "";

PlayFabSdk/src/PlayFab/PlayFabClientApi.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ if(!PlayFab.settings) {
2121
if(!PlayFab._internalSettings) {
2222
PlayFab._internalSettings = {
2323
entityToken: null,
24-
sdkVersion: "1.20.180409",
24+
sdkVersion: "1.21.180507",
2525
sessionTicket: null,
2626
productionServerUrl: ".playfabapi.com",
2727
errorTitleId: "Must be have PlayFab.settings.titleId set to call this method",
@@ -125,8 +125,8 @@ if(!PlayFab._internalSettings) {
125125
}
126126
}
127127

128-
PlayFab.buildIdentifier = "jbuild_javascriptsdk_0";
129-
PlayFab.sdkVersion = "1.20.180409";
128+
PlayFab.buildIdentifier = "jbuild_javascriptsdk_1";
129+
PlayFab.sdkVersion = "1.21.180507";
130130
PlayFab.GenerateErrorReport = function (error) {
131131
if (error == null)
132132
return "";

PlayFabSdk/src/PlayFab/PlayFabEntityApi.js

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ if(!PlayFab.settings) {
2121
if(!PlayFab._internalSettings) {
2222
PlayFab._internalSettings = {
2323
entityToken: null,
24-
sdkVersion: "1.20.180409",
24+
sdkVersion: "1.21.180507",
2525
sessionTicket: null,
2626
productionServerUrl: ".playfabapi.com",
2727
errorTitleId: "Must be have PlayFab.settings.titleId set to call this method",
@@ -125,8 +125,8 @@ if(!PlayFab._internalSettings) {
125125
}
126126
}
127127

128-
PlayFab.buildIdentifier = "jbuild_javascriptsdk_0";
129-
PlayFab.sdkVersion = "1.20.180409";
128+
PlayFab.buildIdentifier = "jbuild_javascriptsdk_1";
129+
PlayFab.sdkVersion = "1.21.180507";
130130
PlayFab.GenerateErrorReport = function (error) {
131131
if (error == null)
132132
return "";
@@ -246,6 +246,11 @@ PlayFab.EntityApi = {
246246
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Profile/GetProfile", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders);
247247
},
248248

249+
GetProfiles: function (request, callback, customData, extraHeaders) {
250+
if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken;
251+
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Profile/GetProfiles", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders);
252+
},
253+
249254
InitiateFileUploads: function (request, callback, customData, extraHeaders) {
250255
if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken;
251256
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/File/InitiateFileUploads", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders);

PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ if(!PlayFab.settings) {
2121
if(!PlayFab._internalSettings) {
2222
PlayFab._internalSettings = {
2323
entityToken: null,
24-
sdkVersion: "1.20.180409",
24+
sdkVersion: "1.21.180507",
2525
sessionTicket: null,
2626
productionServerUrl: ".playfabapi.com",
2727
errorTitleId: "Must be have PlayFab.settings.titleId set to call this method",
@@ -125,8 +125,8 @@ if(!PlayFab._internalSettings) {
125125
}
126126
}
127127

128-
PlayFab.buildIdentifier = "jbuild_javascriptsdk_0";
129-
PlayFab.sdkVersion = "1.20.180409";
128+
PlayFab.buildIdentifier = "jbuild_javascriptsdk_1";
129+
PlayFab.sdkVersion = "1.21.180507";
130130
PlayFab.GenerateErrorReport = function (error) {
131131
if (error == null)
132132
return "";

PlayFabSdk/src/PlayFab/PlayFabServerApi.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ if(!PlayFab.settings) {
2121
if(!PlayFab._internalSettings) {
2222
PlayFab._internalSettings = {
2323
entityToken: null,
24-
sdkVersion: "1.20.180409",
24+
sdkVersion: "1.21.180507",
2525
sessionTicket: null,
2626
productionServerUrl: ".playfabapi.com",
2727
errorTitleId: "Must be have PlayFab.settings.titleId set to call this method",
@@ -125,8 +125,8 @@ if(!PlayFab._internalSettings) {
125125
}
126126
}
127127

128-
PlayFab.buildIdentifier = "jbuild_javascriptsdk_0";
129-
PlayFab.sdkVersion = "1.20.180409";
128+
PlayFab.buildIdentifier = "jbuild_javascriptsdk_1";
129+
PlayFab.sdkVersion = "1.21.180507";
130130
PlayFab.GenerateErrorReport = function (error) {
131131
if (error == null)
132132
return "";

PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1655,6 +1655,7 @@ declare module PlayFabAdminModels {
16551655
}
16561656

16571657
type GenericErrorCodes = "Success"
1658+
| "UnkownError"
16581659
| "InvalidParams"
16591660
| "AccountNotFound"
16601661
| "AccountBanned"
@@ -2015,7 +2016,13 @@ declare module PlayFabAdminModels {
20152016
| "EmailReportAlreadySent"
20162017
| "EmailReportRecipientBlacklisted"
20172018
| "EventNamespaceNotAllowed"
2018-
| "EventEntityNotAllowed";
2019+
| "EventEntityNotAllowed"
2020+
| "InvalidEntityType"
2021+
| "NullTokenResultFromAad"
2022+
| "InvalidTokenResultFromAad"
2023+
| "NoValidCertificateForAad"
2024+
| "InvalidCertificateForAad"
2025+
| "DuplicateDropTableId";
20192026

20202027
/** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetActionsOnPlayersInSegmentTaskInstanceResult */
20212028
export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon {

PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3748,6 +3748,11 @@ declare module PlayFabClientModels {
37483748

37493749
/** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterPlayFabUserResult */
37503750
export interface RegisterPlayFabUserResult extends PlayFabModule.IPlayFabResultCommon {
3751+
/**
3752+
* If LoginTitlePlayerAccountEntity flag is set on the login request the title_player_account will also be logged in and
3753+
* returned.
3754+
*/
3755+
EntityToken?: EntityTokenResponse;
37513756
/** PlayFab unique identifier for this newly created account. */
37523757
PlayFabId?: string;
37533758
/** Unique token identifying the user and game at the server level, for the current session. */

PlayFabSdk/src/Typings/PlayFab/PlayFabEntityApi.d.ts

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,11 @@ declare module PlayFabEntityModule {
100100
* https://api.playfab.com/Documentation/Entity/method/GetProfile
101101
*/
102102
GetProfile(request: PlayFabEntityModels.GetEntityProfileRequest, callback: PlayFabModule.ApiCallback<PlayFabEntityModels.GetEntityProfileResponse>, customData?: any, extraHeaders?: { [key: string]: string }): void;
103+
/**
104+
* Retrieves the entity's profile.
105+
* https://api.playfab.com/Documentation/Entity/method/GetProfiles
106+
*/
107+
GetProfiles(request: PlayFabEntityModels.GetEntityProfilesRequest, callback: PlayFabModule.ApiCallback<PlayFabEntityModels.GetEntityProfilesResponse>, customData?: any, extraHeaders?: { [key: string]: string }): void;
103108
/**
104109
* Initiates file uploads to an entity's profile.
105110
* https://api.playfab.com/Documentation/Entity/method/InitiateFileUploads
@@ -553,6 +558,25 @@ declare module PlayFabEntityModels {
553558

554559
}
555560

561+
/** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GetEntityProfilesRequest */
562+
export interface GetEntityProfilesRequest extends PlayFabModule.IPlayFabRequestCommon {
563+
/**
564+
* Determines whether the objects will be returned as an escaped JSON string or as a un-escaped JSON object. Default is
565+
* JSON string.
566+
*/
567+
DataAsObject?: boolean;
568+
/** Entity keys of the profiles to load. Must be between 1 and 25 */
569+
Entities: EntityKey[];
570+
571+
}
572+
573+
/** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GetEntityProfilesResponse */
574+
export interface GetEntityProfilesResponse extends PlayFabModule.IPlayFabResultCommon {
575+
/** Entity profiles */
576+
Profiles?: EntityProfileBody[];
577+
578+
}
579+
556580
/** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GetEntityTokenRequest */
557581
export interface GetEntityTokenRequest extends PlayFabModule.IPlayFabRequestCommon {
558582
/** The entity to perform this action on. */

PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1634,6 +1634,7 @@ declare module PlayFabServerModels {
16341634
| "Closed";
16351635

16361636
type GenericErrorCodes = "Success"
1637+
| "UnkownError"
16371638
| "InvalidParams"
16381639
| "AccountNotFound"
16391640
| "AccountBanned"
@@ -1994,7 +1995,13 @@ declare module PlayFabServerModels {
19941995
| "EmailReportAlreadySent"
19951996
| "EmailReportRecipientBlacklisted"
19961997
| "EventNamespaceNotAllowed"
1997-
| "EventEntityNotAllowed";
1998+
| "EventEntityNotAllowed"
1999+
| "InvalidEntityType"
2000+
| "NullTokenResultFromAad"
2001+
| "InvalidTokenResultFromAad"
2002+
| "NoValidCertificateForAad"
2003+
| "InvalidCertificateForAad"
2004+
| "DuplicateDropTableId";
19982005

19992006
/** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetAllSegmentsRequest */
20002007
export interface GetAllSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon {

0 commit comments

Comments
 (0)