Skip to content

Commit

Permalink
https://api.playfab.com/releaseNotes/#180618
Browse files Browse the repository at this point in the history
  • Loading branch information
PlayFabJenkinsBot committed Jun 18, 2018
2 parents cf67137 + dd8c833 commit 7fd50e7
Show file tree
Hide file tree
Showing 21 changed files with 311 additions and 269 deletions.
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-web-sdk",
"version": "1.22.180529",
"version": "1.23.180618",
"description": "Playfab SDK for JS client applications",
"license": "Apache-2.0",
"repository": {
Expand Down
4 changes: 2 additions & 2 deletions PlayFabSdk/src/PlayFab/PlayFabAdminApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ if(!PlayFab.settings) {
if(!PlayFab._internalSettings) {
PlayFab._internalSettings = {
entityToken: null,
sdkVersion: "1.22.180529",
sdkVersion: "1.23.180618",
sessionTicket: null,
productionServerUrl: ".playfabapi.com",
errorTitleId: "Must be have PlayFab.settings.titleId set to call this method",
Expand Down Expand Up @@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) {
}

PlayFab.buildIdentifier = "jbuild_javascriptsdk_1";
PlayFab.sdkVersion = "1.22.180529";
PlayFab.sdkVersion = "1.23.180618";
PlayFab.GenerateErrorReport = function (error) {
if (error == null)
return "";
Expand Down
82 changes: 54 additions & 28 deletions PlayFabSdk/src/PlayFab/PlayFabClientApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ if(!PlayFab.settings) {
if(!PlayFab._internalSettings) {
PlayFab._internalSettings = {
entityToken: null,
sdkVersion: "1.22.180529",
sdkVersion: "1.23.180618",
sessionTicket: null,
productionServerUrl: ".playfabapi.com",
errorTitleId: "Must be have PlayFab.settings.titleId set to call this method",
Expand Down Expand Up @@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) {
}

PlayFab.buildIdentifier = "jbuild_javascriptsdk_1";
PlayFab.sdkVersion = "1.22.180529";
PlayFab.sdkVersion = "1.23.180618";
PlayFab.GenerateErrorReport = function (error) {
if (error == null)
return "";
Expand Down Expand Up @@ -528,9 +528,11 @@ PlayFab.ClientApi = {
if (result != null) {
if(result.data.SessionTicket != null) {
PlayFab._internalSettings.sessionTicket = result.data.SessionTicket;
} if (result.data.EntityToken != null) {
}
if (result.data.EntityToken != null) {
PlayFab._internalSettings.entityToken = result.data.EntityToken.EntityToken;
} PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution);
}
PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution);
}
if (callback != null && typeof (callback) == "function")
callback(result, error);
Expand All @@ -544,9 +546,11 @@ PlayFab.ClientApi = {
if (result != null) {
if(result.data.SessionTicket != null) {
PlayFab._internalSettings.sessionTicket = result.data.SessionTicket;
} if (result.data.EntityToken != null) {
}
if (result.data.EntityToken != null) {
PlayFab._internalSettings.entityToken = result.data.EntityToken.EntityToken;
} PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution);
}
PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution);
}
if (callback != null && typeof (callback) == "function")
callback(result, error);
Expand All @@ -560,9 +564,11 @@ PlayFab.ClientApi = {
if (result != null) {
if(result.data.SessionTicket != null) {
PlayFab._internalSettings.sessionTicket = result.data.SessionTicket;
} if (result.data.EntityToken != null) {
}
if (result.data.EntityToken != null) {
PlayFab._internalSettings.entityToken = result.data.EntityToken.EntityToken;
} PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution);
}
PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution);
}
if (callback != null && typeof (callback) == "function")
callback(result, error);
Expand All @@ -576,9 +582,11 @@ PlayFab.ClientApi = {
if (result != null) {
if(result.data.SessionTicket != null) {
PlayFab._internalSettings.sessionTicket = result.data.SessionTicket;
} if (result.data.EntityToken != null) {
}
if (result.data.EntityToken != null) {
PlayFab._internalSettings.entityToken = result.data.EntityToken.EntityToken;
} PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution);
}
PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution);
}
if (callback != null && typeof (callback) == "function")
callback(result, error);
Expand All @@ -592,9 +600,11 @@ PlayFab.ClientApi = {
if (result != null) {
if(result.data.SessionTicket != null) {
PlayFab._internalSettings.sessionTicket = result.data.SessionTicket;
} if (result.data.EntityToken != null) {
}
if (result.data.EntityToken != null) {
PlayFab._internalSettings.entityToken = result.data.EntityToken.EntityToken;
} PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution);
}
PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution);
}
if (callback != null && typeof (callback) == "function")
callback(result, error);
Expand All @@ -608,9 +618,11 @@ PlayFab.ClientApi = {
if (result != null) {
if(result.data.SessionTicket != null) {
PlayFab._internalSettings.sessionTicket = result.data.SessionTicket;
} if (result.data.EntityToken != null) {
}
if (result.data.EntityToken != null) {
PlayFab._internalSettings.entityToken = result.data.EntityToken.EntityToken;
} PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution);
}
PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution);
}
if (callback != null && typeof (callback) == "function")
callback(result, error);
Expand All @@ -624,9 +636,11 @@ PlayFab.ClientApi = {
if (result != null) {
if(result.data.SessionTicket != null) {
PlayFab._internalSettings.sessionTicket = result.data.SessionTicket;
} if (result.data.EntityToken != null) {
}
if (result.data.EntityToken != null) {
PlayFab._internalSettings.entityToken = result.data.EntityToken.EntityToken;
} PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution);
}
PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution);
}
if (callback != null && typeof (callback) == "function")
callback(result, error);
Expand All @@ -640,9 +654,11 @@ PlayFab.ClientApi = {
if (result != null) {
if(result.data.SessionTicket != null) {
PlayFab._internalSettings.sessionTicket = result.data.SessionTicket;
} if (result.data.EntityToken != null) {
}
if (result.data.EntityToken != null) {
PlayFab._internalSettings.entityToken = result.data.EntityToken.EntityToken;
} PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution);
}
PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution);
}
if (callback != null && typeof (callback) == "function")
callback(result, error);
Expand All @@ -656,9 +672,11 @@ PlayFab.ClientApi = {
if (result != null) {
if(result.data.SessionTicket != null) {
PlayFab._internalSettings.sessionTicket = result.data.SessionTicket;
} if (result.data.EntityToken != null) {
}
if (result.data.EntityToken != null) {
PlayFab._internalSettings.entityToken = result.data.EntityToken.EntityToken;
} PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution);
}
PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution);
}
if (callback != null && typeof (callback) == "function")
callback(result, error);
Expand All @@ -672,9 +690,11 @@ PlayFab.ClientApi = {
if (result != null) {
if(result.data.SessionTicket != null) {
PlayFab._internalSettings.sessionTicket = result.data.SessionTicket;
} if (result.data.EntityToken != null) {
}
if (result.data.EntityToken != null) {
PlayFab._internalSettings.entityToken = result.data.EntityToken.EntityToken;
} PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution);
}
PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution);
}
if (callback != null && typeof (callback) == "function")
callback(result, error);
Expand All @@ -688,9 +708,11 @@ PlayFab.ClientApi = {
if (result != null) {
if(result.data.SessionTicket != null) {
PlayFab._internalSettings.sessionTicket = result.data.SessionTicket;
} if (result.data.EntityToken != null) {
}
if (result.data.EntityToken != null) {
PlayFab._internalSettings.entityToken = result.data.EntityToken.EntityToken;
} PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution);
}
PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution);
}
if (callback != null && typeof (callback) == "function")
callback(result, error);
Expand All @@ -704,9 +726,11 @@ PlayFab.ClientApi = {
if (result != null) {
if(result.data.SessionTicket != null) {
PlayFab._internalSettings.sessionTicket = result.data.SessionTicket;
} if (result.data.EntityToken != null) {
}
if (result.data.EntityToken != null) {
PlayFab._internalSettings.entityToken = result.data.EntityToken.EntityToken;
} PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution);
}
PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution);
}
if (callback != null && typeof (callback) == "function")
callback(result, error);
Expand Down Expand Up @@ -763,9 +787,11 @@ PlayFab.ClientApi = {
if (result != null) {
if(result.data.SessionTicket != null) {
PlayFab._internalSettings.sessionTicket = result.data.SessionTicket;
} if (result.data.EntityToken != null) {
}
if (result.data.EntityToken != null) {
PlayFab._internalSettings.entityToken = result.data.EntityToken.EntityToken;
} PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution);
}
PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution);
}
if (callback != null && typeof (callback) == "function")
callback(result, error);
Expand Down
4 changes: 2 additions & 2 deletions PlayFabSdk/src/PlayFab/PlayFabEntityApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ if(!PlayFab.settings) {
if(!PlayFab._internalSettings) {
PlayFab._internalSettings = {
entityToken: null,
sdkVersion: "1.22.180529",
sdkVersion: "1.23.180618",
sessionTicket: null,
productionServerUrl: ".playfabapi.com",
errorTitleId: "Must be have PlayFab.settings.titleId set to call this method",
Expand Down Expand Up @@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) {
}

PlayFab.buildIdentifier = "jbuild_javascriptsdk_1";
PlayFab.sdkVersion = "1.22.180529";
PlayFab.sdkVersion = "1.23.180618";
PlayFab.GenerateErrorReport = function (error) {
if (error == null)
return "";
Expand Down
4 changes: 2 additions & 2 deletions PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ if(!PlayFab.settings) {
if(!PlayFab._internalSettings) {
PlayFab._internalSettings = {
entityToken: null,
sdkVersion: "1.22.180529",
sdkVersion: "1.23.180618",
sessionTicket: null,
productionServerUrl: ".playfabapi.com",
errorTitleId: "Must be have PlayFab.settings.titleId set to call this method",
Expand Down Expand Up @@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) {
}

PlayFab.buildIdentifier = "jbuild_javascriptsdk_1";
PlayFab.sdkVersion = "1.22.180529";
PlayFab.sdkVersion = "1.23.180618";
PlayFab.GenerateErrorReport = function (error) {
if (error == null)
return "";
Expand Down
4 changes: 2 additions & 2 deletions PlayFabSdk/src/PlayFab/PlayFabServerApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ if(!PlayFab.settings) {
if(!PlayFab._internalSettings) {
PlayFab._internalSettings = {
entityToken: null,
sdkVersion: "1.22.180529",
sdkVersion: "1.23.180618",
sessionTicket: null,
productionServerUrl: ".playfabapi.com",
errorTitleId: "Must be have PlayFab.settings.titleId set to call this method",
Expand Down Expand Up @@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) {
}

PlayFab.buildIdentifier = "jbuild_javascriptsdk_1";
PlayFab.sdkVersion = "1.22.180529";
PlayFab.sdkVersion = "1.23.180618";
PlayFab.GenerateErrorReport = function (error) {
if (error == null)
return "";
Expand Down
77 changes: 48 additions & 29 deletions PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1584,23 +1584,6 @@ declare module PlayFabAdminModels {

}

/** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteUsersRequest */
export interface DeleteUsersRequest extends PlayFabModule.IPlayFabRequestCommon {
/** An array of unique PlayFab assigned ID of the user on whom the operation will be performed. */
PlayFabIds: string[];
/**
* 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;

}

/** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteUsersResult */
export interface DeleteUsersResult extends PlayFabModule.IPlayFabResultCommon {

}

type EffectType = "Allow"
| "Deny";

Expand Down Expand Up @@ -1707,6 +1690,7 @@ declare module PlayFabAdminModels {
}

type GenericErrorCodes = "Success"
| "MatchmakingHopperIdInvalid"
| "UnkownError"
| "InvalidParams"
| "AccountNotFound"
Expand Down Expand Up @@ -2075,16 +2059,47 @@ declare module PlayFabAdminModels {
| "NoValidCertificateForAad"
| "InvalidCertificateForAad"
| "DuplicateDropTableId"
| "ComputeOK"
| "ComputeAccepted"
| "ComputeNoContent"
| "ComputeBadRequest"
| "ComputeUnauthorized"
| "ComputeForbidden"
| "ComputeNotFound"
| "ComputeConflict"
| "ComputeInternalServerError"
| "ComputeServiceUnavailable";
| "GameServerOk"
| "GameServerAccepted"
| "GameServerNoContent"
| "GameServerBadRequest"
| "GameServerUnauthorized"
| "GameServerForbidden"
| "GameServerNotFound"
| "GameServerConflict"
| "GameServerInternalServerError"
| "GameServerServiceUnavailable"
| "MatchmakingInvalidEntityKeyList"
| "MatchmakingInvalidTicketCreatorProfile"
| "MatchmakingInvalidUserAttributes"
| "MatchmakingCreateRequestMissing"
| "MatchmakingCreateRequestCreatorMissing"
| "MatchmakingCreateRequestCreatorIdMissing"
| "MatchmakingCreateRequestUserListMissing"
| "MatchmakingCreateRequestGiveUpAfterInvalid"
| "MatchmakingTicketIdMissing"
| "MatchmakingMatchIdMissing"
| "MatchmakingMatchIdIdMissing"
| "MatchmakingHopperIdMissing"
| "MatchmakingTitleIdMissing"
| "MatchmakingTicketIdIdMissing"
| "MatchmakingUserIdMissing"
| "MatchmakingJoinRequestUserMissing"
| "MatchmakingHopperConfigNotFound"
| "MatchmakingMatchNotFound"
| "MatchmakingTicketNotFound"
| "MatchmakingCreateTicketServerIdentityInvalid"
| "MatchmakingCreateTicketClientIdentityInvalid"
| "MatchmakingGetTicketUserMismatch"
| "MatchmakingJoinTicketServerIdentityInvalid"
| "MatchmakingJoinTicketUserIdentityMismatch"
| "MatchmakingCancelTicketServerIdentityInvalid"
| "MatchmakingCancelTicketUserIdentityMismatch"
| "MatchmakingGetMatchIdentityMismatch"
| "MatchmakingUserIdentityMismatch"
| "MatchmakingAlreadyJoinedTicket"
| "MatchmakingTicketAlreadyCompleted"
| "MatchmakingHopperConfigInvalid";

/** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetActionsOnPlayersInSegmentTaskInstanceResult */
export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon {
Expand Down Expand Up @@ -3028,7 +3043,9 @@ declare module PlayFabAdminModels {

/** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.NameIdentifier */
export interface NameIdentifier {
/** Id Identifier, if present */
Id?: string;
/** Name Identifier, if present */
Name?: string;

}
Expand Down Expand Up @@ -3308,7 +3325,8 @@ declare module PlayFabAdminModels {
/** Unique PlayFab assigned ID of the user on whom the operation will be performed. */
PlayFabId: string;
/**
* Reason for refund. In the case of Facebook this must match one of their refund or dispute resolution enums (See:
* The Reason parameter should correspond with the payment providers reason field, if they require one such as Facebook. In
* the case of Facebook this must match one of their refund or dispute resolution enums (See:
* https://developers.facebook.com/docs/payments/implementation-guide/handling-disputes-refunds)
*/
Reason?: string;
Expand Down Expand Up @@ -3419,7 +3437,8 @@ declare module PlayFabAdminModels {
/** Unique PlayFab assigned ID of the user on whom the operation will be performed. */
PlayFabId: string;
/**
* Reason for refund. In the case of Facebook this must match one of their refund or dispute resolution enums (See:
* The Reason parameter should correspond with the payment providers reason field, if they require one such as Facebook. In
* the case of Facebook this must match one of their refund or dispute resolution enums (See:
* https://developers.facebook.com/docs/payments/implementation-guide/handling-disputes-refunds)
*/
Reason?: string;
Expand Down
Loading

0 comments on commit 7fd50e7

Please sign in to comment.