Skip to content

Commit 926cf2c

Browse files
author
PlayFabJenkinsBot
committed
https://api.playfab.com/releaseNotes/#180316
1 parent cfb1b68 commit 926cf2c

26 files changed

+6624
-2040
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.19.180213",
3+
"version": "1.20.180316",
44
"description": "Playfab SDK for JS client applications",
55
"license": "Apache-2.0",
66
"repository": {

PlayFabSdk/src/PlayFab/PlayFabAdminApi.js

Lines changed: 7 additions & 2 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.19.180213",
24+
sdkVersion: "1.20.180316",
2525
sessionTicket: null,
2626
productionServerUrl: ".playfabapi.com",
2727
errorTitleId: "Must be have PlayFab.settings.titleId set to call this method",
@@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) {
126126
}
127127

128128
PlayFab.buildIdentifier = "jbuild_javascriptsdk_0";
129-
PlayFab.sdkVersion = "1.19.180213";
129+
PlayFab.sdkVersion = "1.20.180316";
130130
PlayFab.GenerateErrorReport = function (error) {
131131
if (error == null)
132132
return "";
@@ -513,6 +513,11 @@ PlayFab.AdminApi = {
513513
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RevokeInventoryItem", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders);
514514
},
515515

516+
RevokeInventoryItems: function (request, callback, customData, extraHeaders) {
517+
if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey;
518+
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RevokeInventoryItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders);
519+
},
520+
516521
RunTask: function (request, callback, customData, extraHeaders) {
517522
if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey;
518523
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RunTask", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders);

PlayFabSdk/src/PlayFab/PlayFabClientApi.js

Lines changed: 80 additions & 41 deletions
Large diffs are not rendered by default.

PlayFabSdk/src/PlayFab/PlayFabEntityApi.js

Lines changed: 341 additions & 0 deletions
Large diffs are not rendered by default.

PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js

Lines changed: 2 additions & 2 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.19.180213",
24+
sdkVersion: "1.20.180316",
2525
sessionTicket: null,
2626
productionServerUrl: ".playfabapi.com",
2727
errorTitleId: "Must be have PlayFab.settings.titleId set to call this method",
@@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) {
126126
}
127127

128128
PlayFab.buildIdentifier = "jbuild_javascriptsdk_0";
129-
PlayFab.sdkVersion = "1.19.180213";
129+
PlayFab.sdkVersion = "1.20.180316";
130130
PlayFab.GenerateErrorReport = function (error) {
131131
if (error == null)
132132
return "";

PlayFabSdk/src/PlayFab/PlayFabServerApi.js

Lines changed: 7 additions & 2 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.19.180213",
24+
sdkVersion: "1.20.180316",
2525
sessionTicket: null,
2626
productionServerUrl: ".playfabapi.com",
2727
errorTitleId: "Must be have PlayFab.settings.titleId set to call this method",
@@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) {
126126
}
127127

128128
PlayFab.buildIdentifier = "jbuild_javascriptsdk_0";
129-
PlayFab.sdkVersion = "1.19.180213";
129+
PlayFab.sdkVersion = "1.20.180316";
130130
PlayFab.GenerateErrorReport = function (error) {
131131
if (error == null)
132132
return "";
@@ -528,6 +528,11 @@ PlayFab.ServerApi = {
528528
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RevokeInventoryItem", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders);
529529
},
530530

531+
RevokeInventoryItems: function (request, callback, customData, extraHeaders) {
532+
if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey;
533+
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RevokeInventoryItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders);
534+
},
535+
531536
SendCustomAccountRecoveryEmail: function (request, callback, customData, extraHeaders) {
532537
if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey;
533538
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SendCustomAccountRecoveryEmail", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders);

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

Lines changed: 648 additions & 248 deletions
Large diffs are not rendered by default.

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

Lines changed: 370 additions & 357 deletions
Large diffs are not rendered by default.

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

Lines changed: 1097 additions & 0 deletions
Large diffs are not rendered by default.

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

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,14 @@ declare module PlayFabMatchmakerModule {
3535
}
3636

3737
declare module PlayFabMatchmakerModels {
38-
/** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.AuthUserRequest */
38+
/** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.AuthUserRequest */
3939
export interface AuthUserRequest extends PlayFabModule.IPlayFabRequestCommon {
4040
/** Session Ticket provided by the client. */
4141
AuthorizationTicket: string;
4242

4343
}
4444

45-
/** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.AuthUserResponse */
45+
/** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.AuthUserResponse */
4646
export interface AuthUserResponse extends PlayFabModule.IPlayFabResultCommon {
4747
/** Boolean indicating if the user has been authorized to use the external match-making service. */
4848
Authorized: boolean;
@@ -51,19 +51,19 @@ declare module PlayFabMatchmakerModels {
5151

5252
}
5353

54-
/** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.DeregisterGameRequest */
54+
/** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.DeregisterGameRequest */
5555
export interface DeregisterGameRequest extends PlayFabModule.IPlayFabRequestCommon {
5656
/** Unique identifier for the Game Server Instance that is being deregistered. */
5757
LobbyId: string;
5858

5959
}
6060

61-
/** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.DeregisterGameResponse */
61+
/** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.DeregisterGameResponse */
6262
export interface DeregisterGameResponse extends PlayFabModule.IPlayFabResultCommon {
6363

6464
}
6565

66-
/** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.ItemInstance */
66+
/** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.ItemInstance */
6767
export interface ItemInstance {
6868
/** Game specific comment associated with this instance when it was added to the user inventory. */
6969
Annotation?: string;
@@ -101,7 +101,7 @@ declare module PlayFabMatchmakerModels {
101101

102102
}
103103

104-
/** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.PlayerJoinedRequest */
104+
/** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.PlayerJoinedRequest */
105105
export interface PlayerJoinedRequest extends PlayFabModule.IPlayFabRequestCommon {
106106
/**
107107
* Unique identifier of the Game Server Instance the user is joining. This must be a Game Server Instance started with the
@@ -113,12 +113,12 @@ declare module PlayFabMatchmakerModels {
113113

114114
}
115115

116-
/** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.PlayerJoinedResponse */
116+
/** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.PlayerJoinedResponse */
117117
export interface PlayerJoinedResponse extends PlayFabModule.IPlayFabResultCommon {
118118

119119
}
120120

121-
/** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.PlayerLeftRequest */
121+
/** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.PlayerLeftRequest */
122122
export interface PlayerLeftRequest extends PlayFabModule.IPlayFabRequestCommon {
123123
/**
124124
* Unique identifier of the Game Server Instance the user is leaving. This must be a Game Server Instance started with the
@@ -130,7 +130,7 @@ declare module PlayFabMatchmakerModels {
130130

131131
}
132132

133-
/** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.PlayerLeftResponse */
133+
/** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.PlayerLeftResponse */
134134
export interface PlayerLeftResponse extends PlayFabModule.IPlayFabResultCommon {
135135

136136
}
@@ -143,7 +143,7 @@ declare module PlayFabMatchmakerModels {
143143
| "Brazil"
144144
| "Australia";
145145

146-
/** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.RegisterGameRequest */
146+
/** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.RegisterGameRequest */
147147
export interface RegisterGameRequest extends PlayFabModule.IPlayFabRequestCommon {
148148
/** Unique identifier of the build running on the Game Server Instance. */
149149
Build: string;
@@ -170,7 +170,7 @@ declare module PlayFabMatchmakerModels {
170170

171171
}
172172

173-
/** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.RegisterGameResponse */
173+
/** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.RegisterGameResponse */
174174
export interface RegisterGameResponse extends PlayFabModule.IPlayFabResultCommon {
175175
/**
176176
* Unique identifier generated for the Game Server Instance that is registered. If LobbyId is specified in request and the
@@ -180,7 +180,7 @@ declare module PlayFabMatchmakerModels {
180180

181181
}
182182

183-
/** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.StartGameRequest */
183+
/** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.StartGameRequest */
184184
export interface StartGameRequest extends PlayFabModule.IPlayFabRequestCommon {
185185
/** Unique identifier of the previously uploaded build executable which is to be started. */
186186
Build: string;
@@ -199,7 +199,7 @@ declare module PlayFabMatchmakerModels {
199199

200200
}
201201

202-
/** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.StartGameResponse */
202+
/** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.StartGameResponse */
203203
export interface StartGameResponse extends PlayFabModule.IPlayFabResultCommon {
204204
/** Unique identifier for the game/lobby in the new Game Server Instance. */
205205
GameID?: string;
@@ -212,7 +212,7 @@ declare module PlayFabMatchmakerModels {
212212

213213
}
214214

215-
/** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.UserInfoRequest */
215+
/** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.UserInfoRequest */
216216
export interface UserInfoRequest extends PlayFabModule.IPlayFabRequestCommon {
217217
/**
218218
* Minimum catalog version for which data is requested (filters the results to only contain inventory items which have a
@@ -224,7 +224,7 @@ declare module PlayFabMatchmakerModels {
224224

225225
}
226226

227-
/** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.UserInfoResponse */
227+
/** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.UserInfoResponse */
228228
export interface UserInfoResponse extends PlayFabModule.IPlayFabResultCommon {
229229
/** Array of inventory items in the user's current inventory. */
230230
Inventory?: ItemInstance[];
@@ -245,7 +245,7 @@ declare module PlayFabMatchmakerModels {
245245

246246
}
247247

248-
/** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.VirtualCurrencyRechargeTime */
248+
/** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.VirtualCurrencyRechargeTime */
249249
export interface VirtualCurrencyRechargeTime {
250250
/**
251251
* Maximum value to which the regenerating currency will automatically increment. Note that it can exceed this value

0 commit comments

Comments
 (0)