async-playfab-web-sdk 1.192.250526-1 → 1.192.250526-2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. package/dist/Addon.js +4 -448
  2. package/dist/Addon.js.map +1 -1
  3. package/dist/Admin.js +4 -1108
  4. package/dist/Admin.js.map +1 -1
  5. package/dist/Authentication.js +4 -286
  6. package/dist/Authentication.js.map +1 -1
  7. package/dist/Client.js +4 -1889
  8. package/dist/Client.js.map +1 -1
  9. package/dist/CloudScript.js +4 -345
  10. package/dist/CloudScript.js.map +1 -1
  11. package/dist/Data.js +4 -287
  12. package/dist/Data.js.map +1 -1
  13. package/dist/Economy.js +4 -610
  14. package/dist/Economy.js.map +1 -1
  15. package/dist/Events.js +4 -323
  16. package/dist/Events.js.map +1 -1
  17. package/dist/Experimentation.js +4 -329
  18. package/dist/Experimentation.js.map +1 -1
  19. package/dist/Groups.js +4 -413
  20. package/dist/Groups.js.map +1 -1
  21. package/dist/Insights.js +4 -282
  22. package/dist/Insights.js.map +1 -1
  23. package/dist/Localization.js +4 -245
  24. package/dist/Localization.js.map +1 -1
  25. package/dist/Multiplayer.js +4 -858
  26. package/dist/Multiplayer.js.map +1 -1
  27. package/dist/Profiles.js +4 -302
  28. package/dist/Profiles.js.map +1 -1
  29. package/dist/Progression.js +4 -400
  30. package/dist/Progression.js.map +1 -1
  31. package/dist/Server.js +4 -1373
  32. package/dist/Server.js.map +1 -1
  33. package/dist/chunk-2NRPVFSH.js +632 -0
  34. package/dist/chunk-2NRPVFSH.js.map +1 -0
  35. package/dist/chunk-42AWSTMK.js +103 -0
  36. package/dist/chunk-42AWSTMK.js.map +1 -0
  37. package/dist/chunk-5AAYYQU7.js +119 -0
  38. package/dist/chunk-5AAYYQU7.js.map +1 -0
  39. package/dist/chunk-7VP4SIOQ.js +76 -0
  40. package/dist/chunk-7VP4SIOQ.js.map +1 -0
  41. package/dist/chunk-BZECCU2H.js +1147 -0
  42. package/dist/chunk-BZECCU2H.js.map +1 -0
  43. package/dist/chunk-CDBIRT6V.js +187 -0
  44. package/dist/chunk-CDBIRT6V.js.map +1 -0
  45. package/dist/chunk-CY3H2GBI.js +239 -0
  46. package/dist/chunk-CY3H2GBI.js.map +1 -0
  47. package/dist/chunk-D53KEX67.js +19 -0
  48. package/dist/chunk-D53KEX67.js.map +1 -0
  49. package/dist/chunk-EY77H23H.js +174 -0
  50. package/dist/chunk-EY77H23H.js.map +1 -0
  51. package/dist/chunk-FPCXHDA7.js +882 -0
  52. package/dist/chunk-FPCXHDA7.js.map +1 -0
  53. package/dist/chunk-JRE75IDS.js +97 -0
  54. package/dist/chunk-JRE75IDS.js.map +1 -0
  55. package/dist/chunk-QCCQJDCR.js +1663 -0
  56. package/dist/chunk-QCCQJDCR.js.map +1 -0
  57. package/dist/chunk-RHQFG2EP.js +384 -0
  58. package/dist/chunk-RHQFG2EP.js.map +1 -0
  59. package/dist/chunk-RODJAJP2.js +56 -0
  60. package/dist/chunk-RODJAJP2.js.map +1 -0
  61. package/dist/chunk-V56QSAWL.js +60 -0
  62. package/dist/chunk-V56QSAWL.js.map +1 -0
  63. package/dist/chunk-VTCQRNBL.js +61 -0
  64. package/dist/chunk-VTCQRNBL.js.map +1 -0
  65. package/dist/chunk-ZY56RXKC.js +222 -0
  66. package/dist/chunk-ZY56RXKC.js.map +1 -0
  67. package/dist/index.js +49 -5988
  68. package/dist/index.js.map +1 -1
  69. package/package.json +1 -1
@@ -0,0 +1,1147 @@
1
+ import {
2
+ PlayFabCommon
3
+ } from "./chunk-CY3H2GBI.js";
4
+
5
+ // src/apis/PlayFabServerApi.ts
6
+ var PlayFabServerApi = class extends PlayFabCommon {
7
+ /**
8
+ * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
9
+ * version 2._ Increments the character's balance of the specified virtual currency by the stated amount
10
+ * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/addcharactervirtualcurrency
11
+ */
12
+ AddCharacterVirtualCurrency(request, customData, extraHeaders) {
13
+ return this.ExecuteRequestWrapper("/Server/AddCharacterVirtualCurrency", request, "X-SecretKey", customData, extraHeaders);
14
+ }
15
+ /**
16
+ * Adds the Friend user to the friendlist of the user with PlayFabId. At least one of
17
+ * FriendPlayFabId,FriendUsername,FriendEmail, or FriendTitleDisplayName should be initialized.
18
+ * https://docs.microsoft.com/rest/api/playfab/server/friend-list-management/addfriend
19
+ */
20
+ AddFriend(request, customData, extraHeaders) {
21
+ return this.ExecuteRequestWrapper("/Server/AddFriend", request, "X-SecretKey", customData, extraHeaders);
22
+ }
23
+ /**
24
+ * Adds the specified generic service identifier to the player's PlayFab account. This is designed to allow for a PlayFab
25
+ * ID lookup of any arbitrary service identifier a title wants to add. This identifier should never be used as
26
+ * authentication credentials, as the intent is that it is easily accessible by other players.
27
+ * https://docs.microsoft.com/rest/api/playfab/server/account-management/addgenericid
28
+ */
29
+ AddGenericID(request, customData, extraHeaders) {
30
+ return this.ExecuteRequestWrapper("/Server/AddGenericID", request, "X-SecretKey", customData, extraHeaders);
31
+ }
32
+ /**
33
+ * Adds a given tag to a player profile. The tag's namespace is automatically generated based on the source of the tag.
34
+ * https://docs.microsoft.com/rest/api/playfab/server/playstream/addplayertag
35
+ */
36
+ AddPlayerTag(request, customData, extraHeaders) {
37
+ return this.ExecuteRequestWrapper("/Server/AddPlayerTag", request, "X-SecretKey", customData, extraHeaders);
38
+ }
39
+ /**
40
+ * Adds users to the set of those able to update both the shared data, as well as the set of users in the group. Only users
41
+ * in the group (and the server) can add new members. Shared Groups are designed for sharing data between a very small
42
+ * number of players, please see our guide:
43
+ * https://docs.microsoft.com/gaming/playfab/features/social/groups/using-shared-group-data
44
+ * https://docs.microsoft.com/rest/api/playfab/server/shared-group-data/addsharedgroupmembers
45
+ */
46
+ AddSharedGroupMembers(request, customData, extraHeaders) {
47
+ return this.ExecuteRequestWrapper("/Server/AddSharedGroupMembers", request, "X-SecretKey", customData, extraHeaders);
48
+ }
49
+ /**
50
+ * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
51
+ * version 2._ Increments the user's balance of the specified virtual currency by the stated amount
52
+ * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/adduservirtualcurrency
53
+ */
54
+ AddUserVirtualCurrency(request, customData, extraHeaders) {
55
+ return this.ExecuteRequestWrapper("/Server/AddUserVirtualCurrency", request, "X-SecretKey", customData, extraHeaders);
56
+ }
57
+ /**
58
+ * Validated a client's session ticket, and if successful, returns details for that user
59
+ * https://docs.microsoft.com/rest/api/playfab/server/authentication/authenticatesessionticket
60
+ */
61
+ AuthenticateSessionTicket(request, customData, extraHeaders) {
62
+ return this.ExecuteRequestWrapper("/Server/AuthenticateSessionTicket", request, "X-SecretKey", customData, extraHeaders);
63
+ }
64
+ /**
65
+ * Awards the specified users the specified Steam achievements
66
+ * https://docs.microsoft.com/rest/api/playfab/server/platform-specific-methods/awardsteamachievement
67
+ */
68
+ AwardSteamAchievement(request, customData, extraHeaders) {
69
+ return this.ExecuteRequestWrapper("/Server/AwardSteamAchievement", request, "X-SecretKey", customData, extraHeaders);
70
+ }
71
+ /**
72
+ * Bans users by PlayFab ID with optional IP address, or MAC address for the provided game.
73
+ * https://docs.microsoft.com/rest/api/playfab/server/account-management/banusers
74
+ */
75
+ BanUsers(request, customData, extraHeaders) {
76
+ return this.ExecuteRequestWrapper("/Server/BanUsers", request, "X-SecretKey", customData, extraHeaders);
77
+ }
78
+ /**
79
+ * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
80
+ * version 2._ Consume uses of a consumable item. When all uses are consumed, it will be removed from the player's
81
+ * inventory.
82
+ * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/consumeitem
83
+ */
84
+ ConsumeItem(request, customData, extraHeaders) {
85
+ return this.ExecuteRequestWrapper("/Server/ConsumeItem", request, "X-SecretKey", customData, extraHeaders);
86
+ }
87
+ /**
88
+ * Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the
89
+ * group. When created by a server, the group will initially have no members. Shared Groups are designed for sharing data
90
+ * between a very small number of players, please see our guide:
91
+ * https://docs.microsoft.com/gaming/playfab/features/social/groups/using-shared-group-data
92
+ * https://docs.microsoft.com/rest/api/playfab/server/shared-group-data/createsharedgroup
93
+ */
94
+ CreateSharedGroup(request, customData, extraHeaders) {
95
+ return this.ExecuteRequestWrapper("/Server/CreateSharedGroup", request, "X-SecretKey", customData, extraHeaders);
96
+ }
97
+ /**
98
+ * Deletes the specific character ID from the specified user.
99
+ * https://docs.microsoft.com/rest/api/playfab/server/characters/deletecharacterfromuser
100
+ */
101
+ DeleteCharacterFromUser(request, customData, extraHeaders) {
102
+ return this.ExecuteRequestWrapper("/Server/DeleteCharacterFromUser", request, "X-SecretKey", customData, extraHeaders);
103
+ }
104
+ /**
105
+ * Removes a user's player account from a title and deletes all associated data
106
+ * https://docs.microsoft.com/rest/api/playfab/server/account-management/deleteplayer
107
+ */
108
+ DeletePlayer(request, customData, extraHeaders) {
109
+ return this.ExecuteRequestWrapper("/Server/DeletePlayer", request, "X-SecretKey", customData, extraHeaders);
110
+ }
111
+ /**
112
+ * Deletes title-specific custom properties for a player
113
+ * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/deleteplayercustomproperties
114
+ */
115
+ DeletePlayerCustomProperties(request, customData, extraHeaders) {
116
+ return this.ExecuteRequestWrapper("/Server/DeletePlayerCustomProperties", request, "X-SecretKey", customData, extraHeaders);
117
+ }
118
+ /**
119
+ * Deletes push notification template for title
120
+ * https://docs.microsoft.com/rest/api/playfab/server/account-management/deletepushnotificationtemplate
121
+ */
122
+ DeletePushNotificationTemplate(request, customData, extraHeaders) {
123
+ return this.ExecuteRequestWrapper("/Server/DeletePushNotificationTemplate", request, "X-SecretKey", customData, extraHeaders);
124
+ }
125
+ /**
126
+ * Deletes a shared group, freeing up the shared group ID to be reused for a new group. Shared Groups are designed for
127
+ * sharing data between a very small number of players, please see our guide:
128
+ * https://docs.microsoft.com/gaming/playfab/features/social/groups/using-shared-group-data
129
+ * https://docs.microsoft.com/rest/api/playfab/server/shared-group-data/deletesharedgroup
130
+ */
131
+ DeleteSharedGroup(request, customData, extraHeaders) {
132
+ return this.ExecuteRequestWrapper("/Server/DeleteSharedGroup", request, "X-SecretKey", customData, extraHeaders);
133
+ }
134
+ /**
135
+ * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
136
+ * version 2._ Returns the result of an evaluation of a Random Result Table - the ItemId from the game Catalog which would
137
+ * have been added to the player inventory, if the Random Result Table were added via a Bundle or a call to
138
+ * UnlockContainer.
139
+ * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/evaluaterandomresulttable
140
+ */
141
+ EvaluateRandomResultTable(request, customData, extraHeaders) {
142
+ return this.ExecuteRequestWrapper("/Server/EvaluateRandomResultTable", request, "X-SecretKey", customData, extraHeaders);
143
+ }
144
+ /**
145
+ * Executes a CloudScript function, with the 'currentPlayerId' set to the PlayFab ID of the authenticated player. The
146
+ * PlayFab ID is the entity ID of the player's master_player_account entity.
147
+ * https://docs.microsoft.com/rest/api/playfab/server/server-side-cloud-script/executecloudscript
148
+ */
149
+ ExecuteCloudScript(request, customData, extraHeaders) {
150
+ return this.ExecuteRequestWrapper("/Server/ExecuteCloudScript", request, "X-SecretKey", customData, extraHeaders);
151
+ }
152
+ /**
153
+ * Retrieves an array of player segment definitions. Results from this can be used in subsequent API calls such as
154
+ * GetPlayersInSegment which requires a Segment ID. While segment names can change the ID for that segment will not change.
155
+ * https://docs.microsoft.com/rest/api/playfab/server/playstream/getallsegments
156
+ */
157
+ GetAllSegments(request, customData, extraHeaders) {
158
+ return this.ExecuteRequestWrapper("/Server/GetAllSegments", request, "X-SecretKey", customData, extraHeaders);
159
+ }
160
+ /**
161
+ * Lists all of the characters that belong to a specific user. CharacterIds are not globally unique; characterId must be
162
+ * evaluated with the parent PlayFabId to guarantee uniqueness.
163
+ * https://docs.microsoft.com/rest/api/playfab/server/characters/getalluserscharacters
164
+ */
165
+ GetAllUsersCharacters(request, customData, extraHeaders) {
166
+ return this.ExecuteRequestWrapper("/Server/GetAllUsersCharacters", request, "X-SecretKey", customData, extraHeaders);
167
+ }
168
+ /**
169
+ * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
170
+ * version 2._ Retrieves the specified version of the title's catalog of virtual goods, including all defined properties
171
+ * https://docs.microsoft.com/rest/api/playfab/server/title-wide-data-management/getcatalogitems
172
+ */
173
+ GetCatalogItems(request, customData, extraHeaders) {
174
+ return this.ExecuteRequestWrapper("/Server/GetCatalogItems", request, "X-SecretKey", customData, extraHeaders);
175
+ }
176
+ /**
177
+ * Retrieves the title-specific custom data for the user which is readable and writable by the client
178
+ * https://docs.microsoft.com/rest/api/playfab/server/character-data/getcharacterdata
179
+ */
180
+ GetCharacterData(request, customData, extraHeaders) {
181
+ return this.ExecuteRequestWrapper("/Server/GetCharacterData", request, "X-SecretKey", customData, extraHeaders);
182
+ }
183
+ /**
184
+ * Retrieves the title-specific custom data for the user's character which cannot be accessed by the client
185
+ * https://docs.microsoft.com/rest/api/playfab/server/character-data/getcharacterinternaldata
186
+ */
187
+ GetCharacterInternalData(request, customData, extraHeaders) {
188
+ return this.ExecuteRequestWrapper("/Server/GetCharacterInternalData", request, "X-SecretKey", customData, extraHeaders);
189
+ }
190
+ /**
191
+ * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
192
+ * version 2._ Retrieves the specified character's current inventory of virtual goods
193
+ * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/getcharacterinventory
194
+ */
195
+ GetCharacterInventory(request, customData, extraHeaders) {
196
+ return this.ExecuteRequestWrapper("/Server/GetCharacterInventory", request, "X-SecretKey", customData, extraHeaders);
197
+ }
198
+ /**
199
+ * Retrieves a list of ranked characters for the given statistic, starting from the indicated point in the leaderboard
200
+ * https://docs.microsoft.com/rest/api/playfab/server/characters/getcharacterleaderboard
201
+ */
202
+ GetCharacterLeaderboard(request, customData, extraHeaders) {
203
+ return this.ExecuteRequestWrapper("/Server/GetCharacterLeaderboard", request, "X-SecretKey", customData, extraHeaders);
204
+ }
205
+ /**
206
+ * Retrieves the title-specific custom data for the user's character which can only be read by the client
207
+ * https://docs.microsoft.com/rest/api/playfab/server/character-data/getcharacterreadonlydata
208
+ */
209
+ GetCharacterReadOnlyData(request, customData, extraHeaders) {
210
+ return this.ExecuteRequestWrapper("/Server/GetCharacterReadOnlyData", request, "X-SecretKey", customData, extraHeaders);
211
+ }
212
+ /**
213
+ * Retrieves the details of all title-specific statistics for the specific character
214
+ * https://docs.microsoft.com/rest/api/playfab/server/characters/getcharacterstatistics
215
+ */
216
+ GetCharacterStatistics(request, customData, extraHeaders) {
217
+ return this.ExecuteRequestWrapper("/Server/GetCharacterStatistics", request, "X-SecretKey", customData, extraHeaders);
218
+ }
219
+ /**
220
+ * This API retrieves a pre-signed URL for accessing a content file for the title. A subsequent HTTP GET to the returned
221
+ * URL will attempt to download the content. A HEAD query to the returned URL will attempt to retrieve the metadata of the
222
+ * content. Note that a successful result does not guarantee the existence of this content - if it has not been uploaded,
223
+ * the query to retrieve the data will fail. See this post for more information:
224
+ * https://community.playfab.com/hc/community/posts/205469488-How-to-upload-files-to-PlayFab-s-Content-Service. Also,
225
+ * please be aware that the Content service is specifically PlayFab's CDN offering, for which standard CDN rates apply.
226
+ * https://docs.microsoft.com/rest/api/playfab/server/content/getcontentdownloadurl
227
+ */
228
+ GetContentDownloadUrl(request, customData, extraHeaders) {
229
+ return this.ExecuteRequestWrapper("/Server/GetContentDownloadUrl", request, "X-SecretKey", customData, extraHeaders);
230
+ }
231
+ /**
232
+ * Retrieves a list of ranked friends of the given player for the given statistic, starting from the indicated point in the
233
+ * leaderboard
234
+ * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/getfriendleaderboard
235
+ */
236
+ GetFriendLeaderboard(request, customData, extraHeaders) {
237
+ return this.ExecuteRequestWrapper("/Server/GetFriendLeaderboard", request, "X-SecretKey", customData, extraHeaders);
238
+ }
239
+ /**
240
+ * Retrieves the current friends for the user with PlayFabId, constrained to users who have PlayFab accounts. Friends from
241
+ * linked accounts (Facebook, Steam) are also included. You may optionally exclude some linked services' friends.
242
+ * https://docs.microsoft.com/rest/api/playfab/server/friend-list-management/getfriendslist
243
+ */
244
+ GetFriendsList(request, customData, extraHeaders) {
245
+ return this.ExecuteRequestWrapper("/Server/GetFriendsList", request, "X-SecretKey", customData, extraHeaders);
246
+ }
247
+ /**
248
+ * Retrieves a list of ranked users for the given statistic, starting from the indicated point in the leaderboard
249
+ * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/getleaderboard
250
+ */
251
+ GetLeaderboard(request, customData, extraHeaders) {
252
+ return this.ExecuteRequestWrapper("/Server/GetLeaderboard", request, "X-SecretKey", customData, extraHeaders);
253
+ }
254
+ /**
255
+ * Retrieves a list of ranked characters for the given statistic, centered on the requested user
256
+ * https://docs.microsoft.com/rest/api/playfab/server/characters/getleaderboardaroundcharacter
257
+ */
258
+ GetLeaderboardAroundCharacter(request, customData, extraHeaders) {
259
+ return this.ExecuteRequestWrapper("/Server/GetLeaderboardAroundCharacter", request, "X-SecretKey", customData, extraHeaders);
260
+ }
261
+ /**
262
+ * Retrieves a list of ranked users for the given statistic, centered on the currently signed-in user
263
+ * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/getleaderboardarounduser
264
+ */
265
+ GetLeaderboardAroundUser(request, customData, extraHeaders) {
266
+ return this.ExecuteRequestWrapper("/Server/GetLeaderboardAroundUser", request, "X-SecretKey", customData, extraHeaders);
267
+ }
268
+ /**
269
+ * Retrieves a list of all of the user's characters for the given statistic.
270
+ * https://docs.microsoft.com/rest/api/playfab/server/characters/getleaderboardforusercharacters
271
+ */
272
+ GetLeaderboardForUserCharacters(request, customData, extraHeaders) {
273
+ return this.ExecuteRequestWrapper("/Server/GetLeaderboardForUserCharacters", request, "X-SecretKey", customData, extraHeaders);
274
+ }
275
+ /**
276
+ * Returns whatever info is requested in the response for the user. Note that PII (like email address, facebook id) may be
277
+ * returned. All parameters default to false.
278
+ * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/getplayercombinedinfo
279
+ */
280
+ GetPlayerCombinedInfo(request, customData, extraHeaders) {
281
+ return this.ExecuteRequestWrapper("/Server/GetPlayerCombinedInfo", request, "X-SecretKey", customData, extraHeaders);
282
+ }
283
+ /**
284
+ * Retrieves a title-specific custom property value for a player.
285
+ * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/getplayercustomproperty
286
+ */
287
+ GetPlayerCustomProperty(request, customData, extraHeaders) {
288
+ return this.ExecuteRequestWrapper("/Server/GetPlayerCustomProperty", request, "X-SecretKey", customData, extraHeaders);
289
+ }
290
+ /**
291
+ * Retrieves the player's profile
292
+ * https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayerprofile
293
+ */
294
+ GetPlayerProfile(request, customData, extraHeaders) {
295
+ return this.ExecuteRequestWrapper("/Server/GetPlayerProfile", request, "X-SecretKey", customData, extraHeaders);
296
+ }
297
+ /**
298
+ * List all segments that a player currently belongs to at this moment in time.
299
+ * https://docs.microsoft.com/rest/api/playfab/server/playstream/getplayersegments
300
+ */
301
+ GetPlayerSegments(request, customData, extraHeaders) {
302
+ return this.ExecuteRequestWrapper("/Server/GetPlayerSegments", request, "X-SecretKey", customData, extraHeaders);
303
+ }
304
+ /**
305
+ * Allows for paging through all players in a given segment. This API creates a snapshot of all player profiles that match
306
+ * the segment definition at the time of its creation and lives through the Total Seconds to Live, refreshing its life span
307
+ * on each subsequent use of the Continuation Token. Profiles that change during the course of paging will not be reflected
308
+ * in the results. AB Test segments are currently not supported by this operation. NOTE: This API is limited to being
309
+ * called 30 times in one minute. You will be returned an error if you exceed this threshold.
310
+ * https://docs.microsoft.com/rest/api/playfab/server/playstream/getplayersinsegment
311
+ */
312
+ GetPlayersInSegment(request, customData, extraHeaders) {
313
+ return this.ExecuteRequestWrapper("/Server/GetPlayersInSegment", request, "X-SecretKey", customData, extraHeaders);
314
+ }
315
+ /**
316
+ * Retrieves the current version and values for the indicated statistics, for the local player.
317
+ * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/getplayerstatistics
318
+ */
319
+ GetPlayerStatistics(request, customData, extraHeaders) {
320
+ return this.ExecuteRequestWrapper("/Server/GetPlayerStatistics", request, "X-SecretKey", customData, extraHeaders);
321
+ }
322
+ /**
323
+ * Retrieves the information on the available versions of the specified statistic.
324
+ * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/getplayerstatisticversions
325
+ */
326
+ GetPlayerStatisticVersions(request, customData, extraHeaders) {
327
+ return this.ExecuteRequestWrapper("/Server/GetPlayerStatisticVersions", request, "X-SecretKey", customData, extraHeaders);
328
+ }
329
+ /**
330
+ * Get all tags with a given Namespace (optional) from a player profile.
331
+ * https://docs.microsoft.com/rest/api/playfab/server/playstream/getplayertags
332
+ */
333
+ GetPlayerTags(request, customData, extraHeaders) {
334
+ return this.ExecuteRequestWrapper("/Server/GetPlayerTags", request, "X-SecretKey", customData, extraHeaders);
335
+ }
336
+ /**
337
+ * Retrieves the unique PlayFab identifiers for the given set of Battle.net account identifiers.
338
+ * https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayfabidsfrombattlenetaccountids
339
+ */
340
+ GetPlayFabIDsFromBattleNetAccountIds(request, customData, extraHeaders) {
341
+ return this.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromBattleNetAccountIds", request, "X-SecretKey", customData, extraHeaders);
342
+ }
343
+ /**
344
+ * Retrieves the unique PlayFab identifiers for the given set of Facebook identifiers.
345
+ * https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayfabidsfromfacebookids
346
+ */
347
+ GetPlayFabIDsFromFacebookIDs(request, customData, extraHeaders) {
348
+ return this.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromFacebookIDs", request, "X-SecretKey", customData, extraHeaders);
349
+ }
350
+ /**
351
+ * Retrieves the unique PlayFab identifiers for the given set of Facebook Instant Games identifiers.
352
+ * https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayfabidsfromfacebookinstantgamesids
353
+ */
354
+ GetPlayFabIDsFromFacebookInstantGamesIds(request, customData, extraHeaders) {
355
+ return this.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromFacebookInstantGamesIds", request, "X-SecretKey", customData, extraHeaders);
356
+ }
357
+ /**
358
+ * Retrieves the unique PlayFab identifiers for the given set of generic service identifiers. A generic identifier is the
359
+ * service name plus the service-specific ID for the player, as specified by the title when the generic identifier was
360
+ * added to the player account.
361
+ * https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayfabidsfromgenericids
362
+ */
363
+ GetPlayFabIDsFromGenericIDs(request, customData, extraHeaders) {
364
+ return this.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromGenericIDs", request, "X-SecretKey", customData, extraHeaders);
365
+ }
366
+ /**
367
+ * Retrieves the unique PlayFab identifiers for the given set of Nintendo Service Account identifiers.
368
+ * https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayfabidsfromnintendoserviceaccountids
369
+ */
370
+ GetPlayFabIDsFromNintendoServiceAccountIds(request, customData, extraHeaders) {
371
+ return this.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromNintendoServiceAccountIds", request, "X-SecretKey", customData, extraHeaders);
372
+ }
373
+ /**
374
+ * Retrieves the unique PlayFab identifiers for the given set of Nintendo Switch Device identifiers.
375
+ * https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayfabidsfromnintendoswitchdeviceids
376
+ */
377
+ GetPlayFabIDsFromNintendoSwitchDeviceIds(request, customData, extraHeaders) {
378
+ return this.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromNintendoSwitchDeviceIds", request, "X-SecretKey", customData, extraHeaders);
379
+ }
380
+ /**
381
+ * Retrieves the unique PlayFab identifiers for the given set of PlayStation :tm: Network identifiers.
382
+ * https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayfabidsfrompsnaccountids
383
+ */
384
+ GetPlayFabIDsFromPSNAccountIDs(request, customData, extraHeaders) {
385
+ return this.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromPSNAccountIDs", request, "X-SecretKey", customData, extraHeaders);
386
+ }
387
+ /**
388
+ * Retrieves the unique PlayFab identifiers for the given set of PlayStation :tm: Network identifiers.
389
+ * https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayfabidsfrompsnonlineids
390
+ */
391
+ GetPlayFabIDsFromPSNOnlineIDs(request, customData, extraHeaders) {
392
+ return this.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromPSNOnlineIDs", request, "X-SecretKey", customData, extraHeaders);
393
+ }
394
+ /**
395
+ * Retrieves the unique PlayFab identifiers for the given set of Steam identifiers. The Steam identifiers are the profile
396
+ * IDs for the user accounts, available as SteamId in the Steamworks Community API calls.
397
+ * https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayfabidsfromsteamids
398
+ */
399
+ GetPlayFabIDsFromSteamIDs(request, customData, extraHeaders) {
400
+ return this.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromSteamIDs", request, "X-SecretKey", customData, extraHeaders);
401
+ }
402
+ /**
403
+ * Retrieves the unique PlayFab identifiers for the given set of Steam identifiers. The Steam identifiers are persona
404
+ * names.
405
+ * https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayfabidsfromsteamnames
406
+ */
407
+ GetPlayFabIDsFromSteamNames(request, customData, extraHeaders) {
408
+ return this.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromSteamNames", request, "X-SecretKey", customData, extraHeaders);
409
+ }
410
+ /**
411
+ * Retrieves the unique PlayFab identifiers for the given set of Twitch identifiers. The Twitch identifiers are the IDs for
412
+ * the user accounts, available as "_id" from the Twitch API methods (ex:
413
+ * https://github.com/justintv/Twitch-API/blob/master/v3_resources/users.md#get-usersuser).
414
+ * https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayfabidsfromtwitchids
415
+ */
416
+ GetPlayFabIDsFromTwitchIDs(request, customData, extraHeaders) {
417
+ return this.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromTwitchIDs", request, "X-SecretKey", customData, extraHeaders);
418
+ }
419
+ /**
420
+ * Retrieves the unique PlayFab identifiers for the given set of XboxLive identifiers.
421
+ * https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayfabidsfromxboxliveids
422
+ */
423
+ GetPlayFabIDsFromXboxLiveIDs(request, customData, extraHeaders) {
424
+ return this.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromXboxLiveIDs", request, "X-SecretKey", customData, extraHeaders);
425
+ }
426
+ /**
427
+ * Retrieves the key-value store of custom publisher settings
428
+ * https://docs.microsoft.com/rest/api/playfab/server/title-wide-data-management/getpublisherdata
429
+ */
430
+ GetPublisherData(request, customData, extraHeaders) {
431
+ return this.ExecuteRequestWrapper("/Server/GetPublisherData", request, "X-SecretKey", customData, extraHeaders);
432
+ }
433
+ /**
434
+ * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
435
+ * version 2._ Retrieves the configuration information for the specified random results tables for the title, including all
436
+ * ItemId values and weights
437
+ * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/getrandomresulttables
438
+ */
439
+ GetRandomResultTables(request, customData, extraHeaders) {
440
+ return this.ExecuteRequestWrapper("/Server/GetRandomResultTables", request, "X-SecretKey", customData, extraHeaders);
441
+ }
442
+ /**
443
+ * Retrieves the associated PlayFab account identifiers for the given set of server custom identifiers.
444
+ * https://docs.microsoft.com/rest/api/playfab/server/account-management/getservercustomidsfromplayfabids
445
+ */
446
+ GetServerCustomIDsFromPlayFabIDs(request, customData, extraHeaders) {
447
+ return this.ExecuteRequestWrapper("/Server/GetServerCustomIDsFromPlayFabIDs", request, "X-SecretKey", customData, extraHeaders);
448
+ }
449
+ /**
450
+ * Retrieves data stored in a shared group object, as well as the list of members in the group. The server can access all
451
+ * public and private group data. Shared Groups are designed for sharing data between a very small number of players,
452
+ * please see our guide: https://docs.microsoft.com/gaming/playfab/features/social/groups/using-shared-group-data
453
+ * https://docs.microsoft.com/rest/api/playfab/server/shared-group-data/getsharedgroupdata
454
+ */
455
+ GetSharedGroupData(request, customData, extraHeaders) {
456
+ return this.ExecuteRequestWrapper("/Server/GetSharedGroupData", request, "X-SecretKey", customData, extraHeaders);
457
+ }
458
+ /**
459
+ * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
460
+ * version 2._ Retrieves the set of items defined for the specified store, including all prices defined, for the specified
461
+ * player
462
+ * https://docs.microsoft.com/rest/api/playfab/server/title-wide-data-management/getstoreitems
463
+ */
464
+ GetStoreItems(request, customData, extraHeaders) {
465
+ return this.ExecuteRequestWrapper("/Server/GetStoreItems", request, "X-SecretKey", customData, extraHeaders);
466
+ }
467
+ /**
468
+ * Retrieves the current server time
469
+ * https://docs.microsoft.com/rest/api/playfab/server/title-wide-data-management/gettime
470
+ */
471
+ GetTime(request, customData, extraHeaders) {
472
+ return this.ExecuteRequestWrapper("/Server/GetTime", request, "X-SecretKey", customData, extraHeaders);
473
+ }
474
+ /**
475
+ * Retrieves the key-value store of custom title settings
476
+ * https://docs.microsoft.com/rest/api/playfab/server/title-wide-data-management/gettitledata
477
+ */
478
+ GetTitleData(request, customData, extraHeaders) {
479
+ return this.ExecuteRequestWrapper("/Server/GetTitleData", request, "X-SecretKey", customData, extraHeaders);
480
+ }
481
+ /**
482
+ * Retrieves the key-value store of custom internal title settings
483
+ * https://docs.microsoft.com/rest/api/playfab/server/title-wide-data-management/gettitleinternaldata
484
+ */
485
+ GetTitleInternalData(request, customData, extraHeaders) {
486
+ return this.ExecuteRequestWrapper("/Server/GetTitleInternalData", request, "X-SecretKey", customData, extraHeaders);
487
+ }
488
+ /**
489
+ * Retrieves the title news feed, as configured in the developer portal
490
+ * https://docs.microsoft.com/rest/api/playfab/server/title-wide-data-management/gettitlenews
491
+ */
492
+ GetTitleNews(request, customData, extraHeaders) {
493
+ return this.ExecuteRequestWrapper("/Server/GetTitleNews", request, "X-SecretKey", customData, extraHeaders);
494
+ }
495
+ /**
496
+ * Retrieves the relevant details for a specified user
497
+ * https://docs.microsoft.com/rest/api/playfab/server/account-management/getuseraccountinfo
498
+ */
499
+ GetUserAccountInfo(request, customData, extraHeaders) {
500
+ return this.ExecuteRequestWrapper("/Server/GetUserAccountInfo", request, "X-SecretKey", customData, extraHeaders);
501
+ }
502
+ /**
503
+ * Gets all bans for a user.
504
+ * https://docs.microsoft.com/rest/api/playfab/server/account-management/getuserbans
505
+ */
506
+ GetUserBans(request, customData, extraHeaders) {
507
+ return this.ExecuteRequestWrapper("/Server/GetUserBans", request, "X-SecretKey", customData, extraHeaders);
508
+ }
509
+ /**
510
+ * Retrieves the title-specific custom data for the user which is readable and writable by the client
511
+ * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/getuserdata
512
+ */
513
+ GetUserData(request, customData, extraHeaders) {
514
+ return this.ExecuteRequestWrapper("/Server/GetUserData", request, "X-SecretKey", customData, extraHeaders);
515
+ }
516
+ /**
517
+ * Retrieves the title-specific custom data for the user which cannot be accessed by the client
518
+ * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/getuserinternaldata
519
+ */
520
+ GetUserInternalData(request, customData, extraHeaders) {
521
+ return this.ExecuteRequestWrapper("/Server/GetUserInternalData", request, "X-SecretKey", customData, extraHeaders);
522
+ }
523
+ /**
524
+ * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
525
+ * version 2._ Retrieves the specified user's current inventory of virtual goods
526
+ * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/getuserinventory
527
+ */
528
+ GetUserInventory(request, customData, extraHeaders) {
529
+ return this.ExecuteRequestWrapper("/Server/GetUserInventory", request, "X-SecretKey", customData, extraHeaders);
530
+ }
531
+ /**
532
+ * Retrieves the publisher-specific custom data for the user which is readable and writable by the client
533
+ * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/getuserpublisherdata
534
+ */
535
+ GetUserPublisherData(request, customData, extraHeaders) {
536
+ return this.ExecuteRequestWrapper("/Server/GetUserPublisherData", request, "X-SecretKey", customData, extraHeaders);
537
+ }
538
+ /**
539
+ * Retrieves the publisher-specific custom data for the user which cannot be accessed by the client
540
+ * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/getuserpublisherinternaldata
541
+ */
542
+ GetUserPublisherInternalData(request, customData, extraHeaders) {
543
+ return this.ExecuteRequestWrapper("/Server/GetUserPublisherInternalData", request, "X-SecretKey", customData, extraHeaders);
544
+ }
545
+ /**
546
+ * Retrieves the publisher-specific custom data for the user which can only be read by the client
547
+ * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/getuserpublisherreadonlydata
548
+ */
549
+ GetUserPublisherReadOnlyData(request, customData, extraHeaders) {
550
+ return this.ExecuteRequestWrapper("/Server/GetUserPublisherReadOnlyData", request, "X-SecretKey", customData, extraHeaders);
551
+ }
552
+ /**
553
+ * Retrieves the title-specific custom data for the user which can only be read by the client
554
+ * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/getuserreadonlydata
555
+ */
556
+ GetUserReadOnlyData(request, customData, extraHeaders) {
557
+ return this.ExecuteRequestWrapper("/Server/GetUserReadOnlyData", request, "X-SecretKey", customData, extraHeaders);
558
+ }
559
+ /**
560
+ * Grants the specified character type to the user. CharacterIds are not globally unique; characterId must be evaluated
561
+ * with the parent PlayFabId to guarantee uniqueness.
562
+ * https://docs.microsoft.com/rest/api/playfab/server/characters/grantcharactertouser
563
+ */
564
+ GrantCharacterToUser(request, customData, extraHeaders) {
565
+ return this.ExecuteRequestWrapper("/Server/GrantCharacterToUser", request, "X-SecretKey", customData, extraHeaders);
566
+ }
567
+ /**
568
+ * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
569
+ * version 2._ Adds the specified items to the specified character's inventory
570
+ * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/grantitemstocharacter
571
+ */
572
+ GrantItemsToCharacter(request, customData, extraHeaders) {
573
+ return this.ExecuteRequestWrapper("/Server/GrantItemsToCharacter", request, "X-SecretKey", customData, extraHeaders);
574
+ }
575
+ /**
576
+ * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
577
+ * version 2._ Adds the specified items to the specified user's inventory
578
+ * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/grantitemstouser
579
+ */
580
+ GrantItemsToUser(request, customData, extraHeaders) {
581
+ return this.ExecuteRequestWrapper("/Server/GrantItemsToUser", request, "X-SecretKey", customData, extraHeaders);
582
+ }
583
+ /**
584
+ * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
585
+ * version 2._ Adds the specified items to the specified user inventories
586
+ * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/grantitemstousers
587
+ */
588
+ GrantItemsToUsers(request, customData, extraHeaders) {
589
+ return this.ExecuteRequestWrapper("/Server/GrantItemsToUsers", request, "X-SecretKey", customData, extraHeaders);
590
+ }
591
+ /**
592
+ * Links the Battle.net account associated with the token to the user's PlayFab account.
593
+ * https://docs.microsoft.com/rest/api/playfab/server/account-management/linkbattlenetaccount
594
+ */
595
+ LinkBattleNetAccount(request, customData, extraHeaders) {
596
+ return this.ExecuteRequestWrapper("/Server/LinkBattleNetAccount", request, "X-SecretKey", customData, extraHeaders);
597
+ }
598
+ /**
599
+ * Links the Nintendo account associated with the token to the user's PlayFab account
600
+ * https://docs.microsoft.com/rest/api/playfab/server/account-management/linknintendoserviceaccount
601
+ */
602
+ LinkNintendoServiceAccount(request, customData, extraHeaders) {
603
+ return this.ExecuteRequestWrapper("/Server/LinkNintendoServiceAccount", request, "X-SecretKey", customData, extraHeaders);
604
+ }
605
+ /**
606
+ * Links the Nintendo account associated with the Nintendo Service Account subject or id to the user's PlayFab account
607
+ * https://docs.microsoft.com/rest/api/playfab/server/account-management/linknintendoserviceaccountsubject
608
+ */
609
+ LinkNintendoServiceAccountSubject(request, customData, extraHeaders) {
610
+ return this.ExecuteRequestWrapper("/Server/LinkNintendoServiceAccountSubject", request, "X-SecretKey", customData, extraHeaders);
611
+ }
612
+ /**
613
+ * Links the NintendoSwitchDeviceId to the user's PlayFab account
614
+ * https://docs.microsoft.com/rest/api/playfab/server/account-management/linknintendoswitchdeviceid
615
+ */
616
+ LinkNintendoSwitchDeviceId(request, customData, extraHeaders) {
617
+ return this.ExecuteRequestWrapper("/Server/LinkNintendoSwitchDeviceId", request, "X-SecretKey", customData, extraHeaders);
618
+ }
619
+ /**
620
+ * Links the PlayStation :tm: Network account associated with the provided access code to the user's PlayFab account
621
+ * https://docs.microsoft.com/rest/api/playfab/server/account-management/linkpsnaccount
622
+ */
623
+ LinkPSNAccount(request, customData, extraHeaders) {
624
+ return this.ExecuteRequestWrapper("/Server/LinkPSNAccount", request, "X-SecretKey", customData, extraHeaders);
625
+ }
626
+ /**
627
+ * Links the PlayStation :tm: Network account associated with the provided user id to the user's PlayFab account
628
+ * https://docs.microsoft.com/rest/api/playfab/server/account-management/linkpsnid
629
+ */
630
+ LinkPSNId(request, customData, extraHeaders) {
631
+ return this.ExecuteRequestWrapper("/Server/LinkPSNId", request, "X-SecretKey", customData, extraHeaders);
632
+ }
633
+ /**
634
+ * Links the custom server identifier, generated by the title, to the user's PlayFab account.
635
+ * https://docs.microsoft.com/rest/api/playfab/server/account-management/linkservercustomid
636
+ */
637
+ LinkServerCustomId(request, customData, extraHeaders) {
638
+ return this.ExecuteRequestWrapper("/Server/LinkServerCustomId", request, "X-SecretKey", customData, extraHeaders);
639
+ }
640
+ /**
641
+ * Links the Steam account associated with the provided Steam ID to the user's PlayFab account
642
+ * https://docs.microsoft.com/rest/api/playfab/server/account-management/linksteamid
643
+ */
644
+ LinkSteamId(request, customData, extraHeaders) {
645
+ return this.ExecuteRequestWrapper("/Server/LinkSteamId", request, "X-SecretKey", customData, extraHeaders);
646
+ }
647
+ /**
648
+ * Links the Xbox Live account associated with the provided access code to the user's PlayFab account
649
+ * https://docs.microsoft.com/rest/api/playfab/server/account-management/linkxboxaccount
650
+ */
651
+ LinkXboxAccount(request, customData, extraHeaders) {
652
+ return this.ExecuteRequestWrapper("/Server/LinkXboxAccount", request, "X-SecretKey", customData, extraHeaders);
653
+ }
654
+ /**
655
+ * Retrieves title-specific custom property values for a player.
656
+ * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/listplayercustomproperties
657
+ */
658
+ ListPlayerCustomProperties(request, customData, extraHeaders) {
659
+ return this.ExecuteRequestWrapper("/Server/ListPlayerCustomProperties", request, "X-SecretKey", customData, extraHeaders);
660
+ }
661
+ /**
662
+ * Signs the user in using the Android device identifier, returning a session identifier that can subsequently be used for
663
+ * API calls which require an authenticated user
664
+ * https://docs.microsoft.com/rest/api/playfab/server/authentication/loginwithandroiddeviceid
665
+ */
666
+ LoginWithAndroidDeviceID(request, customData, extraHeaders) {
667
+ return this.ExecuteRequestWrapper("/Server/LoginWithAndroidDeviceID", request, "X-SecretKey", customData, extraHeaders);
668
+ }
669
+ /**
670
+ * Sign in the user with a Battle.net identity token
671
+ * https://docs.microsoft.com/rest/api/playfab/server/authentication/loginwithbattlenet
672
+ */
673
+ LoginWithBattleNet(request, customData, extraHeaders) {
674
+ return this.ExecuteRequestWrapper("/Server/LoginWithBattleNet", request, "X-SecretKey", customData, extraHeaders);
675
+ }
676
+ /**
677
+ * Signs the user in using a custom unique identifier generated by the title, returning a session identifier that can
678
+ * subsequently be used for API calls which require an authenticated user
679
+ * https://docs.microsoft.com/rest/api/playfab/server/authentication/loginwithcustomid
680
+ */
681
+ LoginWithCustomID(request, customData, extraHeaders) {
682
+ return this.ExecuteRequestWrapper("/Server/LoginWithCustomID", request, "X-SecretKey", customData, extraHeaders);
683
+ }
684
+ /**
685
+ * Signs the user in using the iOS device identifier, returning a session identifier that can subsequently be used for API
686
+ * calls which require an authenticated user
687
+ * https://docs.microsoft.com/rest/api/playfab/server/authentication/loginwithiosdeviceid
688
+ */
689
+ LoginWithIOSDeviceID(request, customData, extraHeaders) {
690
+ return this.ExecuteRequestWrapper("/Server/LoginWithIOSDeviceID", request, "X-SecretKey", customData, extraHeaders);
691
+ }
692
+ /**
693
+ * Signs the user in using a PlayStation :tm: Network authentication code, returning a session identifier that can
694
+ * subsequently be used for API calls which require an authenticated user
695
+ * https://docs.microsoft.com/rest/api/playfab/server/authentication/loginwithpsn
696
+ */
697
+ LoginWithPSN(request, customData, extraHeaders) {
698
+ return this.ExecuteRequestWrapper("/Server/LoginWithPSN", request, "X-SecretKey", customData, extraHeaders);
699
+ }
700
+ /**
701
+ * Securely login a game client from an external server backend using a custom identifier for that player. Server Custom ID
702
+ * and Client Custom ID are mutually exclusive and cannot be used to retrieve the same player account.
703
+ * https://docs.microsoft.com/rest/api/playfab/server/authentication/loginwithservercustomid
704
+ */
705
+ LoginWithServerCustomId(request, customData, extraHeaders) {
706
+ return this.ExecuteRequestWrapper("/Server/LoginWithServerCustomId", request, "X-SecretKey", customData, extraHeaders);
707
+ }
708
+ /**
709
+ * Signs the user in using an Steam ID, returning a session identifier that can subsequently be used for API calls which
710
+ * require an authenticated user
711
+ * https://docs.microsoft.com/rest/api/playfab/server/authentication/loginwithsteamid
712
+ */
713
+ LoginWithSteamId(request, customData, extraHeaders) {
714
+ return this.ExecuteRequestWrapper("/Server/LoginWithSteamId", request, "X-SecretKey", customData, extraHeaders);
715
+ }
716
+ /**
717
+ * Signs the user in using a Xbox Live Token from an external server backend, returning a session identifier that can
718
+ * subsequently be used for API calls which require an authenticated user
719
+ * https://docs.microsoft.com/rest/api/playfab/server/authentication/loginwithxbox
720
+ */
721
+ LoginWithXbox(request, customData, extraHeaders) {
722
+ return this.ExecuteRequestWrapper("/Server/LoginWithXbox", request, "X-SecretKey", customData, extraHeaders);
723
+ }
724
+ /**
725
+ * Signs the user in using an Xbox ID and Sandbox ID, returning a session identifier that can subsequently be used for API
726
+ * calls which require an authenticated user
727
+ * https://docs.microsoft.com/rest/api/playfab/server/authentication/loginwithxboxid
728
+ */
729
+ LoginWithXboxId(request, customData, extraHeaders) {
730
+ return this.ExecuteRequestWrapper("/Server/LoginWithXboxId", request, "X-SecretKey", customData, extraHeaders);
731
+ }
732
+ /**
733
+ * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
734
+ * version 2._ Modifies the number of remaining uses of a player's inventory item
735
+ * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/modifyitemuses
736
+ */
737
+ ModifyItemUses(request, customData, extraHeaders) {
738
+ return this.ExecuteRequestWrapper("/Server/ModifyItemUses", request, "X-SecretKey", customData, extraHeaders);
739
+ }
740
+ /**
741
+ * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
742
+ * version 2._ Moves an item from a character's inventory into another of the users's character's inventory.
743
+ * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/moveitemtocharacterfromcharacter
744
+ */
745
+ MoveItemToCharacterFromCharacter(request, customData, extraHeaders) {
746
+ return this.ExecuteRequestWrapper("/Server/MoveItemToCharacterFromCharacter", request, "X-SecretKey", customData, extraHeaders);
747
+ }
748
+ /**
749
+ * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
750
+ * version 2._ Moves an item from a user's inventory into their character's inventory.
751
+ * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/moveitemtocharacterfromuser
752
+ */
753
+ MoveItemToCharacterFromUser(request, customData, extraHeaders) {
754
+ return this.ExecuteRequestWrapper("/Server/MoveItemToCharacterFromUser", request, "X-SecretKey", customData, extraHeaders);
755
+ }
756
+ /**
757
+ * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
758
+ * version 2._ Moves an item from a character's inventory into the owning user's inventory.
759
+ * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/moveitemtouserfromcharacter
760
+ */
761
+ MoveItemToUserFromCharacter(request, customData, extraHeaders) {
762
+ return this.ExecuteRequestWrapper("/Server/MoveItemToUserFromCharacter", request, "X-SecretKey", customData, extraHeaders);
763
+ }
764
+ /**
765
+ * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
766
+ * version 2._ Adds the virtual goods associated with the coupon to the user's inventory. Coupons can be generated via the
767
+ * Economy->Catalogs tab in the PlayFab Game Manager.
768
+ * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/redeemcoupon
769
+ */
770
+ RedeemCoupon(request, customData, extraHeaders) {
771
+ return this.ExecuteRequestWrapper("/Server/RedeemCoupon", request, "X-SecretKey", customData, extraHeaders);
772
+ }
773
+ /**
774
+ * Removes the specified friend from the the user's friend list
775
+ * https://docs.microsoft.com/rest/api/playfab/server/friend-list-management/removefriend
776
+ */
777
+ RemoveFriend(request, customData, extraHeaders) {
778
+ return this.ExecuteRequestWrapper("/Server/RemoveFriend", request, "X-SecretKey", customData, extraHeaders);
779
+ }
780
+ /**
781
+ * Removes the specified generic service identifier from the player's PlayFab account.
782
+ * https://docs.microsoft.com/rest/api/playfab/server/account-management/removegenericid
783
+ */
784
+ RemoveGenericID(request, customData, extraHeaders) {
785
+ return this.ExecuteRequestWrapper("/Server/RemoveGenericID", request, "X-SecretKey", customData, extraHeaders);
786
+ }
787
+ /**
788
+ * Remove a given tag from a player profile. The tag's namespace is automatically generated based on the source of the tag.
789
+ * https://docs.microsoft.com/rest/api/playfab/server/playstream/removeplayertag
790
+ */
791
+ RemovePlayerTag(request, customData, extraHeaders) {
792
+ return this.ExecuteRequestWrapper("/Server/RemovePlayerTag", request, "X-SecretKey", customData, extraHeaders);
793
+ }
794
+ /**
795
+ * Removes users from the set of those able to update the shared data and the set of users in the group. Only users in the
796
+ * group can remove members. If as a result of the call, zero users remain with access, the group and its associated data
797
+ * will be deleted. Shared Groups are designed for sharing data between a very small number of players, please see our
798
+ * guide: https://docs.microsoft.com/gaming/playfab/features/social/groups/using-shared-group-data
799
+ * https://docs.microsoft.com/rest/api/playfab/server/shared-group-data/removesharedgroupmembers
800
+ */
801
+ RemoveSharedGroupMembers(request, customData, extraHeaders) {
802
+ return this.ExecuteRequestWrapper("/Server/RemoveSharedGroupMembers", request, "X-SecretKey", customData, extraHeaders);
803
+ }
804
+ /**
805
+ * Submit a report about a player (due to bad bahavior, etc.) on behalf of another player, so that customer service
806
+ * representatives for the title can take action concerning potentially toxic players.
807
+ * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/reportplayer
808
+ */
809
+ ReportPlayer(request, customData, extraHeaders) {
810
+ return this.ExecuteRequestWrapper("/Server/ReportPlayer", request, "X-SecretKey", customData, extraHeaders);
811
+ }
812
+ /**
813
+ * Revoke all active bans for a user.
814
+ * https://docs.microsoft.com/rest/api/playfab/server/account-management/revokeallbansforuser
815
+ */
816
+ RevokeAllBansForUser(request, customData, extraHeaders) {
817
+ return this.ExecuteRequestWrapper("/Server/RevokeAllBansForUser", request, "X-SecretKey", customData, extraHeaders);
818
+ }
819
+ /**
820
+ * Revoke all active bans specified with BanId.
821
+ * https://docs.microsoft.com/rest/api/playfab/server/account-management/revokebans
822
+ */
823
+ RevokeBans(request, customData, extraHeaders) {
824
+ return this.ExecuteRequestWrapper("/Server/RevokeBans", request, "X-SecretKey", customData, extraHeaders);
825
+ }
826
+ /**
827
+ * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
828
+ * version 2._ Revokes access to an item in a user's inventory
829
+ * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/revokeinventoryitem
830
+ */
831
+ RevokeInventoryItem(request, customData, extraHeaders) {
832
+ return this.ExecuteRequestWrapper("/Server/RevokeInventoryItem", request, "X-SecretKey", customData, extraHeaders);
833
+ }
834
+ /**
835
+ * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
836
+ * version 2._ Revokes access for up to 25 items across multiple users and characters.
837
+ * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/revokeinventoryitems
838
+ */
839
+ RevokeInventoryItems(request, customData, extraHeaders) {
840
+ return this.ExecuteRequestWrapper("/Server/RevokeInventoryItems", request, "X-SecretKey", customData, extraHeaders);
841
+ }
842
+ /**
843
+ * Saves push notification template for title
844
+ * https://docs.microsoft.com/rest/api/playfab/server/account-management/savepushnotificationtemplate
845
+ */
846
+ SavePushNotificationTemplate(request, customData, extraHeaders) {
847
+ return this.ExecuteRequestWrapper("/Server/SavePushNotificationTemplate", request, "X-SecretKey", customData, extraHeaders);
848
+ }
849
+ /**
850
+ * Forces an email to be sent to the registered contact email address for the user's account based on an account recovery
851
+ * email template
852
+ * https://docs.microsoft.com/rest/api/playfab/server/account-management/sendcustomaccountrecoveryemail
853
+ */
854
+ SendCustomAccountRecoveryEmail(request, customData, extraHeaders) {
855
+ return this.ExecuteRequestWrapper("/Server/SendCustomAccountRecoveryEmail", request, "X-SecretKey", customData, extraHeaders);
856
+ }
857
+ /**
858
+ * Sends an email based on an email template to a player's contact email
859
+ * https://docs.microsoft.com/rest/api/playfab/server/account-management/sendemailfromtemplate
860
+ */
861
+ SendEmailFromTemplate(request, customData, extraHeaders) {
862
+ return this.ExecuteRequestWrapper("/Server/SendEmailFromTemplate", request, "X-SecretKey", customData, extraHeaders);
863
+ }
864
+ /**
865
+ * Sends an iOS/Android Push Notification to a specific user, if that user's device has been configured for Push
866
+ * Notifications in PlayFab. If a user has linked both Android and iOS devices, both will be notified.
867
+ * https://docs.microsoft.com/rest/api/playfab/server/account-management/sendpushnotification
868
+ */
869
+ SendPushNotification(request, customData, extraHeaders) {
870
+ return this.ExecuteRequestWrapper("/Server/SendPushNotification", request, "X-SecretKey", customData, extraHeaders);
871
+ }
872
+ /**
873
+ * Sends an iOS/Android Push Notification template to a specific user, if that user's device has been configured for Push
874
+ * Notifications in PlayFab. If a user has linked both Android and iOS devices, both will be notified.
875
+ * https://docs.microsoft.com/rest/api/playfab/server/account-management/sendpushnotificationfromtemplate
876
+ */
877
+ SendPushNotificationFromTemplate(request, customData, extraHeaders) {
878
+ return this.ExecuteRequestWrapper("/Server/SendPushNotificationFromTemplate", request, "X-SecretKey", customData, extraHeaders);
879
+ }
880
+ /**
881
+ * Updates the tag list for a specified user in the friend list of another user
882
+ * https://docs.microsoft.com/rest/api/playfab/server/friend-list-management/setfriendtags
883
+ */
884
+ SetFriendTags(request, customData, extraHeaders) {
885
+ return this.ExecuteRequestWrapper("/Server/SetFriendTags", request, "X-SecretKey", customData, extraHeaders);
886
+ }
887
+ /**
888
+ * Sets the player's secret if it is not already set. Player secrets are used to sign API requests. To reset a player's
889
+ * secret use the Admin or Server API method SetPlayerSecret.
890
+ * https://docs.microsoft.com/rest/api/playfab/server/authentication/setplayersecret
891
+ */
892
+ SetPlayerSecret(request, customData, extraHeaders) {
893
+ return this.ExecuteRequestWrapper("/Server/SetPlayerSecret", request, "X-SecretKey", customData, extraHeaders);
894
+ }
895
+ /**
896
+ * Updates the key-value store of custom publisher settings
897
+ * https://docs.microsoft.com/rest/api/playfab/server/title-wide-data-management/setpublisherdata
898
+ */
899
+ SetPublisherData(request, customData, extraHeaders) {
900
+ return this.ExecuteRequestWrapper("/Server/SetPublisherData", request, "X-SecretKey", customData, extraHeaders);
901
+ }
902
+ /**
903
+ * Updates the key-value store of custom title settings
904
+ * https://docs.microsoft.com/rest/api/playfab/server/title-wide-data-management/settitledata
905
+ */
906
+ SetTitleData(request, customData, extraHeaders) {
907
+ return this.ExecuteRequestWrapper("/Server/SetTitleData", request, "X-SecretKey", customData, extraHeaders);
908
+ }
909
+ /**
910
+ * Updates the key-value store of custom title settings
911
+ * https://docs.microsoft.com/rest/api/playfab/server/title-wide-data-management/settitleinternaldata
912
+ */
913
+ SetTitleInternalData(request, customData, extraHeaders) {
914
+ return this.ExecuteRequestWrapper("/Server/SetTitleInternalData", request, "X-SecretKey", customData, extraHeaders);
915
+ }
916
+ /**
917
+ * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
918
+ * version 2._ Decrements the character's balance of the specified virtual currency by the stated amount. It is possible to
919
+ * make a VC balance negative with this API.
920
+ * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/subtractcharactervirtualcurrency
921
+ */
922
+ SubtractCharacterVirtualCurrency(request, customData, extraHeaders) {
923
+ return this.ExecuteRequestWrapper("/Server/SubtractCharacterVirtualCurrency", request, "X-SecretKey", customData, extraHeaders);
924
+ }
925
+ /**
926
+ * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
927
+ * version 2._ Decrements the user's balance of the specified virtual currency by the stated amount. It is possible to make
928
+ * a VC balance negative with this API.
929
+ * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/subtractuservirtualcurrency
930
+ */
931
+ SubtractUserVirtualCurrency(request, customData, extraHeaders) {
932
+ return this.ExecuteRequestWrapper("/Server/SubtractUserVirtualCurrency", request, "X-SecretKey", customData, extraHeaders);
933
+ }
934
+ /**
935
+ * Unlinks the related Battle.net account from the user's PlayFab account.
936
+ * https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinkbattlenetaccount
937
+ */
938
+ UnlinkBattleNetAccount(request, customData, extraHeaders) {
939
+ return this.ExecuteRequestWrapper("/Server/UnlinkBattleNetAccount", request, "X-SecretKey", customData, extraHeaders);
940
+ }
941
+ /**
942
+ * Unlinks the related Nintendo account from the user's PlayFab account
943
+ * https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinknintendoserviceaccount
944
+ */
945
+ UnlinkNintendoServiceAccount(request, customData, extraHeaders) {
946
+ return this.ExecuteRequestWrapper("/Server/UnlinkNintendoServiceAccount", request, "X-SecretKey", customData, extraHeaders);
947
+ }
948
+ /**
949
+ * Unlinks the related NintendoSwitchDeviceId from the user's PlayFab account
950
+ * https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinknintendoswitchdeviceid
951
+ */
952
+ UnlinkNintendoSwitchDeviceId(request, customData, extraHeaders) {
953
+ return this.ExecuteRequestWrapper("/Server/UnlinkNintendoSwitchDeviceId", request, "X-SecretKey", customData, extraHeaders);
954
+ }
955
+ /**
956
+ * Unlinks the related PlayStation :tm: Network account from the user's PlayFab account
957
+ * https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinkpsnaccount
958
+ */
959
+ UnlinkPSNAccount(request, customData, extraHeaders) {
960
+ return this.ExecuteRequestWrapper("/Server/UnlinkPSNAccount", request, "X-SecretKey", customData, extraHeaders);
961
+ }
962
+ /**
963
+ * Unlinks the custom server identifier from the user's PlayFab account.
964
+ * https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinkservercustomid
965
+ */
966
+ UnlinkServerCustomId(request, customData, extraHeaders) {
967
+ return this.ExecuteRequestWrapper("/Server/UnlinkServerCustomId", request, "X-SecretKey", customData, extraHeaders);
968
+ }
969
+ /**
970
+ * Unlinks the Steam account associated with the provided Steam ID to the user's PlayFab account
971
+ * https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinksteamid
972
+ */
973
+ UnlinkSteamId(request, customData, extraHeaders) {
974
+ return this.ExecuteRequestWrapper("/Server/UnlinkSteamId", request, "X-SecretKey", customData, extraHeaders);
975
+ }
976
+ /**
977
+ * Unlinks the related Xbox Live account from the user's PlayFab account
978
+ * https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinkxboxaccount
979
+ */
980
+ UnlinkXboxAccount(request, customData, extraHeaders) {
981
+ return this.ExecuteRequestWrapper("/Server/UnlinkXboxAccount", request, "X-SecretKey", customData, extraHeaders);
982
+ }
983
+ /**
984
+ * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
985
+ * version 2._ Opens a specific container (ContainerItemInstanceId), with a specific key (KeyItemInstanceId, when
986
+ * required), and returns the contents of the opened container. If the container (and key when relevant) are consumable
987
+ * (RemainingUses > 0), their RemainingUses will be decremented, consistent with the operation of ConsumeItem.
988
+ * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/unlockcontainerinstance
989
+ */
990
+ UnlockContainerInstance(request, customData, extraHeaders) {
991
+ return this.ExecuteRequestWrapper("/Server/UnlockContainerInstance", request, "X-SecretKey", customData, extraHeaders);
992
+ }
993
+ /**
994
+ * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
995
+ * version 2._ Searches Player or Character inventory for any ItemInstance matching the given CatalogItemId, if necessary
996
+ * unlocks it using any appropriate key, and returns the contents of the opened container. If the container (and key when
997
+ * relevant) are consumable (RemainingUses > 0), their RemainingUses will be decremented, consistent with the operation of
998
+ * ConsumeItem.
999
+ * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/unlockcontaineritem
1000
+ */
1001
+ UnlockContainerItem(request, customData, extraHeaders) {
1002
+ return this.ExecuteRequestWrapper("/Server/UnlockContainerItem", request, "X-SecretKey", customData, extraHeaders);
1003
+ }
1004
+ /**
1005
+ * Update the avatar URL of the specified player
1006
+ * https://docs.microsoft.com/rest/api/playfab/server/account-management/updateavatarurl
1007
+ */
1008
+ UpdateAvatarUrl(request, customData, extraHeaders) {
1009
+ return this.ExecuteRequestWrapper("/Server/UpdateAvatarUrl", request, "X-SecretKey", customData, extraHeaders);
1010
+ }
1011
+ /**
1012
+ * Updates information of a list of existing bans specified with Ban Ids.
1013
+ * https://docs.microsoft.com/rest/api/playfab/server/account-management/updatebans
1014
+ */
1015
+ UpdateBans(request, customData, extraHeaders) {
1016
+ return this.ExecuteRequestWrapper("/Server/UpdateBans", request, "X-SecretKey", customData, extraHeaders);
1017
+ }
1018
+ /**
1019
+ * Updates the title-specific custom data for the user's character which is readable and writable by the client
1020
+ * https://docs.microsoft.com/rest/api/playfab/server/character-data/updatecharacterdata
1021
+ */
1022
+ UpdateCharacterData(request, customData, extraHeaders) {
1023
+ return this.ExecuteRequestWrapper("/Server/UpdateCharacterData", request, "X-SecretKey", customData, extraHeaders);
1024
+ }
1025
+ /**
1026
+ * Updates the title-specific custom data for the user's character which cannot be accessed by the client
1027
+ * https://docs.microsoft.com/rest/api/playfab/server/character-data/updatecharacterinternaldata
1028
+ */
1029
+ UpdateCharacterInternalData(request, customData, extraHeaders) {
1030
+ return this.ExecuteRequestWrapper("/Server/UpdateCharacterInternalData", request, "X-SecretKey", customData, extraHeaders);
1031
+ }
1032
+ /**
1033
+ * Updates the title-specific custom data for the user's character which can only be read by the client
1034
+ * https://docs.microsoft.com/rest/api/playfab/server/character-data/updatecharacterreadonlydata
1035
+ */
1036
+ UpdateCharacterReadOnlyData(request, customData, extraHeaders) {
1037
+ return this.ExecuteRequestWrapper("/Server/UpdateCharacterReadOnlyData", request, "X-SecretKey", customData, extraHeaders);
1038
+ }
1039
+ /**
1040
+ * Updates the values of the specified title-specific statistics for the specific character
1041
+ * https://docs.microsoft.com/rest/api/playfab/server/characters/updatecharacterstatistics
1042
+ */
1043
+ UpdateCharacterStatistics(request, customData, extraHeaders) {
1044
+ return this.ExecuteRequestWrapper("/Server/UpdateCharacterStatistics", request, "X-SecretKey", customData, extraHeaders);
1045
+ }
1046
+ /**
1047
+ * Updates the title-specific custom property values for a player
1048
+ * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/updateplayercustomproperties
1049
+ */
1050
+ UpdatePlayerCustomProperties(request, customData, extraHeaders) {
1051
+ return this.ExecuteRequestWrapper("/Server/UpdatePlayerCustomProperties", request, "X-SecretKey", customData, extraHeaders);
1052
+ }
1053
+ /**
1054
+ * Updates the values of the specified title-specific statistics for the user
1055
+ * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/updateplayerstatistics
1056
+ */
1057
+ UpdatePlayerStatistics(request, customData, extraHeaders) {
1058
+ return this.ExecuteRequestWrapper("/Server/UpdatePlayerStatistics", request, "X-SecretKey", customData, extraHeaders);
1059
+ }
1060
+ /**
1061
+ * Adds, updates, and removes data keys for a shared group object. If the permission is set to Public, all fields updated
1062
+ * or added in this call will be readable by users not in the group. By default, data permissions are set to Private.
1063
+ * Regardless of the permission setting, only members of the group (and the server) can update the data. Shared Groups are
1064
+ * designed for sharing data between a very small number of players, please see our guide:
1065
+ * https://docs.microsoft.com/gaming/playfab/features/social/groups/using-shared-group-data
1066
+ * https://docs.microsoft.com/rest/api/playfab/server/shared-group-data/updatesharedgroupdata
1067
+ */
1068
+ UpdateSharedGroupData(request, customData, extraHeaders) {
1069
+ return this.ExecuteRequestWrapper("/Server/UpdateSharedGroupData", request, "X-SecretKey", customData, extraHeaders);
1070
+ }
1071
+ /**
1072
+ * Updates the title-specific custom data for the user which is readable and writable by the client
1073
+ * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/updateuserdata
1074
+ */
1075
+ UpdateUserData(request, customData, extraHeaders) {
1076
+ return this.ExecuteRequestWrapper("/Server/UpdateUserData", request, "X-SecretKey", customData, extraHeaders);
1077
+ }
1078
+ /**
1079
+ * Updates the title-specific custom data for the user which cannot be accessed by the client
1080
+ * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/updateuserinternaldata
1081
+ */
1082
+ UpdateUserInternalData(request, customData, extraHeaders) {
1083
+ return this.ExecuteRequestWrapper("/Server/UpdateUserInternalData", request, "X-SecretKey", customData, extraHeaders);
1084
+ }
1085
+ /**
1086
+ * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
1087
+ * version 2._ Updates the key-value pair data tagged to the specified item, which is read-only from the client.
1088
+ * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/updateuserinventoryitemcustomdata
1089
+ */
1090
+ UpdateUserInventoryItemCustomData(request, customData, extraHeaders) {
1091
+ return this.ExecuteRequestWrapper("/Server/UpdateUserInventoryItemCustomData", request, "X-SecretKey", customData, extraHeaders);
1092
+ }
1093
+ /**
1094
+ * Updates the publisher-specific custom data for the user which is readable and writable by the client
1095
+ * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/updateuserpublisherdata
1096
+ */
1097
+ UpdateUserPublisherData(request, customData, extraHeaders) {
1098
+ return this.ExecuteRequestWrapper("/Server/UpdateUserPublisherData", request, "X-SecretKey", customData, extraHeaders);
1099
+ }
1100
+ /**
1101
+ * Updates the publisher-specific custom data for the user which cannot be accessed by the client
1102
+ * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/updateuserpublisherinternaldata
1103
+ */
1104
+ UpdateUserPublisherInternalData(request, customData, extraHeaders) {
1105
+ return this.ExecuteRequestWrapper("/Server/UpdateUserPublisherInternalData", request, "X-SecretKey", customData, extraHeaders);
1106
+ }
1107
+ /**
1108
+ * Updates the publisher-specific custom data for the user which can only be read by the client
1109
+ * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/updateuserpublisherreadonlydata
1110
+ */
1111
+ UpdateUserPublisherReadOnlyData(request, customData, extraHeaders) {
1112
+ return this.ExecuteRequestWrapper("/Server/UpdateUserPublisherReadOnlyData", request, "X-SecretKey", customData, extraHeaders);
1113
+ }
1114
+ /**
1115
+ * Updates the title-specific custom data for the user which can only be read by the client
1116
+ * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/updateuserreadonlydata
1117
+ */
1118
+ UpdateUserReadOnlyData(request, customData, extraHeaders) {
1119
+ return this.ExecuteRequestWrapper("/Server/UpdateUserReadOnlyData", request, "X-SecretKey", customData, extraHeaders);
1120
+ }
1121
+ /**
1122
+ * Writes a character-based event into PlayStream.
1123
+ * https://docs.microsoft.com/rest/api/playfab/server/analytics/writecharacterevent
1124
+ */
1125
+ WriteCharacterEvent(request, customData, extraHeaders) {
1126
+ return this.ExecuteRequestWrapper("/Server/WriteCharacterEvent", request, "X-SecretKey", customData, extraHeaders);
1127
+ }
1128
+ /**
1129
+ * Writes a player-based event into PlayStream.
1130
+ * https://docs.microsoft.com/rest/api/playfab/server/analytics/writeplayerevent
1131
+ */
1132
+ WritePlayerEvent(request, customData, extraHeaders) {
1133
+ return this.ExecuteRequestWrapper("/Server/WritePlayerEvent", request, "X-SecretKey", customData, extraHeaders);
1134
+ }
1135
+ /**
1136
+ * Writes a title-based event into PlayStream.
1137
+ * https://docs.microsoft.com/rest/api/playfab/server/analytics/writetitleevent
1138
+ */
1139
+ WriteTitleEvent(request, customData, extraHeaders) {
1140
+ return this.ExecuteRequestWrapper("/Server/WriteTitleEvent", request, "X-SecretKey", customData, extraHeaders);
1141
+ }
1142
+ };
1143
+
1144
+ export {
1145
+ PlayFabServerApi
1146
+ };
1147
+ //# sourceMappingURL=chunk-BZECCU2H.js.map