@community-fabs/playfab-web-sdk 1.205.251205 → 1.208.260123

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 (61) hide show
  1. package/dist/Addon.js +2 -2
  2. package/dist/Admin.d.ts +1 -1
  3. package/dist/Admin.js +2 -2
  4. package/dist/Authentication.js +2 -2
  5. package/dist/Client.js +2 -2
  6. package/dist/CloudScript.js +2 -2
  7. package/dist/Data.js +2 -2
  8. package/dist/Economy.d.ts +6 -27
  9. package/dist/Economy.js +2 -2
  10. package/dist/Events.js +2 -2
  11. package/dist/Experimentation.js +2 -2
  12. package/dist/Groups.js +2 -2
  13. package/dist/Insights.js +2 -2
  14. package/dist/Localization.js +2 -2
  15. package/dist/Matchmaker.js +2 -2
  16. package/dist/Multiplayer.d.ts +4 -4
  17. package/dist/Multiplayer.js +2 -2
  18. package/dist/Profiles.js +2 -2
  19. package/dist/Progression.js +2 -2
  20. package/dist/Server.d.ts +40 -1
  21. package/dist/Server.js +2 -2
  22. package/dist/{chunk-VJ4BWFOW.js → chunk-2A2U2NDD.js} +2 -2
  23. package/dist/{chunk-HHFX5GXX.js → chunk-4FEFXY2Q.js} +2 -2
  24. package/dist/{chunk-5AY7MBNS.js → chunk-4X6QKOKX.js} +2 -2
  25. package/dist/{chunk-P6YXDZAV.js → chunk-767KNESS.js} +27 -2
  26. package/dist/chunk-767KNESS.js.map +1 -0
  27. package/dist/{chunk-EVMPRGQ2.js → chunk-7HFF3FXK.js} +2 -2
  28. package/dist/{chunk-KNWJTEXG.js → chunk-D27OVURU.js} +2 -2
  29. package/dist/{chunk-B4BE5I4A.js → chunk-IRAAV6IJ.js} +4 -16
  30. package/dist/chunk-IRAAV6IJ.js.map +1 -0
  31. package/dist/{chunk-PPGZ4AEJ.js → chunk-ITBE2DKM.js} +2 -2
  32. package/dist/{chunk-E3FFP3TM.js → chunk-K36WTX6I.js} +2 -2
  33. package/dist/{chunk-DVHJUVMI.js → chunk-LXTTLAQP.js} +2 -2
  34. package/dist/{chunk-73D4KIG4.js → chunk-MQF77KJ5.js} +3 -3
  35. package/dist/{chunk-73D4KIG4.js.map → chunk-MQF77KJ5.js.map} +1 -1
  36. package/dist/{chunk-L3PBS45C.js → chunk-O37DIACU.js} +2 -2
  37. package/dist/{chunk-DRSSJADT.js → chunk-QQU2NYAU.js} +2 -2
  38. package/dist/{chunk-LYJQAY3S.js → chunk-TZC6YIFT.js} +2 -2
  39. package/dist/{chunk-Y7OPROZF.js → chunk-ULFMGU2Q.js} +2 -2
  40. package/dist/{chunk-MSJIVNVR.js → chunk-VHVB43FY.js} +2 -2
  41. package/dist/{chunk-OJ5FCC4K.js → chunk-YKZ3VOPY.js} +2 -2
  42. package/dist/{chunk-E425DLUS.js → chunk-ZZPJWPDA.js} +6 -6
  43. package/dist/{chunk-E425DLUS.js.map → chunk-ZZPJWPDA.js.map} +1 -1
  44. package/dist/index.js +18 -18
  45. package/package.json +1 -1
  46. package/dist/chunk-B4BE5I4A.js.map +0 -1
  47. package/dist/chunk-P6YXDZAV.js.map +0 -1
  48. /package/dist/{chunk-VJ4BWFOW.js.map → chunk-2A2U2NDD.js.map} +0 -0
  49. /package/dist/{chunk-HHFX5GXX.js.map → chunk-4FEFXY2Q.js.map} +0 -0
  50. /package/dist/{chunk-5AY7MBNS.js.map → chunk-4X6QKOKX.js.map} +0 -0
  51. /package/dist/{chunk-EVMPRGQ2.js.map → chunk-7HFF3FXK.js.map} +0 -0
  52. /package/dist/{chunk-KNWJTEXG.js.map → chunk-D27OVURU.js.map} +0 -0
  53. /package/dist/{chunk-PPGZ4AEJ.js.map → chunk-ITBE2DKM.js.map} +0 -0
  54. /package/dist/{chunk-E3FFP3TM.js.map → chunk-K36WTX6I.js.map} +0 -0
  55. /package/dist/{chunk-DVHJUVMI.js.map → chunk-LXTTLAQP.js.map} +0 -0
  56. /package/dist/{chunk-L3PBS45C.js.map → chunk-O37DIACU.js.map} +0 -0
  57. /package/dist/{chunk-DRSSJADT.js.map → chunk-QQU2NYAU.js.map} +0 -0
  58. /package/dist/{chunk-LYJQAY3S.js.map → chunk-TZC6YIFT.js.map} +0 -0
  59. /package/dist/{chunk-Y7OPROZF.js.map → chunk-ULFMGU2Q.js.map} +0 -0
  60. /package/dist/{chunk-MSJIVNVR.js.map → chunk-VHVB43FY.js.map} +0 -0
  61. /package/dist/{chunk-OJ5FCC4K.js.map → chunk-YKZ3VOPY.js.map} +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/apis/PlayFabEconomyApi.ts"],"sourcesContent":["import type { EmptyResponse } from \"../types/PlayFab\";\nimport type {\n AddInventoryItemsRequest,\n CompleteVersionedCatalogUploadRequest,\n CreateDraftItemRequest,\n CreateUploadUrlsRequest,\n CreateVersionedCatalogUploadURLRequest,\n CreateViewRequest,\n DeleteEntityItemReviewsRequest,\n DeleteInventoryCollectionRequest,\n DeleteInventoryItemsRequest,\n DeleteItemRequest,\n DeleteVersionedCatalogRequest,\n DeleteViewRequest,\n ExecuteInventoryOperationsRequest,\n ExecuteTransferOperationsRequest,\n ExportVersionedCatalogRequest,\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 GetTransactionHistoryRequest,\n GetVersionedCatalogItemRequest,\n GetVersionedCatalogUploadStatusRequest,\n GetViewRequest,\n GetViewsRequest,\n ListVersionedCatalogsRequest,\n PublishDraftItemRequest,\n PurchaseInventoryItemsRequest,\n RedeemAppleAppStoreInventoryItemsRequest,\n RedeemAppleAppStoreWithJwsInventoryItemsRequest,\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 UpdateViewRequest,\n AddInventoryItemsResponse,\n CompleteVersionedCatalogUploadResponse,\n CreateDraftItemResponse,\n CreateUploadUrlsResponse,\n CreateVersionedCatalogUploadURLResponse,\n CreateViewResponse,\n DeleteEntityItemReviewsResponse,\n DeleteInventoryCollectionResponse,\n DeleteInventoryItemsResponse,\n DeleteItemResponse,\n DeleteViewResponse,\n ExecuteInventoryOperationsResponse,\n ExecuteTransferOperationsResponse,\n IActionResult,\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 GetTransactionHistoryResponse,\n GetVersionedCatalogItemResponse,\n GetVersionedCatalogUploadStatusResponse,\n GetViewResponse,\n GetViewsResponse,\n ListVersionedCatalogsResponse,\n PublishDraftItemResponse,\n PurchaseInventoryItemsResponse,\n RedeemAppleAppStoreInventoryItemsResponse,\n RedeemAppleAppStoreWithJwsInventoryItemsResponse,\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 UpdateViewResponse,\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 * \n * {@link https://docs.microsoft.com/rest/api/playfab/inventory/inventory/addinventoryitems Microsoft Documentation}\n * @example\n * await inventoryClient.AddInventoryItems({\n * \"Item\": {\n * \"Id\": \"11111111-1111-1111-1111-111111111111\"\n * },\n * \"Amount\": 3,\n * \"ReturnInventory\": false\n * });\n */\n AddInventoryItems (request: AddInventoryItemsRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<AddInventoryItemsResponse>(\"/Inventory/AddInventoryItems\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Given an existing Versioned Catalog, begin the process of validating the uploaded JSON and creating the described items.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/versionedcatalog/versionedcatalog/completeversionedcatalogupload Microsoft Documentation}\n * @example\n * await versionedcatalogClient.CompleteVersionedCatalogUpload({});\n */\n CompleteVersionedCatalogUpload (request: CompleteVersionedCatalogUploadRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<CompleteVersionedCatalogUploadResponse>(\"/VersionedCatalog/CompleteVersionedCatalogUpload\", 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 * \n * {@link https://docs.microsoft.com/rest/api/playfab/catalog/catalog/createdraftitem Microsoft Documentation}\n * @example\n * await catalogClient.CreateDraftItem({\n * \"Item\": {\n * \"Type\": \"ugc\",\n * \"Title\": {\n * \"NEUTRAL\": \"Neutral title\",\n * \"en-US\": \"US English title\"\n * },\n * \"Description\": {\n * \"NEUTRAL\": \"Neutral description\",\n * \"en-US\": \"US English description\"\n * },\n * \"Keywords\": {\n * \"NEUTRAL\": {\n * \"Values\": [\n * \"Keyword_1\",\n * \"Keyword_2\"\n * ]\n * }\n * },\n * \"ContentType\": \"example item\",\n * \"CreatorEntity\": {\n * \"Id\": \"someId\",\n * \"Type\": \"title_player_account\",\n * \"TypeString\": \"title_player_account\"\n * },\n * \"IsHidden\": false,\n * \"Tags\": [\n * \"pirates\",\n * \"holiday\"\n * ],\n * \"DisplayVersion\": \"1.0.0\",\n * \"CreationDate\": \"2018-08-17T22:32:10.472Z\",\n * \"Contents\": [\n * {\n * \"Id\": \"00000000-0000-0000-0000-000000000001\",\n * \"Url\": \"https://endpoint.blob.core.windows.net/some-identifier-private/00000000-0000-0000-0000-000000000001/textures.zip\",\n * \"MaxClientVersion\": \"2.4.1\",\n * \"MinClientVersion\": \"2.0.0\"\n * }\n * ],\n * \"Images\": [\n * {\n * \"Id\": \"00000000-0000-0000-0000-000000000003\",\n * \"Type\": \"Thumbnail\",\n * \"Url\": \"https://endpoint.blob.core.windows.net/some-identifier-private/00000000-0000-0000-0000-000000000003/splashscreen_thumb.jpg\"\n * }\n * ],\n * \"DisplayProperties\": {\n * \"mapDetails\": {\n * \"mapType\": \"desertIsland\",\n * \"gameMode\": \"capture\",\n * \"maxPlayers\": 16\n * },\n * \"averageMatchLengthInSeconds\": 947\n * },\n * \"DefaultStackId\": \"Static_Default_Stack_Id\"\n * },\n * \"Publish\": false\n * });\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 * \n * {@link https://docs.microsoft.com/rest/api/playfab/catalog/catalog/createuploadurls Microsoft Documentation}\n * @example\n * await catalogClient.CreateUploadUrls({\n * \"Files\": [\n * {\n * \"FileName\": \"textures.zip\"\n * },\n * {\n * \"FileName\": \"sprites.png\"\n * }\n * ]\n * });\n */\n CreateUploadUrls (request: CreateUploadUrlsRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<CreateUploadUrlsResponse>(\"/Catalog/CreateUploadUrls\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Given an existing Catalog Version, create an URL location where titles can upload a JSON schema of a catalog, if the\n * catalog is empty.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/versionedcatalog/versionedcatalog/createversionedcataloguploadurl Microsoft Documentation}\n * @example\n * await versionedcatalogClient.CreateVersionedCatalogUploadURL({});\n */\n CreateVersionedCatalogUploadURL (request: CreateVersionedCatalogUploadURLRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<CreateVersionedCatalogUploadURLResponse>(\"/VersionedCatalog/CreateVersionedCatalogUploadURL\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Creates a new view in the catalog using provided metadata.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/catalog/catalog/createview Microsoft Documentation}\n * @example\n * await catalogClient.CreateView({\n * \"View\": {\n * \"FriendlyId\": \"exampleView\",\n * \"IsTitleView\": false,\n * \"Count\": 10,\n * \"Filter\": \"tags/any(t:t eq 'desert') and contentType eq 'map'\",\n * \"Language\": \"en-US\",\n * \"FileFormat\": \"JsonLines\"\n * }\n * });\n */\n CreateView (request: CreateViewRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<CreateViewResponse>(\"/Catalog/CreateView\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Deletes all reviews, helpfulness votes, and ratings submitted by the entity specified.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/catalog/catalog/deleteentityitemreviews Microsoft Documentation}\n * @example\n * await catalogClient.DeleteEntityItemReviews({\n * \"Entity\": {\n * \"Id\": \"ABC123\",\n * \"Type\": \"title_player_account\",\n * \"TypeString\": \"title_player_account\"\n * }\n * });\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 * \n * {@link https://docs.microsoft.com/rest/api/playfab/inventory/inventory/deleteinventorycollection Microsoft Documentation}\n * @example\n * await inventoryClient.DeleteInventoryCollection({\n * \"CollectionId\": \"backpack\"\n * });\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 * \n * {@link https://docs.microsoft.com/rest/api/playfab/inventory/inventory/deleteinventoryitems Microsoft Documentation}\n * @example\n * await inventoryClient.DeleteInventoryItems({\n * \"Item\": {\n * \"Id\": \"11111111-1111-1111-1111-111111111111\"\n * }\n * });\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 * \n * {@link https://docs.microsoft.com/rest/api/playfab/catalog/catalog/deleteitem Microsoft Documentation}\n * @example\n * await catalogClient.DeleteItem({\n * \"Id\": \"dddddddd-dddd-dddd-dddd-dddddddddddd\"\n * });\n */\n DeleteItem (request: DeleteItemRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<DeleteItemResponse>(\"/Catalog/DeleteItem\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Delete versioned catalog.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/versionedcatalog/versionedcatalog/deleteversionedcatalog Microsoft Documentation}\n * @example\n * await versionedcatalogClient.DeleteVersionedCatalog({});\n */\n DeleteVersionedCatalog (request: DeleteVersionedCatalogRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<EmptyResponse>(\"/VersionedCatalog/DeleteVersionedCatalog\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Deletes a catalog view and the associated blob.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/catalog/catalog/deleteview Microsoft Documentation}\n * @example\n * await catalogClient.DeleteView({\n * \"Id\": \"dddddddd-dddd-dddd-dddd-dddddddddddd\"\n * });\n */\n DeleteView (request: DeleteViewRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<DeleteViewResponse>(\"/Catalog/DeleteView\", 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 * \n * {@link https://docs.microsoft.com/rest/api/playfab/inventory/inventory/executeinventoryoperations Microsoft Documentation}\n * @example\n * await inventoryClient.ExecuteInventoryOperations({\n * \"Operations\": [\n * {\n * \"Add\": {\n * \"Item\": {\n * \"Id\": \"11111111-1111-1111-1111-111111111111\"\n * },\n * \"Amount\": 3\n * }\n * },\n * {\n * \"Subtract\": {\n * \"Item\": {\n * \"Id\": \"11111111-1111-1111-1111-111111111111\"\n * },\n * \"Amount\": 3,\n * \"DeleteEmptyStacks\": false\n * }\n * }\n * ]\n * });\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 * \n * {@link https://docs.microsoft.com/rest/api/playfab/inventory/inventory/executetransferoperations Microsoft Documentation}\n * @example\n * await inventoryClient.ExecuteTransferOperations({\n * \"Operations\": [\n * {\n * \"GivingItem\": {\n * \"Id\": \"11111111-1111-1111-1111-111111111111\",\n * \"StackId\": \"default\"\n * },\n * \"ReceivingItem\": {\n * \"Id\": \"11111111-1111-1111-1111-111111111111\",\n * \"StackId\": \"default\"\n * },\n * \"Amount\": 1,\n * \"DeleteEmptyStacks\": false\n * }\n * ],\n * \"GivingEntity\": {\n * \"Id\": \"someId1\",\n * \"Type\": \"title_player_account\",\n * \"TypeString\": \"title_player_account\"\n * },\n * \"ReceivingEntity\": {\n * \"Id\": \"someId2\",\n * \"Type\": \"title_player_account\",\n * \"TypeString\": \"title_player_account\"\n * },\n * \"GivingCollectionId\": \"default\",\n * \"ReceivingCollectionId\": \"backpack\"\n * });\n */\n ExecuteTransferOperations (request: ExecuteTransferOperationsRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<ExecuteTransferOperationsResponse>(\"/Inventory/ExecuteTransferOperations\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Export versioned catalog.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/versionedcatalog/versionedcatalog/exportversionedcatalog Microsoft Documentation}\n * @example\n * await versionedcatalogClient.ExportVersionedCatalog({});\n */\n ExportVersionedCatalog (request: ExportVersionedCatalogRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<IActionResult>(\"/VersionedCatalog/ExportVersionedCatalog\", 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 * \n * {@link https://docs.microsoft.com/rest/api/playfab/catalog/catalog/getcatalogconfig Microsoft Documentation}\n * @example\n * await catalogClient.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 * \n * {@link https://docs.microsoft.com/rest/api/playfab/catalog/catalog/getdraftitem Microsoft Documentation}\n * @example\n * await catalogClient.GetDraftItem({\n * \"Id\": \"dddddddd-dddd-dddd-dddd-dddddddddddd\"\n * });\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 * \n * {@link https://docs.microsoft.com/rest/api/playfab/catalog/catalog/getdraftitems Microsoft Documentation}\n * @example\n * await catalogClient.GetDraftItems({\n * \"Ids\": [\n * \"dddddddd-dddd-dddd-dddd-dddddddddddd\",\n * \"eeeeeeee-eeee-eeee-eeee-eeeeeeeeeeee\"\n * ]\n * });\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 * \n * {@link https://docs.microsoft.com/rest/api/playfab/catalog/catalog/getentitydraftitems Microsoft Documentation}\n * @example\n * await catalogClient.GetEntityDraftItems({\n * \"Count\": 2,\n * \"Entity\": {\n * \"Id\": \"someId\",\n * \"Type\": \"title_player_account\",\n * \"TypeString\": \"title_player_account\"\n * }\n * });\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 * \n * {@link https://docs.microsoft.com/rest/api/playfab/catalog/catalog/getentityitemreview Microsoft Documentation}\n * @example\n * await catalogClient.GetEntityItemReview({\n * \"Id\": \"dddddddd-dddd-dddd-dddd-dddddddddddd\"\n * });\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 * \n * {@link https://docs.microsoft.com/rest/api/playfab/inventory/inventory/getinventorycollectionids Microsoft Documentation}\n * @example\n * await inventoryClient.GetInventoryCollectionIds({\n * \"Count\": 5\n * });\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 * \n * {@link https://docs.microsoft.com/rest/api/playfab/inventory/inventory/getinventoryitems Microsoft Documentation}\n * @example\n * await inventoryClient.GetInventoryItems({\n * \"Count\": 5\n * });\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 * \n * {@link https://docs.microsoft.com/rest/api/playfab/inventory/inventory/getinventoryoperationstatus Microsoft Documentation}\n * @example\n * await inventoryClient.GetInventoryOperationStatus({\n * \"OperationToken\": \"token\"\n * });\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 * \n * {@link https://docs.microsoft.com/rest/api/playfab/catalog/catalog/getitem Microsoft Documentation}\n * @example\n * await catalogClient.GetItem({\n * \"Id\": \"dddddddd-dddd-dddd-dddd-dddddddddddd\"\n * });\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 * \n * {@link https://docs.microsoft.com/rest/api/playfab/catalog/catalog/getitemcontainers Microsoft Documentation}\n * @example\n * await catalogClient.GetItemContainers({\n * \"Count\": 5,\n * \"Id\": \"dddddddd-dddd-dddd-dddd-dddddddddddd\"\n * });\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 * \n * {@link https://docs.microsoft.com/rest/api/playfab/catalog/catalog/getitemmoderationstate Microsoft Documentation}\n * @example\n * await catalogClient.GetItemModerationState({\n * \"Id\": \"dddddddd-dddd-dddd-dddd-dddddddddddd\"\n * });\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 * \n * {@link https://docs.microsoft.com/rest/api/playfab/catalog/catalog/getitempublishstatus Microsoft Documentation}\n * @example\n * await catalogClient.GetItemPublishStatus({\n * \"Id\": \"dddddddd-dddd-dddd-dddd-dddddddddddd\"\n * });\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 * \n * {@link https://docs.microsoft.com/rest/api/playfab/catalog/catalog/getitemreviews Microsoft Documentation}\n * @example\n * await catalogClient.GetItemReviews({\n * \"Count\": 2,\n * \"Id\": \"dddddddd-dddd-dddd-dddd-dddddddddddd\"\n * });\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 * \n * {@link https://docs.microsoft.com/rest/api/playfab/catalog/catalog/getitemreviewsummary Microsoft Documentation}\n * @example\n * await catalogClient.GetItemReviewSummary({\n * \"Id\": \"dddddddd-dddd-dddd-dddd-dddddddddddd\"\n * });\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 * \n * {@link https://docs.microsoft.com/rest/api/playfab/catalog/catalog/getitems Microsoft Documentation}\n * @example\n * await catalogClient.GetItems({\n * \"Ids\": [\n * \"dddddddd-dddd-dddd-dddd-dddddddddddd\",\n * \"eeeeeeee-eeee-eeee-eeee-eeeeeeeeeeee\"\n * ]\n * });\n */\n GetItems (request: GetItemsRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetItemsResponse>(\"/Catalog/GetItems\", 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 * \n * {@link https://docs.microsoft.com/rest/api/playfab/inventory/inventory/gettransactionhistory Microsoft Documentation}\n * @example\n * await inventoryClient.GetTransactionHistory({\n * \"Count\": 10,\n * \"CollectionId\": \"default\"\n * });\n */\n GetTransactionHistory (request: GetTransactionHistoryRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetTransactionHistoryResponse>(\"/Inventory/GetTransactionHistory\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Get versioned catalog item.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/versionedcatalog/versionedcatalog/getversionedcatalogitem Microsoft Documentation}\n */\n GetVersionedCatalogItem (request: GetVersionedCatalogItemRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetVersionedCatalogItemResponse>(\"/VersionedCatalog/GetVersionedCatalogItem\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Returns the current status of a Versioned Catalog upload.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/versionedcatalog/versionedcatalog/getversionedcataloguploadstatus Microsoft Documentation}\n * @example\n * await versionedcatalogClient.GetVersionedCatalogUploadStatus({});\n */\n GetVersionedCatalogUploadStatus (request: GetVersionedCatalogUploadStatusRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetVersionedCatalogUploadStatusResponse>(\"/VersionedCatalog/GetVersionedCatalogUploadStatus\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Retrieves a specific catalog view.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/catalog/catalog/getview Microsoft Documentation}\n * @example\n * await catalogClient.GetView({\n * \"Id\": \"dddddddd-dddd-dddd-dddd-dddddddddddd\"\n * });\n */\n GetView (request: GetViewRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetViewResponse>(\"/Catalog/GetView\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Retrieves a paginated list of the catalog views.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/catalog/catalog/getviews Microsoft Documentation}\n * @example\n * await catalogClient.GetViews({\n * \"Count\": 5,\n * \"Entity\": {\n * \"Id\": \"someId\",\n * \"Type\": \"title_player_account\",\n * \"TypeString\": \"title_player_account\"\n * }\n * });\n */\n GetViews (request: GetViewsRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetViewsResponse>(\"/Catalog/GetViews\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * List versioned catalogs.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/versionedcatalog/versionedcatalog/listversionedcatalogs Microsoft Documentation}\n * @example\n * await versionedcatalogClient.ListVersionedCatalogs({});\n */\n ListVersionedCatalogs (request: ListVersionedCatalogsRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<ListVersionedCatalogsResponse>(\"/VersionedCatalog/ListVersionedCatalogs\", 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 * \n * {@link https://docs.microsoft.com/rest/api/playfab/catalog/catalog/publishdraftitem Microsoft Documentation}\n * @example\n * await catalogClient.PublishDraftItem({\n * \"Id\": \"dddddddd-dddd-dddd-dddd-dddddddddddd\"\n * });\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 * \n * {@link https://docs.microsoft.com/rest/api/playfab/inventory/inventory/purchaseinventoryitems Microsoft Documentation}\n * @example\n * await inventoryClient.PurchaseInventoryItems({\n * \"Item\": {\n * \"Id\": \"11111111-1111-1111-1111-111111111111\"\n * },\n * \"Amount\": 1,\n * \"PriceAmounts\": [\n * {\n * \"ItemId\": \"cccccccc-cccc-cccc-cccc-cccccccccccc\",\n * \"Amount\": 15\n * }\n * ],\n * \"DeleteEmptyStacks\": false\n * });\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 * \n * {@link https://docs.microsoft.com/rest/api/playfab/inventory/inventory/redeemappleappstoreinventoryitems Microsoft Documentation}\n * @example\n * await inventoryClient.RedeemAppleAppStoreInventoryItems({\n * \"Receipt\": \"receipt\"\n * });\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 * \n * {@link https://docs.microsoft.com/rest/api/playfab/inventory/inventory/redeemappleappstorewithjwsinventoryitems Microsoft Documentation}\n * @example\n * await inventoryClient.RedeemAppleAppStoreWithJwsInventoryItems({\n * \"JWSTransactions\": [\n * \"JWS1\",\n * \"JWS2\"\n * ]\n * });\n */\n RedeemAppleAppStoreWithJwsInventoryItems (request: RedeemAppleAppStoreWithJwsInventoryItemsRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<RedeemAppleAppStoreWithJwsInventoryItemsResponse>(\"/Inventory/RedeemAppleAppStoreWithJwsInventoryItems\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Redeem items.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/inventory/inventory/redeemgoogleplayinventoryitems Microsoft Documentation}\n * @example\n * await inventoryClient.RedeemGooglePlayInventoryItems({\n * \"Purchases\": [\n * {\n * \"ProductId\": \"productId\",\n * \"Token\": \"token\"\n * }\n * ]\n * });\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 from the Microsoft Store. Supported entitlement types are Developer Manager Consumable and Durable.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/inventory/inventory/redeemmicrosoftstoreinventoryitems Microsoft Documentation}\n * @example\n * await inventoryClient.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 * \n * {@link https://docs.microsoft.com/rest/api/playfab/inventory/inventory/redeemnintendoeshopinventoryitems Microsoft Documentation}\n * @example\n * await inventoryClient.RedeemNintendoEShopInventoryItems({\n * \"NintendoServiceAccountIdToken\": \"nsaIdToken\"\n * });\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 * \n * {@link https://docs.microsoft.com/rest/api/playfab/inventory/inventory/redeemplaystationstoreinventoryitems Microsoft Documentation}\n * @example\n * await inventoryClient.RedeemPlayStationStoreInventoryItems({\n * \"AuthorizationCode\": \"authorizationCode\",\n * \"RedirectUri\": \"orbis://games\",\n * \"ServiceLabel\": \"0\"\n * });\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 * \n * {@link https://docs.microsoft.com/rest/api/playfab/inventory/inventory/redeemsteaminventoryitems Microsoft Documentation}\n * @example\n * await inventoryClient.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 * \n * {@link https://docs.microsoft.com/rest/api/playfab/catalog/catalog/reportitem Microsoft Documentation}\n * @example\n * await catalogClient.ReportItem({\n * \"ConcernCategory\": \"Profanity\",\n * \"Reason\": \"There was swearing in the description.\",\n * \"Id\": \"dddddddd-dddd-dddd-dddd-dddddddddddd\"\n * });\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 * \n * {@link https://docs.microsoft.com/rest/api/playfab/catalog/catalog/reportitemreview Microsoft Documentation}\n * @example\n * await catalogClient.ReportItemReview({\n * \"ReviewId\": \"dddddddd-dddd-dddd-dddd-dddddddddddd\",\n * \"ItemId\": \"eeeeeeee-eeee-eeee-eeee-eeeeeeeeeeee\",\n * \"ConcernCategory\": \"OffensiveContent\",\n * \"Reason\": \"Foul language.\"\n * });\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 * \n * {@link https://docs.microsoft.com/rest/api/playfab/catalog/catalog/reviewitem Microsoft Documentation}\n * @example\n * await catalogClient.ReviewItem({\n * \"Review\": {\n * \"ItemVersion\": \"2.4.1\",\n * \"Title\": \"Best Game Ever\",\n * \"ReviewText\": \"I play this game every day. It's my favorite game yet.\",\n * \"Rating\": 5,\n * \"IsInstalled\": true,\n * \"HelpfulPositive\": 0,\n * \"HelpfulNegative\": 0,\n * \"Submitted\": \"0001-01-01T00:00:00Z\"\n * },\n * \"Id\": \"dddddddd-dddd-dddd-dddd-dddddddddddd\"\n * });\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 * \n * {@link https://docs.microsoft.com/rest/api/playfab/catalog/catalog/searchitems Microsoft Documentation}\n * @example\n * await catalogClient.SearchItems({\n * \"Search\": \"Pirates\",\n * \"Filter\": \"tags/any(t:t eq 'desert') and contentType eq 'map'\",\n * \"OrderBy\": \"lastModifiedDate asc\",\n * \"ContinuationToken\": \"abc=\",\n * \"Count\": 2\n * });\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 * \n * {@link https://docs.microsoft.com/rest/api/playfab/catalog/catalog/setitemmoderationstate Microsoft Documentation}\n * @example\n * await catalogClient.SetItemModerationState({\n * \"Status\": \"AwaitingModeration\",\n * \"Reason\": \"User reports over threshold\",\n * \"Id\": \"dddddddd-dddd-dddd-dddd-dddddddddddd\"\n * });\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 * \n * {@link https://docs.microsoft.com/rest/api/playfab/catalog/catalog/submititemreviewvote Microsoft Documentation}\n * @example\n * await catalogClient.SubmitItemReviewVote({\n * \"ReviewId\": \"dddddddd-dddd-dddd-dddd-dddddddddddd\",\n * \"ItemId\": \"eeeeeeee-eeee-eeee-eeee-eeeeeeeeeeee\",\n * \"Vote\": \"Helpful\"\n * });\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 * \n * {@link https://docs.microsoft.com/rest/api/playfab/inventory/inventory/subtractinventoryitems Microsoft Documentation}\n * @example\n * await inventoryClient.SubtractInventoryItems({\n * \"Item\": {\n * \"Id\": \"11111111-1111-1111-1111-111111111111\"\n * },\n * \"Amount\": 3,\n * \"DeleteEmptyStacks\": false,\n * \"ReturnInventory\": false\n * });\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 * \n * {@link https://docs.microsoft.com/rest/api/playfab/catalog/catalog/takedownitemreviews Microsoft Documentation}\n * @example\n * await catalogClient.TakedownItemReviews({\n * \"Reviews\": [\n * {\n * \"ItemId\": \"00000000-0000-0000-0000-000000000003\",\n * \"ReviewId\": \"dddddddd-dddd-dddd-dddd-dddddddddddd\"\n * }\n * ]\n * });\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 * \n * {@link https://docs.microsoft.com/rest/api/playfab/inventory/inventory/transferinventoryitems Microsoft Documentation}\n * @example\n * await inventoryClient.TransferInventoryItems({\n * \"GivingItem\": {\n * \"Id\": \"11111111-1111-1111-1111-111111111111\"\n * },\n * \"ReceivingItem\": {\n * \"Id\": \"11111111-1111-1111-1111-111111111111\"\n * },\n * \"Amount\": 1,\n * \"DeleteEmptyStacks\": false,\n * \"GivingCollectionId\": \"default\",\n * \"ReceivingCollectionId\": \"backpack\"\n * });\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 * \n * {@link https://docs.microsoft.com/rest/api/playfab/catalog/catalog/updatecatalogconfig Microsoft Documentation}\n * @example\n * await catalogClient.UpdateCatalogConfig({\n * \"Config\": {\n * \"IsCatalogEnabled\": true,\n * \"AdminEntities\": [\n * {\n * \"Id\": \"ABC123\",\n * \"Type\": \"title_player_account\",\n * \"TypeString\": \"title_player_account\"\n * }\n * ],\n * \"DisplayPropertyIndexInfos\": [\n * {\n * \"Name\": \"damage\",\n * \"Type\": \"QueryDouble\"\n * }\n * ],\n * \"ReviewerEntities\": [\n * {\n * \"Id\": \"ABC123\",\n * \"Type\": \"title_player_account\",\n * \"TypeString\": \"title_player_account\"\n * }\n * ],\n * \"UserGeneratedContent\": {\n * \"ContentTypes\": [\n * \"skin\",\n * \"map\",\n * \"example item\"\n * ],\n * \"Tags\": [\n * \"pirate\",\n * \"holiday\"\n * ]\n * }\n * }\n * });\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 * \n * {@link https://docs.microsoft.com/rest/api/playfab/catalog/catalog/updatedraftitem Microsoft Documentation}\n * @example\n * await catalogClient.UpdateDraftItem({\n * \"Item\": {\n * \"Id\": \"qqqqqqqq-qqqq-qqqq-qqqq-qqqqqqqqqqqq\",\n * \"Type\": \"ugc\",\n * \"Title\": {\n * \"NEUTRAL\": \"Neutral title\",\n * \"en-US\": \"US English title\"\n * },\n * \"Description\": {\n * \"NEUTRAL\": \"Neutral description\",\n * \"en-US\": \"US English description\"\n * },\n * \"Keywords\": {\n * \"NEUTRAL\": {\n * \"Values\": [\n * \"Keyword_1\",\n * \"Keyword_2\"\n * ]\n * }\n * },\n * \"ContentType\": \"example item\",\n * \"CreatorEntity\": {\n * \"Id\": \"someId\",\n * \"Type\": \"title_player_account\",\n * \"TypeString\": \"title_player_account\"\n * },\n * \"IsHidden\": false,\n * \"Tags\": [\n * \"pirates\",\n * \"holiday\"\n * ],\n * \"DisplayVersion\": \"1.0.0\",\n * \"CreationDate\": \"2018-08-17T22:32:10.472Z\",\n * \"Contents\": [\n * {\n * \"Id\": \"00000000-0000-0000-0000-000000000001\",\n * \"Url\": \"https://endpoint.blob.core.windows.net/some-identifier-private/00000000-0000-0000-0000-000000000001/textures.zip\",\n * \"MaxClientVersion\": \"2.4.1\",\n * \"MinClientVersion\": \"2.0.0\"\n * }\n * ],\n * \"Images\": [\n * {\n * \"Id\": \"00000000-0000-0000-0000-000000000003\",\n * \"Type\": \"Thumbnail\",\n * \"Url\": \"https://endpoint.blob.core.windows.net/some-identifier-private/00000000-0000-0000-0000-000000000003/splashscreen_thumb.jpg\"\n * }\n * ],\n * \"DisplayProperties\": {\n * \"mapDetails\": {\n * \"mapType\": \"desertIsland\",\n * \"gameMode\": \"capture\",\n * \"maxPlayers\": 16\n * },\n * \"averageMatchLengthInSeconds\": 947\n * },\n * \"DefaultStackId\": \"Static_Default_Stack_Id\"\n * },\n * \"Publish\": false\n * });\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 * \n * {@link https://docs.microsoft.com/rest/api/playfab/inventory/inventory/updateinventoryitems Microsoft Documentation}\n * @example\n * await inventoryClient.UpdateInventoryItems({\n * \"Item\": {\n * \"Id\": \"11111111-1111-1111-1111-111111111111\",\n * \"Amount\": 3\n * },\n * \"ReturnInventory\": false\n * });\n */\n UpdateInventoryItems (request: UpdateInventoryItemsRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<UpdateInventoryItemsResponse>(\"/Inventory/UpdateInventoryItems\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Updates an existing view in the catalog using provided metadata.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/catalog/catalog/updateview Microsoft Documentation}\n * @example\n * await catalogClient.UpdateView({\n * \"View\": {\n * \"Id\": \"dddddddd-dddd-dddd-dddd-dddddddddddd\",\n * \"FriendlyId\": \"exampleView\",\n * \"IsTitleView\": false,\n * \"Count\": 10,\n * \"Filter\": \"tags/any(t:t eq 'desert') and contentType eq 'map'\",\n * \"Language\": \"en-US\",\n * \"FileFormat\": \"JsonLines\",\n * \"Url\": \"https://views.prod.catalog.playfab.com/title-identifier/dddddddd-dddd-dddd-dddd-dddddddddddd.json\",\n * \"LastModifiedDate\": \"2023-08-17T22:32:31.911Z\",\n * \"CreationDate\": \"2023-08-17T22:32:10.472Z\",\n * \"LastViewDiagnostics\": {\n * \"GeneratedDate\": \"2023-08-18T23:32:10.322Z\",\n * \"Status\": \"Unknown\"\n * },\n * \"ETag\": \"opaqueString\"\n * }\n * });\n */\n UpdateView (request: UpdateViewRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<UpdateViewResponse>(\"/Catalog/UpdateView\", request, \"X-EntityToken\", extraHeaders);\n }\n\n};\n"],"mappings":";;;;;AAwHA,IAAqB,oBAArB,cAA+C,cAAc;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAe3D,kBAAmB,SAAmC,cAAuC;AAC3F,WAAO,KAAK,sBAAiD,gCAAgC,SAAS,iBAAiB,YAAY;AAAA,EACrI;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EASA,+BAAgC,SAAgD,cAAuC;AACrH,WAAO,KAAK,sBAA8D,oDAAoD,SAAS,iBAAiB,YAAY;AAAA,EACtK;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA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AAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAoEA,gBAAiB,SAAiC,cAAuC;AACvF,WAAO,KAAK,sBAA+C,4BAA4B,SAAS,iBAAiB,YAAY;AAAA,EAC/H;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAeA,qBAAsB,SAAsC,cAAuC;AACjG,WAAO,KAAK,sBAAoD,mCAAmC,SAAS,iBAAiB,YAAY;AAAA,EAC3I;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EA2BA,WAAY,SAA4B,cAAuC;AAC7E,WAAO,KAAK,sBAA0C,uBAAuB,SAAS,iBAAiB,YAAY;AAAA,EACrH;AAEF;","names":[]}
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  PlayFabCommon
3
- } from "./chunk-73D4KIG4.js";
3
+ } from "./chunk-MQF77KJ5.js";
4
4
 
5
5
  // src/apis/PlayFabDataApi.ts
6
6
  var PlayFabDataApi = class extends PlayFabCommon {
@@ -172,4 +172,4 @@ var PlayFabDataApi = class extends PlayFabCommon {
172
172
  export {
173
173
  PlayFabDataApi
174
174
  };
175
- //# sourceMappingURL=chunk-PPGZ4AEJ.js.map
175
+ //# sourceMappingURL=chunk-ITBE2DKM.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  PlayFabCommon
3
- } from "./chunk-73D4KIG4.js";
3
+ } from "./chunk-MQF77KJ5.js";
4
4
 
5
5
  // src/apis/PlayFabAdminApi.ts
6
6
  var PlayFabAdminApi = class extends PlayFabCommon {
@@ -2691,4 +2691,4 @@ var PlayFabAdminApi = class extends PlayFabCommon {
2691
2691
  export {
2692
2692
  PlayFabAdminApi
2693
2693
  };
2694
- //# sourceMappingURL=chunk-E3FFP3TM.js.map
2694
+ //# sourceMappingURL=chunk-K36WTX6I.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  PlayFabCommon
3
- } from "./chunk-73D4KIG4.js";
3
+ } from "./chunk-MQF77KJ5.js";
4
4
 
5
5
  // src/apis/PlayFabProgressionApi.ts
6
6
  var PlayFabProgressionApi = class extends PlayFabCommon {
@@ -459,4 +459,4 @@ var PlayFabProgressionApi = class extends PlayFabCommon {
459
459
  export {
460
460
  PlayFabProgressionApi
461
461
  };
462
- //# sourceMappingURL=chunk-DVHJUVMI.js.map
462
+ //# sourceMappingURL=chunk-LXTTLAQP.js.map
@@ -20,8 +20,8 @@ var AuthInfoMap = {
20
20
  }
21
21
  };
22
22
  var constants_default = {
23
- sdkVersion: "1.205.251205",
24
- sdkFingerprint: "JavaScriptSDK-1.205.251205",
23
+ sdkVersion: "1.208.260123",
24
+ sdkFingerprint: "JavaScriptSDK-1.208.260123",
25
25
  buildIdentifier: "ghactions_community-playfab-web-sdk",
26
26
  defaultSettings: {
27
27
  titleId: "",
@@ -195,4 +195,4 @@ var PlayFabCommon = class {
195
195
  export {
196
196
  PlayFabCommon
197
197
  };
198
- //# sourceMappingURL=chunk-73D4KIG4.js.map
198
+ //# sourceMappingURL=chunk-MQF77KJ5.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/constants.ts","../src/PlayFabContext.ts","../src/PlayFabCommon.ts"],"sourcesContent":["export interface ISettings {\n /** You must set this value for PlayFabSdk to work properly (Found in the Game Manager for your title, at the PlayFab Website) */\n titleId: string;\n /** For security reasons you must never expose this value to the client or players - You must set this value for Server-APIs to work properly (Found in the Game Manager for your title, at the PlayFab Website) */\n developerSecretKey: string;\n productionServerUrl: string;\n /** Headers to apply to every request */\n globalHeaders?: Record<string, string>;\n /** The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this */\n verticalName?: string | null;\n}\n\nexport const ErrorMessages = {\n titleId: \"Must be have settings.titleId set to call this method\",\n loggedIn: \"Must be logged in to call this method\",\n entityToken: \"You must successfully call GetEntityToken before calling this\",\n secretKey: \"Must have settings.developerSecretKey set to call this method\",\n};\n\nexport const AuthInfoMap = {\n \"X-EntityToken\": {\n authAttr: \"entityToken\",\n authError: ErrorMessages.entityToken,\n },\n \"X-Authorization\": {\n authAttr: \"sessionTicket\",\n authError: ErrorMessages.loggedIn,\n },\n \"X-SecretKey\": {\n authAttr: \"developerSecretKey\",\n authError: ErrorMessages.secretKey,\n },\n};\n\nexport default {\n sdkVersion: \"1.205.251205\",\n sdkFingerprint: \"JavaScriptSDK-1.205.251205\",\n buildIdentifier: \"ghactions_community-playfab-web-sdk\",\n defaultSettings: {\n titleId: \"\",\n developerSecretKey: \"\",\n globalHeaders: {},\n productionServerUrl: \".playfabapi.com\",\n verticalName: \"\"\n } as ISettings\n};\n","import constants, { type ISettings } from \"./constants\";\n\nexport type AuthContext = {\n PlayFabId: string | null;\n EntityId: string | null;\n EntityType: string | null;\n SessionTicket: string | null;\n EntityToken: string | null;\n};\n\nexport class PlayFabContext {\n private static _instance: PlayFabContext;\n\n settings: ISettings = constants.defaultSettings;\n\n authenticationContext: AuthContext = {\n PlayFabId: null,\n EntityId: null,\n EntityType: null,\n SessionTicket: null,\n EntityToken: null,\n };\n\n sessionTicket: string | null = null;\n\n entityToken: string | null = null;\n\n private constructor() {}\n\n public static get instance(): PlayFabContext {\n if (!PlayFabContext._instance) {\n PlayFabContext._instance = new PlayFabContext();\n }\n\n return PlayFabContext._instance;\n }\n}\n","import constants, { ISettings, AuthInfoMap, ErrorMessages } from \"./constants\";\nimport { AuthContext, PlayFabContext } from \"./PlayFabContext\";\nimport { IPlayFabError, IPlayFabResultCommon } from \"./types/PlayFab\";\n\nexport class PlayFabCommon {\n buildIdentifier: string = constants.buildIdentifier;\n requestGetParams = {\n sdk: constants.sdkFingerprint,\n } as const;\n errorTitleId = ErrorMessages.titleId;\n private _context = PlayFabContext.instance;\n\n constructor(settings: Partial<ISettings> | undefined = undefined) {\n if (settings) {\n Object.assign(this._context.settings, settings);\n }\n }\n\n get settings() {\n return this._context.settings;\n }\n\n get authenticationContext() {\n return this._context.authenticationContext;\n }\n\n get sessionTicket() {\n return this._context.sessionTicket;\n }\n\n set sessionTicket(value: string | null) {\n this._context.sessionTicket = value;\n }\n\n get entityToken() {\n return this._context.entityToken;\n }\n\n set entityToken(value: string | null) {\n this._context.entityToken = value;\n }\n\n GetServerUrl() {\n if (!(this.settings.productionServerUrl.substring(0, 4) === \"http\")) {\n return `https://${this.settings.verticalName || this.settings.titleId}${\n this.settings.productionServerUrl\n }`;\n } else {\n return this.settings.productionServerUrl;\n }\n }\n\n InjectHeaders(\n xhr: XMLHttpRequest,\n headersObj: Record<string, string> | undefined\n ) {\n if (!headersObj) return;\n\n for (const headerKey in headersObj) {\n try {\n xhr.setRequestHeader(headerKey, headersObj[headerKey]);\n } catch (e) {\n console.log(\n `Failed to append header: ${headerKey} = ${headersObj[headerKey]} Error: ${e}`\n );\n }\n }\n }\n\n async ExecuteRequest<T extends IPlayFabResultCommon>(\n url: string,\n body: any,\n authkey: string | null,\n authValue: string | null,\n extraHeaders?: Record<string, string>\n ) {\n if (body == null) {\n body = {};\n }\n\n const requestBody = JSON.stringify(body);\n\n const apiParams = new URLSearchParams(this.requestGetParams);\n const apiUrl = new URL(\n apiParams.size ? `${url}?${apiParams.toString()}` : url\n );\n\n const response = await fetch(apiUrl.toString(), {\n method: \"POST\",\n headers: {\n \"Content-Type\": \"application/json\",\n \"X-PlayFabSDK\": \"JavaScriptSDK-\" + constants.sdkVersion,\n ...this.settings.globalHeaders,\n ...extraHeaders,\n ...(authkey && authValue ? { [authkey]: authValue } : {}),\n },\n body: requestBody,\n });\n\n const jsonResponse = await response.json();\n\n if (!response.ok || jsonResponse.code !== 200) {\n throw jsonResponse as IPlayFabError;\n }\n\n return jsonResponse as { data: T };\n }\n\n UpdateAuthenticationContext(currentAuthContext: AuthContext, result: any) {\n var authenticationContextUpdates = {} as AuthContext;\n if (result?.PlayFabId) {\n authenticationContextUpdates.PlayFabId = result.PlayFabId;\n }\n if (result?.SessionTicket) {\n authenticationContextUpdates.SessionTicket = result.SessionTicket;\n }\n if (result?.EntityToken) {\n authenticationContextUpdates.EntityId = result.EntityToken.Entity.Id;\n authenticationContextUpdates.EntityType = result.EntityToken.Entity.Type;\n authenticationContextUpdates.EntityToken = result.EntityToken.EntityToken;\n }\n // Update the authenticationContext with values from the result\n currentAuthContext = Object.assign(\n currentAuthContext,\n authenticationContextUpdates\n );\n\n this._context.authenticationContext = currentAuthContext;\n\n return currentAuthContext;\n }\n\n GetAuthInfo(request: any, authKey: string) {\n // Use the most-recently saved authKey, unless one was provided in the request via the AuthenticationContext\n var authError = AuthInfoMap[authKey as keyof typeof AuthInfoMap].authError;\n var authAttr = AuthInfoMap[authKey as keyof typeof AuthInfoMap].authAttr;\n var defaultAuthValue: string | null = null;\n if (authAttr === \"entityToken\") defaultAuthValue = this.entityToken;\n else if (authAttr === \"sessionTicket\")\n defaultAuthValue = this.sessionTicket;\n else if (authAttr === \"developerSecretKey\")\n defaultAuthValue = this.settings.developerSecretKey;\n var authValue = request.AuthenticationContext\n ? request.AuthenticationContext[authAttr]\n : defaultAuthValue;\n return { authKey, authValue, authError };\n }\n\n async ExecuteRequestWrapper<T extends IPlayFabResultCommon>(\n apiURL: string,\n request: any,\n authKey: string | null,\n extraHeaders?: Record<string, string>\n ) {\n var authValue = null;\n if (authKey !== null) {\n const { authError, ...authInfo } = this.GetAuthInfo(request, authKey);\n authKey = authInfo.authKey;\n authValue = authInfo.authValue;\n if (!authValue) throw authError;\n }\n return (\n await this.ExecuteRequest<T>(\n this.GetServerUrl() + apiURL,\n request,\n authKey,\n authValue,\n extraHeaders\n )\n ).data;\n }\n\n GenerateErrorReport(error: IPlayFabError | null): string {\n if (error == null) return \"\";\n var fullErrors = error.errorMessage;\n for (var paramName in error.errorDetails)\n for (var msgIdx in error.errorDetails[paramName])\n fullErrors +=\n \"\\n\" + paramName + \": \" + error.errorDetails[paramName][msgIdx];\n return fullErrors;\n }\n\n ForgetAllCredentials() {\n this._context.sessionTicket = null;\n this._context.entityToken = null;\n }\n}\n"],"mappings":";AAYO,IAAM,gBAAgB;AAAA,EAC3B,SAAS;AAAA,EACT,UAAU;AAAA,EACV,aAAa;AAAA,EACb,WAAW;AACb;AAEO,IAAM,cAAc;AAAA,EACzB,iBAAiB;AAAA,IACf,UAAU;AAAA,IACV,WAAW,cAAc;AAAA,EAC3B;AAAA,EACA,mBAAmB;AAAA,IACjB,UAAU;AAAA,IACV,WAAW,cAAc;AAAA,EAC3B;AAAA,EACA,eAAe;AAAA,IACb,UAAU;AAAA,IACV,WAAW,cAAc;AAAA,EAC3B;AACF;AAEA,IAAO,oBAAQ;AAAA,EACb,YAAY;AAAA,EACZ,gBAAgB;AAAA,EAChB,iBAAiB;AAAA,EACjB,iBAAiB;AAAA,IACf,SAAS;AAAA,IACT,oBAAoB;AAAA,IACpB,eAAe,CAAC;AAAA,IAChB,qBAAqB;AAAA,IACrB,cAAc;AAAA,EAChB;AACF;;;ACnCO,IAAM,iBAAN,MAAM,gBAAe;AAAA,EAiBlB,cAAc;AAdtB,oBAAsB,kBAAU;AAEhC,iCAAqC;AAAA,MACnC,WAAW;AAAA,MACX,UAAU;AAAA,MACV,YAAY;AAAA,MACZ,eAAe;AAAA,MACf,aAAa;AAAA,IACf;AAEA,yBAA+B;AAE/B,uBAA6B;AAAA,EAEN;AAAA,EAEvB,WAAkB,WAA2B;AAC3C,QAAI,CAAC,gBAAe,WAAW;AAC7B,sBAAe,YAAY,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AAI,WAAW,YAAY,OAAmC,EAAE;AAChE,QAAI,mBAAkC;AACtC,QAAI,aAAa,cAAe,oBAAmB,KAAK;AAAA,aAC/C,aAAa;AACpB,yBAAmB,KAAK;AAAA,aACjB,aAAa;AACpB,yBAAmB,KAAK,SAAS;AACnC,QAAI,YAAY,QAAQ,wBACpB,QAAQ,sBAAsB,QAAQ,IACtC;AACJ,WAAO,EAAE,SAAS,WAAW,UAAU;AAAA,EACzC;AAAA,EAEA,MAAM,sBACJ,QACA,SACA,SACA,cACA;AACA,QAAI,YAAY;AAChB,QAAI,YAAY,MAAM;AACpB,YAAM,EAAE,WAAW,GAAG,SAAS,IAAI,KAAK,YAAY,SAAS,OAAO;AACpE,gBAAU,SAAS;AACnB,kBAAY,SAAS;AACrB,UAAI,CAAC,UAAW,OAAM;AAAA,IACxB;AACA,YACE,MAAM,KAAK;AAAA,MACT,KAAK,aAAa,IAAI;AAAA,MACtB;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,IACF,GACA;AAAA,EACJ;AAAA,EAEA,oBAAoB,OAAqC;AACvD,QAAI,SAAS,KAAM,QAAO;AAC1B,QAAI,aAAa,MAAM;AACvB,aAAS,aAAa,MAAM;AAC1B,eAAS,UAAU,MAAM,aAAa,SAAS;AAC7C,sBACE,OAAO,YAAY,OAAO,MAAM,aAAa,SAAS,EAAE,MAAM;AACpE,WAAO;AAAA,EACT;AAAA,EAEA,uBAAuB;AACrB,SAAK,SAAS,gBAAgB;AAC9B,SAAK,SAAS,cAAc;AAAA,EAC9B;AACF;","names":[]}
1
+ {"version":3,"sources":["../src/constants.ts","../src/PlayFabContext.ts","../src/PlayFabCommon.ts"],"sourcesContent":["export interface ISettings {\n /** You must set this value for PlayFabSdk to work properly (Found in the Game Manager for your title, at the PlayFab Website) */\n titleId: string;\n /** For security reasons you must never expose this value to the client or players - You must set this value for Server-APIs to work properly (Found in the Game Manager for your title, at the PlayFab Website) */\n developerSecretKey: string;\n productionServerUrl: string;\n /** Headers to apply to every request */\n globalHeaders?: Record<string, string>;\n /** The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this */\n verticalName?: string | null;\n}\n\nexport const ErrorMessages = {\n titleId: \"Must be have settings.titleId set to call this method\",\n loggedIn: \"Must be logged in to call this method\",\n entityToken: \"You must successfully call GetEntityToken before calling this\",\n secretKey: \"Must have settings.developerSecretKey set to call this method\",\n};\n\nexport const AuthInfoMap = {\n \"X-EntityToken\": {\n authAttr: \"entityToken\",\n authError: ErrorMessages.entityToken,\n },\n \"X-Authorization\": {\n authAttr: \"sessionTicket\",\n authError: ErrorMessages.loggedIn,\n },\n \"X-SecretKey\": {\n authAttr: \"developerSecretKey\",\n authError: ErrorMessages.secretKey,\n },\n};\n\nexport default {\n sdkVersion: \"1.208.260123\",\n sdkFingerprint: \"JavaScriptSDK-1.208.260123\",\n buildIdentifier: \"ghactions_community-playfab-web-sdk\",\n defaultSettings: {\n titleId: \"\",\n developerSecretKey: \"\",\n globalHeaders: {},\n productionServerUrl: \".playfabapi.com\",\n verticalName: \"\"\n } as ISettings\n};\n","import constants, { type ISettings } from \"./constants\";\n\nexport type AuthContext = {\n PlayFabId: string | null;\n EntityId: string | null;\n EntityType: string | null;\n SessionTicket: string | null;\n EntityToken: string | null;\n};\n\nexport class PlayFabContext {\n private static _instance: PlayFabContext;\n\n settings: ISettings = constants.defaultSettings;\n\n authenticationContext: AuthContext = {\n PlayFabId: null,\n EntityId: null,\n EntityType: null,\n SessionTicket: null,\n EntityToken: null,\n };\n\n sessionTicket: string | null = null;\n\n entityToken: string | null = null;\n\n private constructor() {}\n\n public static get instance(): PlayFabContext {\n if (!PlayFabContext._instance) {\n PlayFabContext._instance = new PlayFabContext();\n }\n\n return PlayFabContext._instance;\n }\n}\n","import constants, { ISettings, AuthInfoMap, ErrorMessages } from \"./constants\";\nimport { AuthContext, PlayFabContext } from \"./PlayFabContext\";\nimport { IPlayFabError, IPlayFabResultCommon } from \"./types/PlayFab\";\n\nexport class PlayFabCommon {\n buildIdentifier: string = constants.buildIdentifier;\n requestGetParams = {\n sdk: constants.sdkFingerprint,\n } as const;\n errorTitleId = ErrorMessages.titleId;\n private _context = PlayFabContext.instance;\n\n constructor(settings: Partial<ISettings> | undefined = undefined) {\n if (settings) {\n Object.assign(this._context.settings, settings);\n }\n }\n\n get settings() {\n return this._context.settings;\n }\n\n get authenticationContext() {\n return this._context.authenticationContext;\n }\n\n get sessionTicket() {\n return this._context.sessionTicket;\n }\n\n set sessionTicket(value: string | null) {\n this._context.sessionTicket = value;\n }\n\n get entityToken() {\n return this._context.entityToken;\n }\n\n set entityToken(value: string | null) {\n this._context.entityToken = value;\n }\n\n GetServerUrl() {\n if (!(this.settings.productionServerUrl.substring(0, 4) === \"http\")) {\n return `https://${this.settings.verticalName || this.settings.titleId}${\n this.settings.productionServerUrl\n }`;\n } else {\n return this.settings.productionServerUrl;\n }\n }\n\n InjectHeaders(\n xhr: XMLHttpRequest,\n headersObj: Record<string, string> | undefined\n ) {\n if (!headersObj) return;\n\n for (const headerKey in headersObj) {\n try {\n xhr.setRequestHeader(headerKey, headersObj[headerKey]);\n } catch (e) {\n console.log(\n `Failed to append header: ${headerKey} = ${headersObj[headerKey]} Error: ${e}`\n );\n }\n }\n }\n\n async ExecuteRequest<T extends IPlayFabResultCommon>(\n url: string,\n body: any,\n authkey: string | null,\n authValue: string | null,\n extraHeaders?: Record<string, string>\n ) {\n if (body == null) {\n body = {};\n }\n\n const requestBody = JSON.stringify(body);\n\n const apiParams = new URLSearchParams(this.requestGetParams);\n const apiUrl = new URL(\n apiParams.size ? `${url}?${apiParams.toString()}` : url\n );\n\n const response = await fetch(apiUrl.toString(), {\n method: \"POST\",\n headers: {\n \"Content-Type\": \"application/json\",\n \"X-PlayFabSDK\": \"JavaScriptSDK-\" + constants.sdkVersion,\n ...this.settings.globalHeaders,\n ...extraHeaders,\n ...(authkey && authValue ? { [authkey]: authValue } : {}),\n },\n body: requestBody,\n });\n\n const jsonResponse = await response.json();\n\n if (!response.ok || jsonResponse.code !== 200) {\n throw jsonResponse as IPlayFabError;\n }\n\n return jsonResponse as { data: T };\n }\n\n UpdateAuthenticationContext(currentAuthContext: AuthContext, result: any) {\n var authenticationContextUpdates = {} as AuthContext;\n if (result?.PlayFabId) {\n authenticationContextUpdates.PlayFabId = result.PlayFabId;\n }\n if (result?.SessionTicket) {\n authenticationContextUpdates.SessionTicket = result.SessionTicket;\n }\n if (result?.EntityToken) {\n authenticationContextUpdates.EntityId = result.EntityToken.Entity.Id;\n authenticationContextUpdates.EntityType = result.EntityToken.Entity.Type;\n authenticationContextUpdates.EntityToken = result.EntityToken.EntityToken;\n }\n // Update the authenticationContext with values from the result\n currentAuthContext = Object.assign(\n currentAuthContext,\n authenticationContextUpdates\n );\n\n this._context.authenticationContext = currentAuthContext;\n\n return currentAuthContext;\n }\n\n GetAuthInfo(request: any, authKey: string) {\n // Use the most-recently saved authKey, unless one was provided in the request via the AuthenticationContext\n var authError = AuthInfoMap[authKey as keyof typeof AuthInfoMap].authError;\n var authAttr = AuthInfoMap[authKey as keyof typeof AuthInfoMap].authAttr;\n var defaultAuthValue: string | null = null;\n if (authAttr === \"entityToken\") defaultAuthValue = this.entityToken;\n else if (authAttr === \"sessionTicket\")\n defaultAuthValue = this.sessionTicket;\n else if (authAttr === \"developerSecretKey\")\n defaultAuthValue = this.settings.developerSecretKey;\n var authValue = request.AuthenticationContext\n ? request.AuthenticationContext[authAttr]\n : defaultAuthValue;\n return { authKey, authValue, authError };\n }\n\n async ExecuteRequestWrapper<T extends IPlayFabResultCommon>(\n apiURL: string,\n request: any,\n authKey: string | null,\n extraHeaders?: Record<string, string>\n ) {\n var authValue = null;\n if (authKey !== null) {\n const { authError, ...authInfo } = this.GetAuthInfo(request, authKey);\n authKey = authInfo.authKey;\n authValue = authInfo.authValue;\n if (!authValue) throw authError;\n }\n return (\n await this.ExecuteRequest<T>(\n this.GetServerUrl() + apiURL,\n request,\n authKey,\n authValue,\n extraHeaders\n )\n ).data;\n }\n\n GenerateErrorReport(error: IPlayFabError | null): string {\n if (error == null) return \"\";\n var fullErrors = error.errorMessage;\n for (var paramName in error.errorDetails)\n for (var msgIdx in error.errorDetails[paramName])\n fullErrors +=\n \"\\n\" + paramName + \": \" + error.errorDetails[paramName][msgIdx];\n return fullErrors;\n }\n\n ForgetAllCredentials() {\n this._context.sessionTicket = null;\n this._context.entityToken = null;\n }\n}\n"],"mappings":";AAYO,IAAM,gBAAgB;AAAA,EAC3B,SAAS;AAAA,EACT,UAAU;AAAA,EACV,aAAa;AAAA,EACb,WAAW;AACb;AAEO,IAAM,cAAc;AAAA,EACzB,iBAAiB;AAAA,IACf,UAAU;AAAA,IACV,WAAW,cAAc;AAAA,EAC3B;AAAA,EACA,mBAAmB;AAAA,IACjB,UAAU;AAAA,IACV,WAAW,cAAc;AAAA,EAC3B;AAAA,EACA,eAAe;AAAA,IACb,UAAU;AAAA,IACV,WAAW,cAAc;AAAA,EAC3B;AACF;AAEA,IAAO,oBAAQ;AAAA,EACb,YAAY;AAAA,EACZ,gBAAgB;AAAA,EAChB,iBAAiB;AAAA,EACjB,iBAAiB;AAAA,IACf,SAAS;AAAA,IACT,oBAAoB;AAAA,IACpB,eAAe,CAAC;AAAA,IAChB,qBAAqB;AAAA,IACrB,cAAc;AAAA,EAChB;AACF;;;ACnCO,IAAM,iBAAN,MAAM,gBAAe;AAAA,EAiBlB,cAAc;AAdtB,oBAAsB,kBAAU;AAEhC,iCAAqC;AAAA,MACnC,WAAW;AAAA,MACX,UAAU;AAAA,MACV,YAAY;AAAA,MACZ,eAAe;AAAA,MACf,aAAa;AAAA,IACf;AAEA,yBAA+B;AAE/B,uBAA6B;AAAA,EAEN;AAAA,EAEvB,WAAkB,WAA2B;AAC3C,QAAI,CAAC,gBAAe,WAAW;AAC7B,sBAAe,YAAY,IAAI,gBAAe;AAAA,IAChD;AAEA,WAAO,gBAAe;AAAA,EACxB;AACF;;;AChCO,IAAM,gBAAN,MAAoB;AAAA,EAQzB,YAAY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AACpB,yBAAmB,KAAK;AAAA,aACjB,aAAa;AACpB,yBAAmB,KAAK,SAAS;AACnC,QAAI,YAAY,QAAQ,wBACpB,QAAQ,sBAAsB,QAAQ,IACtC;AACJ,WAAO,EAAE,SAAS,WAAW,UAAU;AAAA,EACzC;AAAA,EAEA,MAAM,sBACJ,QACA,SACA,SACA,cACA;AACA,QAAI,YAAY;AAChB,QAAI,YAAY,MAAM;AACpB,YAAM,EAAE,WAAW,GAAG,SAAS,IAAI,KAAK,YAAY,SAAS,OAAO;AACpE,gBAAU,SAAS;AACnB,kBAAY,SAAS;AACrB,UAAI,CAAC,UAAW,OAAM;AAAA,IACxB;AACA,YACE,MAAM,KAAK;AAAA,MACT,KAAK,aAAa,IAAI;AAAA,MACtB;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,IACF,GACA;AAAA,EACJ;AAAA,EAEA,oBAAoB,OAAqC;AACvD,QAAI,SAAS,KAAM,QAAO;AAC1B,QAAI,aAAa,MAAM;AACvB,aAAS,aAAa,MAAM;AAC1B,eAAS,UAAU,MAAM,aAAa,SAAS;AAC7C,sBACE,OAAO,YAAY,OAAO,MAAM,aAAa,SAAS,EAAE,MAAM;AACpE,WAAO;AAAA,EACT;AAAA,EAEA,uBAAuB;AACrB,SAAK,SAAS,gBAAgB;AAC9B,SAAK,SAAS,cAAc;AAAA,EAC9B;AACF;","names":[]}
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  PlayFabCommon
3
- } from "./chunk-73D4KIG4.js";
3
+ } from "./chunk-MQF77KJ5.js";
4
4
 
5
5
  // src/apis/PlayFabAddonApi.ts
6
6
  var PlayFabAddonApi = class extends PlayFabCommon {
@@ -360,4 +360,4 @@ var PlayFabAddonApi = class extends PlayFabCommon {
360
360
  export {
361
361
  PlayFabAddonApi
362
362
  };
363
- //# sourceMappingURL=chunk-L3PBS45C.js.map
363
+ //# sourceMappingURL=chunk-O37DIACU.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  PlayFabCommon
3
- } from "./chunk-73D4KIG4.js";
3
+ } from "./chunk-MQF77KJ5.js";
4
4
 
5
5
  // src/apis/PlayFabLocalizationApi.ts
6
6
  var PlayFabLocalizationApi = class extends PlayFabCommon {
@@ -19,4 +19,4 @@ var PlayFabLocalizationApi = class extends PlayFabCommon {
19
19
  export {
20
20
  PlayFabLocalizationApi
21
21
  };
22
- //# sourceMappingURL=chunk-DRSSJADT.js.map
22
+ //# sourceMappingURL=chunk-QQU2NYAU.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  PlayFabCommon
3
- } from "./chunk-73D4KIG4.js";
3
+ } from "./chunk-MQF77KJ5.js";
4
4
 
5
5
  // src/apis/PlayFabGroupsApi.ts
6
6
  var PlayFabGroupsApi = class extends PlayFabCommon {
@@ -418,4 +418,4 @@ var PlayFabGroupsApi = class extends PlayFabCommon {
418
418
  export {
419
419
  PlayFabGroupsApi
420
420
  };
421
- //# sourceMappingURL=chunk-LYJQAY3S.js.map
421
+ //# sourceMappingURL=chunk-TZC6YIFT.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  PlayFabCommon
3
- } from "./chunk-73D4KIG4.js";
3
+ } from "./chunk-MQF77KJ5.js";
4
4
 
5
5
  // src/apis/PlayFabExperimentationApi.ts
6
6
  var PlayFabExperimentationApi = class extends PlayFabCommon {
@@ -222,4 +222,4 @@ var PlayFabExperimentationApi = class extends PlayFabCommon {
222
222
  export {
223
223
  PlayFabExperimentationApi
224
224
  };
225
- //# sourceMappingURL=chunk-Y7OPROZF.js.map
225
+ //# sourceMappingURL=chunk-ULFMGU2Q.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  PlayFabCommon
3
- } from "./chunk-73D4KIG4.js";
3
+ } from "./chunk-MQF77KJ5.js";
4
4
 
5
5
  // src/apis/PlayFabEventsApi.ts
6
6
  var PlayFabEventsApi = class extends PlayFabCommon {
@@ -234,4 +234,4 @@ var PlayFabEventsApi = class extends PlayFabCommon {
234
234
  export {
235
235
  PlayFabEventsApi
236
236
  };
237
- //# sourceMappingURL=chunk-MSJIVNVR.js.map
237
+ //# sourceMappingURL=chunk-VHVB43FY.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  PlayFabCommon
3
- } from "./chunk-73D4KIG4.js";
3
+ } from "./chunk-MQF77KJ5.js";
4
4
 
5
5
  // src/apis/PlayFabClientApi.ts
6
6
  var PlayFabClientApi = class extends PlayFabCommon {
@@ -2990,4 +2990,4 @@ var PlayFabClientApi = class extends PlayFabCommon {
2990
2990
  export {
2991
2991
  PlayFabClientApi
2992
2992
  };
2993
- //# sourceMappingURL=chunk-OJ5FCC4K.js.map
2993
+ //# sourceMappingURL=chunk-YKZ3VOPY.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  PlayFabCommon
3
- } from "./chunk-73D4KIG4.js";
3
+ } from "./chunk-MQF77KJ5.js";
4
4
 
5
5
  // src/apis/PlayFabMultiplayerApi.ts
6
6
  var PlayFabMultiplayerApi = class extends PlayFabCommon {
@@ -123,8 +123,8 @@ var PlayFabMultiplayerApi = class extends PlayFabCommon {
123
123
  * "Deaths"
124
124
  * ],
125
125
  * "InitialSettingsModelId": "73a2506e-9fd3-4d84-8dd7-570c8e9e02cf",
126
- * "MatchResultStartTimeUtc": "2025-12-05T13:31:36.068Z",
127
- * "MatchResultEndTimeUtc": "2025-12-05T14:01:36.068Z",
126
+ * "MatchResultStartTimeUtc": "2026-01-23T13:31:33.498Z",
127
+ * "MatchResultEndTimeUtc": "2026-01-23T14:01:33.498Z",
128
128
  * "MaxIterations": 100,
129
129
  * "AnomalousMatchResultIgnoreThreshold": -20.0
130
130
  * });
@@ -2354,8 +2354,8 @@ var PlayFabMultiplayerApi = class extends PlayFabCommon {
2354
2354
  * "Rank": 1
2355
2355
  * }
2356
2356
  * ],
2357
- * "StartDateTimeUtc": "2025-12-05T13:31:36.06Z",
2358
- * "EndDateTimeUtc": "2025-12-05T14:01:36.06Z"
2357
+ * "StartDateTimeUtc": "2026-01-23T13:31:33.49Z",
2358
+ * "EndDateTimeUtc": "2026-01-23T14:01:33.49Z"
2359
2359
  * }
2360
2360
  * });
2361
2361
  */
@@ -2384,4 +2384,4 @@ var PlayFabMultiplayerApi = class extends PlayFabCommon {
2384
2384
  export {
2385
2385
  PlayFabMultiplayerApi
2386
2386
  };
2387
- //# sourceMappingURL=chunk-E425DLUS.js.map
2387
+ //# sourceMappingURL=chunk-ZZPJWPDA.js.map