@@ -18,7 +18,7 @@ if(!PlayFab.settings) {
18
18
if ( ! PlayFab . _internalSettings ) {
19
19
PlayFab . _internalSettings = {
20
20
sessionTicket : null ,
21
- sdkVersion : "0.32.161017 " ,
21
+ sdkVersion : "0.33.161107 " ,
22
22
buildIdentifier : "jbuild_javascriptsdk_1" ,
23
23
productionServerUrl : ".playfabapi.com" ,
24
24
@@ -580,6 +580,66 @@ PlayFab.AdminApi = {
580
580
581
581
PlayFab . _internalSettings . ExecuteRequest ( PlayFab . _internalSettings . GetServerUrl ( ) + "/Admin/RemovePlayerTag" , request , "X-SecretKey" , PlayFab . settings . developerSecretKey , callback ) ;
582
582
} ,
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
+ } ,
583
643
} ;
584
644
585
645
var PlayFabAdminSDK = PlayFab . AdminApi ;
0 commit comments