@@ -18,7 +18,7 @@ if(!PlayFab.settings) {
1818if ( ! PlayFab . _internalSettings ) {
1919 PlayFab . _internalSettings = {
2020 sessionTicket : null ,
21- sdkVersion : "0.32.161017 " ,
21+ sdkVersion : "0.33.161107 " ,
2222 buildIdentifier : "jbuild_javascriptsdk_1" ,
2323 productionServerUrl : ".playfabapi.com" ,
2424
@@ -580,6 +580,66 @@ PlayFab.AdminApi = {
580580
581581 PlayFab . _internalSettings . ExecuteRequest ( PlayFab . _internalSettings . GetServerUrl ( ) + "/Admin/RemovePlayerTag" , request , "X-SecretKey" , PlayFab . settings . developerSecretKey , callback ) ;
582582 } ,
583+
584+ AbortTaskInstance : function ( request , callback ) {
585+ if ( PlayFab . settings . developerSecretKey == null ) throw "Must have PlayFab.settings.developerSecretKey set to call this method" ;
586+
587+ PlayFab . _internalSettings . ExecuteRequest ( PlayFab . _internalSettings . GetServerUrl ( ) + "/Admin/AbortTaskInstance" , request , "X-SecretKey" , PlayFab . settings . developerSecretKey , callback ) ;
588+ } ,
589+
590+ CreateActionsOnPlayersInSegmentTask : function ( request , callback ) {
591+ if ( PlayFab . settings . developerSecretKey == null ) throw "Must have PlayFab.settings.developerSecretKey set to call this method" ;
592+
593+ PlayFab . _internalSettings . ExecuteRequest ( PlayFab . _internalSettings . GetServerUrl ( ) + "/Admin/CreateActionsOnPlayersInSegmentTask" , request , "X-SecretKey" , PlayFab . settings . developerSecretKey , callback ) ;
594+ } ,
595+
596+ CreateCloudScriptTask : function ( request , callback ) {
597+ if ( PlayFab . settings . developerSecretKey == null ) throw "Must have PlayFab.settings.developerSecretKey set to call this method" ;
598+
599+ PlayFab . _internalSettings . ExecuteRequest ( PlayFab . _internalSettings . GetServerUrl ( ) + "/Admin/CreateCloudScriptTask" , request , "X-SecretKey" , PlayFab . settings . developerSecretKey , callback ) ;
600+ } ,
601+
602+ DeleteTask : function ( request , callback ) {
603+ if ( PlayFab . settings . developerSecretKey == null ) throw "Must have PlayFab.settings.developerSecretKey set to call this method" ;
604+
605+ PlayFab . _internalSettings . ExecuteRequest ( PlayFab . _internalSettings . GetServerUrl ( ) + "/Admin/DeleteTask" , request , "X-SecretKey" , PlayFab . settings . developerSecretKey , callback ) ;
606+ } ,
607+
608+ GetActionsOnPlayersInSegmentTaskInstance : function ( request , callback ) {
609+ if ( PlayFab . settings . developerSecretKey == null ) throw "Must have PlayFab.settings.developerSecretKey set to call this method" ;
610+
611+ PlayFab . _internalSettings . ExecuteRequest ( PlayFab . _internalSettings . GetServerUrl ( ) + "/Admin/GetActionsOnPlayersInSegmentTaskInstance" , request , "X-SecretKey" , PlayFab . settings . developerSecretKey , callback ) ;
612+ } ,
613+
614+ GetCloudScriptTaskInstance : function ( request , callback ) {
615+ if ( PlayFab . settings . developerSecretKey == null ) throw "Must have PlayFab.settings.developerSecretKey set to call this method" ;
616+
617+ PlayFab . _internalSettings . ExecuteRequest ( PlayFab . _internalSettings . GetServerUrl ( ) + "/Admin/GetCloudScriptTaskInstance" , request , "X-SecretKey" , PlayFab . settings . developerSecretKey , callback ) ;
618+ } ,
619+
620+ GetTaskInstances : function ( request , callback ) {
621+ if ( PlayFab . settings . developerSecretKey == null ) throw "Must have PlayFab.settings.developerSecretKey set to call this method" ;
622+
623+ PlayFab . _internalSettings . ExecuteRequest ( PlayFab . _internalSettings . GetServerUrl ( ) + "/Admin/GetTaskInstances" , request , "X-SecretKey" , PlayFab . settings . developerSecretKey , callback ) ;
624+ } ,
625+
626+ GetTasks : function ( request , callback ) {
627+ if ( PlayFab . settings . developerSecretKey == null ) throw "Must have PlayFab.settings.developerSecretKey set to call this method" ;
628+
629+ PlayFab . _internalSettings . ExecuteRequest ( PlayFab . _internalSettings . GetServerUrl ( ) + "/Admin/GetTasks" , request , "X-SecretKey" , PlayFab . settings . developerSecretKey , callback ) ;
630+ } ,
631+
632+ RunTask : function ( request , callback ) {
633+ if ( PlayFab . settings . developerSecretKey == null ) throw "Must have PlayFab.settings.developerSecretKey set to call this method" ;
634+
635+ PlayFab . _internalSettings . ExecuteRequest ( PlayFab . _internalSettings . GetServerUrl ( ) + "/Admin/RunTask" , request , "X-SecretKey" , PlayFab . settings . developerSecretKey , callback ) ;
636+ } ,
637+
638+ UpdateTask : function ( request , callback ) {
639+ if ( PlayFab . settings . developerSecretKey == null ) throw "Must have PlayFab.settings.developerSecretKey set to call this method" ;
640+
641+ PlayFab . _internalSettings . ExecuteRequest ( PlayFab . _internalSettings . GetServerUrl ( ) + "/Admin/UpdateTask" , request , "X-SecretKey" , PlayFab . settings . developerSecretKey , callback ) ;
642+ } ,
583643} ;
584644
585645var PlayFabAdminSDK = PlayFab . AdminApi ;
0 commit comments