async-playfab-web-sdk 1.192.250526-3 → 1.192.250526-5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (103) hide show
  1. package/dist/Addon.d.ts +179 -39
  2. package/dist/Addon.js +2 -2
  3. package/dist/Admin.d.ts +2386 -195
  4. package/dist/Admin.js +2 -2
  5. package/dist/Authentication.d.ts +32 -5
  6. package/dist/Authentication.js +2 -2
  7. package/dist/Client.d.ts +2235 -321
  8. package/dist/Client.js +2 -2
  9. package/dist/CloudScript.d.ts +199 -31
  10. package/dist/CloudScript.js +2 -2
  11. package/dist/Data.d.ts +137 -18
  12. package/dist/Data.js +2 -2
  13. package/dist/Economy.d.ts +1145 -106
  14. package/dist/Economy.js +2 -2
  15. package/dist/Events.d.ts +200 -13
  16. package/dist/Events.js +2 -2
  17. package/dist/Experimentation.d.ts +164 -17
  18. package/dist/Experimentation.js +2 -2
  19. package/dist/Groups.d.ts +267 -28
  20. package/dist/Groups.js +2 -2
  21. package/dist/Insights.d.ts +33 -7
  22. package/dist/Insights.js +2 -2
  23. package/dist/Localization.d.ts +5 -2
  24. package/dist/Localization.js +2 -2
  25. package/dist/Matchmaker.d.ts +271 -0
  26. package/dist/Matchmaker.js +8 -0
  27. package/dist/Matchmaker.js.map +1 -0
  28. package/dist/Multiplayer.d.ts +2697 -169
  29. package/dist/Multiplayer.js +2 -2
  30. package/dist/{PlayFabCommon-BX3jSqGx.d.ts → PlayFabCommon-Dnp_xHg5.d.ts} +3 -5
  31. package/dist/Profiles.d.ts +163 -19
  32. package/dist/Profiles.js +2 -2
  33. package/dist/Progression.d.ts +287 -35
  34. package/dist/Progression.js +2 -2
  35. package/dist/Server.d.ts +1904 -242
  36. package/dist/Server.js +2 -2
  37. package/dist/chunk-3I6ONUUQ.js +237 -0
  38. package/dist/chunk-3I6ONUUQ.js.map +1 -0
  39. package/dist/chunk-3O5QT4SL.js +2477 -0
  40. package/dist/chunk-3O5QT4SL.js.map +1 -0
  41. package/dist/chunk-3OBHYLBF.js +2673 -0
  42. package/dist/chunk-3OBHYLBF.js.map +1 -0
  43. package/dist/chunk-57KYHGBO.js +421 -0
  44. package/dist/chunk-57KYHGBO.js.map +1 -0
  45. package/dist/{chunk-J4QS5VX5.js → chunk-5CWZN75H.js} +6 -3
  46. package/dist/chunk-5CWZN75H.js.map +1 -0
  47. package/dist/chunk-73SVDH45.js +197 -0
  48. package/dist/chunk-73SVDH45.js.map +1 -0
  49. package/dist/chunk-ADHTNFTN.js +175 -0
  50. package/dist/chunk-ADHTNFTN.js.map +1 -0
  51. package/dist/chunk-C7U2JQNZ.js +76 -0
  52. package/dist/chunk-C7U2JQNZ.js.map +1 -0
  53. package/dist/{chunk-SGSEOIKS.js → chunk-GAZYZIK2.js} +34 -8
  54. package/dist/chunk-GAZYZIK2.js.map +1 -0
  55. package/dist/chunk-J54WY4UN.js +413 -0
  56. package/dist/chunk-J54WY4UN.js.map +1 -0
  57. package/dist/chunk-NFWQ4MMZ.js +1048 -0
  58. package/dist/chunk-NFWQ4MMZ.js.map +1 -0
  59. package/dist/{chunk-A7VD6ALV.js → chunk-P7UVG26J.js} +167 -32
  60. package/dist/chunk-P7UVG26J.js.map +1 -0
  61. package/dist/chunk-PFXZB4UN.js +2387 -0
  62. package/dist/chunk-PFXZB4UN.js.map +1 -0
  63. package/dist/{chunk-X34XZJB6.js → chunk-QNGQW3YB.js} +28 -6
  64. package/dist/chunk-QNGQW3YB.js.map +1 -0
  65. package/dist/chunk-SQWILU5T.js +270 -0
  66. package/dist/chunk-SQWILU5T.js.map +1 -0
  67. package/dist/{chunk-JGDO2ZE3.js → chunk-SR2RIRLX.js} +1482 -175
  68. package/dist/chunk-SR2RIRLX.js.map +1 -0
  69. package/dist/{chunk-62SULWOK.js → chunk-XVDYM74A.js} +17 -14
  70. package/dist/chunk-XVDYM74A.js.map +1 -0
  71. package/dist/chunk-ZW4TJ3MQ.js +225 -0
  72. package/dist/chunk-ZW4TJ3MQ.js.map +1 -0
  73. package/dist/index.d.ts +7 -6
  74. package/dist/index.js +29 -25
  75. package/package.json +2 -2
  76. package/dist/chunk-3FCAP7OZ.js +0 -187
  77. package/dist/chunk-3FCAP7OZ.js.map +0 -1
  78. package/dist/chunk-62SULWOK.js.map +0 -1
  79. package/dist/chunk-A7VD6ALV.js.map +0 -1
  80. package/dist/chunk-BX65UND2.js +0 -632
  81. package/dist/chunk-BX65UND2.js.map +0 -1
  82. package/dist/chunk-J4QS5VX5.js.map +0 -1
  83. package/dist/chunk-JGDO2ZE3.js.map +0 -1
  84. package/dist/chunk-POMI7LEF.js +0 -76
  85. package/dist/chunk-POMI7LEF.js.map +0 -1
  86. package/dist/chunk-Q3OF3AOJ.js +0 -97
  87. package/dist/chunk-Q3OF3AOJ.js.map +0 -1
  88. package/dist/chunk-QUZHVSVZ.js +0 -174
  89. package/dist/chunk-QUZHVSVZ.js.map +0 -1
  90. package/dist/chunk-QVLIVSO4.js +0 -1147
  91. package/dist/chunk-QVLIVSO4.js.map +0 -1
  92. package/dist/chunk-R7V7DFCF.js +0 -103
  93. package/dist/chunk-R7V7DFCF.js.map +0 -1
  94. package/dist/chunk-SGSEOIKS.js.map +0 -1
  95. package/dist/chunk-UOHHNVCJ.js +0 -119
  96. package/dist/chunk-UOHHNVCJ.js.map +0 -1
  97. package/dist/chunk-USKFWNQK.js +0 -384
  98. package/dist/chunk-USKFWNQK.js.map +0 -1
  99. package/dist/chunk-UX7LFJCX.js +0 -61
  100. package/dist/chunk-UX7LFJCX.js.map +0 -1
  101. package/dist/chunk-X34XZJB6.js.map +0 -1
  102. package/dist/chunk-YNZF3WXS.js +0 -882
  103. package/dist/chunk-YNZF3WXS.js.map +0 -1
@@ -1,384 +0,0 @@
1
- import {
2
- PlayFabCommon
3
- } from "./chunk-62SULWOK.js";
4
-
5
- // src/apis/PlayFabEconomyApi.ts
6
- var PlayFabEconomyApi = class extends PlayFabCommon {
7
- /**
8
- * Add inventory items. Up to 10,000 stacks of items can be added to a single inventory collection. Stack size is uncapped.
9
- * https://docs.microsoft.com/rest/api/playfab/economy/inventory/addinventoryitems
10
- */
11
- AddInventoryItems(request, extraHeaders) {
12
- return this.ExecuteRequestWrapper("/Inventory/AddInventoryItems", request, "X-EntityToken", extraHeaders);
13
- }
14
- /**
15
- * Creates a new item in the working catalog using provided metadata. Note: SAS tokens provided are valid for 1 hour.
16
- * https://docs.microsoft.com/rest/api/playfab/economy/catalog/createdraftitem
17
- */
18
- CreateDraftItem(request, extraHeaders) {
19
- return this.ExecuteRequestWrapper("/Catalog/CreateDraftItem", request, "X-EntityToken", extraHeaders);
20
- }
21
- /**
22
- * Creates one or more upload URLs which can be used by the client to upload raw file data. Content URls and uploaded
23
- * content will be garbage collected after 24 hours if not attached to a draft or published item. Detailed pricing info
24
- * around uploading content can be found here:
25
- * https://learn.microsoft.com/en-us/gaming/playfab/features/pricing/meters/catalog-meters
26
- * https://docs.microsoft.com/rest/api/playfab/economy/catalog/createuploadurls
27
- */
28
- CreateUploadUrls(request, extraHeaders) {
29
- return this.ExecuteRequestWrapper("/Catalog/CreateUploadUrls", request, "X-EntityToken", extraHeaders);
30
- }
31
- /**
32
- * Deletes all reviews, helpfulness votes, and ratings submitted by the entity specified.
33
- * https://docs.microsoft.com/rest/api/playfab/economy/catalog/deleteentityitemreviews
34
- */
35
- DeleteEntityItemReviews(request, extraHeaders) {
36
- return this.ExecuteRequestWrapper("/Catalog/DeleteEntityItemReviews", request, "X-EntityToken", extraHeaders);
37
- }
38
- /**
39
- * Delete an Inventory Collection. More information about Inventory Collections can be found here:
40
- * https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/inventory/collections
41
- * https://docs.microsoft.com/rest/api/playfab/economy/inventory/deleteinventorycollection
42
- */
43
- DeleteInventoryCollection(request, extraHeaders) {
44
- return this.ExecuteRequestWrapper("/Inventory/DeleteInventoryCollection", request, "X-EntityToken", extraHeaders);
45
- }
46
- /**
47
- * Delete inventory items
48
- * https://docs.microsoft.com/rest/api/playfab/economy/inventory/deleteinventoryitems
49
- */
50
- DeleteInventoryItems(request, extraHeaders) {
51
- return this.ExecuteRequestWrapper("/Inventory/DeleteInventoryItems", request, "X-EntityToken", extraHeaders);
52
- }
53
- /**
54
- * Removes an item from working catalog and all published versions from the public catalog.
55
- * https://docs.microsoft.com/rest/api/playfab/economy/catalog/deleteitem
56
- */
57
- DeleteItem(request, extraHeaders) {
58
- return this.ExecuteRequestWrapper("/Catalog/DeleteItem", request, "X-EntityToken", extraHeaders);
59
- }
60
- /**
61
- * Execute a list of Inventory Operations. A maximum list of 50 operations can be performed by a single request. There is
62
- * also a limit to 300 items that can be modified/added in a single request. For example, adding a bundle with 50 items
63
- * counts as 50 items modified. All operations must be done within a single inventory collection. This API has a reduced
64
- * RPS compared to an individual inventory operation with Player Entities limited to 60 requests in 90 seconds.
65
- * https://docs.microsoft.com/rest/api/playfab/economy/inventory/executeinventoryoperations
66
- */
67
- ExecuteInventoryOperations(request, extraHeaders) {
68
- return this.ExecuteRequestWrapper("/Inventory/ExecuteInventoryOperations", request, "X-EntityToken", extraHeaders);
69
- }
70
- /**
71
- * Transfer a list of inventory items. A maximum list of 50 operations can be performed by a single request. When the
72
- * response code is 202, one or more operations did not complete within the timeframe of the request. You can identify the
73
- * pending operations by looking for OperationStatus = 'InProgress'. You can check on the operation status at anytime
74
- * within 1 day of the request by passing the TransactionToken to the GetInventoryOperationStatus API.
75
- * https://docs.microsoft.com/rest/api/playfab/economy/inventory/executetransferoperations
76
- */
77
- ExecuteTransferOperations(request, extraHeaders) {
78
- return this.ExecuteRequestWrapper("/Inventory/ExecuteTransferOperations", request, "X-EntityToken", extraHeaders);
79
- }
80
- /**
81
- * Gets the configuration for the catalog. Only Title Entities can call this API. There is a limit of 100 requests in 10
82
- * seconds for this API. More information about the Catalog Config can be found here:
83
- * https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/settings
84
- * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getcatalogconfig
85
- */
86
- GetCatalogConfig(request, extraHeaders) {
87
- return this.ExecuteRequestWrapper("/Catalog/GetCatalogConfig", request, "X-EntityToken", extraHeaders);
88
- }
89
- /**
90
- * Retrieves an item from the working catalog. This item represents the current working state of the item. GetDraftItem
91
- * does not work off a cache of the Catalog and should be used when trying to get recent item updates. However, please note
92
- * that item references data is cached and may take a few moments for changes to propagate. Note: SAS tokens provided are
93
- * valid for 1 hour.
94
- * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getdraftitem
95
- */
96
- GetDraftItem(request, extraHeaders) {
97
- return this.ExecuteRequestWrapper("/Catalog/GetDraftItem", request, "X-EntityToken", extraHeaders);
98
- }
99
- /**
100
- * Retrieves a paginated list of the items from the draft catalog. Up to 50 IDs can be retrieved in a single request.
101
- * GetDraftItems does not work off a cache of the Catalog and should be used when trying to get recent item updates. Note:
102
- * SAS tokens provided are valid for 1 hour.
103
- * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getdraftitems
104
- */
105
- GetDraftItems(request, extraHeaders) {
106
- return this.ExecuteRequestWrapper("/Catalog/GetDraftItems", request, "X-EntityToken", extraHeaders);
107
- }
108
- /**
109
- * Retrieves a paginated list of the items from the draft catalog created by the Entity. Up to 50 items can be returned at
110
- * once. You can use continuation tokens to paginate through results that return greater than the limit.
111
- * GetEntityDraftItems does not work off a cache of the Catalog and should be used when trying to get recent item updates.
112
- * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getentitydraftitems
113
- */
114
- GetEntityDraftItems(request, extraHeaders) {
115
- return this.ExecuteRequestWrapper("/Catalog/GetEntityDraftItems", request, "X-EntityToken", extraHeaders);
116
- }
117
- /**
118
- * Gets the submitted review for the specified item by the authenticated entity. Individual ratings and reviews data update
119
- * in near real time with delays within a few seconds.
120
- * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getentityitemreview
121
- */
122
- GetEntityItemReview(request, extraHeaders) {
123
- return this.ExecuteRequestWrapper("/Catalog/GetEntityItemReview", request, "X-EntityToken", extraHeaders);
124
- }
125
- /**
126
- * Get Inventory Collection Ids. Up to 50 Ids can be returned at once (or 250 with response compression enabled). You can
127
- * use continuation tokens to paginate through results that return greater than the limit. It can take a few seconds for
128
- * new collection Ids to show up.
129
- * https://docs.microsoft.com/rest/api/playfab/economy/inventory/getinventorycollectionids
130
- */
131
- GetInventoryCollectionIds(request, extraHeaders) {
132
- return this.ExecuteRequestWrapper("/Inventory/GetInventoryCollectionIds", request, "X-EntityToken", extraHeaders);
133
- }
134
- /**
135
- * Get current inventory items.
136
- * https://docs.microsoft.com/rest/api/playfab/economy/inventory/getinventoryitems
137
- */
138
- GetInventoryItems(request, extraHeaders) {
139
- return this.ExecuteRequestWrapper("/Inventory/GetInventoryItems", request, "X-EntityToken", extraHeaders);
140
- }
141
- /**
142
- * Get the status of an inventory operation using an OperationToken. You can check on the operation status at anytime
143
- * within 1 day of the request by passing the TransactionToken to the this API.
144
- * https://docs.microsoft.com/rest/api/playfab/economy/inventory/getinventoryoperationstatus
145
- */
146
- GetInventoryOperationStatus(request, extraHeaders) {
147
- return this.ExecuteRequestWrapper("/Inventory/GetInventoryOperationStatus", request, "X-EntityToken", extraHeaders);
148
- }
149
- /**
150
- * Retrieves an item from the public catalog. GetItem does not work off a cache of the Catalog and should be used when
151
- * trying to get recent item updates. However, please note that item references data is cached and may take a few moments
152
- * for changes to propagate.
153
- * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitem
154
- */
155
- GetItem(request, extraHeaders) {
156
- return this.ExecuteRequestWrapper("/Catalog/GetItem", request, "X-EntityToken", extraHeaders);
157
- }
158
- /**
159
- * Search for a given item and return a set of bundles and stores containing the item. Up to 50 items can be returned at
160
- * once. You can use continuation tokens to paginate through results that return greater than the limit. This API is
161
- * intended for tooling/automation scenarios and has a reduced RPS with Player Entities limited to 30 requests in 300
162
- * seconds and Title Entities limited to 100 requests in 10 seconds.
163
- * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitemcontainers
164
- */
165
- GetItemContainers(request, extraHeaders) {
166
- return this.ExecuteRequestWrapper("/Catalog/GetItemContainers", request, "X-EntityToken", extraHeaders);
167
- }
168
- /**
169
- * Gets the moderation state for an item, including the concern category and string reason. More information about
170
- * moderation states can be found here: https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/ugc/moderation
171
- * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitemmoderationstate
172
- */
173
- GetItemModerationState(request, extraHeaders) {
174
- return this.ExecuteRequestWrapper("/Catalog/GetItemModerationState", request, "X-EntityToken", extraHeaders);
175
- }
176
- /**
177
- * Gets the status of a publish of an item.
178
- * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitempublishstatus
179
- */
180
- GetItemPublishStatus(request, extraHeaders) {
181
- return this.ExecuteRequestWrapper("/Catalog/GetItemPublishStatus", request, "X-EntityToken", extraHeaders);
182
- }
183
- /**
184
- * Get a paginated set of reviews associated with the specified item. Individual ratings and reviews data update in near
185
- * real time with delays within a few seconds.
186
- * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitemreviews
187
- */
188
- GetItemReviews(request, extraHeaders) {
189
- return this.ExecuteRequestWrapper("/Catalog/GetItemReviews", request, "X-EntityToken", extraHeaders);
190
- }
191
- /**
192
- * Get a summary of all ratings and reviews associated with the specified item. Summary ratings data is cached with update
193
- * data coming within 15 minutes.
194
- * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitemreviewsummary
195
- */
196
- GetItemReviewSummary(request, extraHeaders) {
197
- return this.ExecuteRequestWrapper("/Catalog/GetItemReviewSummary", request, "X-EntityToken", extraHeaders);
198
- }
199
- /**
200
- * Retrieves items from the public catalog. Up to 50 items can be returned at once. GetItems does not work off a cache of
201
- * the Catalog and should be used when trying to get recent item updates. However, please note that item references data is
202
- * cached and may take a few moments for changes to propagate.
203
- * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitems
204
- */
205
- GetItems(request, extraHeaders) {
206
- return this.ExecuteRequestWrapper("/Catalog/GetItems", request, "X-EntityToken", extraHeaders);
207
- }
208
- /**
209
- * Gets the access tokens.
210
- * https://docs.microsoft.com/rest/api/playfab/economy/inventory/getmicrosoftstoreaccesstokens
211
- */
212
- GetMicrosoftStoreAccessTokens(request, extraHeaders) {
213
- return this.ExecuteRequestWrapper("/Inventory/GetMicrosoftStoreAccessTokens", request, "X-EntityToken", extraHeaders);
214
- }
215
- /**
216
- * Get transaction history for a player. Up to 250 Events can be returned at once. You can use continuation tokens to
217
- * paginate through results that return greater than the limit. Getting transaction history has a lower RPS limit than
218
- * getting a Player's inventory with Player Entities having a limit of 30 requests in 300 seconds.
219
- * https://docs.microsoft.com/rest/api/playfab/economy/inventory/gettransactionhistory
220
- */
221
- GetTransactionHistory(request, extraHeaders) {
222
- return this.ExecuteRequestWrapper("/Inventory/GetTransactionHistory", request, "X-EntityToken", extraHeaders);
223
- }
224
- /**
225
- * Initiates a publish of an item from the working catalog to the public catalog. You can use the GetItemPublishStatus API
226
- * to track the state of the item publish.
227
- * https://docs.microsoft.com/rest/api/playfab/economy/catalog/publishdraftitem
228
- */
229
- PublishDraftItem(request, extraHeaders) {
230
- return this.ExecuteRequestWrapper("/Catalog/PublishDraftItem", request, "X-EntityToken", extraHeaders);
231
- }
232
- /**
233
- * Purchase an item or bundle. Up to 10,000 stacks of items can be added to a single inventory collection. Stack size is
234
- * uncapped.
235
- * https://docs.microsoft.com/rest/api/playfab/economy/inventory/purchaseinventoryitems
236
- */
237
- PurchaseInventoryItems(request, extraHeaders) {
238
- return this.ExecuteRequestWrapper("/Inventory/PurchaseInventoryItems", request, "X-EntityToken", extraHeaders);
239
- }
240
- /**
241
- * Redeem items.
242
- * https://docs.microsoft.com/rest/api/playfab/economy/inventory/redeemappleappstoreinventoryitems
243
- */
244
- RedeemAppleAppStoreInventoryItems(request, extraHeaders) {
245
- return this.ExecuteRequestWrapper("/Inventory/RedeemAppleAppStoreInventoryItems", request, "X-EntityToken", extraHeaders);
246
- }
247
- /**
248
- * Redeem items.
249
- * https://docs.microsoft.com/rest/api/playfab/economy/inventory/redeemgoogleplayinventoryitems
250
- */
251
- RedeemGooglePlayInventoryItems(request, extraHeaders) {
252
- return this.ExecuteRequestWrapper("/Inventory/RedeemGooglePlayInventoryItems", request, "X-EntityToken", extraHeaders);
253
- }
254
- /**
255
- * Redeem items.
256
- * https://docs.microsoft.com/rest/api/playfab/economy/inventory/redeemmicrosoftstoreinventoryitems
257
- */
258
- RedeemMicrosoftStoreInventoryItems(request, extraHeaders) {
259
- return this.ExecuteRequestWrapper("/Inventory/RedeemMicrosoftStoreInventoryItems", request, "X-EntityToken", extraHeaders);
260
- }
261
- /**
262
- * Redeem items.
263
- * https://docs.microsoft.com/rest/api/playfab/economy/inventory/redeemnintendoeshopinventoryitems
264
- */
265
- RedeemNintendoEShopInventoryItems(request, extraHeaders) {
266
- return this.ExecuteRequestWrapper("/Inventory/RedeemNintendoEShopInventoryItems", request, "X-EntityToken", extraHeaders);
267
- }
268
- /**
269
- * Redeem items.
270
- * https://docs.microsoft.com/rest/api/playfab/economy/inventory/redeemplaystationstoreinventoryitems
271
- */
272
- RedeemPlayStationStoreInventoryItems(request, extraHeaders) {
273
- return this.ExecuteRequestWrapper("/Inventory/RedeemPlayStationStoreInventoryItems", request, "X-EntityToken", extraHeaders);
274
- }
275
- /**
276
- * Redeem items.
277
- * https://docs.microsoft.com/rest/api/playfab/economy/inventory/redeemsteaminventoryitems
278
- */
279
- RedeemSteamInventoryItems(request, extraHeaders) {
280
- return this.ExecuteRequestWrapper("/Inventory/RedeemSteamInventoryItems", request, "X-EntityToken", extraHeaders);
281
- }
282
- /**
283
- * Submit a report for an item, indicating in what way the item is inappropriate.
284
- * https://docs.microsoft.com/rest/api/playfab/economy/catalog/reportitem
285
- */
286
- ReportItem(request, extraHeaders) {
287
- return this.ExecuteRequestWrapper("/Catalog/ReportItem", request, "X-EntityToken", extraHeaders);
288
- }
289
- /**
290
- * Submit a report for a review
291
- * https://docs.microsoft.com/rest/api/playfab/economy/catalog/reportitemreview
292
- */
293
- ReportItemReview(request, extraHeaders) {
294
- return this.ExecuteRequestWrapper("/Catalog/ReportItemReview", request, "X-EntityToken", extraHeaders);
295
- }
296
- /**
297
- * Creates or updates a review for the specified item. More information around the caching surrounding item ratings and
298
- * reviews can be found here:
299
- * https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/catalog/ratings#ratings-design-and-caching
300
- * https://docs.microsoft.com/rest/api/playfab/economy/catalog/reviewitem
301
- */
302
- ReviewItem(request, extraHeaders) {
303
- return this.ExecuteRequestWrapper("/Catalog/ReviewItem", request, "X-EntityToken", extraHeaders);
304
- }
305
- /**
306
- * Executes a search against the public catalog using the provided search parameters and returns a set of paginated
307
- * results. SearchItems uses a cache of the catalog with item updates taking up to a few minutes to propagate. You should
308
- * use the GetItem API for when trying to immediately get recent item updates. More information about the Search API can be
309
- * found here: https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/catalog/search
310
- * https://docs.microsoft.com/rest/api/playfab/economy/catalog/searchitems
311
- */
312
- SearchItems(request, extraHeaders) {
313
- return this.ExecuteRequestWrapper("/Catalog/SearchItems", request, "X-EntityToken", extraHeaders);
314
- }
315
- /**
316
- * Sets the moderation state for an item, including the concern category and string reason. More information about
317
- * moderation states can be found here: https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/ugc/moderation
318
- * https://docs.microsoft.com/rest/api/playfab/economy/catalog/setitemmoderationstate
319
- */
320
- SetItemModerationState(request, extraHeaders) {
321
- return this.ExecuteRequestWrapper("/Catalog/SetItemModerationState", request, "X-EntityToken", extraHeaders);
322
- }
323
- /**
324
- * Submit a vote for a review, indicating whether the review was helpful or unhelpful.
325
- * https://docs.microsoft.com/rest/api/playfab/economy/catalog/submititemreviewvote
326
- */
327
- SubmitItemReviewVote(request, extraHeaders) {
328
- return this.ExecuteRequestWrapper("/Catalog/SubmitItemReviewVote", request, "X-EntityToken", extraHeaders);
329
- }
330
- /**
331
- * Subtract inventory items.
332
- * https://docs.microsoft.com/rest/api/playfab/economy/inventory/subtractinventoryitems
333
- */
334
- SubtractInventoryItems(request, extraHeaders) {
335
- return this.ExecuteRequestWrapper("/Inventory/SubtractInventoryItems", request, "X-EntityToken", extraHeaders);
336
- }
337
- /**
338
- * Submit a request to takedown one or more reviews.
339
- * https://docs.microsoft.com/rest/api/playfab/economy/catalog/takedownitemreviews
340
- */
341
- TakedownItemReviews(request, extraHeaders) {
342
- return this.ExecuteRequestWrapper("/Catalog/TakedownItemReviews", request, "X-EntityToken", extraHeaders);
343
- }
344
- /**
345
- * Transfer inventory items. When transferring across collections, a 202 response indicates that the transfer did not
346
- * complete within the timeframe of the request. You can identify the pending operations by looking for OperationStatus =
347
- * 'InProgress'. You can check on the operation status at anytime within 1 day of the request by passing the
348
- * TransactionToken to the GetInventoryOperationStatus API. More information about item transfer scenarios can be found
349
- * here:
350
- * https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/inventory/?tabs=inventory-game-manager#transfer-inventory-items
351
- * https://docs.microsoft.com/rest/api/playfab/economy/inventory/transferinventoryitems
352
- */
353
- TransferInventoryItems(request, extraHeaders) {
354
- return this.ExecuteRequestWrapper("/Inventory/TransferInventoryItems", request, "X-EntityToken", extraHeaders);
355
- }
356
- /**
357
- * Updates the configuration for the catalog. Only Title Entities can call this API. There is a limit of 10 requests in 10
358
- * seconds for this API. More information about the Catalog Config can be found here:
359
- * https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/settings
360
- * https://docs.microsoft.com/rest/api/playfab/economy/catalog/updatecatalogconfig
361
- */
362
- UpdateCatalogConfig(request, extraHeaders) {
363
- return this.ExecuteRequestWrapper("/Catalog/UpdateCatalogConfig", request, "X-EntityToken", extraHeaders);
364
- }
365
- /**
366
- * Update the metadata for an item in the working catalog. Note: SAS tokens provided are valid for 1 hour.
367
- * https://docs.microsoft.com/rest/api/playfab/economy/catalog/updatedraftitem
368
- */
369
- UpdateDraftItem(request, extraHeaders) {
370
- return this.ExecuteRequestWrapper("/Catalog/UpdateDraftItem", request, "X-EntityToken", extraHeaders);
371
- }
372
- /**
373
- * Update inventory items
374
- * https://docs.microsoft.com/rest/api/playfab/economy/inventory/updateinventoryitems
375
- */
376
- UpdateInventoryItems(request, extraHeaders) {
377
- return this.ExecuteRequestWrapper("/Inventory/UpdateInventoryItems", request, "X-EntityToken", extraHeaders);
378
- }
379
- };
380
-
381
- export {
382
- PlayFabEconomyApi
383
- };
384
- //# sourceMappingURL=chunk-USKFWNQK.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/apis/PlayFabEconomyApi.ts"],"sourcesContent":["import type {\n AddInventoryItemsRequest,\n CreateDraftItemRequest,\n CreateUploadUrlsRequest,\n DeleteEntityItemReviewsRequest,\n DeleteInventoryCollectionRequest,\n DeleteInventoryItemsRequest,\n DeleteItemRequest,\n ExecuteInventoryOperationsRequest,\n ExecuteTransferOperationsRequest,\n GetCatalogConfigRequest,\n GetDraftItemRequest,\n GetDraftItemsRequest,\n GetEntityDraftItemsRequest,\n GetEntityItemReviewRequest,\n GetInventoryCollectionIdsRequest,\n GetInventoryItemsRequest,\n GetInventoryOperationStatusRequest,\n GetItemRequest,\n GetItemContainersRequest,\n GetItemModerationStateRequest,\n GetItemPublishStatusRequest,\n GetItemReviewsRequest,\n GetItemReviewSummaryRequest,\n GetItemsRequest,\n GetMicrosoftStoreAccessTokensRequest,\n GetTransactionHistoryRequest,\n PublishDraftItemRequest,\n PurchaseInventoryItemsRequest,\n RedeemAppleAppStoreInventoryItemsRequest,\n RedeemGooglePlayInventoryItemsRequest,\n RedeemMicrosoftStoreInventoryItemsRequest,\n RedeemNintendoEShopInventoryItemsRequest,\n RedeemPlayStationStoreInventoryItemsRequest,\n RedeemSteamInventoryItemsRequest,\n ReportItemRequest,\n ReportItemReviewRequest,\n ReviewItemRequest,\n SearchItemsRequest,\n SetItemModerationStateRequest,\n SubmitItemReviewVoteRequest,\n SubtractInventoryItemsRequest,\n TakedownItemReviewsRequest,\n TransferInventoryItemsRequest,\n UpdateCatalogConfigRequest,\n UpdateDraftItemRequest,\n UpdateInventoryItemsRequest,\n AddInventoryItemsResponse,\n CreateDraftItemResponse,\n CreateUploadUrlsResponse,\n DeleteEntityItemReviewsResponse,\n DeleteInventoryCollectionResponse,\n DeleteInventoryItemsResponse,\n DeleteItemResponse,\n ExecuteInventoryOperationsResponse,\n ExecuteTransferOperationsResponse,\n GetCatalogConfigResponse,\n GetDraftItemResponse,\n GetDraftItemsResponse,\n GetEntityDraftItemsResponse,\n GetEntityItemReviewResponse,\n GetInventoryCollectionIdsResponse,\n GetInventoryItemsResponse,\n GetInventoryOperationStatusResponse,\n GetItemResponse,\n GetItemContainersResponse,\n GetItemModerationStateResponse,\n GetItemPublishStatusResponse,\n GetItemReviewsResponse,\n GetItemReviewSummaryResponse,\n GetItemsResponse,\n GetMicrosoftStoreAccessTokensResponse,\n GetTransactionHistoryResponse,\n PublishDraftItemResponse,\n PurchaseInventoryItemsResponse,\n RedeemAppleAppStoreInventoryItemsResponse,\n RedeemGooglePlayInventoryItemsResponse,\n RedeemMicrosoftStoreInventoryItemsResponse,\n RedeemNintendoEShopInventoryItemsResponse,\n RedeemPlayStationStoreInventoryItemsResponse,\n RedeemSteamInventoryItemsResponse,\n ReportItemResponse,\n ReportItemReviewResponse,\n ReviewItemResponse,\n SearchItemsResponse,\n SetItemModerationStateResponse,\n SubmitItemReviewVoteResponse,\n SubtractInventoryItemsResponse,\n TakedownItemReviewsResponse,\n TransferInventoryItemsResponse,\n UpdateCatalogConfigResponse,\n UpdateDraftItemResponse,\n UpdateInventoryItemsResponse,\n} from \"../types/PlayFabEconomyApi\";\nimport { PlayFabCommon } from \"../PlayFabCommon\";\n\nexport default class PlayFabEconomyApi extends PlayFabCommon {\n\n /**\n * Add inventory items. Up to 10,000 stacks of items can be added to a single inventory collection. Stack size is uncapped.\n * https://docs.microsoft.com/rest/api/playfab/economy/inventory/addinventoryitems\n */\n AddInventoryItems (request: AddInventoryItemsRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<AddInventoryItemsResponse>(\"/Inventory/AddInventoryItems\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Creates a new item in the working catalog using provided metadata. Note: SAS tokens provided are valid for 1 hour.\n * https://docs.microsoft.com/rest/api/playfab/economy/catalog/createdraftitem\n */\n CreateDraftItem (request: CreateDraftItemRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<CreateDraftItemResponse>(\"/Catalog/CreateDraftItem\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Creates one or more upload URLs which can be used by the client to upload raw file data. Content URls and uploaded\n * content will be garbage collected after 24 hours if not attached to a draft or published item. Detailed pricing info\n * around uploading content can be found here:\n * https://learn.microsoft.com/en-us/gaming/playfab/features/pricing/meters/catalog-meters\n * https://docs.microsoft.com/rest/api/playfab/economy/catalog/createuploadurls\n */\n CreateUploadUrls (request: CreateUploadUrlsRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<CreateUploadUrlsResponse>(\"/Catalog/CreateUploadUrls\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Deletes all reviews, helpfulness votes, and ratings submitted by the entity specified.\n * https://docs.microsoft.com/rest/api/playfab/economy/catalog/deleteentityitemreviews\n */\n DeleteEntityItemReviews (request: DeleteEntityItemReviewsRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<DeleteEntityItemReviewsResponse>(\"/Catalog/DeleteEntityItemReviews\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Delete an Inventory Collection. More information about Inventory Collections can be found here:\n * https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/inventory/collections\n * https://docs.microsoft.com/rest/api/playfab/economy/inventory/deleteinventorycollection\n */\n DeleteInventoryCollection (request: DeleteInventoryCollectionRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<DeleteInventoryCollectionResponse>(\"/Inventory/DeleteInventoryCollection\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Delete inventory items\n * https://docs.microsoft.com/rest/api/playfab/economy/inventory/deleteinventoryitems\n */\n DeleteInventoryItems (request: DeleteInventoryItemsRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<DeleteInventoryItemsResponse>(\"/Inventory/DeleteInventoryItems\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Removes an item from working catalog and all published versions from the public catalog.\n * https://docs.microsoft.com/rest/api/playfab/economy/catalog/deleteitem\n */\n DeleteItem (request: DeleteItemRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<DeleteItemResponse>(\"/Catalog/DeleteItem\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Execute a list of Inventory Operations. A maximum list of 50 operations can be performed by a single request. There is\n * also a limit to 300 items that can be modified/added in a single request. For example, adding a bundle with 50 items\n * counts as 50 items modified. All operations must be done within a single inventory collection. This API has a reduced\n * RPS compared to an individual inventory operation with Player Entities limited to 60 requests in 90 seconds.\n * https://docs.microsoft.com/rest/api/playfab/economy/inventory/executeinventoryoperations\n */\n ExecuteInventoryOperations (request: ExecuteInventoryOperationsRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<ExecuteInventoryOperationsResponse>(\"/Inventory/ExecuteInventoryOperations\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Transfer a list of inventory items. A maximum list of 50 operations can be performed by a single request. When the\n * response code is 202, one or more operations did not complete within the timeframe of the request. You can identify the\n * pending operations by looking for OperationStatus = 'InProgress'. You can check on the operation status at anytime\n * within 1 day of the request by passing the TransactionToken to the GetInventoryOperationStatus API.\n * https://docs.microsoft.com/rest/api/playfab/economy/inventory/executetransferoperations\n */\n ExecuteTransferOperations (request: ExecuteTransferOperationsRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<ExecuteTransferOperationsResponse>(\"/Inventory/ExecuteTransferOperations\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Gets the configuration for the catalog. Only Title Entities can call this API. There is a limit of 100 requests in 10\n * seconds for this API. More information about the Catalog Config can be found here:\n * https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/settings\n * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getcatalogconfig\n */\n GetCatalogConfig (request: GetCatalogConfigRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetCatalogConfigResponse>(\"/Catalog/GetCatalogConfig\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Retrieves an item from the working catalog. This item represents the current working state of the item. GetDraftItem\n * does not work off a cache of the Catalog and should be used when trying to get recent item updates. However, please note\n * that item references data is cached and may take a few moments for changes to propagate. Note: SAS tokens provided are\n * valid for 1 hour.\n * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getdraftitem\n */\n GetDraftItem (request: GetDraftItemRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetDraftItemResponse>(\"/Catalog/GetDraftItem\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Retrieves a paginated list of the items from the draft catalog. Up to 50 IDs can be retrieved in a single request.\n * GetDraftItems does not work off a cache of the Catalog and should be used when trying to get recent item updates. Note:\n * SAS tokens provided are valid for 1 hour.\n * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getdraftitems\n */\n GetDraftItems (request: GetDraftItemsRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetDraftItemsResponse>(\"/Catalog/GetDraftItems\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Retrieves a paginated list of the items from the draft catalog created by the Entity. Up to 50 items can be returned at\n * once. You can use continuation tokens to paginate through results that return greater than the limit.\n * GetEntityDraftItems does not work off a cache of the Catalog and should be used when trying to get recent item updates.\n * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getentitydraftitems\n */\n GetEntityDraftItems (request: GetEntityDraftItemsRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetEntityDraftItemsResponse>(\"/Catalog/GetEntityDraftItems\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Gets the submitted review for the specified item by the authenticated entity. Individual ratings and reviews data update\n * in near real time with delays within a few seconds.\n * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getentityitemreview\n */\n GetEntityItemReview (request: GetEntityItemReviewRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetEntityItemReviewResponse>(\"/Catalog/GetEntityItemReview\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Get Inventory Collection Ids. Up to 50 Ids can be returned at once (or 250 with response compression enabled). You can\n * use continuation tokens to paginate through results that return greater than the limit. It can take a few seconds for\n * new collection Ids to show up.\n * https://docs.microsoft.com/rest/api/playfab/economy/inventory/getinventorycollectionids\n */\n GetInventoryCollectionIds (request: GetInventoryCollectionIdsRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetInventoryCollectionIdsResponse>(\"/Inventory/GetInventoryCollectionIds\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Get current inventory items.\n * https://docs.microsoft.com/rest/api/playfab/economy/inventory/getinventoryitems\n */\n GetInventoryItems (request: GetInventoryItemsRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetInventoryItemsResponse>(\"/Inventory/GetInventoryItems\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Get the status of an inventory operation using an OperationToken. You can check on the operation status at anytime\n * within 1 day of the request by passing the TransactionToken to the this API.\n * https://docs.microsoft.com/rest/api/playfab/economy/inventory/getinventoryoperationstatus\n */\n GetInventoryOperationStatus (request: GetInventoryOperationStatusRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetInventoryOperationStatusResponse>(\"/Inventory/GetInventoryOperationStatus\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Retrieves an item from the public catalog. GetItem does not work off a cache of the Catalog and should be used when\n * trying to get recent item updates. However, please note that item references data is cached and may take a few moments\n * for changes to propagate.\n * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitem\n */\n GetItem (request: GetItemRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetItemResponse>(\"/Catalog/GetItem\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Search for a given item and return a set of bundles and stores containing the item. Up to 50 items can be returned at\n * once. You can use continuation tokens to paginate through results that return greater than the limit. This API is\n * intended for tooling/automation scenarios and has a reduced RPS with Player Entities limited to 30 requests in 300\n * seconds and Title Entities limited to 100 requests in 10 seconds.\n * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitemcontainers\n */\n GetItemContainers (request: GetItemContainersRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetItemContainersResponse>(\"/Catalog/GetItemContainers\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Gets the moderation state for an item, including the concern category and string reason. More information about\n * moderation states can be found here: https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/ugc/moderation\n * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitemmoderationstate\n */\n GetItemModerationState (request: GetItemModerationStateRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetItemModerationStateResponse>(\"/Catalog/GetItemModerationState\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Gets the status of a publish of an item.\n * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitempublishstatus\n */\n GetItemPublishStatus (request: GetItemPublishStatusRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetItemPublishStatusResponse>(\"/Catalog/GetItemPublishStatus\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Get a paginated set of reviews associated with the specified item. Individual ratings and reviews data update in near\n * real time with delays within a few seconds.\n * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitemreviews\n */\n GetItemReviews (request: GetItemReviewsRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetItemReviewsResponse>(\"/Catalog/GetItemReviews\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Get a summary of all ratings and reviews associated with the specified item. Summary ratings data is cached with update\n * data coming within 15 minutes.\n * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitemreviewsummary\n */\n GetItemReviewSummary (request: GetItemReviewSummaryRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetItemReviewSummaryResponse>(\"/Catalog/GetItemReviewSummary\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Retrieves items from the public catalog. Up to 50 items can be returned at once. GetItems does not work off a cache of\n * the Catalog and should be used when trying to get recent item updates. However, please note that item references data is\n * cached and may take a few moments for changes to propagate.\n * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitems\n */\n GetItems (request: GetItemsRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetItemsResponse>(\"/Catalog/GetItems\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Gets the access tokens.\n * https://docs.microsoft.com/rest/api/playfab/economy/inventory/getmicrosoftstoreaccesstokens\n */\n GetMicrosoftStoreAccessTokens (request: GetMicrosoftStoreAccessTokensRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetMicrosoftStoreAccessTokensResponse>(\"/Inventory/GetMicrosoftStoreAccessTokens\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Get transaction history for a player. Up to 250 Events can be returned at once. You can use continuation tokens to\n * paginate through results that return greater than the limit. Getting transaction history has a lower RPS limit than\n * getting a Player's inventory with Player Entities having a limit of 30 requests in 300 seconds.\n * https://docs.microsoft.com/rest/api/playfab/economy/inventory/gettransactionhistory\n */\n GetTransactionHistory (request: GetTransactionHistoryRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetTransactionHistoryResponse>(\"/Inventory/GetTransactionHistory\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Initiates a publish of an item from the working catalog to the public catalog. You can use the GetItemPublishStatus API\n * to track the state of the item publish.\n * https://docs.microsoft.com/rest/api/playfab/economy/catalog/publishdraftitem\n */\n PublishDraftItem (request: PublishDraftItemRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<PublishDraftItemResponse>(\"/Catalog/PublishDraftItem\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Purchase an item or bundle. Up to 10,000 stacks of items can be added to a single inventory collection. Stack size is\n * uncapped.\n * https://docs.microsoft.com/rest/api/playfab/economy/inventory/purchaseinventoryitems\n */\n PurchaseInventoryItems (request: PurchaseInventoryItemsRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<PurchaseInventoryItemsResponse>(\"/Inventory/PurchaseInventoryItems\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Redeem items.\n * https://docs.microsoft.com/rest/api/playfab/economy/inventory/redeemappleappstoreinventoryitems\n */\n RedeemAppleAppStoreInventoryItems (request: RedeemAppleAppStoreInventoryItemsRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<RedeemAppleAppStoreInventoryItemsResponse>(\"/Inventory/RedeemAppleAppStoreInventoryItems\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Redeem items.\n * https://docs.microsoft.com/rest/api/playfab/economy/inventory/redeemgoogleplayinventoryitems\n */\n RedeemGooglePlayInventoryItems (request: RedeemGooglePlayInventoryItemsRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<RedeemGooglePlayInventoryItemsResponse>(\"/Inventory/RedeemGooglePlayInventoryItems\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Redeem items.\n * https://docs.microsoft.com/rest/api/playfab/economy/inventory/redeemmicrosoftstoreinventoryitems\n */\n RedeemMicrosoftStoreInventoryItems (request: RedeemMicrosoftStoreInventoryItemsRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<RedeemMicrosoftStoreInventoryItemsResponse>(\"/Inventory/RedeemMicrosoftStoreInventoryItems\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Redeem items.\n * https://docs.microsoft.com/rest/api/playfab/economy/inventory/redeemnintendoeshopinventoryitems\n */\n RedeemNintendoEShopInventoryItems (request: RedeemNintendoEShopInventoryItemsRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<RedeemNintendoEShopInventoryItemsResponse>(\"/Inventory/RedeemNintendoEShopInventoryItems\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Redeem items.\n * https://docs.microsoft.com/rest/api/playfab/economy/inventory/redeemplaystationstoreinventoryitems\n */\n RedeemPlayStationStoreInventoryItems (request: RedeemPlayStationStoreInventoryItemsRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<RedeemPlayStationStoreInventoryItemsResponse>(\"/Inventory/RedeemPlayStationStoreInventoryItems\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Redeem items.\n * https://docs.microsoft.com/rest/api/playfab/economy/inventory/redeemsteaminventoryitems\n */\n RedeemSteamInventoryItems (request: RedeemSteamInventoryItemsRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<RedeemSteamInventoryItemsResponse>(\"/Inventory/RedeemSteamInventoryItems\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Submit a report for an item, indicating in what way the item is inappropriate.\n * https://docs.microsoft.com/rest/api/playfab/economy/catalog/reportitem\n */\n ReportItem (request: ReportItemRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<ReportItemResponse>(\"/Catalog/ReportItem\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Submit a report for a review\n * https://docs.microsoft.com/rest/api/playfab/economy/catalog/reportitemreview\n */\n ReportItemReview (request: ReportItemReviewRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<ReportItemReviewResponse>(\"/Catalog/ReportItemReview\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Creates or updates a review for the specified item. More information around the caching surrounding item ratings and\n * reviews can be found here:\n * https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/catalog/ratings#ratings-design-and-caching\n * https://docs.microsoft.com/rest/api/playfab/economy/catalog/reviewitem\n */\n ReviewItem (request: ReviewItemRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<ReviewItemResponse>(\"/Catalog/ReviewItem\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Executes a search against the public catalog using the provided search parameters and returns a set of paginated\n * results. SearchItems uses a cache of the catalog with item updates taking up to a few minutes to propagate. You should\n * use the GetItem API for when trying to immediately get recent item updates. More information about the Search API can be\n * found here: https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/catalog/search\n * https://docs.microsoft.com/rest/api/playfab/economy/catalog/searchitems\n */\n SearchItems (request: SearchItemsRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<SearchItemsResponse>(\"/Catalog/SearchItems\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Sets the moderation state for an item, including the concern category and string reason. More information about\n * moderation states can be found here: https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/ugc/moderation\n * https://docs.microsoft.com/rest/api/playfab/economy/catalog/setitemmoderationstate\n */\n SetItemModerationState (request: SetItemModerationStateRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<SetItemModerationStateResponse>(\"/Catalog/SetItemModerationState\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Submit a vote for a review, indicating whether the review was helpful or unhelpful.\n * https://docs.microsoft.com/rest/api/playfab/economy/catalog/submititemreviewvote\n */\n SubmitItemReviewVote (request: SubmitItemReviewVoteRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<SubmitItemReviewVoteResponse>(\"/Catalog/SubmitItemReviewVote\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Subtract inventory items.\n * https://docs.microsoft.com/rest/api/playfab/economy/inventory/subtractinventoryitems\n */\n SubtractInventoryItems (request: SubtractInventoryItemsRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<SubtractInventoryItemsResponse>(\"/Inventory/SubtractInventoryItems\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Submit a request to takedown one or more reviews.\n * https://docs.microsoft.com/rest/api/playfab/economy/catalog/takedownitemreviews\n */\n TakedownItemReviews (request: TakedownItemReviewsRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<TakedownItemReviewsResponse>(\"/Catalog/TakedownItemReviews\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Transfer inventory items. When transferring across collections, a 202 response indicates that the transfer did not\n * complete within the timeframe of the request. You can identify the pending operations by looking for OperationStatus =\n * 'InProgress'. You can check on the operation status at anytime within 1 day of the request by passing the\n * TransactionToken to the GetInventoryOperationStatus API. More information about item transfer scenarios can be found\n * here:\n * https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/inventory/?tabs=inventory-game-manager#transfer-inventory-items\n * https://docs.microsoft.com/rest/api/playfab/economy/inventory/transferinventoryitems\n */\n TransferInventoryItems (request: TransferInventoryItemsRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<TransferInventoryItemsResponse>(\"/Inventory/TransferInventoryItems\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Updates the configuration for the catalog. Only Title Entities can call this API. There is a limit of 10 requests in 10\n * seconds for this API. More information about the Catalog Config can be found here:\n * https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/settings\n * https://docs.microsoft.com/rest/api/playfab/economy/catalog/updatecatalogconfig\n */\n UpdateCatalogConfig (request: UpdateCatalogConfigRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<UpdateCatalogConfigResponse>(\"/Catalog/UpdateCatalogConfig\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Update the metadata for an item in the working catalog. Note: SAS tokens provided are valid for 1 hour.\n * https://docs.microsoft.com/rest/api/playfab/economy/catalog/updatedraftitem\n */\n UpdateDraftItem (request: UpdateDraftItemRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<UpdateDraftItemResponse>(\"/Catalog/UpdateDraftItem\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Update inventory items\n * https://docs.microsoft.com/rest/api/playfab/economy/inventory/updateinventoryitems\n */\n UpdateInventoryItems (request: UpdateInventoryItemsRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<UpdateInventoryItemsResponse>(\"/Inventory/UpdateInventoryItems\", request, \"X-EntityToken\", extraHeaders);\n }\n\n};\n"],"mappings":";;;;;AAgGA,IAAqB,oBAArB,cAA+C,cAAc;AAAA;AAAA;AAAA;AAAA;AAAA,EAMzD,kBAAmB,SAAmC,cAAuC;AACzF,WAAO,KAAK,sBAAiD,gCAAgC,SAAS,iBAAiB,YAAY;AAAA,EACvI;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,gBAAiB,SAAiC,cAAuC;AACrF,WAAO,KAAK,sBAA+C,4BAA4B,SAAS,iBAAiB,YAAY;AAAA,EACjI;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EASA,iBAAkB,SAAkC,cAAuC;AACvF,WAAO,KAAK,sBAAgD,6BAA6B,SAAS,iBAAiB,YAAY;AAAA,EACnI;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,wBAAyB,SAAyC,cAAuC;AACrG,WAAO,KAAK,sBAAuD,oCAAoC,SAAS,iBAAiB,YAAY;AAAA,EACjJ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAOA,0BAA2B,SAA2C,cAAuC;AACzG,WAAO,KAAK,sBAAyD,wCAAwC,SAAS,iBAAiB,YAAY;AAAA,EACvJ;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA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AA;AAAA;AAAA;AAAA,EAWA,uBAAwB,SAAwC,cAAuC;AACnG,WAAO,KAAK,sBAAsD,qCAAqC,SAAS,iBAAiB,YAAY;AAAA,EACjJ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQA,oBAAqB,SAAqC,cAAuC;AAC7F,WAAO,KAAK,sBAAmD,gCAAgC,SAAS,iBAAiB,YAAY;AAAA,EACzI;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,gBAAiB,SAAiC,cAAuC;AACrF,WAAO,KAAK,sBAA+C,4BAA4B,SAAS,iBAAiB,YAAY;AAAA,EACjI;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,qBAAsB,SAAsC,cAAuC;AAC/F,WAAO,KAAK,sBAAoD,mCAAmC,SAAS,iBAAiB,YAAY;AAAA,EAC7I;AAEJ;","names":[]}
@@ -1,61 +0,0 @@
1
- import {
2
- PlayFabCommon
3
- } from "./chunk-62SULWOK.js";
4
-
5
- // src/apis/PlayFabDataApi.ts
6
- var PlayFabDataApi = class extends PlayFabCommon {
7
- /**
8
- * Abort pending file uploads to an entity's profile.
9
- * https://docs.microsoft.com/rest/api/playfab/data/file/abortfileuploads
10
- */
11
- AbortFileUploads(request, extraHeaders) {
12
- return this.ExecuteRequestWrapper("/File/AbortFileUploads", request, "X-EntityToken", extraHeaders);
13
- }
14
- /**
15
- * Delete files on an entity's profile.
16
- * https://docs.microsoft.com/rest/api/playfab/data/file/deletefiles
17
- */
18
- DeleteFiles(request, extraHeaders) {
19
- return this.ExecuteRequestWrapper("/File/DeleteFiles", request, "X-EntityToken", extraHeaders);
20
- }
21
- /**
22
- * Finalize file uploads to an entity's profile.
23
- * https://docs.microsoft.com/rest/api/playfab/data/file/finalizefileuploads
24
- */
25
- FinalizeFileUploads(request, extraHeaders) {
26
- return this.ExecuteRequestWrapper("/File/FinalizeFileUploads", request, "X-EntityToken", extraHeaders);
27
- }
28
- /**
29
- * Retrieves file metadata from an entity's profile.
30
- * https://docs.microsoft.com/rest/api/playfab/data/file/getfiles
31
- */
32
- GetFiles(request, extraHeaders) {
33
- return this.ExecuteRequestWrapper("/File/GetFiles", request, "X-EntityToken", extraHeaders);
34
- }
35
- /**
36
- * Retrieves objects from an entity's profile.
37
- * https://docs.microsoft.com/rest/api/playfab/data/object/getobjects
38
- */
39
- GetObjects(request, extraHeaders) {
40
- return this.ExecuteRequestWrapper("/Object/GetObjects", request, "X-EntityToken", extraHeaders);
41
- }
42
- /**
43
- * Initiates file uploads to an entity's profile.
44
- * https://docs.microsoft.com/rest/api/playfab/data/file/initiatefileuploads
45
- */
46
- InitiateFileUploads(request, extraHeaders) {
47
- return this.ExecuteRequestWrapper("/File/InitiateFileUploads", request, "X-EntityToken", extraHeaders);
48
- }
49
- /**
50
- * Sets objects on an entity's profile.
51
- * https://docs.microsoft.com/rest/api/playfab/data/object/setobjects
52
- */
53
- SetObjects(request, extraHeaders) {
54
- return this.ExecuteRequestWrapper("/Object/SetObjects", request, "X-EntityToken", extraHeaders);
55
- }
56
- };
57
-
58
- export {
59
- PlayFabDataApi
60
- };
61
- //# sourceMappingURL=chunk-UX7LFJCX.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/apis/PlayFabDataApi.ts"],"sourcesContent":["import type {\n AbortFileUploadsRequest,\n DeleteFilesRequest,\n FinalizeFileUploadsRequest,\n GetFilesRequest,\n GetObjectsRequest,\n InitiateFileUploadsRequest,\n SetObjectsRequest,\n AbortFileUploadsResponse,\n DeleteFilesResponse,\n FinalizeFileUploadsResponse,\n GetFilesResponse,\n GetObjectsResponse,\n InitiateFileUploadsResponse,\n SetObjectsResponse,\n} from \"../types/PlayFabDataApi\";\nimport { PlayFabCommon } from \"../PlayFabCommon\";\n\nexport default class PlayFabDataApi extends PlayFabCommon {\n\n /**\n * Abort pending file uploads to an entity's profile.\n * https://docs.microsoft.com/rest/api/playfab/data/file/abortfileuploads\n */\n AbortFileUploads (request: AbortFileUploadsRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<AbortFileUploadsResponse>(\"/File/AbortFileUploads\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Delete files on an entity's profile.\n * https://docs.microsoft.com/rest/api/playfab/data/file/deletefiles\n */\n DeleteFiles (request: DeleteFilesRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<DeleteFilesResponse>(\"/File/DeleteFiles\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Finalize file uploads to an entity's profile.\n * https://docs.microsoft.com/rest/api/playfab/data/file/finalizefileuploads\n */\n FinalizeFileUploads (request: FinalizeFileUploadsRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<FinalizeFileUploadsResponse>(\"/File/FinalizeFileUploads\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Retrieves file metadata from an entity's profile.\n * https://docs.microsoft.com/rest/api/playfab/data/file/getfiles\n */\n GetFiles (request: GetFilesRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetFilesResponse>(\"/File/GetFiles\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Retrieves objects from an entity's profile.\n * https://docs.microsoft.com/rest/api/playfab/data/object/getobjects\n */\n GetObjects (request: GetObjectsRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetObjectsResponse>(\"/Object/GetObjects\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Initiates file uploads to an entity's profile.\n * https://docs.microsoft.com/rest/api/playfab/data/file/initiatefileuploads\n */\n InitiateFileUploads (request: InitiateFileUploadsRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<InitiateFileUploadsResponse>(\"/File/InitiateFileUploads\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Sets objects on an entity's profile.\n * https://docs.microsoft.com/rest/api/playfab/data/object/setobjects\n */\n SetObjects (request: SetObjectsRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<SetObjectsResponse>(\"/Object/SetObjects\", request, \"X-EntityToken\", extraHeaders);\n }\n\n};\n"],"mappings":";;;;;AAkBA,IAAqB,iBAArB,cAA4C,cAAc;AAAA;AAAA;AAAA;AAAA;AAAA,EAMtD,iBAAkB,SAAkC,cAAuC;AACvF,WAAO,KAAK,sBAAgD,0BAA0B,SAAS,iBAAiB,YAAY;AAAA,EAChI;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,YAAa,SAA6B,cAAuC;AAC7E,WAAO,KAAK,sBAA2C,qBAAqB,SAAS,iBAAiB,YAAY;AAAA,EACtH;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,oBAAqB,SAAqC,cAAuC;AAC7F,WAAO,KAAK,sBAAmD,6BAA6B,SAAS,iBAAiB,YAAY;AAAA,EACtI;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,SAAU,SAA0B,cAAuC;AACvE,WAAO,KAAK,sBAAwC,kBAAkB,SAAS,iBAAiB,YAAY;AAAA,EAChH;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,WAAY,SAA4B,cAAuC;AAC3E,WAAO,KAAK,sBAA0C,sBAAsB,SAAS,iBAAiB,YAAY;AAAA,EACtH;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,oBAAqB,SAAqC,cAAuC;AAC7F,WAAO,KAAK,sBAAmD,6BAA6B,SAAS,iBAAiB,YAAY;AAAA,EACtI;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,WAAY,SAA4B,cAAuC;AAC3E,WAAO,KAAK,sBAA0C,sBAAsB,SAAS,iBAAiB,YAAY;AAAA,EACtH;AAEJ;","names":[]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/apis/PlayFabAuthenticationApi.ts"],"sourcesContent":["import type { EmptyResponse } from \"../types/PlayFab\";\nimport type {\n AuthenticateCustomIdRequest,\n DeleteRequest,\n GetEntityTokenRequest,\n ValidateEntityTokenRequest,\n AuthenticateCustomIdResult,\n GetEntityTokenResponse,\n ValidateEntityTokenResponse,\n} from \"../types/PlayFabAuthenticationApi\";\nimport { PlayFabCommon } from \"../PlayFabCommon\";\n\nexport default class PlayFabAuthenticationApi extends PlayFabCommon {\n\n /**\n * Create a game_server entity token and return a new or existing game_server entity.\n * https://docs.microsoft.com/rest/api/playfab/authentication/authentication/authenticategameserverwithcustomid\n */\n AuthenticateGameServerWithCustomId (request: AuthenticateCustomIdRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<AuthenticateCustomIdResult>(\"/GameServerIdentity/AuthenticateGameServerWithCustomId\", request, \"X-EntityToken\", extraHeaders)\n .then(result => {\n if (result?.EntityToken?.EntityToken)\n this.entityToken = result.EntityToken.EntityToken;\n return result;\n });\n }\n\n /**\n * Delete a game_server entity.\n * https://docs.microsoft.com/rest/api/playfab/authentication/authentication/delete\n */\n Delete (request: DeleteRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<EmptyResponse>(\"/GameServerIdentity/Delete\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Method to exchange a legacy AuthenticationTicket or title SecretKey for an Entity Token or to refresh a still valid\n * Entity Token.\n * https://docs.microsoft.com/rest/api/playfab/authentication/authentication/getentitytoken\n */\n GetEntityToken (request: GetEntityTokenRequest, extraHeaders?: Record<string, string>) {\n var authKey: string | null = null; var authValue: string | null = null;\n if (!authKey && this.sessionTicket) { var authInfo = this.GetAuthInfo(request, authKey=\"X-Authorization\"); authKey = authInfo.authKey, authValue = authInfo.authValue; }\n if (!authKey && this.settings.developerSecretKey) { var authInfo = this.GetAuthInfo(request, authKey=\"X-SecretKey\"); authKey = authInfo.authKey, authValue = authInfo.authValue; }\n return this.ExecuteRequestWrapper<GetEntityTokenResponse>(\"/Authentication/GetEntityToken\", request, authKey, extraHeaders)\n .then(result => {\n if (result?.EntityToken)\n this.entityToken = result.EntityToken;\n return result;\n });\n }\n\n /**\n * Method for a server to validate a client provided EntityToken. Only callable by the title entity.\n * https://docs.microsoft.com/rest/api/playfab/authentication/authentication/validateentitytoken\n */\n ValidateEntityToken (request: ValidateEntityTokenRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<ValidateEntityTokenResponse>(\"/Authentication/ValidateEntityToken\", request, \"X-EntityToken\", extraHeaders);\n }\n\n};\n"],"mappings":";;;;;AAYA,IAAqB,2BAArB,cAAsD,cAAc;AAAA;AAAA;AAAA;AAAA;AAAA,EAMhE,mCAAoC,SAAsC,cAAuC;AAC7G,WAAO,KAAK,sBAAkD,0DAA0D,SAAS,iBAAiB,YAAY,EAC7J,KAAK,YAAU;AApBxB;AAqBY,WAAI,sCAAQ,gBAAR,mBAAqB;AACrB,aAAK,cAAc,OAAO,YAAY;AAC1C,aAAO;AAAA,IACX,CAAC;AAAA,EACL;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,OAAQ,SAAwB,cAAuC;AACnE,WAAO,KAAK,sBAAqC,8BAA8B,SAAS,iBAAiB,YAAY;AAAA,EACzH;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAOA,eAAgB,SAAgC,cAAuC;AACnF,QAAI,UAAyB;AAAM,QAAI,YAA2B;AAClE,QAAI,CAAC,WAAW,KAAK,eAAe;AAAE,UAAI,WAAW,KAAK,YAAY,SAAS,UAAQ,iBAAiB;AAAG,gBAAU,SAAS,SAAS,YAAY,SAAS;AAAA,IAAW;AACvK,QAAI,CAAC,WAAW,KAAK,SAAS,oBAAoB;AAAE,UAAI,WAAW,KAAK,YAAY,SAAS,UAAQ,aAAa;AAAG,gBAAU,SAAS,SAAS,YAAY,SAAS;AAAA,IAAW;AACjL,WAAO,KAAK,sBAA8C,kCAAkC,SAAS,SAAS,YAAY,EACzH,KAAK,YAAU;AACZ,UAAI,iCAAQ;AACR,aAAK,cAAc,OAAO;AAC9B,aAAO;AAAA,IACX,CAAC;AAAA,EACL;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,oBAAqB,SAAqC,cAAuC;AAC7F,WAAO,KAAK,sBAAmD,uCAAuC,SAAS,iBAAiB,YAAY;AAAA,EAChJ;AAEJ;","names":[]}