async-playfab-web-sdk 1.192.250526-2 → 1.192.250526-4
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.
- package/dist/Addon.d.ts +31 -31
- package/dist/Addon.js +2 -2
- package/dist/Admin.d.ts +118 -118
- package/dist/Admin.js +2 -2
- package/dist/Authentication.d.ts +5 -5
- package/dist/Authentication.js +2 -2
- package/dist/Client.d.ts +174 -174
- package/dist/Client.js +2 -2
- package/dist/CloudScript.d.ts +16 -16
- package/dist/CloudScript.js +2 -2
- package/dist/Data.d.ts +8 -8
- package/dist/Data.js +2 -2
- package/dist/Economy.d.ts +47 -47
- package/dist/Economy.js +2 -2
- package/dist/Events.d.ts +13 -13
- package/dist/Events.js +2 -2
- package/dist/Experimentation.d.ts +14 -14
- package/dist/Experimentation.js +2 -2
- package/dist/Groups.d.ts +26 -26
- package/dist/Groups.js +2 -2
- package/dist/Insights.d.ts +7 -7
- package/dist/Insights.js +2 -2
- package/dist/Localization.d.ts +2 -2
- package/dist/Localization.js +2 -2
- package/dist/Multiplayer.d.ts +88 -88
- package/dist/Multiplayer.js +2 -2
- package/dist/{PlayFabCommon-BUv4zqXf.d.ts → PlayFabCommon-Dnp_xHg5.d.ts} +6 -10
- package/dist/Profiles.d.ts +10 -10
- package/dist/Profiles.js +2 -2
- package/dist/Progression.d.ts +24 -24
- package/dist/Progression.js +2 -2
- package/dist/Server.d.ts +150 -150
- package/dist/Server.js +2 -2
- package/dist/{chunk-FPCXHDA7.js → chunk-2IBLMNAQ.js} +236 -236
- package/dist/chunk-2IBLMNAQ.js.map +1 -0
- package/dist/{chunk-5AAYYQU7.js → chunk-3TRLETD6.js} +32 -32
- package/dist/chunk-3TRLETD6.js.map +1 -0
- package/dist/{chunk-2NRPVFSH.js → chunk-4LT3OUQD.js} +176 -176
- package/dist/chunk-4LT3OUQD.js.map +1 -0
- package/dist/{chunk-CY3H2GBI.js → chunk-6TH6EJYH.js} +37 -78
- package/dist/chunk-6TH6EJYH.js.map +1 -0
- package/dist/{chunk-ZY56RXKC.js → chunk-7UQYMDJQ.js} +62 -62
- package/dist/chunk-7UQYMDJQ.js.map +1 -0
- package/dist/{chunk-D53KEX67.js → chunk-CLMINF57.js} +4 -4
- package/dist/chunk-CLMINF57.js.map +1 -0
- package/dist/{chunk-EY77H23H.js → chunk-F5NRBD4O.js} +48 -48
- package/dist/chunk-F5NRBD4O.js.map +1 -0
- package/dist/{chunk-QCCQJDCR.js → chunk-FEEE3PRD.js} +348 -348
- package/dist/chunk-FEEE3PRD.js.map +1 -0
- package/dist/{chunk-JRE75IDS.js → chunk-HKZJ4H4O.js} +26 -26
- package/dist/chunk-HKZJ4H4O.js.map +1 -0
- package/dist/{chunk-VTCQRNBL.js → chunk-NJQCK4TL.js} +16 -16
- package/dist/chunk-NJQCK4TL.js.map +1 -0
- package/dist/{chunk-BZECCU2H.js → chunk-ONCBQLGS.js} +300 -300
- package/dist/chunk-ONCBQLGS.js.map +1 -0
- package/dist/{chunk-RODJAJP2.js → chunk-PXPOK2QU.js} +14 -14
- package/dist/chunk-PXPOK2QU.js.map +1 -0
- package/dist/{chunk-7VP4SIOQ.js → chunk-Q22JHX4G.js} +20 -20
- package/dist/chunk-Q22JHX4G.js.map +1 -0
- package/dist/{chunk-V56QSAWL.js → chunk-RJPMKD7P.js} +10 -10
- package/dist/chunk-RJPMKD7P.js.map +1 -0
- package/dist/{chunk-42AWSTMK.js → chunk-WROXLFDZ.js} +28 -28
- package/dist/chunk-WROXLFDZ.js.map +1 -0
- package/dist/{chunk-CDBIRT6V.js → chunk-XAI5IWL4.js} +52 -52
- package/dist/chunk-XAI5IWL4.js.map +1 -0
- package/dist/{chunk-RHQFG2EP.js → chunk-XM26BUTO.js} +94 -94
- package/dist/chunk-XM26BUTO.js.map +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +17 -17
- package/package.json +1 -1
- package/dist/chunk-2NRPVFSH.js.map +0 -1
- package/dist/chunk-42AWSTMK.js.map +0 -1
- package/dist/chunk-5AAYYQU7.js.map +0 -1
- package/dist/chunk-7VP4SIOQ.js.map +0 -1
- package/dist/chunk-BZECCU2H.js.map +0 -1
- package/dist/chunk-CDBIRT6V.js.map +0 -1
- package/dist/chunk-CY3H2GBI.js.map +0 -1
- package/dist/chunk-D53KEX67.js.map +0 -1
- package/dist/chunk-EY77H23H.js.map +0 -1
- package/dist/chunk-FPCXHDA7.js.map +0 -1
- package/dist/chunk-JRE75IDS.js.map +0 -1
- package/dist/chunk-QCCQJDCR.js.map +0 -1
- package/dist/chunk-RHQFG2EP.js.map +0 -1
- package/dist/chunk-RODJAJP2.js.map +0 -1
- package/dist/chunk-V56QSAWL.js.map +0 -1
- package/dist/chunk-VTCQRNBL.js.map +0 -1
- package/dist/chunk-ZY56RXKC.js.map +0 -1
@@ -1,6 +1,6 @@
|
|
1
1
|
import {
|
2
2
|
PlayFabCommon
|
3
|
-
} from "./chunk-
|
3
|
+
} from "./chunk-6TH6EJYH.js";
|
4
4
|
|
5
5
|
// src/apis/PlayFabClientApi.ts
|
6
6
|
var PlayFabClientApi = class extends PlayFabCommon {
|
@@ -13,16 +13,16 @@ var PlayFabClientApi = class extends PlayFabCommon {
|
|
13
13
|
* items will be swapped between the two players' inventories.
|
14
14
|
* https://docs.microsoft.com/rest/api/playfab/client/trading/accepttrade
|
15
15
|
*/
|
16
|
-
AcceptTrade(request,
|
17
|
-
return this.ExecuteRequestWrapper("/Client/AcceptTrade", request, "X-Authorization",
|
16
|
+
AcceptTrade(request, extraHeaders) {
|
17
|
+
return this.ExecuteRequestWrapper("/Client/AcceptTrade", request, "X-Authorization", extraHeaders);
|
18
18
|
}
|
19
19
|
/**
|
20
20
|
* Adds the PlayFab user, based upon a match against a supplied unique identifier, to the friend list of the local user. At
|
21
21
|
* least one of FriendPlayFabId,FriendUsername,FriendEmail, or FriendTitleDisplayName should be initialized.
|
22
22
|
* https://docs.microsoft.com/rest/api/playfab/client/friend-list-management/addfriend
|
23
23
|
*/
|
24
|
-
AddFriend(request,
|
25
|
-
return this.ExecuteRequestWrapper("/Client/AddFriend", request, "X-Authorization",
|
24
|
+
AddFriend(request, extraHeaders) {
|
25
|
+
return this.ExecuteRequestWrapper("/Client/AddFriend", request, "X-Authorization", extraHeaders);
|
26
26
|
}
|
27
27
|
/**
|
28
28
|
* Adds the specified generic service identifier to the player's PlayFab account. This is designed to allow for a PlayFab
|
@@ -30,15 +30,15 @@ var PlayFabClientApi = class extends PlayFabCommon {
|
|
30
30
|
* authentication credentials, as the intent is that it is easily accessible by other players.
|
31
31
|
* https://docs.microsoft.com/rest/api/playfab/client/account-management/addgenericid
|
32
32
|
*/
|
33
|
-
AddGenericID(request,
|
34
|
-
return this.ExecuteRequestWrapper("/Client/AddGenericID", request, "X-Authorization",
|
33
|
+
AddGenericID(request, extraHeaders) {
|
34
|
+
return this.ExecuteRequestWrapper("/Client/AddGenericID", request, "X-Authorization", extraHeaders);
|
35
35
|
}
|
36
36
|
/**
|
37
37
|
* Adds or updates a contact email to the player's profile.
|
38
38
|
* https://docs.microsoft.com/rest/api/playfab/client/account-management/addorupdatecontactemail
|
39
39
|
*/
|
40
|
-
AddOrUpdateContactEmail(request,
|
41
|
-
return this.ExecuteRequestWrapper("/Client/AddOrUpdateContactEmail", request, "X-Authorization",
|
40
|
+
AddOrUpdateContactEmail(request, extraHeaders) {
|
41
|
+
return this.ExecuteRequestWrapper("/Client/AddOrUpdateContactEmail", request, "X-Authorization", extraHeaders);
|
42
42
|
}
|
43
43
|
/**
|
44
44
|
* 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
|
@@ -46,38 +46,38 @@ var PlayFabClientApi = class extends PlayFabCommon {
|
|
46
46
|
* please see our guide: https://docs.microsoft.com/gaming/playfab/features/social/groups/using-shared-group-data
|
47
47
|
* https://docs.microsoft.com/rest/api/playfab/client/shared-group-data/addsharedgroupmembers
|
48
48
|
*/
|
49
|
-
AddSharedGroupMembers(request,
|
50
|
-
return this.ExecuteRequestWrapper("/Client/AddSharedGroupMembers", request, "X-Authorization",
|
49
|
+
AddSharedGroupMembers(request, extraHeaders) {
|
50
|
+
return this.ExecuteRequestWrapper("/Client/AddSharedGroupMembers", request, "X-Authorization", extraHeaders);
|
51
51
|
}
|
52
52
|
/**
|
53
53
|
* Adds playfab username/password auth to an existing account created via an anonymous auth method, e.g. automatic device
|
54
54
|
* ID login.
|
55
55
|
* https://docs.microsoft.com/rest/api/playfab/client/account-management/addusernamepassword
|
56
56
|
*/
|
57
|
-
AddUsernamePassword(request,
|
58
|
-
return this.ExecuteRequestWrapper("/Client/AddUsernamePassword", request, "X-Authorization",
|
57
|
+
AddUsernamePassword(request, extraHeaders) {
|
58
|
+
return this.ExecuteRequestWrapper("/Client/AddUsernamePassword", request, "X-Authorization", extraHeaders);
|
59
59
|
}
|
60
60
|
/**
|
61
61
|
* _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
|
62
62
|
* version 2._ Increments the user's balance of the specified virtual currency by the stated amount
|
63
63
|
* https://docs.microsoft.com/rest/api/playfab/client/player-item-management/adduservirtualcurrency
|
64
64
|
*/
|
65
|
-
AddUserVirtualCurrency(request,
|
66
|
-
return this.ExecuteRequestWrapper("/Client/AddUserVirtualCurrency", request, "X-Authorization",
|
65
|
+
AddUserVirtualCurrency(request, extraHeaders) {
|
66
|
+
return this.ExecuteRequestWrapper("/Client/AddUserVirtualCurrency", request, "X-Authorization", extraHeaders);
|
67
67
|
}
|
68
68
|
/**
|
69
69
|
* Registers the Android device to receive push notifications
|
70
70
|
* https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/androiddevicepushnotificationregistration
|
71
71
|
*/
|
72
|
-
AndroidDevicePushNotificationRegistration(request,
|
73
|
-
return this.ExecuteRequestWrapper("/Client/AndroidDevicePushNotificationRegistration", request, "X-Authorization",
|
72
|
+
AndroidDevicePushNotificationRegistration(request, extraHeaders) {
|
73
|
+
return this.ExecuteRequestWrapper("/Client/AndroidDevicePushNotificationRegistration", request, "X-Authorization", extraHeaders);
|
74
74
|
}
|
75
75
|
/**
|
76
76
|
* Attributes an install for advertisment.
|
77
77
|
* https://docs.microsoft.com/rest/api/playfab/client/advertising/attributeinstall
|
78
78
|
*/
|
79
|
-
AttributeInstall(request,
|
80
|
-
return this.ExecuteRequestWrapper("/Client/AttributeInstall", request, "X-Authorization",
|
79
|
+
AttributeInstall(request, extraHeaders) {
|
80
|
+
return this.ExecuteRequestWrapper("/Client/AttributeInstall", request, "X-Authorization", extraHeaders);
|
81
81
|
}
|
82
82
|
/**
|
83
83
|
* Cancels an open trade (one that has not yet been accepted or cancelled). Note that only the player who created the trade
|
@@ -85,8 +85,8 @@ var PlayFabClientApi = class extends PlayFabCommon {
|
|
85
85
|
* players from accepting them, for trades that can be claimed by more than one player).
|
86
86
|
* https://docs.microsoft.com/rest/api/playfab/client/trading/canceltrade
|
87
87
|
*/
|
88
|
-
CancelTrade(request,
|
89
|
-
return this.ExecuteRequestWrapper("/Client/CancelTrade", request, "X-Authorization",
|
88
|
+
CancelTrade(request, extraHeaders) {
|
89
|
+
return this.ExecuteRequestWrapper("/Client/CancelTrade", request, "X-Authorization", extraHeaders);
|
90
90
|
}
|
91
91
|
/**
|
92
92
|
* _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
|
@@ -94,8 +94,8 @@ var PlayFabClientApi = class extends PlayFabCommon {
|
|
94
94
|
* virtual currency balances as appropriate
|
95
95
|
* https://docs.microsoft.com/rest/api/playfab/client/player-item-management/confirmpurchase
|
96
96
|
*/
|
97
|
-
ConfirmPurchase(request,
|
98
|
-
return this.ExecuteRequestWrapper("/Client/ConfirmPurchase", request, "X-Authorization",
|
97
|
+
ConfirmPurchase(request, extraHeaders) {
|
98
|
+
return this.ExecuteRequestWrapper("/Client/ConfirmPurchase", request, "X-Authorization", extraHeaders);
|
99
99
|
}
|
100
100
|
/**
|
101
101
|
* _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
|
@@ -103,38 +103,38 @@ var PlayFabClientApi = class extends PlayFabCommon {
|
|
103
103
|
* inventory.
|
104
104
|
* https://docs.microsoft.com/rest/api/playfab/client/player-item-management/consumeitem
|
105
105
|
*/
|
106
|
-
ConsumeItem(request,
|
107
|
-
return this.ExecuteRequestWrapper("/Client/ConsumeItem", request, "X-Authorization",
|
106
|
+
ConsumeItem(request, extraHeaders) {
|
107
|
+
return this.ExecuteRequestWrapper("/Client/ConsumeItem", request, "X-Authorization", extraHeaders);
|
108
108
|
}
|
109
109
|
/**
|
110
110
|
* Grants the player's current entitlements from Microsoft Store's Collection API
|
111
111
|
* https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/consumemicrosoftstoreentitlements
|
112
112
|
*/
|
113
|
-
ConsumeMicrosoftStoreEntitlements(request,
|
114
|
-
return this.ExecuteRequestWrapper("/Client/ConsumeMicrosoftStoreEntitlements", request, "X-Authorization",
|
113
|
+
ConsumeMicrosoftStoreEntitlements(request, extraHeaders) {
|
114
|
+
return this.ExecuteRequestWrapper("/Client/ConsumeMicrosoftStoreEntitlements", request, "X-Authorization", extraHeaders);
|
115
115
|
}
|
116
116
|
/**
|
117
117
|
* Checks for any new consumable entitlements. If any are found, they are consumed (if they're consumables) and added as
|
118
118
|
* PlayFab items
|
119
119
|
* https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/consumeps5entitlements
|
120
120
|
*/
|
121
|
-
ConsumePS5Entitlements(request,
|
122
|
-
return this.ExecuteRequestWrapper("/Client/ConsumePS5Entitlements", request, "X-Authorization",
|
121
|
+
ConsumePS5Entitlements(request, extraHeaders) {
|
122
|
+
return this.ExecuteRequestWrapper("/Client/ConsumePS5Entitlements", request, "X-Authorization", extraHeaders);
|
123
123
|
}
|
124
124
|
/**
|
125
125
|
* Checks for any new consumable entitlements. If any are found, they are consumed and added as PlayFab items
|
126
126
|
* https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/consumepsnentitlements
|
127
127
|
*/
|
128
|
-
ConsumePSNEntitlements(request,
|
129
|
-
return this.ExecuteRequestWrapper("/Client/ConsumePSNEntitlements", request, "X-Authorization",
|
128
|
+
ConsumePSNEntitlements(request, extraHeaders) {
|
129
|
+
return this.ExecuteRequestWrapper("/Client/ConsumePSNEntitlements", request, "X-Authorization", extraHeaders);
|
130
130
|
}
|
131
131
|
/**
|
132
132
|
* Grants the player's current entitlements from Xbox Live, consuming all availble items in Xbox and granting them to the
|
133
133
|
* player's PlayFab inventory. This call is idempotent and will not grant previously granted items to the player.
|
134
134
|
* https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/consumexboxentitlements
|
135
135
|
*/
|
136
|
-
ConsumeXboxEntitlements(request,
|
137
|
-
return this.ExecuteRequestWrapper("/Client/ConsumeXboxEntitlements", request, "X-Authorization",
|
136
|
+
ConsumeXboxEntitlements(request, extraHeaders) {
|
137
|
+
return this.ExecuteRequestWrapper("/Client/ConsumeXboxEntitlements", request, "X-Authorization", extraHeaders);
|
138
138
|
}
|
139
139
|
/**
|
140
140
|
* Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the
|
@@ -143,89 +143,89 @@ var PlayFabClientApi = class extends PlayFabCommon {
|
|
143
143
|
* https://docs.microsoft.com/gaming/playfab/features/social/groups/using-shared-group-data
|
144
144
|
* https://docs.microsoft.com/rest/api/playfab/client/shared-group-data/createsharedgroup
|
145
145
|
*/
|
146
|
-
CreateSharedGroup(request,
|
147
|
-
return this.ExecuteRequestWrapper("/Client/CreateSharedGroup", request, "X-Authorization",
|
146
|
+
CreateSharedGroup(request, extraHeaders) {
|
147
|
+
return this.ExecuteRequestWrapper("/Client/CreateSharedGroup", request, "X-Authorization", extraHeaders);
|
148
148
|
}
|
149
149
|
/**
|
150
150
|
* Deletes title-specific custom properties for a player
|
151
151
|
* https://docs.microsoft.com/rest/api/playfab/client/player-data-management/deleteplayercustomproperties
|
152
152
|
*/
|
153
|
-
DeletePlayerCustomProperties(request,
|
154
|
-
return this.ExecuteRequestWrapper("/Client/DeletePlayerCustomProperties", request, "X-Authorization",
|
153
|
+
DeletePlayerCustomProperties(request, extraHeaders) {
|
154
|
+
return this.ExecuteRequestWrapper("/Client/DeletePlayerCustomProperties", request, "X-Authorization", extraHeaders);
|
155
155
|
}
|
156
156
|
/**
|
157
157
|
* Executes a CloudScript function, with the 'currentPlayerId' set to the PlayFab ID of the authenticated player. The
|
158
158
|
* PlayFab ID is the entity ID of the player's master_player_account entity.
|
159
159
|
* https://docs.microsoft.com/rest/api/playfab/client/server-side-cloud-script/executecloudscript
|
160
160
|
*/
|
161
|
-
ExecuteCloudScript(request,
|
162
|
-
return this.ExecuteRequestWrapper("/Client/ExecuteCloudScript", request, "X-Authorization",
|
161
|
+
ExecuteCloudScript(request, extraHeaders) {
|
162
|
+
return this.ExecuteRequestWrapper("/Client/ExecuteCloudScript", request, "X-Authorization", extraHeaders);
|
163
163
|
}
|
164
164
|
/**
|
165
165
|
* Retrieves the user's PlayFab account details
|
166
166
|
* https://docs.microsoft.com/rest/api/playfab/client/account-management/getaccountinfo
|
167
167
|
*/
|
168
|
-
GetAccountInfo(request,
|
169
|
-
return this.ExecuteRequestWrapper("/Client/GetAccountInfo", request, "X-Authorization",
|
168
|
+
GetAccountInfo(request, extraHeaders) {
|
169
|
+
return this.ExecuteRequestWrapper("/Client/GetAccountInfo", request, "X-Authorization", extraHeaders);
|
170
170
|
}
|
171
171
|
/**
|
172
172
|
* Returns a list of ad placements and a reward for each
|
173
173
|
* https://docs.microsoft.com/rest/api/playfab/client/advertising/getadplacements
|
174
174
|
*/
|
175
|
-
GetAdPlacements(request,
|
176
|
-
return this.ExecuteRequestWrapper("/Client/GetAdPlacements", request, "X-Authorization",
|
175
|
+
GetAdPlacements(request, extraHeaders) {
|
176
|
+
return this.ExecuteRequestWrapper("/Client/GetAdPlacements", request, "X-Authorization", extraHeaders);
|
177
177
|
}
|
178
178
|
/**
|
179
179
|
* Lists all of the characters that belong to a specific user. CharacterIds are not globally unique; characterId must be
|
180
180
|
* evaluated with the parent PlayFabId to guarantee uniqueness.
|
181
181
|
* https://docs.microsoft.com/rest/api/playfab/client/characters/getalluserscharacters
|
182
182
|
*/
|
183
|
-
GetAllUsersCharacters(request,
|
184
|
-
return this.ExecuteRequestWrapper("/Client/GetAllUsersCharacters", request, "X-Authorization",
|
183
|
+
GetAllUsersCharacters(request, extraHeaders) {
|
184
|
+
return this.ExecuteRequestWrapper("/Client/GetAllUsersCharacters", request, "X-Authorization", extraHeaders);
|
185
185
|
}
|
186
186
|
/**
|
187
187
|
* _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
|
188
188
|
* version 2._ Retrieves the specified version of the title's catalog of virtual goods, including all defined properties
|
189
189
|
* https://docs.microsoft.com/rest/api/playfab/client/title-wide-data-management/getcatalogitems
|
190
190
|
*/
|
191
|
-
GetCatalogItems(request,
|
192
|
-
return this.ExecuteRequestWrapper("/Client/GetCatalogItems", request, "X-Authorization",
|
191
|
+
GetCatalogItems(request, extraHeaders) {
|
192
|
+
return this.ExecuteRequestWrapper("/Client/GetCatalogItems", request, "X-Authorization", extraHeaders);
|
193
193
|
}
|
194
194
|
/**
|
195
195
|
* Retrieves the title-specific custom data for the character which is readable and writable by the client
|
196
196
|
* https://docs.microsoft.com/rest/api/playfab/client/character-data/getcharacterdata
|
197
197
|
*/
|
198
|
-
GetCharacterData(request,
|
199
|
-
return this.ExecuteRequestWrapper("/Client/GetCharacterData", request, "X-Authorization",
|
198
|
+
GetCharacterData(request, extraHeaders) {
|
199
|
+
return this.ExecuteRequestWrapper("/Client/GetCharacterData", request, "X-Authorization", extraHeaders);
|
200
200
|
}
|
201
201
|
/**
|
202
202
|
* _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
|
203
203
|
* version 2._ Retrieves the specified character's current inventory of virtual goods
|
204
204
|
* https://docs.microsoft.com/rest/api/playfab/client/player-item-management/getcharacterinventory
|
205
205
|
*/
|
206
|
-
GetCharacterInventory(request,
|
207
|
-
return this.ExecuteRequestWrapper("/Client/GetCharacterInventory", request, "X-Authorization",
|
206
|
+
GetCharacterInventory(request, extraHeaders) {
|
207
|
+
return this.ExecuteRequestWrapper("/Client/GetCharacterInventory", request, "X-Authorization", extraHeaders);
|
208
208
|
}
|
209
209
|
/**
|
210
210
|
* Retrieves a list of ranked characters for the given statistic, starting from the indicated point in the leaderboard
|
211
211
|
* https://docs.microsoft.com/rest/api/playfab/client/characters/getcharacterleaderboard
|
212
212
|
*/
|
213
|
-
GetCharacterLeaderboard(request,
|
214
|
-
return this.ExecuteRequestWrapper("/Client/GetCharacterLeaderboard", request, "X-Authorization",
|
213
|
+
GetCharacterLeaderboard(request, extraHeaders) {
|
214
|
+
return this.ExecuteRequestWrapper("/Client/GetCharacterLeaderboard", request, "X-Authorization", extraHeaders);
|
215
215
|
}
|
216
216
|
/**
|
217
217
|
* Retrieves the title-specific custom data for the character which can only be read by the client
|
218
218
|
* https://docs.microsoft.com/rest/api/playfab/client/character-data/getcharacterreadonlydata
|
219
219
|
*/
|
220
|
-
GetCharacterReadOnlyData(request,
|
221
|
-
return this.ExecuteRequestWrapper("/Client/GetCharacterReadOnlyData", request, "X-Authorization",
|
220
|
+
GetCharacterReadOnlyData(request, extraHeaders) {
|
221
|
+
return this.ExecuteRequestWrapper("/Client/GetCharacterReadOnlyData", request, "X-Authorization", extraHeaders);
|
222
222
|
}
|
223
223
|
/**
|
224
224
|
* Retrieves the details of all title-specific statistics for the user
|
225
225
|
* https://docs.microsoft.com/rest/api/playfab/client/characters/getcharacterstatistics
|
226
226
|
*/
|
227
|
-
GetCharacterStatistics(request,
|
228
|
-
return this.ExecuteRequestWrapper("/Client/GetCharacterStatistics", request, "X-Authorization",
|
227
|
+
GetCharacterStatistics(request, extraHeaders) {
|
228
|
+
return this.ExecuteRequestWrapper("/Client/GetCharacterStatistics", request, "X-Authorization", extraHeaders);
|
229
229
|
}
|
230
230
|
/**
|
231
231
|
* This API retrieves a pre-signed URL for accessing a content file for the title. A subsequent HTTP GET to the returned
|
@@ -236,61 +236,61 @@ var PlayFabClientApi = class extends PlayFabCommon {
|
|
236
236
|
* please be aware that the Content service is specifically PlayFab's CDN offering, for which standard CDN rates apply.
|
237
237
|
* https://docs.microsoft.com/rest/api/playfab/client/content/getcontentdownloadurl
|
238
238
|
*/
|
239
|
-
GetContentDownloadUrl(request,
|
240
|
-
return this.ExecuteRequestWrapper("/Client/GetContentDownloadUrl", request, "X-Authorization",
|
239
|
+
GetContentDownloadUrl(request, extraHeaders) {
|
240
|
+
return this.ExecuteRequestWrapper("/Client/GetContentDownloadUrl", request, "X-Authorization", extraHeaders);
|
241
241
|
}
|
242
242
|
/**
|
243
243
|
* Retrieves a list of ranked friends of the current player for the given statistic, starting from the indicated point in
|
244
244
|
* the leaderboard
|
245
245
|
* https://docs.microsoft.com/rest/api/playfab/client/player-data-management/getfriendleaderboard
|
246
246
|
*/
|
247
|
-
GetFriendLeaderboard(request,
|
248
|
-
return this.ExecuteRequestWrapper("/Client/GetFriendLeaderboard", request, "X-Authorization",
|
247
|
+
GetFriendLeaderboard(request, extraHeaders) {
|
248
|
+
return this.ExecuteRequestWrapper("/Client/GetFriendLeaderboard", request, "X-Authorization", extraHeaders);
|
249
249
|
}
|
250
250
|
/**
|
251
251
|
* Retrieves a list of ranked friends of the current player for the given statistic, centered on the requested PlayFab
|
252
252
|
* user. If PlayFabId is empty or null will return currently logged in user.
|
253
253
|
* https://docs.microsoft.com/rest/api/playfab/client/player-data-management/getfriendleaderboardaroundplayer
|
254
254
|
*/
|
255
|
-
GetFriendLeaderboardAroundPlayer(request,
|
256
|
-
return this.ExecuteRequestWrapper("/Client/GetFriendLeaderboardAroundPlayer", request, "X-Authorization",
|
255
|
+
GetFriendLeaderboardAroundPlayer(request, extraHeaders) {
|
256
|
+
return this.ExecuteRequestWrapper("/Client/GetFriendLeaderboardAroundPlayer", request, "X-Authorization", extraHeaders);
|
257
257
|
}
|
258
258
|
/**
|
259
259
|
* Retrieves the current friend list for the local user, constrained to users who have PlayFab accounts. Friends from
|
260
260
|
* linked accounts (Facebook, Steam) are also included. You may optionally exclude some linked services' friends.
|
261
261
|
* https://docs.microsoft.com/rest/api/playfab/client/friend-list-management/getfriendslist
|
262
262
|
*/
|
263
|
-
GetFriendsList(request,
|
264
|
-
return this.ExecuteRequestWrapper("/Client/GetFriendsList", request, "X-Authorization",
|
263
|
+
GetFriendsList(request, extraHeaders) {
|
264
|
+
return this.ExecuteRequestWrapper("/Client/GetFriendsList", request, "X-Authorization", extraHeaders);
|
265
265
|
}
|
266
266
|
/**
|
267
267
|
* Retrieves a list of ranked users for the given statistic, starting from the indicated point in the leaderboard
|
268
268
|
* https://docs.microsoft.com/rest/api/playfab/client/player-data-management/getleaderboard
|
269
269
|
*/
|
270
|
-
GetLeaderboard(request,
|
271
|
-
return this.ExecuteRequestWrapper("/Client/GetLeaderboard", request, "X-Authorization",
|
270
|
+
GetLeaderboard(request, extraHeaders) {
|
271
|
+
return this.ExecuteRequestWrapper("/Client/GetLeaderboard", request, "X-Authorization", extraHeaders);
|
272
272
|
}
|
273
273
|
/**
|
274
274
|
* Retrieves a list of ranked characters for the given statistic, centered on the requested Character ID
|
275
275
|
* https://docs.microsoft.com/rest/api/playfab/client/characters/getleaderboardaroundcharacter
|
276
276
|
*/
|
277
|
-
GetLeaderboardAroundCharacter(request,
|
278
|
-
return this.ExecuteRequestWrapper("/Client/GetLeaderboardAroundCharacter", request, "X-Authorization",
|
277
|
+
GetLeaderboardAroundCharacter(request, extraHeaders) {
|
278
|
+
return this.ExecuteRequestWrapper("/Client/GetLeaderboardAroundCharacter", request, "X-Authorization", extraHeaders);
|
279
279
|
}
|
280
280
|
/**
|
281
281
|
* Retrieves a list of ranked users for the given statistic, centered on the requested player. If PlayFabId is empty or
|
282
282
|
* null will return currently logged in user.
|
283
283
|
* https://docs.microsoft.com/rest/api/playfab/client/player-data-management/getleaderboardaroundplayer
|
284
284
|
*/
|
285
|
-
GetLeaderboardAroundPlayer(request,
|
286
|
-
return this.ExecuteRequestWrapper("/Client/GetLeaderboardAroundPlayer", request, "X-Authorization",
|
285
|
+
GetLeaderboardAroundPlayer(request, extraHeaders) {
|
286
|
+
return this.ExecuteRequestWrapper("/Client/GetLeaderboardAroundPlayer", request, "X-Authorization", extraHeaders);
|
287
287
|
}
|
288
288
|
/**
|
289
289
|
* Retrieves a list of all of the user's characters for the given statistic.
|
290
290
|
* https://docs.microsoft.com/rest/api/playfab/client/characters/getleaderboardforusercharacters
|
291
291
|
*/
|
292
|
-
GetLeaderboardForUserCharacters(request,
|
293
|
-
return this.ExecuteRequestWrapper("/Client/GetLeaderboardForUserCharacters", request, "X-Authorization",
|
292
|
+
GetLeaderboardForUserCharacters(request, extraHeaders) {
|
293
|
+
return this.ExecuteRequestWrapper("/Client/GetLeaderboardForUserCharacters", request, "X-Authorization", extraHeaders);
|
294
294
|
}
|
295
295
|
/**
|
296
296
|
* _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
|
@@ -299,102 +299,102 @@ var PlayFabClientApi = class extends PlayFabCommon {
|
|
299
299
|
* client to create a cart. Poll GetPurchase using the returned OrderId once you've completed the payment.
|
300
300
|
* https://docs.microsoft.com/rest/api/playfab/client/player-item-management/getpaymenttoken
|
301
301
|
*/
|
302
|
-
GetPaymentToken(request,
|
303
|
-
return this.ExecuteRequestWrapper("/Client/GetPaymentToken", request, "X-Authorization",
|
302
|
+
GetPaymentToken(request, extraHeaders) {
|
303
|
+
return this.ExecuteRequestWrapper("/Client/GetPaymentToken", request, "X-Authorization", extraHeaders);
|
304
304
|
}
|
305
305
|
/**
|
306
306
|
* Gets a Photon custom authentication token that can be used to securely join the player into a Photon room. See
|
307
307
|
* https://docs.microsoft.com/gaming/playfab/features/multiplayer/photon/quickstart for more details.
|
308
308
|
* https://docs.microsoft.com/rest/api/playfab/client/authentication/getphotonauthenticationtoken
|
309
309
|
*/
|
310
|
-
GetPhotonAuthenticationToken(request,
|
311
|
-
return this.ExecuteRequestWrapper("/Client/GetPhotonAuthenticationToken", request, "X-Authorization",
|
310
|
+
GetPhotonAuthenticationToken(request, extraHeaders) {
|
311
|
+
return this.ExecuteRequestWrapper("/Client/GetPhotonAuthenticationToken", request, "X-Authorization", extraHeaders);
|
312
312
|
}
|
313
313
|
/**
|
314
314
|
* Retrieves all of the user's different kinds of info.
|
315
315
|
* https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayercombinedinfo
|
316
316
|
*/
|
317
|
-
GetPlayerCombinedInfo(request,
|
318
|
-
return this.ExecuteRequestWrapper("/Client/GetPlayerCombinedInfo", request, "X-Authorization",
|
317
|
+
GetPlayerCombinedInfo(request, extraHeaders) {
|
318
|
+
return this.ExecuteRequestWrapper("/Client/GetPlayerCombinedInfo", request, "X-Authorization", extraHeaders);
|
319
319
|
}
|
320
320
|
/**
|
321
321
|
* Retrieves a title-specific custom property value for a player.
|
322
322
|
* https://docs.microsoft.com/rest/api/playfab/client/player-data-management/getplayercustomproperty
|
323
323
|
*/
|
324
|
-
GetPlayerCustomProperty(request,
|
325
|
-
return this.ExecuteRequestWrapper("/Client/GetPlayerCustomProperty", request, "X-Authorization",
|
324
|
+
GetPlayerCustomProperty(request, extraHeaders) {
|
325
|
+
return this.ExecuteRequestWrapper("/Client/GetPlayerCustomProperty", request, "X-Authorization", extraHeaders);
|
326
326
|
}
|
327
327
|
/**
|
328
328
|
* Retrieves the player's profile
|
329
329
|
* https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayerprofile
|
330
330
|
*/
|
331
|
-
GetPlayerProfile(request,
|
332
|
-
return this.ExecuteRequestWrapper("/Client/GetPlayerProfile", request, "X-Authorization",
|
331
|
+
GetPlayerProfile(request, extraHeaders) {
|
332
|
+
return this.ExecuteRequestWrapper("/Client/GetPlayerProfile", request, "X-Authorization", extraHeaders);
|
333
333
|
}
|
334
334
|
/**
|
335
335
|
* List all segments that a player currently belongs to at this moment in time.
|
336
336
|
* https://docs.microsoft.com/rest/api/playfab/client/playstream/getplayersegments
|
337
337
|
*/
|
338
|
-
GetPlayerSegments(request,
|
339
|
-
return this.ExecuteRequestWrapper("/Client/GetPlayerSegments", request, "X-Authorization",
|
338
|
+
GetPlayerSegments(request, extraHeaders) {
|
339
|
+
return this.ExecuteRequestWrapper("/Client/GetPlayerSegments", request, "X-Authorization", extraHeaders);
|
340
340
|
}
|
341
341
|
/**
|
342
342
|
* Retrieves the indicated statistics (current version and values for all statistics, if none are specified), for the local
|
343
343
|
* player.
|
344
344
|
* https://docs.microsoft.com/rest/api/playfab/client/player-data-management/getplayerstatistics
|
345
345
|
*/
|
346
|
-
GetPlayerStatistics(request,
|
347
|
-
return this.ExecuteRequestWrapper("/Client/GetPlayerStatistics", request, "X-Authorization",
|
346
|
+
GetPlayerStatistics(request, extraHeaders) {
|
347
|
+
return this.ExecuteRequestWrapper("/Client/GetPlayerStatistics", request, "X-Authorization", extraHeaders);
|
348
348
|
}
|
349
349
|
/**
|
350
350
|
* Retrieves the information on the available versions of the specified statistic.
|
351
351
|
* https://docs.microsoft.com/rest/api/playfab/client/player-data-management/getplayerstatisticversions
|
352
352
|
*/
|
353
|
-
GetPlayerStatisticVersions(request,
|
354
|
-
return this.ExecuteRequestWrapper("/Client/GetPlayerStatisticVersions", request, "X-Authorization",
|
353
|
+
GetPlayerStatisticVersions(request, extraHeaders) {
|
354
|
+
return this.ExecuteRequestWrapper("/Client/GetPlayerStatisticVersions", request, "X-Authorization", extraHeaders);
|
355
355
|
}
|
356
356
|
/**
|
357
357
|
* Get all tags with a given Namespace (optional) from a player profile.
|
358
358
|
* https://docs.microsoft.com/rest/api/playfab/client/playstream/getplayertags
|
359
359
|
*/
|
360
|
-
GetPlayerTags(request,
|
361
|
-
return this.ExecuteRequestWrapper("/Client/GetPlayerTags", request, "X-Authorization",
|
360
|
+
GetPlayerTags(request, extraHeaders) {
|
361
|
+
return this.ExecuteRequestWrapper("/Client/GetPlayerTags", request, "X-Authorization", extraHeaders);
|
362
362
|
}
|
363
363
|
/**
|
364
364
|
* Gets all trades the player has either opened or accepted, optionally filtered by trade status.
|
365
365
|
* https://docs.microsoft.com/rest/api/playfab/client/trading/getplayertrades
|
366
366
|
*/
|
367
|
-
GetPlayerTrades(request,
|
368
|
-
return this.ExecuteRequestWrapper("/Client/GetPlayerTrades", request, "X-Authorization",
|
367
|
+
GetPlayerTrades(request, extraHeaders) {
|
368
|
+
return this.ExecuteRequestWrapper("/Client/GetPlayerTrades", request, "X-Authorization", extraHeaders);
|
369
369
|
}
|
370
370
|
/**
|
371
371
|
* Retrieves the unique PlayFab identifiers for the given set of Battle.net account identifiers.
|
372
372
|
* https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayfabidsfrombattlenetaccountids
|
373
373
|
*/
|
374
|
-
GetPlayFabIDsFromBattleNetAccountIds(request,
|
375
|
-
return this.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromBattleNetAccountIds", request, "X-Authorization",
|
374
|
+
GetPlayFabIDsFromBattleNetAccountIds(request, extraHeaders) {
|
375
|
+
return this.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromBattleNetAccountIds", request, "X-Authorization", extraHeaders);
|
376
376
|
}
|
377
377
|
/**
|
378
378
|
* Retrieves the unique PlayFab identifiers for the given set of Facebook identifiers.
|
379
379
|
* https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayfabidsfromfacebookids
|
380
380
|
*/
|
381
|
-
GetPlayFabIDsFromFacebookIDs(request,
|
382
|
-
return this.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromFacebookIDs", request, "X-Authorization",
|
381
|
+
GetPlayFabIDsFromFacebookIDs(request, extraHeaders) {
|
382
|
+
return this.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromFacebookIDs", request, "X-Authorization", extraHeaders);
|
383
383
|
}
|
384
384
|
/**
|
385
385
|
* Retrieves the unique PlayFab identifiers for the given set of Facebook Instant Game identifiers.
|
386
386
|
* https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayfabidsfromfacebookinstantgamesids
|
387
387
|
*/
|
388
|
-
GetPlayFabIDsFromFacebookInstantGamesIds(request,
|
389
|
-
return this.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromFacebookInstantGamesIds", request, "X-Authorization",
|
388
|
+
GetPlayFabIDsFromFacebookInstantGamesIds(request, extraHeaders) {
|
389
|
+
return this.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromFacebookInstantGamesIds", request, "X-Authorization", extraHeaders);
|
390
390
|
}
|
391
391
|
/**
|
392
392
|
* Retrieves the unique PlayFab identifiers for the given set of Game Center identifiers (referenced in the Game Center
|
393
393
|
* Programming Guide as the Player Identifier).
|
394
394
|
* https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayfabidsfromgamecenterids
|
395
395
|
*/
|
396
|
-
GetPlayFabIDsFromGameCenterIDs(request,
|
397
|
-
return this.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromGameCenterIDs", request, "X-Authorization",
|
396
|
+
GetPlayFabIDsFromGameCenterIDs(request, extraHeaders) {
|
397
|
+
return this.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromGameCenterIDs", request, "X-Authorization", extraHeaders);
|
398
398
|
}
|
399
399
|
/**
|
400
400
|
* Retrieves the unique PlayFab identifiers for the given set of generic service identifiers. A generic identifier is the
|
@@ -402,16 +402,16 @@ var PlayFabClientApi = class extends PlayFabCommon {
|
|
402
402
|
* added to the player account.
|
403
403
|
* https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayfabidsfromgenericids
|
404
404
|
*/
|
405
|
-
GetPlayFabIDsFromGenericIDs(request,
|
406
|
-
return this.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromGenericIDs", request, "X-Authorization",
|
405
|
+
GetPlayFabIDsFromGenericIDs(request, extraHeaders) {
|
406
|
+
return this.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromGenericIDs", request, "X-Authorization", extraHeaders);
|
407
407
|
}
|
408
408
|
/**
|
409
409
|
* Retrieves the unique PlayFab identifiers for the given set of Google identifiers. The Google identifiers are the IDs for
|
410
410
|
* the user accounts, available as "id" in the Google+ People API calls.
|
411
411
|
* https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayfabidsfromgoogleids
|
412
412
|
*/
|
413
|
-
GetPlayFabIDsFromGoogleIDs(request,
|
414
|
-
return this.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromGoogleIDs", request, "X-Authorization",
|
413
|
+
GetPlayFabIDsFromGoogleIDs(request, extraHeaders) {
|
414
|
+
return this.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromGoogleIDs", request, "X-Authorization", extraHeaders);
|
415
415
|
}
|
416
416
|
/**
|
417
417
|
* Retrieves the unique PlayFab identifiers for the given set of Google Play Games identifiers. The Google Play Games
|
@@ -419,8 +419,8 @@ var PlayFabClientApi = class extends PlayFabCommon {
|
|
419
419
|
* calls.
|
420
420
|
* https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayfabidsfromgoogleplaygamesplayerids
|
421
421
|
*/
|
422
|
-
GetPlayFabIDsFromGooglePlayGamesPlayerIDs(request,
|
423
|
-
return this.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromGooglePlayGamesPlayerIDs", request, "X-Authorization",
|
422
|
+
GetPlayFabIDsFromGooglePlayGamesPlayerIDs(request, extraHeaders) {
|
423
|
+
return this.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromGooglePlayGamesPlayerIDs", request, "X-Authorization", extraHeaders);
|
424
424
|
}
|
425
425
|
/**
|
426
426
|
* Retrieves the unique PlayFab identifiers for the given set of Kongregate identifiers. The Kongregate identifiers are the
|
@@ -428,52 +428,52 @@ var PlayFabClientApi = class extends PlayFabCommon {
|
|
428
428
|
* http://developers.kongregate.com/docs/client/getUserId).
|
429
429
|
* https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayfabidsfromkongregateids
|
430
430
|
*/
|
431
|
-
GetPlayFabIDsFromKongregateIDs(request,
|
432
|
-
return this.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromKongregateIDs", request, "X-Authorization",
|
431
|
+
GetPlayFabIDsFromKongregateIDs(request, extraHeaders) {
|
432
|
+
return this.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromKongregateIDs", request, "X-Authorization", extraHeaders);
|
433
433
|
}
|
434
434
|
/**
|
435
435
|
* Retrieves the unique PlayFab identifiers for the given set of Nintendo Service Account identifiers.
|
436
436
|
* https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayfabidsfromnintendoserviceaccountids
|
437
437
|
*/
|
438
|
-
GetPlayFabIDsFromNintendoServiceAccountIds(request,
|
439
|
-
return this.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromNintendoServiceAccountIds", request, "X-Authorization",
|
438
|
+
GetPlayFabIDsFromNintendoServiceAccountIds(request, extraHeaders) {
|
439
|
+
return this.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromNintendoServiceAccountIds", request, "X-Authorization", extraHeaders);
|
440
440
|
}
|
441
441
|
/**
|
442
442
|
* Retrieves the unique PlayFab identifiers for the given set of Nintendo Switch Device identifiers.
|
443
443
|
* https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayfabidsfromnintendoswitchdeviceids
|
444
444
|
*/
|
445
|
-
GetPlayFabIDsFromNintendoSwitchDeviceIds(request,
|
446
|
-
return this.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromNintendoSwitchDeviceIds", request, "X-Authorization",
|
445
|
+
GetPlayFabIDsFromNintendoSwitchDeviceIds(request, extraHeaders) {
|
446
|
+
return this.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromNintendoSwitchDeviceIds", request, "X-Authorization", extraHeaders);
|
447
447
|
}
|
448
448
|
/**
|
449
449
|
* Retrieves the unique PlayFab identifiers for the given set of PlayStation :tm: Network identifiers.
|
450
450
|
* https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayfabidsfrompsnaccountids
|
451
451
|
*/
|
452
|
-
GetPlayFabIDsFromPSNAccountIDs(request,
|
453
|
-
return this.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromPSNAccountIDs", request, "X-Authorization",
|
452
|
+
GetPlayFabIDsFromPSNAccountIDs(request, extraHeaders) {
|
453
|
+
return this.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromPSNAccountIDs", request, "X-Authorization", extraHeaders);
|
454
454
|
}
|
455
455
|
/**
|
456
456
|
* Retrieves the unique PlayFab identifiers for the given set of PlayStation :tm: Network identifiers.
|
457
457
|
* https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayfabidsfrompsnonlineids
|
458
458
|
*/
|
459
|
-
GetPlayFabIDsFromPSNOnlineIDs(request,
|
460
|
-
return this.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromPSNOnlineIDs", request, "X-Authorization",
|
459
|
+
GetPlayFabIDsFromPSNOnlineIDs(request, extraHeaders) {
|
460
|
+
return this.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromPSNOnlineIDs", request, "X-Authorization", extraHeaders);
|
461
461
|
}
|
462
462
|
/**
|
463
463
|
* Retrieves the unique PlayFab identifiers for the given set of Steam identifiers. The Steam identifiers are the profile
|
464
464
|
* IDs for the user accounts, available as SteamId in the Steamworks Community API calls.
|
465
465
|
* https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayfabidsfromsteamids
|
466
466
|
*/
|
467
|
-
GetPlayFabIDsFromSteamIDs(request,
|
468
|
-
return this.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromSteamIDs", request, "X-Authorization",
|
467
|
+
GetPlayFabIDsFromSteamIDs(request, extraHeaders) {
|
468
|
+
return this.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromSteamIDs", request, "X-Authorization", extraHeaders);
|
469
469
|
}
|
470
470
|
/**
|
471
471
|
* Retrieves the unique PlayFab identifiers for the given set of Steam identifiers. The Steam identifiers are persona
|
472
472
|
* names.
|
473
473
|
* https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayfabidsfromsteamnames
|
474
474
|
*/
|
475
|
-
GetPlayFabIDsFromSteamNames(request,
|
476
|
-
return this.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromSteamNames", request, "X-Authorization",
|
475
|
+
GetPlayFabIDsFromSteamNames(request, extraHeaders) {
|
476
|
+
return this.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromSteamNames", request, "X-Authorization", extraHeaders);
|
477
477
|
}
|
478
478
|
/**
|
479
479
|
* Retrieves the unique PlayFab identifiers for the given set of Twitch identifiers. The Twitch identifiers are the IDs for
|
@@ -481,22 +481,22 @@ var PlayFabClientApi = class extends PlayFabCommon {
|
|
481
481
|
* https://github.com/justintv/Twitch-API/blob/master/v3_resources/users.md#get-usersuser).
|
482
482
|
* https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayfabidsfromtwitchids
|
483
483
|
*/
|
484
|
-
GetPlayFabIDsFromTwitchIDs(request,
|
485
|
-
return this.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromTwitchIDs", request, "X-Authorization",
|
484
|
+
GetPlayFabIDsFromTwitchIDs(request, extraHeaders) {
|
485
|
+
return this.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromTwitchIDs", request, "X-Authorization", extraHeaders);
|
486
486
|
}
|
487
487
|
/**
|
488
488
|
* Retrieves the unique PlayFab identifiers for the given set of XboxLive identifiers.
|
489
489
|
* https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayfabidsfromxboxliveids
|
490
490
|
*/
|
491
|
-
GetPlayFabIDsFromXboxLiveIDs(request,
|
492
|
-
return this.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromXboxLiveIDs", request, "X-Authorization",
|
491
|
+
GetPlayFabIDsFromXboxLiveIDs(request, extraHeaders) {
|
492
|
+
return this.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromXboxLiveIDs", request, "X-Authorization", extraHeaders);
|
493
493
|
}
|
494
494
|
/**
|
495
495
|
* Retrieves the key-value store of custom publisher settings
|
496
496
|
* https://docs.microsoft.com/rest/api/playfab/client/title-wide-data-management/getpublisherdata
|
497
497
|
*/
|
498
|
-
GetPublisherData(request,
|
499
|
-
return this.ExecuteRequestWrapper("/Client/GetPublisherData", request, "X-Authorization",
|
498
|
+
GetPublisherData(request, extraHeaders) {
|
499
|
+
return this.ExecuteRequestWrapper("/Client/GetPublisherData", request, "X-Authorization", extraHeaders);
|
500
500
|
}
|
501
501
|
/**
|
502
502
|
* _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
|
@@ -504,8 +504,8 @@ var PlayFabClientApi = class extends PlayFabCommon {
|
|
504
504
|
* are still active.
|
505
505
|
* https://docs.microsoft.com/rest/api/playfab/client/player-item-management/getpurchase
|
506
506
|
*/
|
507
|
-
GetPurchase(request,
|
508
|
-
return this.ExecuteRequestWrapper("/Client/GetPurchase", request, "X-Authorization",
|
507
|
+
GetPurchase(request, extraHeaders) {
|
508
|
+
return this.ExecuteRequestWrapper("/Client/GetPurchase", request, "X-Authorization", extraHeaders);
|
509
509
|
}
|
510
510
|
/**
|
511
511
|
* Retrieves data stored in a shared group object, as well as the list of members in the group. Non-members of the group
|
@@ -514,137 +514,137 @@ var PlayFabClientApi = class extends PlayFabCommon {
|
|
514
514
|
* https://docs.microsoft.com/gaming/playfab/features/social/groups/using-shared-group-data
|
515
515
|
* https://docs.microsoft.com/rest/api/playfab/client/shared-group-data/getsharedgroupdata
|
516
516
|
*/
|
517
|
-
GetSharedGroupData(request,
|
518
|
-
return this.ExecuteRequestWrapper("/Client/GetSharedGroupData", request, "X-Authorization",
|
517
|
+
GetSharedGroupData(request, extraHeaders) {
|
518
|
+
return this.ExecuteRequestWrapper("/Client/GetSharedGroupData", request, "X-Authorization", extraHeaders);
|
519
519
|
}
|
520
520
|
/**
|
521
521
|
* _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
|
522
522
|
* version 2._ Retrieves the set of items defined for the specified store, including all prices defined
|
523
523
|
* https://docs.microsoft.com/rest/api/playfab/client/title-wide-data-management/getstoreitems
|
524
524
|
*/
|
525
|
-
GetStoreItems(request,
|
526
|
-
return this.ExecuteRequestWrapper("/Client/GetStoreItems", request, "X-Authorization",
|
525
|
+
GetStoreItems(request, extraHeaders) {
|
526
|
+
return this.ExecuteRequestWrapper("/Client/GetStoreItems", request, "X-Authorization", extraHeaders);
|
527
527
|
}
|
528
528
|
/**
|
529
529
|
* Retrieves the current server time
|
530
530
|
* https://docs.microsoft.com/rest/api/playfab/client/title-wide-data-management/gettime
|
531
531
|
*/
|
532
|
-
GetTime(request,
|
533
|
-
return this.ExecuteRequestWrapper("/Client/GetTime", request, "X-Authorization",
|
532
|
+
GetTime(request, extraHeaders) {
|
533
|
+
return this.ExecuteRequestWrapper("/Client/GetTime", request, "X-Authorization", extraHeaders);
|
534
534
|
}
|
535
535
|
/**
|
536
536
|
* Retrieves the key-value store of custom title settings
|
537
537
|
* https://docs.microsoft.com/rest/api/playfab/client/title-wide-data-management/gettitledata
|
538
538
|
*/
|
539
|
-
GetTitleData(request,
|
540
|
-
return this.ExecuteRequestWrapper("/Client/GetTitleData", request, "X-Authorization",
|
539
|
+
GetTitleData(request, extraHeaders) {
|
540
|
+
return this.ExecuteRequestWrapper("/Client/GetTitleData", request, "X-Authorization", extraHeaders);
|
541
541
|
}
|
542
542
|
/**
|
543
543
|
* Retrieves the title news feed, as configured in the developer portal
|
544
544
|
* https://docs.microsoft.com/rest/api/playfab/client/title-wide-data-management/gettitlenews
|
545
545
|
*/
|
546
|
-
GetTitleNews(request,
|
547
|
-
return this.ExecuteRequestWrapper("/Client/GetTitleNews", request, "X-Authorization",
|
546
|
+
GetTitleNews(request, extraHeaders) {
|
547
|
+
return this.ExecuteRequestWrapper("/Client/GetTitleNews", request, "X-Authorization", extraHeaders);
|
548
548
|
}
|
549
549
|
/**
|
550
550
|
* Returns the title's base 64 encoded RSA CSP blob.
|
551
551
|
* https://docs.microsoft.com/rest/api/playfab/client/authentication/gettitlepublickey
|
552
552
|
*/
|
553
|
-
GetTitlePublicKey(request,
|
554
|
-
return this.ExecuteRequestWrapper("/Client/GetTitlePublicKey", request, null,
|
553
|
+
GetTitlePublicKey(request, extraHeaders) {
|
554
|
+
return this.ExecuteRequestWrapper("/Client/GetTitlePublicKey", request, null, extraHeaders);
|
555
555
|
}
|
556
556
|
/**
|
557
557
|
* Gets the current status of an existing trade.
|
558
558
|
* https://docs.microsoft.com/rest/api/playfab/client/trading/gettradestatus
|
559
559
|
*/
|
560
|
-
GetTradeStatus(request,
|
561
|
-
return this.ExecuteRequestWrapper("/Client/GetTradeStatus", request, "X-Authorization",
|
560
|
+
GetTradeStatus(request, extraHeaders) {
|
561
|
+
return this.ExecuteRequestWrapper("/Client/GetTradeStatus", request, "X-Authorization", extraHeaders);
|
562
562
|
}
|
563
563
|
/**
|
564
564
|
* Retrieves the title-specific custom data for the user which is readable and writable by the client
|
565
565
|
* https://docs.microsoft.com/rest/api/playfab/client/player-data-management/getuserdata
|
566
566
|
*/
|
567
|
-
GetUserData(request,
|
568
|
-
return this.ExecuteRequestWrapper("/Client/GetUserData", request, "X-Authorization",
|
567
|
+
GetUserData(request, extraHeaders) {
|
568
|
+
return this.ExecuteRequestWrapper("/Client/GetUserData", request, "X-Authorization", extraHeaders);
|
569
569
|
}
|
570
570
|
/**
|
571
571
|
* _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
|
572
572
|
* version 2._ Retrieves the user's current inventory of virtual goods
|
573
573
|
* https://docs.microsoft.com/rest/api/playfab/client/player-item-management/getuserinventory
|
574
574
|
*/
|
575
|
-
GetUserInventory(request,
|
576
|
-
return this.ExecuteRequestWrapper("/Client/GetUserInventory", request, "X-Authorization",
|
575
|
+
GetUserInventory(request, extraHeaders) {
|
576
|
+
return this.ExecuteRequestWrapper("/Client/GetUserInventory", request, "X-Authorization", extraHeaders);
|
577
577
|
}
|
578
578
|
/**
|
579
579
|
* Retrieves the publisher-specific custom data for the user which is readable and writable by the client
|
580
580
|
* https://docs.microsoft.com/rest/api/playfab/client/player-data-management/getuserpublisherdata
|
581
581
|
*/
|
582
|
-
GetUserPublisherData(request,
|
583
|
-
return this.ExecuteRequestWrapper("/Client/GetUserPublisherData", request, "X-Authorization",
|
582
|
+
GetUserPublisherData(request, extraHeaders) {
|
583
|
+
return this.ExecuteRequestWrapper("/Client/GetUserPublisherData", request, "X-Authorization", extraHeaders);
|
584
584
|
}
|
585
585
|
/**
|
586
586
|
* Retrieves the publisher-specific custom data for the user which can only be read by the client
|
587
587
|
* https://docs.microsoft.com/rest/api/playfab/client/player-data-management/getuserpublisherreadonlydata
|
588
588
|
*/
|
589
|
-
GetUserPublisherReadOnlyData(request,
|
590
|
-
return this.ExecuteRequestWrapper("/Client/GetUserPublisherReadOnlyData", request, "X-Authorization",
|
589
|
+
GetUserPublisherReadOnlyData(request, extraHeaders) {
|
590
|
+
return this.ExecuteRequestWrapper("/Client/GetUserPublisherReadOnlyData", request, "X-Authorization", extraHeaders);
|
591
591
|
}
|
592
592
|
/**
|
593
593
|
* Retrieves the title-specific custom data for the user which can only be read by the client
|
594
594
|
* https://docs.microsoft.com/rest/api/playfab/client/player-data-management/getuserreadonlydata
|
595
595
|
*/
|
596
|
-
GetUserReadOnlyData(request,
|
597
|
-
return this.ExecuteRequestWrapper("/Client/GetUserReadOnlyData", request, "X-Authorization",
|
596
|
+
GetUserReadOnlyData(request, extraHeaders) {
|
597
|
+
return this.ExecuteRequestWrapper("/Client/GetUserReadOnlyData", request, "X-Authorization", extraHeaders);
|
598
598
|
}
|
599
599
|
/**
|
600
600
|
* Grants the specified character type to the user. CharacterIds are not globally unique; characterId must be evaluated
|
601
601
|
* with the parent PlayFabId to guarantee uniqueness.
|
602
602
|
* https://docs.microsoft.com/rest/api/playfab/client/characters/grantcharactertouser
|
603
603
|
*/
|
604
|
-
GrantCharacterToUser(request,
|
605
|
-
return this.ExecuteRequestWrapper("/Client/GrantCharacterToUser", request, "X-Authorization",
|
604
|
+
GrantCharacterToUser(request, extraHeaders) {
|
605
|
+
return this.ExecuteRequestWrapper("/Client/GrantCharacterToUser", request, "X-Authorization", extraHeaders);
|
606
606
|
}
|
607
607
|
/**
|
608
608
|
* Links the Android device identifier to the user's PlayFab account
|
609
609
|
* https://docs.microsoft.com/rest/api/playfab/client/account-management/linkandroiddeviceid
|
610
610
|
*/
|
611
|
-
LinkAndroidDeviceID(request,
|
612
|
-
return this.ExecuteRequestWrapper("/Client/LinkAndroidDeviceID", request, "X-Authorization",
|
611
|
+
LinkAndroidDeviceID(request, extraHeaders) {
|
612
|
+
return this.ExecuteRequestWrapper("/Client/LinkAndroidDeviceID", request, "X-Authorization", extraHeaders);
|
613
613
|
}
|
614
614
|
/**
|
615
615
|
* Links the Apple account associated with the token to the user's PlayFab account.
|
616
616
|
* https://docs.microsoft.com/rest/api/playfab/client/account-management/linkapple
|
617
617
|
*/
|
618
|
-
LinkApple(request,
|
619
|
-
return this.ExecuteRequestWrapper("/Client/LinkApple", request, "X-Authorization",
|
618
|
+
LinkApple(request, extraHeaders) {
|
619
|
+
return this.ExecuteRequestWrapper("/Client/LinkApple", request, "X-Authorization", extraHeaders);
|
620
620
|
}
|
621
621
|
/**
|
622
622
|
* Links the Battle.net account associated with the token to the user's PlayFab account.
|
623
623
|
* https://docs.microsoft.com/rest/api/playfab/client/account-management/linkbattlenetaccount
|
624
624
|
*/
|
625
|
-
LinkBattleNetAccount(request,
|
626
|
-
return this.ExecuteRequestWrapper("/Client/LinkBattleNetAccount", request, "X-Authorization",
|
625
|
+
LinkBattleNetAccount(request, extraHeaders) {
|
626
|
+
return this.ExecuteRequestWrapper("/Client/LinkBattleNetAccount", request, "X-Authorization", extraHeaders);
|
627
627
|
}
|
628
628
|
/**
|
629
629
|
* Links the custom identifier, generated by the title, to the user's PlayFab account
|
630
630
|
* https://docs.microsoft.com/rest/api/playfab/client/account-management/linkcustomid
|
631
631
|
*/
|
632
|
-
LinkCustomID(request,
|
633
|
-
return this.ExecuteRequestWrapper("/Client/LinkCustomID", request, "X-Authorization",
|
632
|
+
LinkCustomID(request, extraHeaders) {
|
633
|
+
return this.ExecuteRequestWrapper("/Client/LinkCustomID", request, "X-Authorization", extraHeaders);
|
634
634
|
}
|
635
635
|
/**
|
636
636
|
* Links the Facebook account associated with the provided Facebook access token to the user's PlayFab account
|
637
637
|
* https://docs.microsoft.com/rest/api/playfab/client/account-management/linkfacebookaccount
|
638
638
|
*/
|
639
|
-
LinkFacebookAccount(request,
|
640
|
-
return this.ExecuteRequestWrapper("/Client/LinkFacebookAccount", request, "X-Authorization",
|
639
|
+
LinkFacebookAccount(request, extraHeaders) {
|
640
|
+
return this.ExecuteRequestWrapper("/Client/LinkFacebookAccount", request, "X-Authorization", extraHeaders);
|
641
641
|
}
|
642
642
|
/**
|
643
643
|
* Links the Facebook Instant Games Id to the user's PlayFab account
|
644
644
|
* https://docs.microsoft.com/rest/api/playfab/client/account-management/linkfacebookinstantgamesid
|
645
645
|
*/
|
646
|
-
LinkFacebookInstantGamesId(request,
|
647
|
-
return this.ExecuteRequestWrapper("/Client/LinkFacebookInstantGamesId", request, "X-Authorization",
|
646
|
+
LinkFacebookInstantGamesId(request, extraHeaders) {
|
647
|
+
return this.ExecuteRequestWrapper("/Client/LinkFacebookInstantGamesId", request, "X-Authorization", extraHeaders);
|
648
648
|
}
|
649
649
|
/**
|
650
650
|
* Links the Game Center account associated with the provided Game Center ID to the user's PlayFab account. Logging in with
|
@@ -653,105 +653,105 @@ var PlayFabClientApi = class extends PlayFabCommon {
|
|
653
653
|
* page in the PlayFab Game Manager and enabling the 'Require secure authentication only for this app' option.
|
654
654
|
* https://docs.microsoft.com/rest/api/playfab/client/account-management/linkgamecenteraccount
|
655
655
|
*/
|
656
|
-
LinkGameCenterAccount(request,
|
657
|
-
return this.ExecuteRequestWrapper("/Client/LinkGameCenterAccount", request, "X-Authorization",
|
656
|
+
LinkGameCenterAccount(request, extraHeaders) {
|
657
|
+
return this.ExecuteRequestWrapper("/Client/LinkGameCenterAccount", request, "X-Authorization", extraHeaders);
|
658
658
|
}
|
659
659
|
/**
|
660
660
|
* Links the currently signed-in user account to their Google account, using their Google account credentials
|
661
661
|
* https://docs.microsoft.com/rest/api/playfab/client/account-management/linkgoogleaccount
|
662
662
|
*/
|
663
|
-
LinkGoogleAccount(request,
|
664
|
-
return this.ExecuteRequestWrapper("/Client/LinkGoogleAccount", request, "X-Authorization",
|
663
|
+
LinkGoogleAccount(request, extraHeaders) {
|
664
|
+
return this.ExecuteRequestWrapper("/Client/LinkGoogleAccount", request, "X-Authorization", extraHeaders);
|
665
665
|
}
|
666
666
|
/**
|
667
667
|
* Links the currently signed-in user account to their Google Play Games account, using their Google Play Games account
|
668
668
|
* credentials
|
669
669
|
* https://docs.microsoft.com/rest/api/playfab/client/account-management/linkgoogleplaygamesservicesaccount
|
670
670
|
*/
|
671
|
-
LinkGooglePlayGamesServicesAccount(request,
|
672
|
-
return this.ExecuteRequestWrapper("/Client/LinkGooglePlayGamesServicesAccount", request, "X-Authorization",
|
671
|
+
LinkGooglePlayGamesServicesAccount(request, extraHeaders) {
|
672
|
+
return this.ExecuteRequestWrapper("/Client/LinkGooglePlayGamesServicesAccount", request, "X-Authorization", extraHeaders);
|
673
673
|
}
|
674
674
|
/**
|
675
675
|
* Links the vendor-specific iOS device identifier to the user's PlayFab account
|
676
676
|
* https://docs.microsoft.com/rest/api/playfab/client/account-management/linkiosdeviceid
|
677
677
|
*/
|
678
|
-
LinkIOSDeviceID(request,
|
679
|
-
return this.ExecuteRequestWrapper("/Client/LinkIOSDeviceID", request, "X-Authorization",
|
678
|
+
LinkIOSDeviceID(request, extraHeaders) {
|
679
|
+
return this.ExecuteRequestWrapper("/Client/LinkIOSDeviceID", request, "X-Authorization", extraHeaders);
|
680
680
|
}
|
681
681
|
/**
|
682
682
|
* Links the Kongregate identifier to the user's PlayFab account
|
683
683
|
* https://docs.microsoft.com/rest/api/playfab/client/account-management/linkkongregate
|
684
684
|
*/
|
685
|
-
LinkKongregate(request,
|
686
|
-
return this.ExecuteRequestWrapper("/Client/LinkKongregate", request, "X-Authorization",
|
685
|
+
LinkKongregate(request, extraHeaders) {
|
686
|
+
return this.ExecuteRequestWrapper("/Client/LinkKongregate", request, "X-Authorization", extraHeaders);
|
687
687
|
}
|
688
688
|
/**
|
689
689
|
* Links the Nintendo account associated with the token to the user's PlayFab account.
|
690
690
|
* https://docs.microsoft.com/rest/api/playfab/client/account-management/linknintendoserviceaccount
|
691
691
|
*/
|
692
|
-
LinkNintendoServiceAccount(request,
|
693
|
-
return this.ExecuteRequestWrapper("/Client/LinkNintendoServiceAccount", request, "X-Authorization",
|
692
|
+
LinkNintendoServiceAccount(request, extraHeaders) {
|
693
|
+
return this.ExecuteRequestWrapper("/Client/LinkNintendoServiceAccount", request, "X-Authorization", extraHeaders);
|
694
694
|
}
|
695
695
|
/**
|
696
696
|
* Links the NintendoSwitchDeviceId to the user's PlayFab account
|
697
697
|
* https://docs.microsoft.com/rest/api/playfab/client/account-management/linknintendoswitchdeviceid
|
698
698
|
*/
|
699
|
-
LinkNintendoSwitchDeviceId(request,
|
700
|
-
return this.ExecuteRequestWrapper("/Client/LinkNintendoSwitchDeviceId", request, "X-Authorization",
|
699
|
+
LinkNintendoSwitchDeviceId(request, extraHeaders) {
|
700
|
+
return this.ExecuteRequestWrapper("/Client/LinkNintendoSwitchDeviceId", request, "X-Authorization", extraHeaders);
|
701
701
|
}
|
702
702
|
/**
|
703
703
|
* Links an OpenID Connect account to a user's PlayFab account, based on an existing relationship between a title and an
|
704
704
|
* Open ID Connect provider and the OpenId Connect JWT from that provider.
|
705
705
|
* https://docs.microsoft.com/rest/api/playfab/client/account-management/linkopenidconnect
|
706
706
|
*/
|
707
|
-
LinkOpenIdConnect(request,
|
708
|
-
return this.ExecuteRequestWrapper("/Client/LinkOpenIdConnect", request, "X-Authorization",
|
707
|
+
LinkOpenIdConnect(request, extraHeaders) {
|
708
|
+
return this.ExecuteRequestWrapper("/Client/LinkOpenIdConnect", request, "X-Authorization", extraHeaders);
|
709
709
|
}
|
710
710
|
/**
|
711
711
|
* Links the PlayStation :tm: Network account associated with the provided access code to the user's PlayFab account
|
712
712
|
* https://docs.microsoft.com/rest/api/playfab/client/account-management/linkpsnaccount
|
713
713
|
*/
|
714
|
-
LinkPSNAccount(request,
|
715
|
-
return this.ExecuteRequestWrapper("/Client/LinkPSNAccount", request, "X-Authorization",
|
714
|
+
LinkPSNAccount(request, extraHeaders) {
|
715
|
+
return this.ExecuteRequestWrapper("/Client/LinkPSNAccount", request, "X-Authorization", extraHeaders);
|
716
716
|
}
|
717
717
|
/**
|
718
718
|
* Links the Steam account associated with the provided Steam authentication ticket to the user's PlayFab account
|
719
719
|
* https://docs.microsoft.com/rest/api/playfab/client/account-management/linksteamaccount
|
720
720
|
*/
|
721
|
-
LinkSteamAccount(request,
|
722
|
-
return this.ExecuteRequestWrapper("/Client/LinkSteamAccount", request, "X-Authorization",
|
721
|
+
LinkSteamAccount(request, extraHeaders) {
|
722
|
+
return this.ExecuteRequestWrapper("/Client/LinkSteamAccount", request, "X-Authorization", extraHeaders);
|
723
723
|
}
|
724
724
|
/**
|
725
725
|
* Links the Twitch account associated with the token to the user's PlayFab account.
|
726
726
|
* https://docs.microsoft.com/rest/api/playfab/client/account-management/linktwitch
|
727
727
|
*/
|
728
|
-
LinkTwitch(request,
|
729
|
-
return this.ExecuteRequestWrapper("/Client/LinkTwitch", request, "X-Authorization",
|
728
|
+
LinkTwitch(request, extraHeaders) {
|
729
|
+
return this.ExecuteRequestWrapper("/Client/LinkTwitch", request, "X-Authorization", extraHeaders);
|
730
730
|
}
|
731
731
|
/**
|
732
732
|
* Links the Xbox Live account associated with the provided access code to the user's PlayFab account
|
733
733
|
* https://docs.microsoft.com/rest/api/playfab/client/account-management/linkxboxaccount
|
734
734
|
*/
|
735
|
-
LinkXboxAccount(request,
|
736
|
-
return this.ExecuteRequestWrapper("/Client/LinkXboxAccount", request, "X-Authorization",
|
735
|
+
LinkXboxAccount(request, extraHeaders) {
|
736
|
+
return this.ExecuteRequestWrapper("/Client/LinkXboxAccount", request, "X-Authorization", extraHeaders);
|
737
737
|
}
|
738
738
|
/**
|
739
739
|
* Retrieves title-specific custom property values for a player.
|
740
740
|
* https://docs.microsoft.com/rest/api/playfab/client/player-data-management/listplayercustomproperties
|
741
741
|
*/
|
742
|
-
ListPlayerCustomProperties(request,
|
743
|
-
return this.ExecuteRequestWrapper("/Client/ListPlayerCustomProperties", request, "X-Authorization",
|
742
|
+
ListPlayerCustomProperties(request, extraHeaders) {
|
743
|
+
return this.ExecuteRequestWrapper("/Client/ListPlayerCustomProperties", request, "X-Authorization", extraHeaders);
|
744
744
|
}
|
745
745
|
/**
|
746
746
|
* Signs the user in using the Android device identifier, returning a session identifier that can subsequently be used for
|
747
747
|
* API calls which require an authenticated user
|
748
748
|
* https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithandroiddeviceid
|
749
749
|
*/
|
750
|
-
LoginWithAndroidDeviceID(request,
|
750
|
+
LoginWithAndroidDeviceID(request, extraHeaders) {
|
751
751
|
request.TitleId = this.settings.titleId ? this.settings.titleId : request.TitleId;
|
752
752
|
if (!request.TitleId) throw this.errorTitleId;
|
753
753
|
var authenticationContext = JSON.parse(JSON.stringify(this.authenticationContext));
|
754
|
-
return this.ExecuteRequestWrapper("/Client/LoginWithAndroidDeviceID", request, null,
|
754
|
+
return this.ExecuteRequestWrapper("/Client/LoginWithAndroidDeviceID", request, null, extraHeaders).then((result) => {
|
755
755
|
var _a;
|
756
756
|
if (result) {
|
757
757
|
if (result == null ? void 0 : result.SessionTicket) {
|
@@ -769,11 +769,11 @@ var PlayFabClientApi = class extends PlayFabCommon {
|
|
769
769
|
* Signs in the user with a Sign in with Apple identity token.
|
770
770
|
* https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithapple
|
771
771
|
*/
|
772
|
-
LoginWithApple(request,
|
772
|
+
LoginWithApple(request, extraHeaders) {
|
773
773
|
request.TitleId = this.settings.titleId ? this.settings.titleId : request.TitleId;
|
774
774
|
if (!request.TitleId) throw this.errorTitleId;
|
775
775
|
var authenticationContext = JSON.parse(JSON.stringify(this.authenticationContext));
|
776
|
-
return this.ExecuteRequestWrapper("/Client/LoginWithApple", request, null,
|
776
|
+
return this.ExecuteRequestWrapper("/Client/LoginWithApple", request, null, extraHeaders).then((result) => {
|
777
777
|
var _a;
|
778
778
|
if (result) {
|
779
779
|
if (result == null ? void 0 : result.SessionTicket) {
|
@@ -791,11 +791,11 @@ var PlayFabClientApi = class extends PlayFabCommon {
|
|
791
791
|
* Sign in the user with a Battle.net identity token
|
792
792
|
* https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithbattlenet
|
793
793
|
*/
|
794
|
-
LoginWithBattleNet(request,
|
794
|
+
LoginWithBattleNet(request, extraHeaders) {
|
795
795
|
request.TitleId = this.settings.titleId ? this.settings.titleId : request.TitleId;
|
796
796
|
if (!request.TitleId) throw this.errorTitleId;
|
797
797
|
var authenticationContext = JSON.parse(JSON.stringify(this.authenticationContext));
|
798
|
-
return this.ExecuteRequestWrapper("/Client/LoginWithBattleNet", request, null,
|
798
|
+
return this.ExecuteRequestWrapper("/Client/LoginWithBattleNet", request, null, extraHeaders).then((result) => {
|
799
799
|
var _a;
|
800
800
|
if (result) {
|
801
801
|
if (result == null ? void 0 : result.SessionTicket) {
|
@@ -814,11 +814,11 @@ var PlayFabClientApi = class extends PlayFabCommon {
|
|
814
814
|
* subsequently be used for API calls which require an authenticated user
|
815
815
|
* https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithcustomid
|
816
816
|
*/
|
817
|
-
LoginWithCustomID(request,
|
817
|
+
LoginWithCustomID(request, extraHeaders) {
|
818
818
|
request.TitleId = this.settings.titleId ? this.settings.titleId : request.TitleId;
|
819
819
|
if (!request.TitleId) throw this.errorTitleId;
|
820
820
|
var authenticationContext = JSON.parse(JSON.stringify(this.authenticationContext));
|
821
|
-
return this.ExecuteRequestWrapper("/Client/LoginWithCustomID", request, null,
|
821
|
+
return this.ExecuteRequestWrapper("/Client/LoginWithCustomID", request, null, extraHeaders).then((result) => {
|
822
822
|
var _a;
|
823
823
|
if (result) {
|
824
824
|
if (result == null ? void 0 : result.SessionTicket) {
|
@@ -839,11 +839,11 @@ var PlayFabClientApi = class extends PlayFabCommon {
|
|
839
839
|
* RegisterPlayFabUser.
|
840
840
|
* https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithemailaddress
|
841
841
|
*/
|
842
|
-
LoginWithEmailAddress(request,
|
842
|
+
LoginWithEmailAddress(request, extraHeaders) {
|
843
843
|
request.TitleId = this.settings.titleId ? this.settings.titleId : request.TitleId;
|
844
844
|
if (!request.TitleId) throw this.errorTitleId;
|
845
845
|
var authenticationContext = JSON.parse(JSON.stringify(this.authenticationContext));
|
846
|
-
return this.ExecuteRequestWrapper("/Client/LoginWithEmailAddress", request, null,
|
846
|
+
return this.ExecuteRequestWrapper("/Client/LoginWithEmailAddress", request, null, extraHeaders).then((result) => {
|
847
847
|
var _a;
|
848
848
|
if (result) {
|
849
849
|
if (result == null ? void 0 : result.SessionTicket) {
|
@@ -862,11 +862,11 @@ var PlayFabClientApi = class extends PlayFabCommon {
|
|
862
862
|
* calls which require an authenticated user
|
863
863
|
* https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithfacebook
|
864
864
|
*/
|
865
|
-
LoginWithFacebook(request,
|
865
|
+
LoginWithFacebook(request, extraHeaders) {
|
866
866
|
request.TitleId = this.settings.titleId ? this.settings.titleId : request.TitleId;
|
867
867
|
if (!request.TitleId) throw this.errorTitleId;
|
868
868
|
var authenticationContext = JSON.parse(JSON.stringify(this.authenticationContext));
|
869
|
-
return this.ExecuteRequestWrapper("/Client/LoginWithFacebook", request, null,
|
869
|
+
return this.ExecuteRequestWrapper("/Client/LoginWithFacebook", request, null, extraHeaders).then((result) => {
|
870
870
|
var _a;
|
871
871
|
if (result) {
|
872
872
|
if (result == null ? void 0 : result.SessionTicket) {
|
@@ -885,11 +885,11 @@ var PlayFabClientApi = class extends PlayFabCommon {
|
|
885
885
|
* API calls which require an authenticated user. Requires Facebook Instant Games to be configured.
|
886
886
|
* https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithfacebookinstantgamesid
|
887
887
|
*/
|
888
|
-
LoginWithFacebookInstantGamesId(request,
|
888
|
+
LoginWithFacebookInstantGamesId(request, extraHeaders) {
|
889
889
|
request.TitleId = this.settings.titleId ? this.settings.titleId : request.TitleId;
|
890
890
|
if (!request.TitleId) throw this.errorTitleId;
|
891
891
|
var authenticationContext = JSON.parse(JSON.stringify(this.authenticationContext));
|
892
|
-
return this.ExecuteRequestWrapper("/Client/LoginWithFacebookInstantGamesId", request, null,
|
892
|
+
return this.ExecuteRequestWrapper("/Client/LoginWithFacebookInstantGamesId", request, null, extraHeaders).then((result) => {
|
893
893
|
var _a;
|
894
894
|
if (result) {
|
895
895
|
if (result == null ? void 0 : result.SessionTicket) {
|
@@ -911,11 +911,11 @@ var PlayFabClientApi = class extends PlayFabCommon {
|
|
911
911
|
* enabling the 'Require secure authentication only for this app' option.
|
912
912
|
* https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithgamecenter
|
913
913
|
*/
|
914
|
-
LoginWithGameCenter(request,
|
914
|
+
LoginWithGameCenter(request, extraHeaders) {
|
915
915
|
request.TitleId = this.settings.titleId ? this.settings.titleId : request.TitleId;
|
916
916
|
if (!request.TitleId) throw this.errorTitleId;
|
917
917
|
var authenticationContext = JSON.parse(JSON.stringify(this.authenticationContext));
|
918
|
-
return this.ExecuteRequestWrapper("/Client/LoginWithGameCenter", request, null,
|
918
|
+
return this.ExecuteRequestWrapper("/Client/LoginWithGameCenter", request, null, extraHeaders).then((result) => {
|
919
919
|
var _a;
|
920
920
|
if (result) {
|
921
921
|
if (result == null ? void 0 : result.SessionTicket) {
|
@@ -933,11 +933,11 @@ var PlayFabClientApi = class extends PlayFabCommon {
|
|
933
933
|
* Signs the user in using their Google account credentials
|
934
934
|
* https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithgoogleaccount
|
935
935
|
*/
|
936
|
-
LoginWithGoogleAccount(request,
|
936
|
+
LoginWithGoogleAccount(request, extraHeaders) {
|
937
937
|
request.TitleId = this.settings.titleId ? this.settings.titleId : request.TitleId;
|
938
938
|
if (!request.TitleId) throw this.errorTitleId;
|
939
939
|
var authenticationContext = JSON.parse(JSON.stringify(this.authenticationContext));
|
940
|
-
return this.ExecuteRequestWrapper("/Client/LoginWithGoogleAccount", request, null,
|
940
|
+
return this.ExecuteRequestWrapper("/Client/LoginWithGoogleAccount", request, null, extraHeaders).then((result) => {
|
941
941
|
var _a;
|
942
942
|
if (result) {
|
943
943
|
if (result == null ? void 0 : result.SessionTicket) {
|
@@ -955,11 +955,11 @@ var PlayFabClientApi = class extends PlayFabCommon {
|
|
955
955
|
* Signs the user in using their Google Play Games account credentials
|
956
956
|
* https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithgoogleplaygamesservices
|
957
957
|
*/
|
958
|
-
LoginWithGooglePlayGamesServices(request,
|
958
|
+
LoginWithGooglePlayGamesServices(request, extraHeaders) {
|
959
959
|
request.TitleId = this.settings.titleId ? this.settings.titleId : request.TitleId;
|
960
960
|
if (!request.TitleId) throw this.errorTitleId;
|
961
961
|
var authenticationContext = JSON.parse(JSON.stringify(this.authenticationContext));
|
962
|
-
return this.ExecuteRequestWrapper("/Client/LoginWithGooglePlayGamesServices", request, null,
|
962
|
+
return this.ExecuteRequestWrapper("/Client/LoginWithGooglePlayGamesServices", request, null, extraHeaders).then((result) => {
|
963
963
|
var _a;
|
964
964
|
if (result) {
|
965
965
|
if (result == null ? void 0 : result.SessionTicket) {
|
@@ -978,11 +978,11 @@ var PlayFabClientApi = class extends PlayFabCommon {
|
|
978
978
|
* be used for API calls which require an authenticated user
|
979
979
|
* https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithiosdeviceid
|
980
980
|
*/
|
981
|
-
LoginWithIOSDeviceID(request,
|
981
|
+
LoginWithIOSDeviceID(request, extraHeaders) {
|
982
982
|
request.TitleId = this.settings.titleId ? this.settings.titleId : request.TitleId;
|
983
983
|
if (!request.TitleId) throw this.errorTitleId;
|
984
984
|
var authenticationContext = JSON.parse(JSON.stringify(this.authenticationContext));
|
985
|
-
return this.ExecuteRequestWrapper("/Client/LoginWithIOSDeviceID", request, null,
|
985
|
+
return this.ExecuteRequestWrapper("/Client/LoginWithIOSDeviceID", request, null, extraHeaders).then((result) => {
|
986
986
|
var _a;
|
987
987
|
if (result) {
|
988
988
|
if (result == null ? void 0 : result.SessionTicket) {
|
@@ -1000,11 +1000,11 @@ var PlayFabClientApi = class extends PlayFabCommon {
|
|
1000
1000
|
* Signs the user in using a Kongregate player account.
|
1001
1001
|
* https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithkongregate
|
1002
1002
|
*/
|
1003
|
-
LoginWithKongregate(request,
|
1003
|
+
LoginWithKongregate(request, extraHeaders) {
|
1004
1004
|
request.TitleId = this.settings.titleId ? this.settings.titleId : request.TitleId;
|
1005
1005
|
if (!request.TitleId) throw this.errorTitleId;
|
1006
1006
|
var authenticationContext = JSON.parse(JSON.stringify(this.authenticationContext));
|
1007
|
-
return this.ExecuteRequestWrapper("/Client/LoginWithKongregate", request, null,
|
1007
|
+
return this.ExecuteRequestWrapper("/Client/LoginWithKongregate", request, null, extraHeaders).then((result) => {
|
1008
1008
|
var _a;
|
1009
1009
|
if (result) {
|
1010
1010
|
if (result == null ? void 0 : result.SessionTicket) {
|
@@ -1022,11 +1022,11 @@ var PlayFabClientApi = class extends PlayFabCommon {
|
|
1022
1022
|
* Signs in the user with a Nintendo service account token.
|
1023
1023
|
* https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithnintendoserviceaccount
|
1024
1024
|
*/
|
1025
|
-
LoginWithNintendoServiceAccount(request,
|
1025
|
+
LoginWithNintendoServiceAccount(request, extraHeaders) {
|
1026
1026
|
request.TitleId = this.settings.titleId ? this.settings.titleId : request.TitleId;
|
1027
1027
|
if (!request.TitleId) throw this.errorTitleId;
|
1028
1028
|
var authenticationContext = JSON.parse(JSON.stringify(this.authenticationContext));
|
1029
|
-
return this.ExecuteRequestWrapper("/Client/LoginWithNintendoServiceAccount", request, null,
|
1029
|
+
return this.ExecuteRequestWrapper("/Client/LoginWithNintendoServiceAccount", request, null, extraHeaders).then((result) => {
|
1030
1030
|
var _a;
|
1031
1031
|
if (result) {
|
1032
1032
|
if (result == null ? void 0 : result.SessionTicket) {
|
@@ -1045,11 +1045,11 @@ var PlayFabClientApi = class extends PlayFabCommon {
|
|
1045
1045
|
* API calls which require an authenticated user
|
1046
1046
|
* https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithnintendoswitchdeviceid
|
1047
1047
|
*/
|
1048
|
-
LoginWithNintendoSwitchDeviceId(request,
|
1048
|
+
LoginWithNintendoSwitchDeviceId(request, extraHeaders) {
|
1049
1049
|
request.TitleId = this.settings.titleId ? this.settings.titleId : request.TitleId;
|
1050
1050
|
if (!request.TitleId) throw this.errorTitleId;
|
1051
1051
|
var authenticationContext = JSON.parse(JSON.stringify(this.authenticationContext));
|
1052
|
-
return this.ExecuteRequestWrapper("/Client/LoginWithNintendoSwitchDeviceId", request, null,
|
1052
|
+
return this.ExecuteRequestWrapper("/Client/LoginWithNintendoSwitchDeviceId", request, null, extraHeaders).then((result) => {
|
1053
1053
|
var _a;
|
1054
1054
|
if (result) {
|
1055
1055
|
if (result == null ? void 0 : result.SessionTicket) {
|
@@ -1068,11 +1068,11 @@ var PlayFabClientApi = class extends PlayFabCommon {
|
|
1068
1068
|
* provider.
|
1069
1069
|
* https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithopenidconnect
|
1070
1070
|
*/
|
1071
|
-
LoginWithOpenIdConnect(request,
|
1071
|
+
LoginWithOpenIdConnect(request, extraHeaders) {
|
1072
1072
|
request.TitleId = this.settings.titleId ? this.settings.titleId : request.TitleId;
|
1073
1073
|
if (!request.TitleId) throw this.errorTitleId;
|
1074
1074
|
var authenticationContext = JSON.parse(JSON.stringify(this.authenticationContext));
|
1075
|
-
return this.ExecuteRequestWrapper("/Client/LoginWithOpenIdConnect", request, null,
|
1075
|
+
return this.ExecuteRequestWrapper("/Client/LoginWithOpenIdConnect", request, null, extraHeaders).then((result) => {
|
1076
1076
|
var _a;
|
1077
1077
|
if (result) {
|
1078
1078
|
if (result == null ? void 0 : result.SessionTicket) {
|
@@ -1093,11 +1093,11 @@ var PlayFabClientApi = class extends PlayFabCommon {
|
|
1093
1093
|
* RegisterPlayFabUser, or added to existing accounts using AddUsernamePassword.
|
1094
1094
|
* https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithplayfab
|
1095
1095
|
*/
|
1096
|
-
LoginWithPlayFab(request,
|
1096
|
+
LoginWithPlayFab(request, extraHeaders) {
|
1097
1097
|
request.TitleId = this.settings.titleId ? this.settings.titleId : request.TitleId;
|
1098
1098
|
if (!request.TitleId) throw this.errorTitleId;
|
1099
1099
|
var authenticationContext = JSON.parse(JSON.stringify(this.authenticationContext));
|
1100
|
-
return this.ExecuteRequestWrapper("/Client/LoginWithPlayFab", request, null,
|
1100
|
+
return this.ExecuteRequestWrapper("/Client/LoginWithPlayFab", request, null, extraHeaders).then((result) => {
|
1101
1101
|
var _a;
|
1102
1102
|
if (result) {
|
1103
1103
|
if (result == null ? void 0 : result.SessionTicket) {
|
@@ -1116,11 +1116,11 @@ var PlayFabClientApi = class extends PlayFabCommon {
|
|
1116
1116
|
* subsequently be used for API calls which require an authenticated user
|
1117
1117
|
* https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithpsn
|
1118
1118
|
*/
|
1119
|
-
LoginWithPSN(request,
|
1119
|
+
LoginWithPSN(request, extraHeaders) {
|
1120
1120
|
request.TitleId = this.settings.titleId ? this.settings.titleId : request.TitleId;
|
1121
1121
|
if (!request.TitleId) throw this.errorTitleId;
|
1122
1122
|
var authenticationContext = JSON.parse(JSON.stringify(this.authenticationContext));
|
1123
|
-
return this.ExecuteRequestWrapper("/Client/LoginWithPSN", request, null,
|
1123
|
+
return this.ExecuteRequestWrapper("/Client/LoginWithPSN", request, null, extraHeaders).then((result) => {
|
1124
1124
|
var _a;
|
1125
1125
|
if (result) {
|
1126
1126
|
if (result == null ? void 0 : result.SessionTicket) {
|
@@ -1139,11 +1139,11 @@ var PlayFabClientApi = class extends PlayFabCommon {
|
|
1139
1139
|
* API calls which require an authenticated user
|
1140
1140
|
* https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithsteam
|
1141
1141
|
*/
|
1142
|
-
LoginWithSteam(request,
|
1142
|
+
LoginWithSteam(request, extraHeaders) {
|
1143
1143
|
request.TitleId = this.settings.titleId ? this.settings.titleId : request.TitleId;
|
1144
1144
|
if (!request.TitleId) throw this.errorTitleId;
|
1145
1145
|
var authenticationContext = JSON.parse(JSON.stringify(this.authenticationContext));
|
1146
|
-
return this.ExecuteRequestWrapper("/Client/LoginWithSteam", request, null,
|
1146
|
+
return this.ExecuteRequestWrapper("/Client/LoginWithSteam", request, null, extraHeaders).then((result) => {
|
1147
1147
|
var _a;
|
1148
1148
|
if (result) {
|
1149
1149
|
if (result == null ? void 0 : result.SessionTicket) {
|
@@ -1161,11 +1161,11 @@ var PlayFabClientApi = class extends PlayFabCommon {
|
|
1161
1161
|
* Signs the user in using a Twitch access token.
|
1162
1162
|
* https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithtwitch
|
1163
1163
|
*/
|
1164
|
-
LoginWithTwitch(request,
|
1164
|
+
LoginWithTwitch(request, extraHeaders) {
|
1165
1165
|
request.TitleId = this.settings.titleId ? this.settings.titleId : request.TitleId;
|
1166
1166
|
if (!request.TitleId) throw this.errorTitleId;
|
1167
1167
|
var authenticationContext = JSON.parse(JSON.stringify(this.authenticationContext));
|
1168
|
-
return this.ExecuteRequestWrapper("/Client/LoginWithTwitch", request, null,
|
1168
|
+
return this.ExecuteRequestWrapper("/Client/LoginWithTwitch", request, null, extraHeaders).then((result) => {
|
1169
1169
|
var _a;
|
1170
1170
|
if (result) {
|
1171
1171
|
if (result == null ? void 0 : result.SessionTicket) {
|
@@ -1184,11 +1184,11 @@ var PlayFabClientApi = class extends PlayFabCommon {
|
|
1184
1184
|
* which require an authenticated user
|
1185
1185
|
* https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithxbox
|
1186
1186
|
*/
|
1187
|
-
LoginWithXbox(request,
|
1187
|
+
LoginWithXbox(request, extraHeaders) {
|
1188
1188
|
request.TitleId = this.settings.titleId ? this.settings.titleId : request.TitleId;
|
1189
1189
|
if (!request.TitleId) throw this.errorTitleId;
|
1190
1190
|
var authenticationContext = JSON.parse(JSON.stringify(this.authenticationContext));
|
1191
|
-
return this.ExecuteRequestWrapper("/Client/LoginWithXbox", request, null,
|
1191
|
+
return this.ExecuteRequestWrapper("/Client/LoginWithXbox", request, null, extraHeaders).then((result) => {
|
1192
1192
|
var _a;
|
1193
1193
|
if (result) {
|
1194
1194
|
if (result == null ? void 0 : result.SessionTicket) {
|
@@ -1206,16 +1206,16 @@ var PlayFabClientApi = class extends PlayFabCommon {
|
|
1206
1206
|
* Opens a new outstanding trade. Note that a given item instance may only be in one open trade at a time.
|
1207
1207
|
* https://docs.microsoft.com/rest/api/playfab/client/trading/opentrade
|
1208
1208
|
*/
|
1209
|
-
OpenTrade(request,
|
1210
|
-
return this.ExecuteRequestWrapper("/Client/OpenTrade", request, "X-Authorization",
|
1209
|
+
OpenTrade(request, extraHeaders) {
|
1210
|
+
return this.ExecuteRequestWrapper("/Client/OpenTrade", request, "X-Authorization", extraHeaders);
|
1211
1211
|
}
|
1212
1212
|
/**
|
1213
1213
|
* _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
|
1214
1214
|
* version 2._ Selects a payment option for purchase order created via StartPurchase
|
1215
1215
|
* https://docs.microsoft.com/rest/api/playfab/client/player-item-management/payforpurchase
|
1216
1216
|
*/
|
1217
|
-
PayForPurchase(request,
|
1218
|
-
return this.ExecuteRequestWrapper("/Client/PayForPurchase", request, "X-Authorization",
|
1217
|
+
PayForPurchase(request, extraHeaders) {
|
1218
|
+
return this.ExecuteRequestWrapper("/Client/PayForPurchase", request, "X-Authorization", extraHeaders);
|
1219
1219
|
}
|
1220
1220
|
/**
|
1221
1221
|
* _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
|
@@ -1223,8 +1223,8 @@ var PlayFabClientApi = class extends PlayFabCommon {
|
|
1223
1223
|
* well as what the client believes the price to be. This lets the server fail the purchase if the price has changed.
|
1224
1224
|
* https://docs.microsoft.com/rest/api/playfab/client/player-item-management/purchaseitem
|
1225
1225
|
*/
|
1226
|
-
PurchaseItem(request,
|
1227
|
-
return this.ExecuteRequestWrapper("/Client/PurchaseItem", request, "X-Authorization",
|
1226
|
+
PurchaseItem(request, extraHeaders) {
|
1227
|
+
return this.ExecuteRequestWrapper("/Client/PurchaseItem", request, "X-Authorization", extraHeaders);
|
1228
1228
|
}
|
1229
1229
|
/**
|
1230
1230
|
* _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
|
@@ -1232,33 +1232,33 @@ var PlayFabClientApi = class extends PlayFabCommon {
|
|
1232
1232
|
* Economy->Catalogs tab in the PlayFab Game Manager.
|
1233
1233
|
* https://docs.microsoft.com/rest/api/playfab/client/player-item-management/redeemcoupon
|
1234
1234
|
*/
|
1235
|
-
RedeemCoupon(request,
|
1236
|
-
return this.ExecuteRequestWrapper("/Client/RedeemCoupon", request, "X-Authorization",
|
1235
|
+
RedeemCoupon(request, extraHeaders) {
|
1236
|
+
return this.ExecuteRequestWrapper("/Client/RedeemCoupon", request, "X-Authorization", extraHeaders);
|
1237
1237
|
}
|
1238
1238
|
/**
|
1239
1239
|
* Uses the supplied OAuth code to refresh the internally cached player PlayStation :tm: Network auth token
|
1240
1240
|
* https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/refreshpsnauthtoken
|
1241
1241
|
*/
|
1242
|
-
RefreshPSNAuthToken(request,
|
1243
|
-
return this.ExecuteRequestWrapper("/Client/RefreshPSNAuthToken", request, "X-Authorization",
|
1242
|
+
RefreshPSNAuthToken(request, extraHeaders) {
|
1243
|
+
return this.ExecuteRequestWrapper("/Client/RefreshPSNAuthToken", request, "X-Authorization", extraHeaders);
|
1244
1244
|
}
|
1245
1245
|
/**
|
1246
1246
|
* Registers the iOS device to receive push notifications
|
1247
1247
|
* https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/registerforiospushnotification
|
1248
1248
|
*/
|
1249
|
-
RegisterForIOSPushNotification(request,
|
1250
|
-
return this.ExecuteRequestWrapper("/Client/RegisterForIOSPushNotification", request, "X-Authorization",
|
1249
|
+
RegisterForIOSPushNotification(request, extraHeaders) {
|
1250
|
+
return this.ExecuteRequestWrapper("/Client/RegisterForIOSPushNotification", request, "X-Authorization", extraHeaders);
|
1251
1251
|
}
|
1252
1252
|
/**
|
1253
1253
|
* Registers a new Playfab user account, returning a session identifier that can subsequently be used for API calls which
|
1254
1254
|
* require an authenticated user. You must supply a username and an email address.
|
1255
1255
|
* https://docs.microsoft.com/rest/api/playfab/client/authentication/registerplayfabuser
|
1256
1256
|
*/
|
1257
|
-
RegisterPlayFabUser(request,
|
1257
|
+
RegisterPlayFabUser(request, extraHeaders) {
|
1258
1258
|
request.TitleId = this.settings.titleId ? this.settings.titleId : request.TitleId;
|
1259
1259
|
if (!request.TitleId) throw this.errorTitleId;
|
1260
1260
|
var authenticationContext = JSON.parse(JSON.stringify(this.authenticationContext));
|
1261
|
-
return this.ExecuteRequestWrapper("/Client/RegisterPlayFabUser", request, null,
|
1261
|
+
return this.ExecuteRequestWrapper("/Client/RegisterPlayFabUser", request, null, extraHeaders).then((result) => {
|
1262
1262
|
var _a;
|
1263
1263
|
if (result) {
|
1264
1264
|
if (result == null ? void 0 : result.SessionTicket) {
|
@@ -1276,22 +1276,22 @@ var PlayFabClientApi = class extends PlayFabCommon {
|
|
1276
1276
|
* Removes a contact email from the player's profile.
|
1277
1277
|
* https://docs.microsoft.com/rest/api/playfab/client/account-management/removecontactemail
|
1278
1278
|
*/
|
1279
|
-
RemoveContactEmail(request,
|
1280
|
-
return this.ExecuteRequestWrapper("/Client/RemoveContactEmail", request, "X-Authorization",
|
1279
|
+
RemoveContactEmail(request, extraHeaders) {
|
1280
|
+
return this.ExecuteRequestWrapper("/Client/RemoveContactEmail", request, "X-Authorization", extraHeaders);
|
1281
1281
|
}
|
1282
1282
|
/**
|
1283
1283
|
* Removes a specified user from the friend list of the local user
|
1284
1284
|
* https://docs.microsoft.com/rest/api/playfab/client/friend-list-management/removefriend
|
1285
1285
|
*/
|
1286
|
-
RemoveFriend(request,
|
1287
|
-
return this.ExecuteRequestWrapper("/Client/RemoveFriend", request, "X-Authorization",
|
1286
|
+
RemoveFriend(request, extraHeaders) {
|
1287
|
+
return this.ExecuteRequestWrapper("/Client/RemoveFriend", request, "X-Authorization", extraHeaders);
|
1288
1288
|
}
|
1289
1289
|
/**
|
1290
1290
|
* Removes the specified generic service identifier from the player's PlayFab account.
|
1291
1291
|
* https://docs.microsoft.com/rest/api/playfab/client/account-management/removegenericid
|
1292
1292
|
*/
|
1293
|
-
RemoveGenericID(request,
|
1294
|
-
return this.ExecuteRequestWrapper("/Client/RemoveGenericID", request, "X-Authorization",
|
1293
|
+
RemoveGenericID(request, extraHeaders) {
|
1294
|
+
return this.ExecuteRequestWrapper("/Client/RemoveGenericID", request, "X-Authorization", extraHeaders);
|
1295
1295
|
}
|
1296
1296
|
/**
|
1297
1297
|
* 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
|
@@ -1300,46 +1300,46 @@ var PlayFabClientApi = class extends PlayFabCommon {
|
|
1300
1300
|
* guide: https://docs.microsoft.com/gaming/playfab/features/social/groups/using-shared-group-data
|
1301
1301
|
* https://docs.microsoft.com/rest/api/playfab/client/shared-group-data/removesharedgroupmembers
|
1302
1302
|
*/
|
1303
|
-
RemoveSharedGroupMembers(request,
|
1304
|
-
return this.ExecuteRequestWrapper("/Client/RemoveSharedGroupMembers", request, "X-Authorization",
|
1303
|
+
RemoveSharedGroupMembers(request, extraHeaders) {
|
1304
|
+
return this.ExecuteRequestWrapper("/Client/RemoveSharedGroupMembers", request, "X-Authorization", extraHeaders);
|
1305
1305
|
}
|
1306
1306
|
/**
|
1307
1307
|
* Report player's ad activity
|
1308
1308
|
* https://docs.microsoft.com/rest/api/playfab/client/advertising/reportadactivity
|
1309
1309
|
*/
|
1310
|
-
ReportAdActivity(request,
|
1311
|
-
return this.ExecuteRequestWrapper("/Client/ReportAdActivity", request, "X-Authorization",
|
1310
|
+
ReportAdActivity(request, extraHeaders) {
|
1311
|
+
return this.ExecuteRequestWrapper("/Client/ReportAdActivity", request, "X-Authorization", extraHeaders);
|
1312
1312
|
}
|
1313
1313
|
/**
|
1314
1314
|
* Write a PlayStream event to describe the provided player device information. This API method is not designed to be
|
1315
1315
|
* called directly by developers. Each PlayFab client SDK will eventually report this information automatically.
|
1316
1316
|
* https://docs.microsoft.com/rest/api/playfab/client/analytics/reportdeviceinfo
|
1317
1317
|
*/
|
1318
|
-
ReportDeviceInfo(request,
|
1319
|
-
return this.ExecuteRequestWrapper("/Client/ReportDeviceInfo", request, "X-Authorization",
|
1318
|
+
ReportDeviceInfo(request, extraHeaders) {
|
1319
|
+
return this.ExecuteRequestWrapper("/Client/ReportDeviceInfo", request, "X-Authorization", extraHeaders);
|
1320
1320
|
}
|
1321
1321
|
/**
|
1322
1322
|
* Submit a report for another player (due to bad bahavior, etc.), so that customer service representatives for the title
|
1323
1323
|
* can take action concerning potentially toxic players.
|
1324
1324
|
* https://docs.microsoft.com/rest/api/playfab/client/account-management/reportplayer
|
1325
1325
|
*/
|
1326
|
-
ReportPlayer(request,
|
1327
|
-
return this.ExecuteRequestWrapper("/Client/ReportPlayer", request, "X-Authorization",
|
1326
|
+
ReportPlayer(request, extraHeaders) {
|
1327
|
+
return this.ExecuteRequestWrapper("/Client/ReportPlayer", request, "X-Authorization", extraHeaders);
|
1328
1328
|
}
|
1329
1329
|
/**
|
1330
1330
|
* _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
|
1331
1331
|
* version 2._ Restores all in-app purchases based on the given restore receipt
|
1332
1332
|
* https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/restoreiospurchases
|
1333
1333
|
*/
|
1334
|
-
RestoreIOSPurchases(request,
|
1335
|
-
return this.ExecuteRequestWrapper("/Client/RestoreIOSPurchases", request, "X-Authorization",
|
1334
|
+
RestoreIOSPurchases(request, extraHeaders) {
|
1335
|
+
return this.ExecuteRequestWrapper("/Client/RestoreIOSPurchases", request, "X-Authorization", extraHeaders);
|
1336
1336
|
}
|
1337
1337
|
/**
|
1338
1338
|
* Reward player's ad activity
|
1339
1339
|
* https://docs.microsoft.com/rest/api/playfab/client/advertising/rewardadactivity
|
1340
1340
|
*/
|
1341
|
-
RewardAdActivity(request,
|
1342
|
-
return this.ExecuteRequestWrapper("/Client/RewardAdActivity", request, "X-Authorization",
|
1341
|
+
RewardAdActivity(request, extraHeaders) {
|
1342
|
+
return this.ExecuteRequestWrapper("/Client/RewardAdActivity", request, "X-Authorization", extraHeaders);
|
1343
1343
|
}
|
1344
1344
|
/**
|
1345
1345
|
* Forces an email to be sent to the registered email address for the user's account, with a link allowing the user to
|
@@ -1347,31 +1347,31 @@ var PlayFabClientApi = class extends PlayFabCommon {
|
|
1347
1347
|
* be used.
|
1348
1348
|
* https://docs.microsoft.com/rest/api/playfab/client/account-management/sendaccountrecoveryemail
|
1349
1349
|
*/
|
1350
|
-
SendAccountRecoveryEmail(request,
|
1351
|
-
return this.ExecuteRequestWrapper("/Client/SendAccountRecoveryEmail", request, null,
|
1350
|
+
SendAccountRecoveryEmail(request, extraHeaders) {
|
1351
|
+
return this.ExecuteRequestWrapper("/Client/SendAccountRecoveryEmail", request, null, extraHeaders);
|
1352
1352
|
}
|
1353
1353
|
/**
|
1354
1354
|
* Updates the tag list for a specified user in the friend list of the local user
|
1355
1355
|
* https://docs.microsoft.com/rest/api/playfab/client/friend-list-management/setfriendtags
|
1356
1356
|
*/
|
1357
|
-
SetFriendTags(request,
|
1358
|
-
return this.ExecuteRequestWrapper("/Client/SetFriendTags", request, "X-Authorization",
|
1357
|
+
SetFriendTags(request, extraHeaders) {
|
1358
|
+
return this.ExecuteRequestWrapper("/Client/SetFriendTags", request, "X-Authorization", extraHeaders);
|
1359
1359
|
}
|
1360
1360
|
/**
|
1361
1361
|
* Sets the player's secret if it is not already set. Player secrets are used to sign API requests. To reset a player's
|
1362
1362
|
* secret use the Admin or Server API method SetPlayerSecret.
|
1363
1363
|
* https://docs.microsoft.com/rest/api/playfab/client/authentication/setplayersecret
|
1364
1364
|
*/
|
1365
|
-
SetPlayerSecret(request,
|
1366
|
-
return this.ExecuteRequestWrapper("/Client/SetPlayerSecret", request, "X-Authorization",
|
1365
|
+
SetPlayerSecret(request, extraHeaders) {
|
1366
|
+
return this.ExecuteRequestWrapper("/Client/SetPlayerSecret", request, "X-Authorization", extraHeaders);
|
1367
1367
|
}
|
1368
1368
|
/**
|
1369
1369
|
* _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
|
1370
1370
|
* version 2._ Creates an order for a list of items from the title catalog
|
1371
1371
|
* https://docs.microsoft.com/rest/api/playfab/client/player-item-management/startpurchase
|
1372
1372
|
*/
|
1373
|
-
StartPurchase(request,
|
1374
|
-
return this.ExecuteRequestWrapper("/Client/StartPurchase", request, "X-Authorization",
|
1373
|
+
StartPurchase(request, extraHeaders) {
|
1374
|
+
return this.ExecuteRequestWrapper("/Client/StartPurchase", request, "X-Authorization", extraHeaders);
|
1375
1375
|
}
|
1376
1376
|
/**
|
1377
1377
|
* _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
|
@@ -1379,136 +1379,136 @@ var PlayFabClientApi = class extends PlayFabCommon {
|
|
1379
1379
|
* a VC balance negative with this API.
|
1380
1380
|
* https://docs.microsoft.com/rest/api/playfab/client/player-item-management/subtractuservirtualcurrency
|
1381
1381
|
*/
|
1382
|
-
SubtractUserVirtualCurrency(request,
|
1383
|
-
return this.ExecuteRequestWrapper("/Client/SubtractUserVirtualCurrency", request, "X-Authorization",
|
1382
|
+
SubtractUserVirtualCurrency(request, extraHeaders) {
|
1383
|
+
return this.ExecuteRequestWrapper("/Client/SubtractUserVirtualCurrency", request, "X-Authorization", extraHeaders);
|
1384
1384
|
}
|
1385
1385
|
/**
|
1386
1386
|
* Unlinks the related Android device identifier from the user's PlayFab account
|
1387
1387
|
* https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkandroiddeviceid
|
1388
1388
|
*/
|
1389
|
-
UnlinkAndroidDeviceID(request,
|
1390
|
-
return this.ExecuteRequestWrapper("/Client/UnlinkAndroidDeviceID", request, "X-Authorization",
|
1389
|
+
UnlinkAndroidDeviceID(request, extraHeaders) {
|
1390
|
+
return this.ExecuteRequestWrapper("/Client/UnlinkAndroidDeviceID", request, "X-Authorization", extraHeaders);
|
1391
1391
|
}
|
1392
1392
|
/**
|
1393
1393
|
* Unlinks the related Apple account from the user's PlayFab account.
|
1394
1394
|
* https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkapple
|
1395
1395
|
*/
|
1396
|
-
UnlinkApple(request,
|
1397
|
-
return this.ExecuteRequestWrapper("/Client/UnlinkApple", request, "X-Authorization",
|
1396
|
+
UnlinkApple(request, extraHeaders) {
|
1397
|
+
return this.ExecuteRequestWrapper("/Client/UnlinkApple", request, "X-Authorization", extraHeaders);
|
1398
1398
|
}
|
1399
1399
|
/**
|
1400
1400
|
* Unlinks the related Battle.net account from the user's PlayFab account.
|
1401
1401
|
* https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkbattlenetaccount
|
1402
1402
|
*/
|
1403
|
-
UnlinkBattleNetAccount(request,
|
1404
|
-
return this.ExecuteRequestWrapper("/Client/UnlinkBattleNetAccount", request, "X-Authorization",
|
1403
|
+
UnlinkBattleNetAccount(request, extraHeaders) {
|
1404
|
+
return this.ExecuteRequestWrapper("/Client/UnlinkBattleNetAccount", request, "X-Authorization", extraHeaders);
|
1405
1405
|
}
|
1406
1406
|
/**
|
1407
1407
|
* Unlinks the related custom identifier from the user's PlayFab account
|
1408
1408
|
* https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkcustomid
|
1409
1409
|
*/
|
1410
|
-
UnlinkCustomID(request,
|
1411
|
-
return this.ExecuteRequestWrapper("/Client/UnlinkCustomID", request, "X-Authorization",
|
1410
|
+
UnlinkCustomID(request, extraHeaders) {
|
1411
|
+
return this.ExecuteRequestWrapper("/Client/UnlinkCustomID", request, "X-Authorization", extraHeaders);
|
1412
1412
|
}
|
1413
1413
|
/**
|
1414
1414
|
* Unlinks the related Facebook account from the user's PlayFab account
|
1415
1415
|
* https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkfacebookaccount
|
1416
1416
|
*/
|
1417
|
-
UnlinkFacebookAccount(request,
|
1418
|
-
return this.ExecuteRequestWrapper("/Client/UnlinkFacebookAccount", request, "X-Authorization",
|
1417
|
+
UnlinkFacebookAccount(request, extraHeaders) {
|
1418
|
+
return this.ExecuteRequestWrapper("/Client/UnlinkFacebookAccount", request, "X-Authorization", extraHeaders);
|
1419
1419
|
}
|
1420
1420
|
/**
|
1421
1421
|
* Unlinks the related Facebook Instant Game Ids from the user's PlayFab account
|
1422
1422
|
* https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkfacebookinstantgamesid
|
1423
1423
|
*/
|
1424
|
-
UnlinkFacebookInstantGamesId(request,
|
1425
|
-
return this.ExecuteRequestWrapper("/Client/UnlinkFacebookInstantGamesId", request, "X-Authorization",
|
1424
|
+
UnlinkFacebookInstantGamesId(request, extraHeaders) {
|
1425
|
+
return this.ExecuteRequestWrapper("/Client/UnlinkFacebookInstantGamesId", request, "X-Authorization", extraHeaders);
|
1426
1426
|
}
|
1427
1427
|
/**
|
1428
1428
|
* Unlinks the related Game Center account from the user's PlayFab account
|
1429
1429
|
* https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkgamecenteraccount
|
1430
1430
|
*/
|
1431
|
-
UnlinkGameCenterAccount(request,
|
1432
|
-
return this.ExecuteRequestWrapper("/Client/UnlinkGameCenterAccount", request, "X-Authorization",
|
1431
|
+
UnlinkGameCenterAccount(request, extraHeaders) {
|
1432
|
+
return this.ExecuteRequestWrapper("/Client/UnlinkGameCenterAccount", request, "X-Authorization", extraHeaders);
|
1433
1433
|
}
|
1434
1434
|
/**
|
1435
1435
|
* Unlinks the related Google account from the user's PlayFab account
|
1436
1436
|
* (https://developers.google.com/android/reference/com/google/android/gms/auth/GoogleAuthUtil#public-methods).
|
1437
1437
|
* https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkgoogleaccount
|
1438
1438
|
*/
|
1439
|
-
UnlinkGoogleAccount(request,
|
1440
|
-
return this.ExecuteRequestWrapper("/Client/UnlinkGoogleAccount", request, "X-Authorization",
|
1439
|
+
UnlinkGoogleAccount(request, extraHeaders) {
|
1440
|
+
return this.ExecuteRequestWrapper("/Client/UnlinkGoogleAccount", request, "X-Authorization", extraHeaders);
|
1441
1441
|
}
|
1442
1442
|
/**
|
1443
1443
|
* Unlinks the related Google Play Games account from the user's PlayFab account.
|
1444
1444
|
* https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkgoogleplaygamesservicesaccount
|
1445
1445
|
*/
|
1446
|
-
UnlinkGooglePlayGamesServicesAccount(request,
|
1447
|
-
return this.ExecuteRequestWrapper("/Client/UnlinkGooglePlayGamesServicesAccount", request, "X-Authorization",
|
1446
|
+
UnlinkGooglePlayGamesServicesAccount(request, extraHeaders) {
|
1447
|
+
return this.ExecuteRequestWrapper("/Client/UnlinkGooglePlayGamesServicesAccount", request, "X-Authorization", extraHeaders);
|
1448
1448
|
}
|
1449
1449
|
/**
|
1450
1450
|
* Unlinks the related iOS device identifier from the user's PlayFab account
|
1451
1451
|
* https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkiosdeviceid
|
1452
1452
|
*/
|
1453
|
-
UnlinkIOSDeviceID(request,
|
1454
|
-
return this.ExecuteRequestWrapper("/Client/UnlinkIOSDeviceID", request, "X-Authorization",
|
1453
|
+
UnlinkIOSDeviceID(request, extraHeaders) {
|
1454
|
+
return this.ExecuteRequestWrapper("/Client/UnlinkIOSDeviceID", request, "X-Authorization", extraHeaders);
|
1455
1455
|
}
|
1456
1456
|
/**
|
1457
1457
|
* Unlinks the related Kongregate identifier from the user's PlayFab account
|
1458
1458
|
* https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkkongregate
|
1459
1459
|
*/
|
1460
|
-
UnlinkKongregate(request,
|
1461
|
-
return this.ExecuteRequestWrapper("/Client/UnlinkKongregate", request, "X-Authorization",
|
1460
|
+
UnlinkKongregate(request, extraHeaders) {
|
1461
|
+
return this.ExecuteRequestWrapper("/Client/UnlinkKongregate", request, "X-Authorization", extraHeaders);
|
1462
1462
|
}
|
1463
1463
|
/**
|
1464
1464
|
* Unlinks the related Nintendo account from the user's PlayFab account.
|
1465
1465
|
* https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinknintendoserviceaccount
|
1466
1466
|
*/
|
1467
|
-
UnlinkNintendoServiceAccount(request,
|
1468
|
-
return this.ExecuteRequestWrapper("/Client/UnlinkNintendoServiceAccount", request, "X-Authorization",
|
1467
|
+
UnlinkNintendoServiceAccount(request, extraHeaders) {
|
1468
|
+
return this.ExecuteRequestWrapper("/Client/UnlinkNintendoServiceAccount", request, "X-Authorization", extraHeaders);
|
1469
1469
|
}
|
1470
1470
|
/**
|
1471
1471
|
* Unlinks the related NintendoSwitchDeviceId from the user's PlayFab account
|
1472
1472
|
* https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinknintendoswitchdeviceid
|
1473
1473
|
*/
|
1474
|
-
UnlinkNintendoSwitchDeviceId(request,
|
1475
|
-
return this.ExecuteRequestWrapper("/Client/UnlinkNintendoSwitchDeviceId", request, "X-Authorization",
|
1474
|
+
UnlinkNintendoSwitchDeviceId(request, extraHeaders) {
|
1475
|
+
return this.ExecuteRequestWrapper("/Client/UnlinkNintendoSwitchDeviceId", request, "X-Authorization", extraHeaders);
|
1476
1476
|
}
|
1477
1477
|
/**
|
1478
1478
|
* Unlinks an OpenID Connect account from a user's PlayFab account, based on the connection ID of an existing relationship
|
1479
1479
|
* between a title and an Open ID Connect provider.
|
1480
1480
|
* https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkopenidconnect
|
1481
1481
|
*/
|
1482
|
-
UnlinkOpenIdConnect(request,
|
1483
|
-
return this.ExecuteRequestWrapper("/Client/UnlinkOpenIdConnect", request, "X-Authorization",
|
1482
|
+
UnlinkOpenIdConnect(request, extraHeaders) {
|
1483
|
+
return this.ExecuteRequestWrapper("/Client/UnlinkOpenIdConnect", request, "X-Authorization", extraHeaders);
|
1484
1484
|
}
|
1485
1485
|
/**
|
1486
1486
|
* Unlinks the related PlayStation :tm: Network account from the user's PlayFab account
|
1487
1487
|
* https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkpsnaccount
|
1488
1488
|
*/
|
1489
|
-
UnlinkPSNAccount(request,
|
1490
|
-
return this.ExecuteRequestWrapper("/Client/UnlinkPSNAccount", request, "X-Authorization",
|
1489
|
+
UnlinkPSNAccount(request, extraHeaders) {
|
1490
|
+
return this.ExecuteRequestWrapper("/Client/UnlinkPSNAccount", request, "X-Authorization", extraHeaders);
|
1491
1491
|
}
|
1492
1492
|
/**
|
1493
1493
|
* Unlinks the related Steam account from the user's PlayFab account
|
1494
1494
|
* https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinksteamaccount
|
1495
1495
|
*/
|
1496
|
-
UnlinkSteamAccount(request,
|
1497
|
-
return this.ExecuteRequestWrapper("/Client/UnlinkSteamAccount", request, "X-Authorization",
|
1496
|
+
UnlinkSteamAccount(request, extraHeaders) {
|
1497
|
+
return this.ExecuteRequestWrapper("/Client/UnlinkSteamAccount", request, "X-Authorization", extraHeaders);
|
1498
1498
|
}
|
1499
1499
|
/**
|
1500
1500
|
* Unlinks the related Twitch account from the user's PlayFab account.
|
1501
1501
|
* https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinktwitch
|
1502
1502
|
*/
|
1503
|
-
UnlinkTwitch(request,
|
1504
|
-
return this.ExecuteRequestWrapper("/Client/UnlinkTwitch", request, "X-Authorization",
|
1503
|
+
UnlinkTwitch(request, extraHeaders) {
|
1504
|
+
return this.ExecuteRequestWrapper("/Client/UnlinkTwitch", request, "X-Authorization", extraHeaders);
|
1505
1505
|
}
|
1506
1506
|
/**
|
1507
1507
|
* Unlinks the related Xbox Live account from the user's PlayFab account
|
1508
1508
|
* https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkxboxaccount
|
1509
1509
|
*/
|
1510
|
-
UnlinkXboxAccount(request,
|
1511
|
-
return this.ExecuteRequestWrapper("/Client/UnlinkXboxAccount", request, "X-Authorization",
|
1510
|
+
UnlinkXboxAccount(request, extraHeaders) {
|
1511
|
+
return this.ExecuteRequestWrapper("/Client/UnlinkXboxAccount", request, "X-Authorization", extraHeaders);
|
1512
1512
|
}
|
1513
1513
|
/**
|
1514
1514
|
* _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
|
@@ -1517,8 +1517,8 @@ var PlayFabClientApi = class extends PlayFabCommon {
|
|
1517
1517
|
* be decremented, consistent with the operation of ConsumeItem.
|
1518
1518
|
* https://docs.microsoft.com/rest/api/playfab/client/player-item-management/unlockcontainerinstance
|
1519
1519
|
*/
|
1520
|
-
UnlockContainerInstance(request,
|
1521
|
-
return this.ExecuteRequestWrapper("/Client/UnlockContainerInstance", request, "X-Authorization",
|
1520
|
+
UnlockContainerInstance(request, extraHeaders) {
|
1521
|
+
return this.ExecuteRequestWrapper("/Client/UnlockContainerInstance", request, "X-Authorization", extraHeaders);
|
1522
1522
|
}
|
1523
1523
|
/**
|
1524
1524
|
* _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
|
@@ -1527,45 +1527,45 @@ var PlayFabClientApi = class extends PlayFabCommon {
|
|
1527
1527
|
* consumable (RemainingUses > 0), their RemainingUses will be decremented, consistent with the operation of ConsumeItem.
|
1528
1528
|
* https://docs.microsoft.com/rest/api/playfab/client/player-item-management/unlockcontaineritem
|
1529
1529
|
*/
|
1530
|
-
UnlockContainerItem(request,
|
1531
|
-
return this.ExecuteRequestWrapper("/Client/UnlockContainerItem", request, "X-Authorization",
|
1530
|
+
UnlockContainerItem(request, extraHeaders) {
|
1531
|
+
return this.ExecuteRequestWrapper("/Client/UnlockContainerItem", request, "X-Authorization", extraHeaders);
|
1532
1532
|
}
|
1533
1533
|
/**
|
1534
1534
|
* Update the avatar URL of the player
|
1535
1535
|
* https://docs.microsoft.com/rest/api/playfab/client/account-management/updateavatarurl
|
1536
1536
|
*/
|
1537
|
-
UpdateAvatarUrl(request,
|
1538
|
-
return this.ExecuteRequestWrapper("/Client/UpdateAvatarUrl", request, "X-Authorization",
|
1537
|
+
UpdateAvatarUrl(request, extraHeaders) {
|
1538
|
+
return this.ExecuteRequestWrapper("/Client/UpdateAvatarUrl", request, "X-Authorization", extraHeaders);
|
1539
1539
|
}
|
1540
1540
|
/**
|
1541
1541
|
* Creates and updates the title-specific custom data for the user's character which is readable and writable by the client
|
1542
1542
|
* https://docs.microsoft.com/rest/api/playfab/client/character-data/updatecharacterdata
|
1543
1543
|
*/
|
1544
|
-
UpdateCharacterData(request,
|
1545
|
-
return this.ExecuteRequestWrapper("/Client/UpdateCharacterData", request, "X-Authorization",
|
1544
|
+
UpdateCharacterData(request, extraHeaders) {
|
1545
|
+
return this.ExecuteRequestWrapper("/Client/UpdateCharacterData", request, "X-Authorization", extraHeaders);
|
1546
1546
|
}
|
1547
1547
|
/**
|
1548
1548
|
* Updates the values of the specified title-specific statistics for the specific character. By default, clients are not
|
1549
1549
|
* permitted to update statistics. Developers may override this setting in the Game Manager > Settings > API Features.
|
1550
1550
|
* https://docs.microsoft.com/rest/api/playfab/client/characters/updatecharacterstatistics
|
1551
1551
|
*/
|
1552
|
-
UpdateCharacterStatistics(request,
|
1553
|
-
return this.ExecuteRequestWrapper("/Client/UpdateCharacterStatistics", request, "X-Authorization",
|
1552
|
+
UpdateCharacterStatistics(request, extraHeaders) {
|
1553
|
+
return this.ExecuteRequestWrapper("/Client/UpdateCharacterStatistics", request, "X-Authorization", extraHeaders);
|
1554
1554
|
}
|
1555
1555
|
/**
|
1556
1556
|
* Updates the title-specific custom property values for a player
|
1557
1557
|
* https://docs.microsoft.com/rest/api/playfab/client/player-data-management/updateplayercustomproperties
|
1558
1558
|
*/
|
1559
|
-
UpdatePlayerCustomProperties(request,
|
1560
|
-
return this.ExecuteRequestWrapper("/Client/UpdatePlayerCustomProperties", request, "X-Authorization",
|
1559
|
+
UpdatePlayerCustomProperties(request, extraHeaders) {
|
1560
|
+
return this.ExecuteRequestWrapper("/Client/UpdatePlayerCustomProperties", request, "X-Authorization", extraHeaders);
|
1561
1561
|
}
|
1562
1562
|
/**
|
1563
1563
|
* Updates the values of the specified title-specific statistics for the user. By default, clients are not permitted to
|
1564
1564
|
* update statistics. Developers may override this setting in the Game Manager > Settings > API Features.
|
1565
1565
|
* https://docs.microsoft.com/rest/api/playfab/client/player-data-management/updateplayerstatistics
|
1566
1566
|
*/
|
1567
|
-
UpdatePlayerStatistics(request,
|
1568
|
-
return this.ExecuteRequestWrapper("/Client/UpdatePlayerStatistics", request, "X-Authorization",
|
1567
|
+
UpdatePlayerStatistics(request, extraHeaders) {
|
1568
|
+
return this.ExecuteRequestWrapper("/Client/UpdatePlayerStatistics", request, "X-Authorization", extraHeaders);
|
1569
1569
|
}
|
1570
1570
|
/**
|
1571
1571
|
* Adds, updates, and removes data keys for a shared group object. If the permission is set to Public, all fields updated
|
@@ -1575,29 +1575,29 @@ var PlayFabClientApi = class extends PlayFabCommon {
|
|
1575
1575
|
* https://docs.microsoft.com/gaming/playfab/features/social/groups/using-shared-group-data
|
1576
1576
|
* https://docs.microsoft.com/rest/api/playfab/client/shared-group-data/updatesharedgroupdata
|
1577
1577
|
*/
|
1578
|
-
UpdateSharedGroupData(request,
|
1579
|
-
return this.ExecuteRequestWrapper("/Client/UpdateSharedGroupData", request, "X-Authorization",
|
1578
|
+
UpdateSharedGroupData(request, extraHeaders) {
|
1579
|
+
return this.ExecuteRequestWrapper("/Client/UpdateSharedGroupData", request, "X-Authorization", extraHeaders);
|
1580
1580
|
}
|
1581
1581
|
/**
|
1582
1582
|
* Creates and updates the title-specific custom data for the user which is readable and writable by the client
|
1583
1583
|
* https://docs.microsoft.com/rest/api/playfab/client/player-data-management/updateuserdata
|
1584
1584
|
*/
|
1585
|
-
UpdateUserData(request,
|
1586
|
-
return this.ExecuteRequestWrapper("/Client/UpdateUserData", request, "X-Authorization",
|
1585
|
+
UpdateUserData(request, extraHeaders) {
|
1586
|
+
return this.ExecuteRequestWrapper("/Client/UpdateUserData", request, "X-Authorization", extraHeaders);
|
1587
1587
|
}
|
1588
1588
|
/**
|
1589
1589
|
* Creates and updates the publisher-specific custom data for the user which is readable and writable by the client
|
1590
1590
|
* https://docs.microsoft.com/rest/api/playfab/client/player-data-management/updateuserpublisherdata
|
1591
1591
|
*/
|
1592
|
-
UpdateUserPublisherData(request,
|
1593
|
-
return this.ExecuteRequestWrapper("/Client/UpdateUserPublisherData", request, "X-Authorization",
|
1592
|
+
UpdateUserPublisherData(request, extraHeaders) {
|
1593
|
+
return this.ExecuteRequestWrapper("/Client/UpdateUserPublisherData", request, "X-Authorization", extraHeaders);
|
1594
1594
|
}
|
1595
1595
|
/**
|
1596
1596
|
* Updates the title specific display name for the user
|
1597
1597
|
* https://docs.microsoft.com/rest/api/playfab/client/account-management/updateusertitledisplayname
|
1598
1598
|
*/
|
1599
|
-
UpdateUserTitleDisplayName(request,
|
1600
|
-
return this.ExecuteRequestWrapper("/Client/UpdateUserTitleDisplayName", request, "X-Authorization",
|
1599
|
+
UpdateUserTitleDisplayName(request, extraHeaders) {
|
1600
|
+
return this.ExecuteRequestWrapper("/Client/UpdateUserTitleDisplayName", request, "X-Authorization", extraHeaders);
|
1601
1601
|
}
|
1602
1602
|
/**
|
1603
1603
|
* _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
|
@@ -1605,16 +1605,16 @@ var PlayFabClientApi = class extends PlayFabCommon {
|
|
1605
1605
|
* the purchased catalog item
|
1606
1606
|
* https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/validateamazoniapreceipt
|
1607
1607
|
*/
|
1608
|
-
ValidateAmazonIAPReceipt(request,
|
1609
|
-
return this.ExecuteRequestWrapper("/Client/ValidateAmazonIAPReceipt", request, "X-Authorization",
|
1608
|
+
ValidateAmazonIAPReceipt(request, extraHeaders) {
|
1609
|
+
return this.ExecuteRequestWrapper("/Client/ValidateAmazonIAPReceipt", request, "X-Authorization", extraHeaders);
|
1610
1610
|
}
|
1611
1611
|
/**
|
1612
1612
|
* _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
|
1613
1613
|
* version 2._ Validates a Google Play purchase and gives the corresponding item to the player.
|
1614
1614
|
* https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/validategoogleplaypurchase
|
1615
1615
|
*/
|
1616
|
-
ValidateGooglePlayPurchase(request,
|
1617
|
-
return this.ExecuteRequestWrapper("/Client/ValidateGooglePlayPurchase", request, "X-Authorization",
|
1616
|
+
ValidateGooglePlayPurchase(request, extraHeaders) {
|
1617
|
+
return this.ExecuteRequestWrapper("/Client/ValidateGooglePlayPurchase", request, "X-Authorization", extraHeaders);
|
1618
1618
|
}
|
1619
1619
|
/**
|
1620
1620
|
* _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
|
@@ -1622,8 +1622,8 @@ var PlayFabClientApi = class extends PlayFabCommon {
|
|
1622
1622
|
* purchased catalog item
|
1623
1623
|
* https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/validateiosreceipt
|
1624
1624
|
*/
|
1625
|
-
ValidateIOSReceipt(request,
|
1626
|
-
return this.ExecuteRequestWrapper("/Client/ValidateIOSReceipt", request, "X-Authorization",
|
1625
|
+
ValidateIOSReceipt(request, extraHeaders) {
|
1626
|
+
return this.ExecuteRequestWrapper("/Client/ValidateIOSReceipt", request, "X-Authorization", extraHeaders);
|
1627
1627
|
}
|
1628
1628
|
/**
|
1629
1629
|
* _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
|
@@ -1631,33 +1631,33 @@ var PlayFabClientApi = class extends PlayFabCommon {
|
|
1631
1631
|
* matches the purchased catalog item
|
1632
1632
|
* https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/validatewindowsstorereceipt
|
1633
1633
|
*/
|
1634
|
-
ValidateWindowsStoreReceipt(request,
|
1635
|
-
return this.ExecuteRequestWrapper("/Client/ValidateWindowsStoreReceipt", request, "X-Authorization",
|
1634
|
+
ValidateWindowsStoreReceipt(request, extraHeaders) {
|
1635
|
+
return this.ExecuteRequestWrapper("/Client/ValidateWindowsStoreReceipt", request, "X-Authorization", extraHeaders);
|
1636
1636
|
}
|
1637
1637
|
/**
|
1638
1638
|
* Writes a character-based event into PlayStream.
|
1639
1639
|
* https://docs.microsoft.com/rest/api/playfab/client/analytics/writecharacterevent
|
1640
1640
|
*/
|
1641
|
-
WriteCharacterEvent(request,
|
1642
|
-
return this.ExecuteRequestWrapper("/Client/WriteCharacterEvent", request, "X-Authorization",
|
1641
|
+
WriteCharacterEvent(request, extraHeaders) {
|
1642
|
+
return this.ExecuteRequestWrapper("/Client/WriteCharacterEvent", request, "X-Authorization", extraHeaders);
|
1643
1643
|
}
|
1644
1644
|
/**
|
1645
1645
|
* Writes a player-based event into PlayStream.
|
1646
1646
|
* https://docs.microsoft.com/rest/api/playfab/client/analytics/writeplayerevent
|
1647
1647
|
*/
|
1648
|
-
WritePlayerEvent(request,
|
1649
|
-
return this.ExecuteRequestWrapper("/Client/WritePlayerEvent", request, "X-Authorization",
|
1648
|
+
WritePlayerEvent(request, extraHeaders) {
|
1649
|
+
return this.ExecuteRequestWrapper("/Client/WritePlayerEvent", request, "X-Authorization", extraHeaders);
|
1650
1650
|
}
|
1651
1651
|
/**
|
1652
1652
|
* Writes a title-based event into PlayStream.
|
1653
1653
|
* https://docs.microsoft.com/rest/api/playfab/client/analytics/writetitleevent
|
1654
1654
|
*/
|
1655
|
-
WriteTitleEvent(request,
|
1656
|
-
return this.ExecuteRequestWrapper("/Client/WriteTitleEvent", request, "X-Authorization",
|
1655
|
+
WriteTitleEvent(request, extraHeaders) {
|
1656
|
+
return this.ExecuteRequestWrapper("/Client/WriteTitleEvent", request, "X-Authorization", extraHeaders);
|
1657
1657
|
}
|
1658
1658
|
};
|
1659
1659
|
|
1660
1660
|
export {
|
1661
1661
|
PlayFabClientApi
|
1662
1662
|
};
|
1663
|
-
//# sourceMappingURL=chunk-
|
1663
|
+
//# sourceMappingURL=chunk-FEEE3PRD.js.map
|