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.
- package/dist/Addon.d.ts +179 -39
- package/dist/Addon.js +2 -2
- package/dist/Admin.d.ts +2386 -195
- package/dist/Admin.js +2 -2
- package/dist/Authentication.d.ts +32 -5
- package/dist/Authentication.js +2 -2
- package/dist/Client.d.ts +2235 -321
- package/dist/Client.js +2 -2
- package/dist/CloudScript.d.ts +199 -31
- package/dist/CloudScript.js +2 -2
- package/dist/Data.d.ts +137 -18
- package/dist/Data.js +2 -2
- package/dist/Economy.d.ts +1145 -106
- package/dist/Economy.js +2 -2
- package/dist/Events.d.ts +200 -13
- package/dist/Events.js +2 -2
- package/dist/Experimentation.d.ts +164 -17
- package/dist/Experimentation.js +2 -2
- package/dist/Groups.d.ts +267 -28
- package/dist/Groups.js +2 -2
- package/dist/Insights.d.ts +33 -7
- package/dist/Insights.js +2 -2
- package/dist/Localization.d.ts +5 -2
- package/dist/Localization.js +2 -2
- package/dist/Matchmaker.d.ts +271 -0
- package/dist/Matchmaker.js +8 -0
- package/dist/Matchmaker.js.map +1 -0
- package/dist/Multiplayer.d.ts +2697 -169
- package/dist/Multiplayer.js +2 -2
- package/dist/{PlayFabCommon-BX3jSqGx.d.ts → PlayFabCommon-Dnp_xHg5.d.ts} +3 -5
- package/dist/Profiles.d.ts +163 -19
- package/dist/Profiles.js +2 -2
- package/dist/Progression.d.ts +287 -35
- package/dist/Progression.js +2 -2
- package/dist/Server.d.ts +1904 -242
- package/dist/Server.js +2 -2
- package/dist/chunk-3I6ONUUQ.js +237 -0
- package/dist/chunk-3I6ONUUQ.js.map +1 -0
- package/dist/chunk-3O5QT4SL.js +2477 -0
- package/dist/chunk-3O5QT4SL.js.map +1 -0
- package/dist/chunk-3OBHYLBF.js +2673 -0
- package/dist/chunk-3OBHYLBF.js.map +1 -0
- package/dist/chunk-57KYHGBO.js +421 -0
- package/dist/chunk-57KYHGBO.js.map +1 -0
- package/dist/{chunk-J4QS5VX5.js → chunk-5CWZN75H.js} +6 -3
- package/dist/chunk-5CWZN75H.js.map +1 -0
- package/dist/chunk-73SVDH45.js +197 -0
- package/dist/chunk-73SVDH45.js.map +1 -0
- package/dist/chunk-ADHTNFTN.js +175 -0
- package/dist/chunk-ADHTNFTN.js.map +1 -0
- package/dist/chunk-C7U2JQNZ.js +76 -0
- package/dist/chunk-C7U2JQNZ.js.map +1 -0
- package/dist/{chunk-SGSEOIKS.js → chunk-GAZYZIK2.js} +34 -8
- package/dist/chunk-GAZYZIK2.js.map +1 -0
- package/dist/chunk-J54WY4UN.js +413 -0
- package/dist/chunk-J54WY4UN.js.map +1 -0
- package/dist/chunk-NFWQ4MMZ.js +1048 -0
- package/dist/chunk-NFWQ4MMZ.js.map +1 -0
- package/dist/{chunk-A7VD6ALV.js → chunk-P7UVG26J.js} +167 -32
- package/dist/chunk-P7UVG26J.js.map +1 -0
- package/dist/chunk-PFXZB4UN.js +2387 -0
- package/dist/chunk-PFXZB4UN.js.map +1 -0
- package/dist/{chunk-X34XZJB6.js → chunk-QNGQW3YB.js} +28 -6
- package/dist/chunk-QNGQW3YB.js.map +1 -0
- package/dist/chunk-SQWILU5T.js +270 -0
- package/dist/chunk-SQWILU5T.js.map +1 -0
- package/dist/{chunk-JGDO2ZE3.js → chunk-SR2RIRLX.js} +1482 -175
- package/dist/chunk-SR2RIRLX.js.map +1 -0
- package/dist/{chunk-62SULWOK.js → chunk-XVDYM74A.js} +17 -14
- package/dist/chunk-XVDYM74A.js.map +1 -0
- package/dist/chunk-ZW4TJ3MQ.js +225 -0
- package/dist/chunk-ZW4TJ3MQ.js.map +1 -0
- package/dist/index.d.ts +7 -6
- package/dist/index.js +29 -25
- package/package.json +2 -2
- package/dist/chunk-3FCAP7OZ.js +0 -187
- package/dist/chunk-3FCAP7OZ.js.map +0 -1
- package/dist/chunk-62SULWOK.js.map +0 -1
- package/dist/chunk-A7VD6ALV.js.map +0 -1
- package/dist/chunk-BX65UND2.js +0 -632
- package/dist/chunk-BX65UND2.js.map +0 -1
- package/dist/chunk-J4QS5VX5.js.map +0 -1
- package/dist/chunk-JGDO2ZE3.js.map +0 -1
- package/dist/chunk-POMI7LEF.js +0 -76
- package/dist/chunk-POMI7LEF.js.map +0 -1
- package/dist/chunk-Q3OF3AOJ.js +0 -97
- package/dist/chunk-Q3OF3AOJ.js.map +0 -1
- package/dist/chunk-QUZHVSVZ.js +0 -174
- package/dist/chunk-QUZHVSVZ.js.map +0 -1
- package/dist/chunk-QVLIVSO4.js +0 -1147
- package/dist/chunk-QVLIVSO4.js.map +0 -1
- package/dist/chunk-R7V7DFCF.js +0 -103
- package/dist/chunk-R7V7DFCF.js.map +0 -1
- package/dist/chunk-SGSEOIKS.js.map +0 -1
- package/dist/chunk-UOHHNVCJ.js +0 -119
- package/dist/chunk-UOHHNVCJ.js.map +0 -1
- package/dist/chunk-USKFWNQK.js +0 -384
- package/dist/chunk-USKFWNQK.js.map +0 -1
- package/dist/chunk-UX7LFJCX.js +0 -61
- package/dist/chunk-UX7LFJCX.js.map +0 -1
- package/dist/chunk-X34XZJB6.js.map +0 -1
- package/dist/chunk-YNZF3WXS.js +0 -882
- package/dist/chunk-YNZF3WXS.js.map +0 -1
@@ -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 GetMicrosoftStoreAccessTokensRequest,\n GetTransactionHistoryRequest,\n GetVersionedCatalogItemRequest,\n GetVersionedCatalogUploadStatusRequest,\n GetViewRequest,\n GetViewsRequest,\n ListVersionedCatalogsRequest,\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 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 GetMicrosoftStoreAccessTokensResponse,\n GetTransactionHistoryResponse,\n GetVersionedCatalogItemResponse,\n GetVersionedCatalogUploadStatusResponse,\n GetViewResponse,\n GetViewsResponse,\n ListVersionedCatalogsResponse,\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 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 */\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 * Gets the access tokens.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/inventory/inventory/getmicrosoftstoreaccesstokens Microsoft Documentation}\n * @example\n * await inventoryClient.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 * \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 * @example\n * await versionedcatalogClient.GetVersionedCatalogItem({});\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/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.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/inventory/inventory/redeemmicrosoftstoreinventoryitems Microsoft Documentation}\n * @example\n * await inventoryClient.RedeemMicrosoftStoreInventoryItems({\n * \"CollectionsIdKey\": \"collectionsIdKey\"\n * });\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;AAA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AS,iBAAiB,YAAY;AAAA,EACrH;AAEF;","names":[]}
|
@@ -1,215 +1,350 @@
|
|
1
1
|
import {
|
2
2
|
PlayFabCommon
|
3
|
-
} from "./chunk-
|
3
|
+
} from "./chunk-XVDYM74A.js";
|
4
4
|
|
5
5
|
// src/apis/PlayFabAddonApi.ts
|
6
6
|
var PlayFabAddonApi = class extends PlayFabCommon {
|
7
7
|
/**
|
8
8
|
* Creates the Apple addon on a title, or updates it if it already exists.
|
9
|
-
*
|
9
|
+
*
|
10
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdateapple Microsoft Documentation}
|
11
|
+
* @example
|
12
|
+
* await addonClient.CreateOrUpdateApple({
|
13
|
+
* "AppBundleId": "123456",
|
14
|
+
* "AppSharedSecret": "654321",
|
15
|
+
* "RequireSecureAuthentication": true
|
16
|
+
* });
|
10
17
|
*/
|
11
18
|
CreateOrUpdateApple(request, extraHeaders) {
|
12
19
|
return this.ExecuteRequestWrapper("/Addon/CreateOrUpdateApple", request, "X-EntityToken", extraHeaders);
|
13
20
|
}
|
14
21
|
/**
|
15
22
|
* Creates the Facebook addon on a title, or updates it if it already exists.
|
16
|
-
*
|
23
|
+
*
|
24
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdatefacebook Microsoft Documentation}
|
25
|
+
* @example
|
26
|
+
* await addonClient.CreateOrUpdateFacebook({
|
27
|
+
* "AppID": "123456",
|
28
|
+
* "AppSecret": "654321",
|
29
|
+
* "NotificationEmail": "user@example.com"
|
30
|
+
* });
|
17
31
|
*/
|
18
32
|
CreateOrUpdateFacebook(request, extraHeaders) {
|
19
33
|
return this.ExecuteRequestWrapper("/Addon/CreateOrUpdateFacebook", request, "X-EntityToken", extraHeaders);
|
20
34
|
}
|
21
35
|
/**
|
22
36
|
* Creates the Facebook Instant Games addon on a title, or updates it if it already exists.
|
23
|
-
*
|
37
|
+
*
|
38
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdatefacebookinstantgames Microsoft Documentation}
|
39
|
+
* @example
|
40
|
+
* await addonClient.CreateOrUpdateFacebookInstantGames({
|
41
|
+
* "AppID": "123456",
|
42
|
+
* "AppSecret": "654321"
|
43
|
+
* });
|
24
44
|
*/
|
25
45
|
CreateOrUpdateFacebookInstantGames(request, extraHeaders) {
|
26
46
|
return this.ExecuteRequestWrapper("/Addon/CreateOrUpdateFacebookInstantGames", request, "X-EntityToken", extraHeaders);
|
27
47
|
}
|
28
48
|
/**
|
29
49
|
* Creates the Google addon on a title, or updates it if it already exists.
|
30
|
-
*
|
50
|
+
*
|
51
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdategoogle Microsoft Documentation}
|
52
|
+
* @example
|
53
|
+
* await addonClient.CreateOrUpdateGoogle({
|
54
|
+
* "AppPackageID": "abcdef",
|
55
|
+
* "AppLicenseKey": "fedcba",
|
56
|
+
* "OAuthClientID": "123456",
|
57
|
+
* "OAuthClientSecret": "654321",
|
58
|
+
* "OAuthCustomRedirectUri": "https://yourdomaingoeshere.com"
|
59
|
+
* });
|
31
60
|
*/
|
32
61
|
CreateOrUpdateGoogle(request, extraHeaders) {
|
33
62
|
return this.ExecuteRequestWrapper("/Addon/CreateOrUpdateGoogle", request, "X-EntityToken", extraHeaders);
|
34
63
|
}
|
35
64
|
/**
|
36
65
|
* Creates the Kongregate addon on a title, or updates it if it already exists.
|
37
|
-
*
|
66
|
+
*
|
67
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdatekongregate Microsoft Documentation}
|
68
|
+
* @example
|
69
|
+
* await addonClient.CreateOrUpdateKongregate({
|
70
|
+
* "SecretAPIKey": "123456"
|
71
|
+
* });
|
38
72
|
*/
|
39
73
|
CreateOrUpdateKongregate(request, extraHeaders) {
|
40
74
|
return this.ExecuteRequestWrapper("/Addon/CreateOrUpdateKongregate", request, "X-EntityToken", extraHeaders);
|
41
75
|
}
|
42
76
|
/**
|
43
77
|
* Creates the Nintendo addon on a title, or updates it if it already exists.
|
44
|
-
*
|
78
|
+
*
|
79
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdatenintendo Microsoft Documentation}
|
80
|
+
* @example
|
81
|
+
* await addonClient.CreateOrUpdateNintendo({
|
82
|
+
* "ApplicationID": "123456",
|
83
|
+
* "Environments": [
|
84
|
+
* {
|
85
|
+
* "ID": "1",
|
86
|
+
* "ClientID": "123456",
|
87
|
+
* "ClientSecret": "654321"
|
88
|
+
* }
|
89
|
+
* ]
|
90
|
+
* });
|
45
91
|
*/
|
46
92
|
CreateOrUpdateNintendo(request, extraHeaders) {
|
47
93
|
return this.ExecuteRequestWrapper("/Addon/CreateOrUpdateNintendo", request, "X-EntityToken", extraHeaders);
|
48
94
|
}
|
49
95
|
/**
|
50
96
|
* Creates the PSN addon on a title, or updates it if it already exists.
|
51
|
-
*
|
97
|
+
*
|
98
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdatepsn Microsoft Documentation}
|
99
|
+
* @example
|
100
|
+
* await addonClient.CreateOrUpdatePSN({
|
101
|
+
* "ClientID": "123456",
|
102
|
+
* "ClientSecret": "abcdef",
|
103
|
+
* "NextGenClientID": "654321",
|
104
|
+
* "NextGenClientSecret": "fedcba"
|
105
|
+
* });
|
52
106
|
*/
|
53
107
|
CreateOrUpdatePSN(request, extraHeaders) {
|
54
108
|
return this.ExecuteRequestWrapper("/Addon/CreateOrUpdatePSN", request, "X-EntityToken", extraHeaders);
|
55
109
|
}
|
56
110
|
/**
|
57
111
|
* Creates the Steam addon on a title, or updates it if it already exists.
|
58
|
-
*
|
112
|
+
*
|
113
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdatesteam Microsoft Documentation}
|
114
|
+
* @example
|
115
|
+
* await addonClient.CreateOrUpdateSteam({
|
116
|
+
* "ApplicationId": "123456",
|
117
|
+
* "SecretKey": "654321",
|
118
|
+
* "UseSandbox": true,
|
119
|
+
* "EnforceServiceSpecificTickets": true
|
120
|
+
* });
|
59
121
|
*/
|
60
122
|
CreateOrUpdateSteam(request, extraHeaders) {
|
61
123
|
return this.ExecuteRequestWrapper("/Addon/CreateOrUpdateSteam", request, "X-EntityToken", extraHeaders);
|
62
124
|
}
|
63
125
|
/**
|
64
126
|
* Creates the ToxMod addon on a title, or updates it if it already exists.
|
65
|
-
*
|
127
|
+
*
|
128
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdatetoxmod Microsoft Documentation}
|
129
|
+
* @example
|
130
|
+
* await addonClient.CreateOrUpdateToxMod({
|
131
|
+
* "Enabled": false,
|
132
|
+
* "AccountId": "123456",
|
133
|
+
* "AccountKey": "654321"
|
134
|
+
* });
|
66
135
|
*/
|
67
136
|
CreateOrUpdateToxMod(request, extraHeaders) {
|
68
137
|
return this.ExecuteRequestWrapper("/Addon/CreateOrUpdateToxMod", request, "X-EntityToken", extraHeaders);
|
69
138
|
}
|
70
139
|
/**
|
71
140
|
* Creates the Twitch addon on a title, or updates it if it already exists.
|
72
|
-
*
|
141
|
+
*
|
142
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdatetwitch Microsoft Documentation}
|
143
|
+
* @example
|
144
|
+
* await addonClient.CreateOrUpdateTwitch({
|
145
|
+
* "ClientID": "123456",
|
146
|
+
* "ClientSecret": "654321"
|
147
|
+
* });
|
73
148
|
*/
|
74
149
|
CreateOrUpdateTwitch(request, extraHeaders) {
|
75
150
|
return this.ExecuteRequestWrapper("/Addon/CreateOrUpdateTwitch", request, "X-EntityToken", extraHeaders);
|
76
151
|
}
|
77
152
|
/**
|
78
153
|
* Deletes the Apple addon on a title.
|
79
|
-
*
|
154
|
+
*
|
155
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/deleteapple Microsoft Documentation}
|
156
|
+
* @example
|
157
|
+
* await addonClient.DeleteApple({});
|
80
158
|
*/
|
81
159
|
DeleteApple(request, extraHeaders) {
|
82
160
|
return this.ExecuteRequestWrapper("/Addon/DeleteApple", request, "X-EntityToken", extraHeaders);
|
83
161
|
}
|
84
162
|
/**
|
85
163
|
* Deletes the Facebook addon on a title.
|
86
|
-
*
|
164
|
+
*
|
165
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/deletefacebook Microsoft Documentation}
|
166
|
+
* @example
|
167
|
+
* await addonClient.DeleteFacebook({});
|
87
168
|
*/
|
88
169
|
DeleteFacebook(request, extraHeaders) {
|
89
170
|
return this.ExecuteRequestWrapper("/Addon/DeleteFacebook", request, "X-EntityToken", extraHeaders);
|
90
171
|
}
|
91
172
|
/**
|
92
173
|
* Deletes the Facebook addon on a title.
|
93
|
-
*
|
174
|
+
*
|
175
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/deletefacebookinstantgames Microsoft Documentation}
|
176
|
+
* @example
|
177
|
+
* await addonClient.DeleteFacebookInstantGames({});
|
94
178
|
*/
|
95
179
|
DeleteFacebookInstantGames(request, extraHeaders) {
|
96
180
|
return this.ExecuteRequestWrapper("/Addon/DeleteFacebookInstantGames", request, "X-EntityToken", extraHeaders);
|
97
181
|
}
|
98
182
|
/**
|
99
183
|
* Deletes the Google addon on a title.
|
100
|
-
*
|
184
|
+
*
|
185
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/deletegoogle Microsoft Documentation}
|
186
|
+
* @example
|
187
|
+
* await addonClient.DeleteGoogle({});
|
101
188
|
*/
|
102
189
|
DeleteGoogle(request, extraHeaders) {
|
103
190
|
return this.ExecuteRequestWrapper("/Addon/DeleteGoogle", request, "X-EntityToken", extraHeaders);
|
104
191
|
}
|
105
192
|
/**
|
106
193
|
* Deletes the Kongregate addon on a title.
|
107
|
-
*
|
194
|
+
*
|
195
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/deletekongregate Microsoft Documentation}
|
196
|
+
* @example
|
197
|
+
* await addonClient.DeleteKongregate({});
|
108
198
|
*/
|
109
199
|
DeleteKongregate(request, extraHeaders) {
|
110
200
|
return this.ExecuteRequestWrapper("/Addon/DeleteKongregate", request, "X-EntityToken", extraHeaders);
|
111
201
|
}
|
112
202
|
/**
|
113
203
|
* Deletes the Nintendo addon on a title.
|
114
|
-
*
|
204
|
+
*
|
205
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/deletenintendo Microsoft Documentation}
|
206
|
+
* @example
|
207
|
+
* await addonClient.DeleteNintendo({});
|
115
208
|
*/
|
116
209
|
DeleteNintendo(request, extraHeaders) {
|
117
210
|
return this.ExecuteRequestWrapper("/Addon/DeleteNintendo", request, "X-EntityToken", extraHeaders);
|
118
211
|
}
|
119
212
|
/**
|
120
213
|
* Deletes the PSN addon on a title.
|
121
|
-
*
|
214
|
+
*
|
215
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/deletepsn Microsoft Documentation}
|
216
|
+
* @example
|
217
|
+
* await addonClient.DeletePSN({});
|
122
218
|
*/
|
123
219
|
DeletePSN(request, extraHeaders) {
|
124
220
|
return this.ExecuteRequestWrapper("/Addon/DeletePSN", request, "X-EntityToken", extraHeaders);
|
125
221
|
}
|
126
222
|
/**
|
127
223
|
* Deletes the Steam addon on a title.
|
128
|
-
*
|
224
|
+
*
|
225
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/deletesteam Microsoft Documentation}
|
226
|
+
* @example
|
227
|
+
* await addonClient.DeleteSteam({});
|
129
228
|
*/
|
130
229
|
DeleteSteam(request, extraHeaders) {
|
131
230
|
return this.ExecuteRequestWrapper("/Addon/DeleteSteam", request, "X-EntityToken", extraHeaders);
|
132
231
|
}
|
133
232
|
/**
|
134
233
|
* Deletes the ToxMod addon on a title.
|
135
|
-
*
|
234
|
+
*
|
235
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/deletetoxmod Microsoft Documentation}
|
236
|
+
* @example
|
237
|
+
* await addonClient.DeleteToxMod({});
|
136
238
|
*/
|
137
239
|
DeleteToxMod(request, extraHeaders) {
|
138
240
|
return this.ExecuteRequestWrapper("/Addon/DeleteToxMod", request, "X-EntityToken", extraHeaders);
|
139
241
|
}
|
140
242
|
/**
|
141
243
|
* Deletes the Twitch addon on a title.
|
142
|
-
*
|
244
|
+
*
|
245
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/deletetwitch Microsoft Documentation}
|
246
|
+
* @example
|
247
|
+
* await addonClient.DeleteTwitch({});
|
143
248
|
*/
|
144
249
|
DeleteTwitch(request, extraHeaders) {
|
145
250
|
return this.ExecuteRequestWrapper("/Addon/DeleteTwitch", request, "X-EntityToken", extraHeaders);
|
146
251
|
}
|
147
252
|
/**
|
148
253
|
* Gets information of the Apple addon on a title, omits secrets.
|
149
|
-
*
|
254
|
+
*
|
255
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/getapple Microsoft Documentation}
|
256
|
+
* @example
|
257
|
+
* await addonClient.GetApple({});
|
150
258
|
*/
|
151
259
|
GetApple(request, extraHeaders) {
|
152
260
|
return this.ExecuteRequestWrapper("/Addon/GetApple", request, "X-EntityToken", extraHeaders);
|
153
261
|
}
|
154
262
|
/**
|
155
263
|
* Gets information of the Facebook addon on a title, omits secrets.
|
156
|
-
*
|
264
|
+
*
|
265
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/getfacebook Microsoft Documentation}
|
266
|
+
* @example
|
267
|
+
* await addonClient.GetFacebook({});
|
157
268
|
*/
|
158
269
|
GetFacebook(request, extraHeaders) {
|
159
270
|
return this.ExecuteRequestWrapper("/Addon/GetFacebook", request, "X-EntityToken", extraHeaders);
|
160
271
|
}
|
161
272
|
/**
|
162
273
|
* Gets information of the Facebook Instant Games addon on a title, omits secrets.
|
163
|
-
*
|
274
|
+
*
|
275
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/getfacebookinstantgames Microsoft Documentation}
|
276
|
+
* @example
|
277
|
+
* await addonClient.GetFacebookInstantGames({});
|
164
278
|
*/
|
165
279
|
GetFacebookInstantGames(request, extraHeaders) {
|
166
280
|
return this.ExecuteRequestWrapper("/Addon/GetFacebookInstantGames", request, "X-EntityToken", extraHeaders);
|
167
281
|
}
|
168
282
|
/**
|
169
283
|
* Gets information of the Google addon on a title, omits secrets.
|
170
|
-
*
|
284
|
+
*
|
285
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/getgoogle Microsoft Documentation}
|
286
|
+
* @example
|
287
|
+
* await addonClient.GetGoogle({});
|
171
288
|
*/
|
172
289
|
GetGoogle(request, extraHeaders) {
|
173
290
|
return this.ExecuteRequestWrapper("/Addon/GetGoogle", request, "X-EntityToken", extraHeaders);
|
174
291
|
}
|
175
292
|
/**
|
176
293
|
* Gets information of the Kongregate addon on a title, omits secrets.
|
177
|
-
*
|
294
|
+
*
|
295
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/getkongregate Microsoft Documentation}
|
296
|
+
* @example
|
297
|
+
* await addonClient.GetKongregate({});
|
178
298
|
*/
|
179
299
|
GetKongregate(request, extraHeaders) {
|
180
300
|
return this.ExecuteRequestWrapper("/Addon/GetKongregate", request, "X-EntityToken", extraHeaders);
|
181
301
|
}
|
182
302
|
/**
|
183
303
|
* Gets information of the Nintendo addon on a title, omits secrets.
|
184
|
-
*
|
304
|
+
*
|
305
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/getnintendo Microsoft Documentation}
|
306
|
+
* @example
|
307
|
+
* await addonClient.GetNintendo({});
|
185
308
|
*/
|
186
309
|
GetNintendo(request, extraHeaders) {
|
187
310
|
return this.ExecuteRequestWrapper("/Addon/GetNintendo", request, "X-EntityToken", extraHeaders);
|
188
311
|
}
|
189
312
|
/**
|
190
313
|
* Gets information of the PSN addon on a title, omits secrets.
|
191
|
-
*
|
314
|
+
*
|
315
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/getpsn Microsoft Documentation}
|
316
|
+
* @example
|
317
|
+
* await addonClient.GetPSN({});
|
192
318
|
*/
|
193
319
|
GetPSN(request, extraHeaders) {
|
194
320
|
return this.ExecuteRequestWrapper("/Addon/GetPSN", request, "X-EntityToken", extraHeaders);
|
195
321
|
}
|
196
322
|
/**
|
197
323
|
* Gets information of the Steam addon on a title, omits secrets.
|
198
|
-
*
|
324
|
+
*
|
325
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/getsteam Microsoft Documentation}
|
326
|
+
* @example
|
327
|
+
* await addonClient.GetSteam({});
|
199
328
|
*/
|
200
329
|
GetSteam(request, extraHeaders) {
|
201
330
|
return this.ExecuteRequestWrapper("/Addon/GetSteam", request, "X-EntityToken", extraHeaders);
|
202
331
|
}
|
203
332
|
/**
|
204
333
|
* Gets information of the ToxMod addon on a title, omits secrets.
|
205
|
-
*
|
334
|
+
*
|
335
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/gettoxmod Microsoft Documentation}
|
336
|
+
* @example
|
337
|
+
* await addonClient.GetToxMod({});
|
206
338
|
*/
|
207
339
|
GetToxMod(request, extraHeaders) {
|
208
340
|
return this.ExecuteRequestWrapper("/Addon/GetToxMod", request, "X-EntityToken", extraHeaders);
|
209
341
|
}
|
210
342
|
/**
|
211
343
|
* Gets information of the Twitch addon on a title, omits secrets.
|
212
|
-
*
|
344
|
+
*
|
345
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/gettwitch Microsoft Documentation}
|
346
|
+
* @example
|
347
|
+
* await addonClient.GetTwitch({});
|
213
348
|
*/
|
214
349
|
GetTwitch(request, extraHeaders) {
|
215
350
|
return this.ExecuteRequestWrapper("/Addon/GetTwitch", request, "X-EntityToken", extraHeaders);
|
@@ -219,4 +354,4 @@ var PlayFabAddonApi = class extends PlayFabCommon {
|
|
219
354
|
export {
|
220
355
|
PlayFabAddonApi
|
221
356
|
};
|
222
|
-
//# sourceMappingURL=chunk-
|
357
|
+
//# sourceMappingURL=chunk-P7UVG26J.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../src/apis/PlayFabAddonApi.ts"],"sourcesContent":["import type {\n CreateOrUpdateAppleRequest,\n CreateOrUpdateFacebookRequest,\n CreateOrUpdateFacebookInstantGamesRequest,\n CreateOrUpdateGoogleRequest,\n CreateOrUpdateKongregateRequest,\n CreateOrUpdateNintendoRequest,\n CreateOrUpdatePSNRequest,\n CreateOrUpdateSteamRequest,\n CreateOrUpdateToxModRequest,\n CreateOrUpdateTwitchRequest,\n DeleteAppleRequest,\n DeleteFacebookRequest,\n DeleteFacebookInstantGamesRequest,\n DeleteGoogleRequest,\n DeleteKongregateRequest,\n DeleteNintendoRequest,\n DeletePSNRequest,\n DeleteSteamRequest,\n DeleteToxModRequest,\n DeleteTwitchRequest,\n GetAppleRequest,\n GetFacebookRequest,\n GetFacebookInstantGamesRequest,\n GetGoogleRequest,\n GetKongregateRequest,\n GetNintendoRequest,\n GetPSNRequest,\n GetSteamRequest,\n GetToxModRequest,\n GetTwitchRequest,\n CreateOrUpdateAppleResponse,\n CreateOrUpdateFacebookResponse,\n CreateOrUpdateFacebookInstantGamesResponse,\n CreateOrUpdateGoogleResponse,\n CreateOrUpdateKongregateResponse,\n CreateOrUpdateNintendoResponse,\n CreateOrUpdatePSNResponse,\n CreateOrUpdateSteamResponse,\n CreateOrUpdateToxModResponse,\n CreateOrUpdateTwitchResponse,\n DeleteAppleResponse,\n DeleteFacebookResponse,\n DeleteFacebookInstantGamesResponse,\n DeleteGoogleResponse,\n DeleteKongregateResponse,\n DeleteNintendoResponse,\n DeletePSNResponse,\n DeleteSteamResponse,\n DeleteToxModResponse,\n DeleteTwitchResponse,\n GetAppleResponse,\n GetFacebookResponse,\n GetFacebookInstantGamesResponse,\n GetGoogleResponse,\n GetKongregateResponse,\n GetNintendoResponse,\n GetPSNResponse,\n GetSteamResponse,\n GetToxModResponse,\n GetTwitchResponse,\n} from \"../types/PlayFabAddonApi\";\nimport { PlayFabCommon } from \"../PlayFabCommon\";\n\nexport default class PlayFabAddonApi extends PlayFabCommon {\n\n /**\n * Creates the Apple addon on a title, or updates it if it already exists.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdateapple Microsoft Documentation}\n * @example\n * await addonClient.CreateOrUpdateApple({\n * \"AppBundleId\": \"123456\",\n * \"AppSharedSecret\": \"654321\",\n * \"RequireSecureAuthentication\": true\n * });\n */\n CreateOrUpdateApple (request: CreateOrUpdateAppleRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<CreateOrUpdateAppleResponse>(\"/Addon/CreateOrUpdateApple\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Creates the Facebook addon on a title, or updates it if it already exists.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdatefacebook Microsoft Documentation}\n * @example\n * await addonClient.CreateOrUpdateFacebook({\n * \"AppID\": \"123456\",\n * \"AppSecret\": \"654321\",\n * \"NotificationEmail\": \"user@example.com\"\n * });\n */\n CreateOrUpdateFacebook (request: CreateOrUpdateFacebookRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<CreateOrUpdateFacebookResponse>(\"/Addon/CreateOrUpdateFacebook\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Creates the Facebook Instant Games addon on a title, or updates it if it already exists.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdatefacebookinstantgames Microsoft Documentation}\n * @example\n * await addonClient.CreateOrUpdateFacebookInstantGames({\n * \"AppID\": \"123456\",\n * \"AppSecret\": \"654321\"\n * });\n */\n CreateOrUpdateFacebookInstantGames (request: CreateOrUpdateFacebookInstantGamesRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<CreateOrUpdateFacebookInstantGamesResponse>(\"/Addon/CreateOrUpdateFacebookInstantGames\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Creates the Google addon on a title, or updates it if it already exists.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdategoogle Microsoft Documentation}\n * @example\n * await addonClient.CreateOrUpdateGoogle({\n * \"AppPackageID\": \"abcdef\",\n * \"AppLicenseKey\": \"fedcba\",\n * \"OAuthClientID\": \"123456\",\n * \"OAuthClientSecret\": \"654321\",\n * \"OAuthCustomRedirectUri\": \"https://yourdomaingoeshere.com\"\n * });\n */\n CreateOrUpdateGoogle (request: CreateOrUpdateGoogleRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<CreateOrUpdateGoogleResponse>(\"/Addon/CreateOrUpdateGoogle\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Creates the Kongregate addon on a title, or updates it if it already exists.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdatekongregate Microsoft Documentation}\n * @example\n * await addonClient.CreateOrUpdateKongregate({\n * \"SecretAPIKey\": \"123456\"\n * });\n */\n CreateOrUpdateKongregate (request: CreateOrUpdateKongregateRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<CreateOrUpdateKongregateResponse>(\"/Addon/CreateOrUpdateKongregate\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Creates the Nintendo addon on a title, or updates it if it already exists.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdatenintendo Microsoft Documentation}\n * @example\n * await addonClient.CreateOrUpdateNintendo({\n * \"ApplicationID\": \"123456\",\n * \"Environments\": [\n * {\n * \"ID\": \"1\",\n * \"ClientID\": \"123456\",\n * \"ClientSecret\": \"654321\"\n * }\n * ]\n * });\n */\n CreateOrUpdateNintendo (request: CreateOrUpdateNintendoRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<CreateOrUpdateNintendoResponse>(\"/Addon/CreateOrUpdateNintendo\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Creates the PSN addon on a title, or updates it if it already exists.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdatepsn Microsoft Documentation}\n * @example\n * await addonClient.CreateOrUpdatePSN({\n * \"ClientID\": \"123456\",\n * \"ClientSecret\": \"abcdef\",\n * \"NextGenClientID\": \"654321\",\n * \"NextGenClientSecret\": \"fedcba\"\n * });\n */\n CreateOrUpdatePSN (request: CreateOrUpdatePSNRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<CreateOrUpdatePSNResponse>(\"/Addon/CreateOrUpdatePSN\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Creates the Steam addon on a title, or updates it if it already exists.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdatesteam Microsoft Documentation}\n * @example\n * await addonClient.CreateOrUpdateSteam({\n * \"ApplicationId\": \"123456\",\n * \"SecretKey\": \"654321\",\n * \"UseSandbox\": true,\n * \"EnforceServiceSpecificTickets\": true\n * });\n */\n CreateOrUpdateSteam (request: CreateOrUpdateSteamRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<CreateOrUpdateSteamResponse>(\"/Addon/CreateOrUpdateSteam\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Creates the ToxMod addon on a title, or updates it if it already exists.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdatetoxmod Microsoft Documentation}\n * @example\n * await addonClient.CreateOrUpdateToxMod({\n * \"Enabled\": false,\n * \"AccountId\": \"123456\",\n * \"AccountKey\": \"654321\"\n * });\n */\n CreateOrUpdateToxMod (request: CreateOrUpdateToxModRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<CreateOrUpdateToxModResponse>(\"/Addon/CreateOrUpdateToxMod\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Creates the Twitch addon on a title, or updates it if it already exists.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdatetwitch Microsoft Documentation}\n * @example\n * await addonClient.CreateOrUpdateTwitch({\n * \"ClientID\": \"123456\",\n * \"ClientSecret\": \"654321\"\n * });\n */\n CreateOrUpdateTwitch (request: CreateOrUpdateTwitchRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<CreateOrUpdateTwitchResponse>(\"/Addon/CreateOrUpdateTwitch\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Deletes the Apple addon on a title.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/deleteapple Microsoft Documentation}\n * @example\n * await addonClient.DeleteApple({});\n */\n DeleteApple (request: DeleteAppleRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<DeleteAppleResponse>(\"/Addon/DeleteApple\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Deletes the Facebook addon on a title.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/deletefacebook Microsoft Documentation}\n * @example\n * await addonClient.DeleteFacebook({});\n */\n DeleteFacebook (request: DeleteFacebookRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<DeleteFacebookResponse>(\"/Addon/DeleteFacebook\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Deletes the Facebook addon on a title.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/deletefacebookinstantgames Microsoft Documentation}\n * @example\n * await addonClient.DeleteFacebookInstantGames({});\n */\n DeleteFacebookInstantGames (request: DeleteFacebookInstantGamesRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<DeleteFacebookInstantGamesResponse>(\"/Addon/DeleteFacebookInstantGames\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Deletes the Google addon on a title.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/deletegoogle Microsoft Documentation}\n * @example\n * await addonClient.DeleteGoogle({});\n */\n DeleteGoogle (request: DeleteGoogleRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<DeleteGoogleResponse>(\"/Addon/DeleteGoogle\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Deletes the Kongregate addon on a title.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/deletekongregate Microsoft Documentation}\n * @example\n * await addonClient.DeleteKongregate({});\n */\n DeleteKongregate (request: DeleteKongregateRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<DeleteKongregateResponse>(\"/Addon/DeleteKongregate\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Deletes the Nintendo addon on a title.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/deletenintendo Microsoft Documentation}\n * @example\n * await addonClient.DeleteNintendo({});\n */\n DeleteNintendo (request: DeleteNintendoRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<DeleteNintendoResponse>(\"/Addon/DeleteNintendo\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Deletes the PSN addon on a title.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/deletepsn Microsoft Documentation}\n * @example\n * await addonClient.DeletePSN({});\n */\n DeletePSN (request: DeletePSNRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<DeletePSNResponse>(\"/Addon/DeletePSN\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Deletes the Steam addon on a title.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/deletesteam Microsoft Documentation}\n * @example\n * await addonClient.DeleteSteam({});\n */\n DeleteSteam (request: DeleteSteamRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<DeleteSteamResponse>(\"/Addon/DeleteSteam\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Deletes the ToxMod addon on a title.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/deletetoxmod Microsoft Documentation}\n * @example\n * await addonClient.DeleteToxMod({});\n */\n DeleteToxMod (request: DeleteToxModRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<DeleteToxModResponse>(\"/Addon/DeleteToxMod\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Deletes the Twitch addon on a title.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/deletetwitch Microsoft Documentation}\n * @example\n * await addonClient.DeleteTwitch({});\n */\n DeleteTwitch (request: DeleteTwitchRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<DeleteTwitchResponse>(\"/Addon/DeleteTwitch\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Gets information of the Apple addon on a title, omits secrets.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/getapple Microsoft Documentation}\n * @example\n * await addonClient.GetApple({});\n */\n GetApple (request: GetAppleRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetAppleResponse>(\"/Addon/GetApple\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Gets information of the Facebook addon on a title, omits secrets.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/getfacebook Microsoft Documentation}\n * @example\n * await addonClient.GetFacebook({});\n */\n GetFacebook (request: GetFacebookRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetFacebookResponse>(\"/Addon/GetFacebook\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Gets information of the Facebook Instant Games addon on a title, omits secrets.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/getfacebookinstantgames Microsoft Documentation}\n * @example\n * await addonClient.GetFacebookInstantGames({});\n */\n GetFacebookInstantGames (request: GetFacebookInstantGamesRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetFacebookInstantGamesResponse>(\"/Addon/GetFacebookInstantGames\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Gets information of the Google addon on a title, omits secrets.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/getgoogle Microsoft Documentation}\n * @example\n * await addonClient.GetGoogle({});\n */\n GetGoogle (request: GetGoogleRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetGoogleResponse>(\"/Addon/GetGoogle\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Gets information of the Kongregate addon on a title, omits secrets.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/getkongregate Microsoft Documentation}\n * @example\n * await addonClient.GetKongregate({});\n */\n GetKongregate (request: GetKongregateRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetKongregateResponse>(\"/Addon/GetKongregate\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Gets information of the Nintendo addon on a title, omits secrets.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/getnintendo Microsoft Documentation}\n * @example\n * await addonClient.GetNintendo({});\n */\n GetNintendo (request: GetNintendoRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetNintendoResponse>(\"/Addon/GetNintendo\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Gets information of the PSN addon on a title, omits secrets.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/getpsn Microsoft Documentation}\n * @example\n * await addonClient.GetPSN({});\n */\n GetPSN (request: GetPSNRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetPSNResponse>(\"/Addon/GetPSN\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Gets information of the Steam addon on a title, omits secrets.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/getsteam Microsoft Documentation}\n * @example\n * await addonClient.GetSteam({});\n */\n GetSteam (request: GetSteamRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetSteamResponse>(\"/Addon/GetSteam\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Gets information of the ToxMod addon on a title, omits secrets.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/gettoxmod Microsoft Documentation}\n * @example\n * await addonClient.GetToxMod({});\n */\n GetToxMod (request: GetToxModRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetToxModResponse>(\"/Addon/GetToxMod\", request, \"X-EntityToken\", extraHeaders);\n }\n\n /**\n * Gets information of the Twitch addon on a title, omits secrets.\n * \n * {@link https://docs.microsoft.com/rest/api/playfab/addon/addon/gettwitch Microsoft Documentation}\n * @example\n * await addonClient.GetTwitch({});\n */\n GetTwitch (request: GetTwitchRequest, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetTwitchResponse>(\"/Addon/GetTwitch\", request, \"X-EntityToken\", extraHeaders);\n }\n\n};\n"],"mappings":";;;;;AAgEA,IAAqB,kBAArB,cAA6C,cAAc;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAazD,oBAAqB,SAAqC,cAAuC;AAC/F,WAAO,KAAK,sBAAmD,8BAA8B,SAAS,iBAAiB,YAAY;AAAA,EACrI;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAaA,uBAAwB,SAAwC,cAAuC;AACrG,WAAO,KAAK,sBAAsD,iCAAiC,SAAS,iBAAiB,YAAY;AAAA,EAC3I;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAYA,mCAAoC,SAAoD,cAAuC;AAC7H,WAAO,KAAK,sBAAkE,6CAA6C,SAAS,iBAAiB,YAAY;AAAA,EACnK;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAeA,qBAAsB,SAAsC,cAAuC;AACjG,WAAO,KAAK,sBAAoD,+BAA+B,SAAS,iBAAiB,YAAY;AAAA,EACvI;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAWA,yBAA0B,SAA0C,cAAuC;AACzG,WAAO,KAAK,sBAAwD,mCAAmC,SAAS,iBA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