|
2 | 2 |
|
3 | 3 | declare module PlayFabAdminModule {
|
4 | 4 | export interface IPlayFabAdmin {
|
| 5 | + /** |
| 6 | + / Creates a new Player Shared Secret Key. It may take up to 5 minutes for this key to become generally available after this API returns. |
| 7 | + / https://api.playfab.com/Documentation/Admin/method/CreatePlayerSharedSecret |
| 8 | + */ |
| 9 | + CreatePlayerSharedSecret(request: PlayFabAdminModels.CreatePlayerSharedSecretRequest, callback: PlayFabModule.ApiCallback<PlayFabAdminModels.CreatePlayerSharedSecretResult>): void; |
| 10 | + /** |
| 11 | + / Deletes an existing Player Shared Secret Key. It may take up to 5 minutes for this delete to be reflected after this API returns. |
| 12 | + / https://api.playfab.com/Documentation/Admin/method/DeletePlayerSharedSecret |
| 13 | + */ |
| 14 | + DeletePlayerSharedSecret(request: PlayFabAdminModels.DeletePlayerSharedSecretRequest, callback: PlayFabModule.ApiCallback<PlayFabAdminModels.DeletePlayerSharedSecretResult>): void; |
| 15 | + /** |
| 16 | + / Returns all Player Shared Secret Keys including disabled and expired. |
| 17 | + / https://api.playfab.com/Documentation/Admin/method/GetPlayerSharedSecrets |
| 18 | + */ |
| 19 | + GetPlayerSharedSecrets(request: PlayFabAdminModels.GetPlayerSharedSecretsRequest, callback: PlayFabModule.ApiCallback<PlayFabAdminModels.GetPlayerSharedSecretsResult>): void; |
5 | 20 | /**
|
6 | 21 | / Gets the requested policy.
|
7 | 22 | / https://api.playfab.com/Documentation/Admin/method/GetPolicy
|
8 | 23 | */
|
9 | 24 | GetPolicy(request: PlayFabAdminModels.GetPolicyRequest, callback: PlayFabModule.ApiCallback<PlayFabAdminModels.GetPolicyResponse>): void;
|
| 25 | + /** |
| 26 | + / Sets or resets the player's secret. Player secrets are used to sign API requests. |
| 27 | + / https://api.playfab.com/Documentation/Admin/method/SetPlayerSecret |
| 28 | + */ |
| 29 | + SetPlayerSecret(request: PlayFabAdminModels.SetPlayerSecretRequest, callback: PlayFabModule.ApiCallback<PlayFabAdminModels.SetPlayerSecretResult>): void; |
| 30 | + /** |
| 31 | + / Updates a existing Player Shared Secret Key. It may take up to 5 minutes for this update to become generally available after this API returns. |
| 32 | + / https://api.playfab.com/Documentation/Admin/method/UpdatePlayerSharedSecret |
| 33 | + */ |
| 34 | + UpdatePlayerSharedSecret(request: PlayFabAdminModels.UpdatePlayerSharedSecretRequest, callback: PlayFabModule.ApiCallback<PlayFabAdminModels.UpdatePlayerSharedSecretResult>): void; |
10 | 35 | /**
|
11 | 36 | / Changes a policy for a title
|
12 | 37 | / https://api.playfab.com/Documentation/Admin/method/UpdatePolicy
|
@@ -1404,6 +1429,28 @@ declare module PlayFabAdminModels {
|
1404 | 1429 |
|
1405 | 1430 | }
|
1406 | 1431 |
|
| 1432 | + /** |
| 1433 | + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreatePlayerSharedSecretRequest |
| 1434 | + */ |
| 1435 | + export interface CreatePlayerSharedSecretRequest extends PlayFabModule.IPlayFabRequestCommon { |
| 1436 | + /** |
| 1437 | + / Friendly name for this key |
| 1438 | + */ |
| 1439 | + FriendlyName?: string; |
| 1440 | + |
| 1441 | + } |
| 1442 | + |
| 1443 | + /** |
| 1444 | + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreatePlayerSharedSecretResult |
| 1445 | + */ |
| 1446 | + export interface CreatePlayerSharedSecretResult extends PlayFabModule.IPlayFabResultCommon { |
| 1447 | + /** |
| 1448 | + / The player shared secret to use when calling Client/GetTitlePublicKey |
| 1449 | + */ |
| 1450 | + SecretKey?: string; |
| 1451 | + |
| 1452 | + } |
| 1453 | + |
1407 | 1454 | /**
|
1408 | 1455 | / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreatePlayerStatisticDefinitionRequest
|
1409 | 1456 | */
|
@@ -1619,6 +1666,24 @@ declare module PlayFabAdminModels {
|
1619 | 1666 |
|
1620 | 1667 | }
|
1621 | 1668 |
|
| 1669 | + /** |
| 1670 | + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeletePlayerSharedSecretRequest |
| 1671 | + */ |
| 1672 | + export interface DeletePlayerSharedSecretRequest extends PlayFabModule.IPlayFabRequestCommon { |
| 1673 | + /** |
| 1674 | + / The shared secret key to delete |
| 1675 | + */ |
| 1676 | + SecretKey?: string; |
| 1677 | + |
| 1678 | + } |
| 1679 | + |
| 1680 | + /** |
| 1681 | + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeletePlayerSharedSecretResult |
| 1682 | + */ |
| 1683 | + export interface DeletePlayerSharedSecretResult extends PlayFabModule.IPlayFabResultCommon { |
| 1684 | + |
| 1685 | + } |
| 1686 | + |
1622 | 1687 | /**
|
1623 | 1688 | / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteStoreRequest
|
1624 | 1689 | */
|
@@ -2106,6 +2171,24 @@ declare module PlayFabAdminModels {
|
2106 | 2171 |
|
2107 | 2172 | }
|
2108 | 2173 |
|
| 2174 | + /** |
| 2175 | + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerSharedSecretsRequest |
| 2176 | + */ |
| 2177 | + export interface GetPlayerSharedSecretsRequest extends PlayFabModule.IPlayFabRequestCommon { |
| 2178 | + |
| 2179 | + } |
| 2180 | + |
| 2181 | + /** |
| 2182 | + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerSharedSecretsResult |
| 2183 | + */ |
| 2184 | + export interface GetPlayerSharedSecretsResult extends PlayFabModule.IPlayFabResultCommon { |
| 2185 | + /** |
| 2186 | + / The player shared secret to use when calling Client/GetTitlePublicKey |
| 2187 | + */ |
| 2188 | + SharedSecrets?: SharedSecret[]; |
| 2189 | + |
| 2190 | + } |
| 2191 | + |
2109 | 2192 | /**
|
2110 | 2193 | / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayersInSegmentRequest
|
2111 | 2194 | */
|
@@ -3352,6 +3435,10 @@ declare module PlayFabAdminModels {
|
3352 | 3435 |
|
3353 | 3436 | }
|
3354 | 3437 |
|
| 3438 | + type PushSetupPlatform = "GCM" |
| 3439 | + | "APNS" |
| 3440 | + | "APNS_SANDBOX"; |
| 3441 | + |
3355 | 3442 | /**
|
3356 | 3443 | / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RandomResultTable
|
3357 | 3444 | */
|
@@ -3761,6 +3848,28 @@ declare module PlayFabAdminModels {
|
3761 | 3848 |
|
3762 | 3849 | }
|
3763 | 3850 |
|
| 3851 | + /** |
| 3852 | + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPlayerSecretRequest |
| 3853 | + */ |
| 3854 | + export interface SetPlayerSecretRequest extends PlayFabModule.IPlayFabRequestCommon { |
| 3855 | + /** |
| 3856 | + / Player secret that is used to verify API request signatures (Enterprise Only). |
| 3857 | + */ |
| 3858 | + PlayerSecret: string; |
| 3859 | + /** |
| 3860 | + / Unique PlayFab assigned ID of the user on whom the operation will be performed. |
| 3861 | + */ |
| 3862 | + PlayFabId: string; |
| 3863 | + |
| 3864 | + } |
| 3865 | + |
| 3866 | + /** |
| 3867 | + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPlayerSecretResult |
| 3868 | + */ |
| 3869 | + export interface SetPlayerSecretResult extends PlayFabModule.IPlayFabResultCommon { |
| 3870 | + |
| 3871 | + } |
| 3872 | + |
3764 | 3873 | /**
|
3765 | 3874 | / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPublishedRevisionRequest
|
3766 | 3875 | */
|
@@ -3865,6 +3974,25 @@ declare module PlayFabAdminModels {
|
3865 | 3974 |
|
3866 | 3975 | }
|
3867 | 3976 |
|
| 3977 | + /** |
| 3978 | + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SharedSecret |
| 3979 | + */ |
| 3980 | + export interface SharedSecret { |
| 3981 | + /** |
| 3982 | + / The player shared secret to use when calling Client/GetTitlePublicKey |
| 3983 | + */ |
| 3984 | + SecretKey?: string; |
| 3985 | + /** |
| 3986 | + / Friendly name for this key |
| 3987 | + */ |
| 3988 | + FriendlyName?: string; |
| 3989 | + /** |
| 3990 | + / Flag to indicate if this key is disabled |
| 3991 | + */ |
| 3992 | + Disabled: boolean; |
| 3993 | + |
| 3994 | + } |
| 3995 | + |
3868 | 3996 | type SourceType = "Admin"
|
3869 | 3997 | | "BackEnd"
|
3870 | 3998 | | "GameClient"
|
@@ -4132,6 +4260,32 @@ declare module PlayFabAdminModels {
|
4132 | 4260 |
|
4133 | 4261 | }
|
4134 | 4262 |
|
| 4263 | + /** |
| 4264 | + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePlayerSharedSecretRequest |
| 4265 | + */ |
| 4266 | + export interface UpdatePlayerSharedSecretRequest extends PlayFabModule.IPlayFabRequestCommon { |
| 4267 | + /** |
| 4268 | + / The shared secret key to update |
| 4269 | + */ |
| 4270 | + SecretKey?: string; |
| 4271 | + /** |
| 4272 | + / Friendly name for this key |
| 4273 | + */ |
| 4274 | + FriendlyName?: string; |
| 4275 | + /** |
| 4276 | + / Disable or Enable this key |
| 4277 | + */ |
| 4278 | + Disabled: boolean; |
| 4279 | + |
| 4280 | + } |
| 4281 | + |
| 4282 | + /** |
| 4283 | + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePlayerSharedSecretResult |
| 4284 | + */ |
| 4285 | + export interface UpdatePlayerSharedSecretResult extends PlayFabModule.IPlayFabResultCommon { |
| 4286 | + |
| 4287 | + } |
| 4288 | + |
4135 | 4289 | /**
|
4136 | 4290 | / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePlayerStatisticDefinitionRequest
|
4137 | 4291 | */
|
|
0 commit comments