async-playfab-web-sdk 1.192.250526 → 1.193.250606
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.mts → Addon.d.ts} +213 -73
- package/dist/Addon.js +8 -0
- package/dist/Addon.js.map +1 -1
- package/dist/{Admin.d.mts → Admin.d.ts} +2547 -356
- package/dist/Admin.js +8 -0
- package/dist/Admin.js.map +1 -1
- package/dist/{Authentication.d.mts → Authentication.d.ts} +36 -9
- package/dist/Authentication.js +8 -0
- package/dist/Authentication.js.map +1 -1
- package/dist/{Client.d.mts → Client.d.ts} +2473 -557
- package/dist/Client.js +8 -0
- package/dist/Client.js.map +1 -1
- package/dist/{CloudScript.d.mts → CloudScript.d.ts} +214 -46
- package/dist/CloudScript.js +8 -0
- package/dist/CloudScript.js.map +1 -1
- package/dist/{Data.d.mts → Data.d.ts} +144 -25
- package/dist/Data.js +8 -0
- package/dist/Data.js.map +1 -1
- package/dist/{Economy.d.mts → Economy.d.ts} +1218 -173
- package/dist/Economy.js +8 -0
- package/dist/Economy.js.map +1 -1
- package/dist/{Events.d.mts → Events.d.ts} +212 -25
- package/dist/Events.js +8 -0
- package/dist/Events.js.map +1 -1
- package/dist/{Experimentation.d.mts → Experimentation.d.ts} +177 -30
- package/dist/Experimentation.js +8 -0
- package/dist/Experimentation.js.map +1 -1
- package/dist/{Groups.d.mts → Groups.d.ts} +306 -67
- package/dist/Groups.js +8 -0
- package/dist/Groups.js.map +1 -1
- package/dist/{Insights.d.mts → Insights.d.ts} +39 -13
- package/dist/Insights.js +8 -0
- package/dist/Insights.js.map +1 -1
- package/dist/{Localization.d.mts → Localization.d.ts} +6 -3
- package/dist/Localization.js +8 -0
- package/dist/Localization.js.map +1 -1
- package/dist/Matchmaker.d.ts +271 -0
- package/dist/Matchmaker.js +8 -0
- package/dist/Matchmaker.js.map +1 -0
- package/dist/{Multiplayer.d.mts → Multiplayer.d.ts} +2829 -301
- package/dist/Multiplayer.js +8 -0
- package/dist/Multiplayer.js.map +1 -1
- package/dist/{PlayFabCommon-BUv4zqXf.d.mts → PlayFabCommon-Dnp_xHg5.d.ts} +6 -10
- package/dist/{Profiles.d.mts → Profiles.d.ts} +172 -28
- package/dist/Profiles.js +8 -0
- package/dist/Profiles.js.map +1 -1
- package/dist/{Progression.d.mts → Progression.d.ts} +337 -73
- package/dist/Progression.js +8 -0
- package/dist/Progression.js.map +1 -1
- package/dist/{Server.d.mts → Server.d.ts} +2120 -458
- package/dist/Server.js +8 -0
- package/dist/Server.js.map +1 -1
- package/dist/chunk-5LPKBU65.js +2970 -0
- package/dist/chunk-5LPKBU65.js.map +1 -0
- package/dist/chunk-ABEEDFKP.js +175 -0
- package/dist/chunk-ABEEDFKP.js.map +1 -0
- package/dist/chunk-AGNOI6QW.js +2477 -0
- package/dist/chunk-AGNOI6QW.js.map +1 -0
- package/dist/chunk-B4NQUOWG.js +1048 -0
- package/dist/chunk-B4NQUOWG.js.map +1 -0
- package/dist/chunk-GERGPHQM.js +76 -0
- package/dist/chunk-GERGPHQM.js.map +1 -0
- package/dist/chunk-GOZV2MOC.js +2673 -0
- package/dist/chunk-GOZV2MOC.js.map +1 -0
- package/dist/chunk-GXP64DCJ.js +82 -0
- package/dist/chunk-GXP64DCJ.js.map +1 -0
- package/dist/chunk-HUS6GF7X.js +270 -0
- package/dist/chunk-HUS6GF7X.js.map +1 -0
- package/dist/chunk-JIEFHAFU.js +197 -0
- package/dist/chunk-JIEFHAFU.js.map +1 -0
- package/dist/chunk-LCCANUCE.js +2387 -0
- package/dist/chunk-LCCANUCE.js.map +1 -0
- package/dist/chunk-MNQCGRC6.js +357 -0
- package/dist/chunk-MNQCGRC6.js.map +1 -0
- package/dist/chunk-N4R6Y2MM.js +225 -0
- package/dist/chunk-N4R6Y2MM.js.map +1 -0
- package/dist/{Localization.mjs → chunk-N7LC7KNB.js} +43 -94
- package/dist/chunk-N7LC7KNB.js.map +1 -0
- package/dist/chunk-NPTN4F4Z.js +22 -0
- package/dist/chunk-NPTN4F4Z.js.map +1 -0
- package/dist/chunk-QHGWL3NW.js +237 -0
- package/dist/chunk-QHGWL3NW.js.map +1 -0
- package/dist/chunk-RKXM4KV5.js +421 -0
- package/dist/chunk-RKXM4KV5.js.map +1 -0
- package/dist/chunk-UDM2ZVXN.js +421 -0
- package/dist/chunk-UDM2ZVXN.js.map +1 -0
- package/dist/chunk-ZEBSOOZG.js +82 -0
- package/dist/chunk-ZEBSOOZG.js.map +1 -0
- package/dist/index.d.ts +18 -0
- package/dist/index.js +72 -0
- package/dist/index.js.map +1 -1
- package/package.json +2 -1
- package/dist/Addon.mjs +0 -452
- package/dist/Addon.mjs.map +0 -1
- package/dist/Admin.mjs +0 -1112
- package/dist/Admin.mjs.map +0 -1
- package/dist/Authentication.mjs +0 -290
- package/dist/Authentication.mjs.map +0 -1
- package/dist/Client.mjs +0 -1893
- package/dist/Client.mjs.map +0 -1
- package/dist/CloudScript.mjs +0 -349
- package/dist/CloudScript.mjs.map +0 -1
- package/dist/Data.mjs +0 -291
- package/dist/Data.mjs.map +0 -1
- package/dist/Economy.mjs +0 -614
- package/dist/Economy.mjs.map +0 -1
- package/dist/Events.mjs +0 -327
- package/dist/Events.mjs.map +0 -1
- package/dist/Experimentation.mjs +0 -333
- package/dist/Experimentation.mjs.map +0 -1
- package/dist/Groups.mjs +0 -417
- package/dist/Groups.mjs.map +0 -1
- package/dist/Insights.mjs +0 -286
- package/dist/Insights.mjs.map +0 -1
- package/dist/Localization.mjs.map +0 -1
- package/dist/Multiplayer.mjs +0 -862
- package/dist/Multiplayer.mjs.map +0 -1
- package/dist/Profiles.mjs +0 -306
- package/dist/Profiles.mjs.map +0 -1
- package/dist/Progression.mjs +0 -404
- package/dist/Progression.mjs.map +0 -1
- package/dist/Server.mjs +0 -1377
- package/dist/Server.mjs.map +0 -1
- package/dist/index.d.mts +0 -17
- package/dist/index.mjs +0 -6007
- package/dist/index.mjs.map +0 -1
package/dist/Multiplayer.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../src/apis/PlayFabMultiplayerApi.ts","../src/constants.ts","../src/PlayFabContext.ts","../src/PlayFabCommon.ts"],"sourcesContent":["import type { EmptyResponse } from \"../types/PlayFab\";\nimport type {\n\n CancelAllMatchmakingTicketsForPlayerRequest,\n CancelAllServerBackfillTicketsForPlayerRequest,\n CancelMatchmakingTicketRequest,\n CancelServerBackfillTicketRequest,\n CreateBuildAliasRequest,\n CreateBuildWithCustomContainerRequest,\n CreateBuildWithManagedContainerRequest,\n CreateBuildWithProcessBasedServerRequest,\n CreateLobbyRequest,\n CreateMatchmakingTicketRequest,\n CreateRemoteUserRequest,\n CreateServerBackfillTicketRequest,\n CreateServerMatchmakingTicketRequest,\n CreateTitleMultiplayerServersQuotaChangeRequest,\n DeleteAssetRequest,\n DeleteBuildRequest,\n DeleteBuildAliasRequest,\n DeleteBuildRegionRequest,\n DeleteCertificateRequest,\n DeleteContainerImageRequest,\n DeleteLobbyRequest,\n DeleteRemoteUserRequest,\n DeleteSecretRequest,\n EnableMultiplayerServersForTitleRequest,\n FindFriendLobbiesRequest,\n FindLobbiesRequest,\n GetAssetDownloadUrlRequest,\n GetAssetUploadUrlRequest,\n GetBuildRequest,\n GetBuildAliasRequest,\n GetContainerRegistryCredentialsRequest,\n GetLobbyRequest,\n GetMatchRequest,\n GetMatchmakingQueueRequest,\n GetMatchmakingTicketRequest,\n GetMultiplayerServerDetailsRequest,\n GetMultiplayerServerLogsRequest,\n GetMultiplayerSessionLogsBySessionIdRequest,\n GetQueueStatisticsRequest,\n GetRemoteLoginEndpointRequest,\n GetServerBackfillTicketRequest,\n GetTitleEnabledForMultiplayerServersStatusRequest,\n GetTitleMultiplayerServersQuotaChangeRequest,\n GetTitleMultiplayerServersQuotasRequest,\n InviteToLobbyRequest,\n JoinArrangedLobbyRequest,\n JoinLobbyRequest,\n JoinLobbyAsServerRequest,\n JoinMatchmakingTicketRequest,\n LeaveLobbyRequest,\n LeaveLobbyAsServerRequest,\n ListMultiplayerServersRequest,\n ListAssetSummariesRequest,\n ListBuildAliasesRequest,\n ListBuildSummariesRequest,\n ListCertificateSummariesRequest,\n ListContainerImagesRequest,\n ListContainerImageTagsRequest,\n ListMatchmakingQueuesRequest,\n ListMatchmakingTicketsForPlayerRequest,\n ListPartyQosServersRequest,\n ListQosServersForTitleRequest,\n ListSecretSummariesRequest,\n ListServerBackfillTicketsForPlayerRequest,\n ListTitleMultiplayerServersQuotaChangesRequest,\n ListVirtualMachineSummariesRequest,\n RemoveMatchmakingQueueRequest,\n RemoveMemberFromLobbyRequest,\n RequestMultiplayerServerRequest,\n RequestPartyServiceRequest,\n RolloverContainerRegistryCredentialsRequest,\n SetMatchmakingQueueRequest,\n ShutdownMultiplayerServerRequest,\n SubscribeToLobbyResourceRequest,\n SubscribeToMatchResourceRequest,\n UnsubscribeFromLobbyResourceRequest,\n UnsubscribeFromMatchResourceRequest,\n UntagContainerImageRequest,\n UpdateBuildAliasRequest,\n UpdateBuildNameRequest,\n UpdateBuildRegionRequest,\n UpdateBuildRegionsRequest,\n UpdateLobbyRequest,\n UpdateLobbyAsServerRequest,\n UploadCertificateRequest,\n UploadSecretRequest,\n CancelAllMatchmakingTicketsForPlayerResult,\n CancelAllServerBackfillTicketsForPlayerResult,\n CancelMatchmakingTicketResult,\n CancelServerBackfillTicketResult,\n BuildAliasDetailsResponse,\n CreateBuildWithCustomContainerResponse,\n CreateBuildWithManagedContainerResponse,\n CreateBuildWithProcessBasedServerResponse,\n CreateLobbyResult,\n CreateMatchmakingTicketResult,\n CreateRemoteUserResponse,\n CreateServerBackfillTicketResult,\n CreateTitleMultiplayerServersQuotaChangeResponse,\n LobbyEmptyResult,\n EnableMultiplayerServersForTitleResponse,\n FindFriendLobbiesResult,\n FindLobbiesResult,\n GetAssetDownloadUrlResponse,\n GetAssetUploadUrlResponse,\n GetBuildResponse,\n GetContainerRegistryCredentialsResponse,\n GetLobbyResult,\n GetMatchResult,\n GetMatchmakingQueueResult,\n GetMatchmakingTicketResult,\n GetMultiplayerServerDetailsResponse,\n GetMultiplayerServerLogsResponse,\n GetQueueStatisticsResult,\n GetRemoteLoginEndpointResponse,\n GetServerBackfillTicketResult,\n GetTitleEnabledForMultiplayerServersStatusResponse,\n GetTitleMultiplayerServersQuotaChangeResponse,\n GetTitleMultiplayerServersQuotasResponse,\n JoinLobbyResult,\n JoinLobbyAsServerResult,\n JoinMatchmakingTicketResult,\n ListMultiplayerServersResponse,\n ListAssetSummariesResponse,\n ListBuildAliasesResponse,\n ListBuildSummariesResponse,\n ListCertificateSummariesResponse,\n ListContainerImagesResponse,\n ListContainerImageTagsResponse,\n ListMatchmakingQueuesResult,\n ListMatchmakingTicketsForPlayerResult,\n ListPartyQosServersResponse,\n ListQosServersForTitleResponse,\n ListSecretSummariesResponse,\n ListServerBackfillTicketsForPlayerResult,\n ListTitleMultiplayerServersQuotaChangesResponse,\n ListVirtualMachineSummariesResponse,\n RemoveMatchmakingQueueResult,\n RequestMultiplayerServerResponse,\n RequestPartyServiceResponse,\n RolloverContainerRegistryCredentialsResponse,\n SetMatchmakingQueueResult,\n SubscribeToLobbyResourceResult,\n SubscribeToMatchResourceResult,\n UnsubscribeFromMatchResourceResult,\n} from \"../types/PlayFabMultiplayerApi\";\nimport { PlayFabCommon } from \"../PlayFabCommon\";\n\nexport default class PlayFabMultiplayerApi extends PlayFabCommon {\n\n /**\n * Cancel all active tickets the player is a member of in a given queue.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/cancelallmatchmakingticketsforplayer\n */\n CancelAllMatchmakingTicketsForPlayer (request: CancelAllMatchmakingTicketsForPlayerRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<CancelAllMatchmakingTicketsForPlayerResult>(\"/Match/CancelAllMatchmakingTicketsForPlayer\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Cancel all active backfill tickets the player is a member of in a given queue.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/cancelallserverbackfillticketsforplayer\n */\n CancelAllServerBackfillTicketsForPlayer (request: CancelAllServerBackfillTicketsForPlayerRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<CancelAllServerBackfillTicketsForPlayerResult>(\"/Match/CancelAllServerBackfillTicketsForPlayer\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Cancel a matchmaking ticket.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/cancelmatchmakingticket\n */\n CancelMatchmakingTicket (request: CancelMatchmakingTicketRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<CancelMatchmakingTicketResult>(\"/Match/CancelMatchmakingTicket\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Cancel a server backfill ticket.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/cancelserverbackfillticket\n */\n CancelServerBackfillTicket (request: CancelServerBackfillTicketRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<CancelServerBackfillTicketResult>(\"/Match/CancelServerBackfillTicket\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Creates a multiplayer server build alias.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/createbuildalias\n */\n CreateBuildAlias (request: CreateBuildAliasRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<BuildAliasDetailsResponse>(\"/MultiplayerServer/CreateBuildAlias\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Creates a multiplayer server build with a custom container.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/createbuildwithcustomcontainer\n */\n CreateBuildWithCustomContainer (request: CreateBuildWithCustomContainerRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<CreateBuildWithCustomContainerResponse>(\"/MultiplayerServer/CreateBuildWithCustomContainer\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Creates a multiplayer server build with a managed container.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/createbuildwithmanagedcontainer\n */\n CreateBuildWithManagedContainer (request: CreateBuildWithManagedContainerRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<CreateBuildWithManagedContainerResponse>(\"/MultiplayerServer/CreateBuildWithManagedContainer\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Creates a multiplayer server build with the server running as a process.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/createbuildwithprocessbasedserver\n */\n CreateBuildWithProcessBasedServer (request: CreateBuildWithProcessBasedServerRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<CreateBuildWithProcessBasedServerResponse>(\"/MultiplayerServer/CreateBuildWithProcessBasedServer\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Create a lobby.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/createlobby\n */\n CreateLobby (request: CreateLobbyRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<CreateLobbyResult>(\"/Lobby/CreateLobby\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Create a matchmaking ticket as a client.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/creatematchmakingticket\n */\n CreateMatchmakingTicket (request: CreateMatchmakingTicketRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<CreateMatchmakingTicketResult>(\"/Match/CreateMatchmakingTicket\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Creates a remote user to log on to a VM for a multiplayer server build.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/createremoteuser\n */\n CreateRemoteUser (request: CreateRemoteUserRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<CreateRemoteUserResponse>(\"/MultiplayerServer/CreateRemoteUser\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Create a backfill matchmaking ticket as a server. A backfill ticket represents an ongoing game. The matchmaking service\n * automatically starts matching the backfill ticket against other matchmaking tickets. Backfill tickets cannot match with\n * other backfill tickets.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/createserverbackfillticket\n */\n CreateServerBackfillTicket (request: CreateServerBackfillTicketRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<CreateServerBackfillTicketResult>(\"/Match/CreateServerBackfillTicket\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Create a matchmaking ticket as a server. The matchmaking service automatically starts matching the ticket against other\n * matchmaking tickets.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/createservermatchmakingticket\n */\n CreateServerMatchmakingTicket (request: CreateServerMatchmakingTicketRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<CreateMatchmakingTicketResult>(\"/Match/CreateServerMatchmakingTicket\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Creates a request to change a title's multiplayer server quotas.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/createtitlemultiplayerserversquotachange\n */\n CreateTitleMultiplayerServersQuotaChange (request: CreateTitleMultiplayerServersQuotaChangeRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<CreateTitleMultiplayerServersQuotaChangeResponse>(\"/MultiplayerServer/CreateTitleMultiplayerServersQuotaChange\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Deletes a multiplayer server game asset for a title.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/deleteasset\n */\n DeleteAsset (request: DeleteAssetRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<EmptyResponse>(\"/MultiplayerServer/DeleteAsset\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Deletes a multiplayer server build.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/deletebuild\n */\n DeleteBuild (request: DeleteBuildRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<EmptyResponse>(\"/MultiplayerServer/DeleteBuild\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Deletes a multiplayer server build alias.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/deletebuildalias\n */\n DeleteBuildAlias (request: DeleteBuildAliasRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<EmptyResponse>(\"/MultiplayerServer/DeleteBuildAlias\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Removes a multiplayer server build's region.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/deletebuildregion\n */\n DeleteBuildRegion (request: DeleteBuildRegionRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<EmptyResponse>(\"/MultiplayerServer/DeleteBuildRegion\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Deletes a multiplayer server game certificate.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/deletecertificate\n */\n DeleteCertificate (request: DeleteCertificateRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<EmptyResponse>(\"/MultiplayerServer/DeleteCertificate\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Deletes a container image repository.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/deletecontainerimagerepository\n */\n DeleteContainerImageRepository (request: DeleteContainerImageRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<EmptyResponse>(\"/MultiplayerServer/DeleteContainerImageRepository\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Delete a lobby.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/deletelobby\n */\n DeleteLobby (request: DeleteLobbyRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<LobbyEmptyResult>(\"/Lobby/DeleteLobby\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Deletes a remote user to log on to a VM for a multiplayer server build.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/deleteremoteuser\n */\n DeleteRemoteUser (request: DeleteRemoteUserRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<EmptyResponse>(\"/MultiplayerServer/DeleteRemoteUser\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Deletes a multiplayer server game secret.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/deletesecret\n */\n DeleteSecret (request: DeleteSecretRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<EmptyResponse>(\"/MultiplayerServer/DeleteSecret\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Enables the multiplayer server feature for a title.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/enablemultiplayerserversfortitle\n */\n EnableMultiplayerServersForTitle (request: EnableMultiplayerServersForTitleRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<EnableMultiplayerServersForTitleResponse>(\"/MultiplayerServer/EnableMultiplayerServersForTitle\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Find lobbies which match certain criteria, and which friends are in.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/findfriendlobbies\n */\n FindFriendLobbies (request: FindFriendLobbiesRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<FindFriendLobbiesResult>(\"/Lobby/FindFriendLobbies\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Find all the lobbies that match certain criteria.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/findlobbies\n */\n FindLobbies (request: FindLobbiesRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<FindLobbiesResult>(\"/Lobby/FindLobbies\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Gets a URL that can be used to download the specified asset. A sample pre-authenticated url -\n * https://sampleStorageAccount.blob.core.windows.net/gameassets/gameserver.zip?sv=2015-04-05&ss=b&srt=sco&sp=rw&st=startDate&se=endDate&spr=https&sig=sampleSig&api-version=2017-07-29\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/getassetdownloadurl\n */\n GetAssetDownloadUrl (request: GetAssetDownloadUrlRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetAssetDownloadUrlResponse>(\"/MultiplayerServer/GetAssetDownloadUrl\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Gets the URL to upload assets to. A sample pre-authenticated url -\n * https://sampleStorageAccount.blob.core.windows.net/gameassets/gameserver.zip?sv=2015-04-05&ss=b&srt=sco&sp=rw&st=startDate&se=endDate&spr=https&sig=sampleSig&api-version=2017-07-29\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/getassetuploadurl\n */\n GetAssetUploadUrl (request: GetAssetUploadUrlRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetAssetUploadUrlResponse>(\"/MultiplayerServer/GetAssetUploadUrl\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Gets a multiplayer server build.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/getbuild\n */\n GetBuild (request: GetBuildRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetBuildResponse>(\"/MultiplayerServer/GetBuild\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Gets a multiplayer server build alias.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/getbuildalias\n */\n GetBuildAlias (request: GetBuildAliasRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<BuildAliasDetailsResponse>(\"/MultiplayerServer/GetBuildAlias\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Gets the credentials to the container registry.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/getcontainerregistrycredentials\n */\n GetContainerRegistryCredentials (request: GetContainerRegistryCredentialsRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetContainerRegistryCredentialsResponse>(\"/MultiplayerServer/GetContainerRegistryCredentials\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Get a lobby.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/getlobby\n */\n GetLobby (request: GetLobbyRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetLobbyResult>(\"/Lobby/GetLobby\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Get a match.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/getmatch\n */\n GetMatch (request: GetMatchRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetMatchResult>(\"/Match/GetMatch\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * SDK support is limited to C# and Java for this API. Get a matchmaking queue configuration.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking-admin/getmatchmakingqueue\n */\n GetMatchmakingQueue (request: GetMatchmakingQueueRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetMatchmakingQueueResult>(\"/Match/GetMatchmakingQueue\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Get a matchmaking ticket by ticket Id.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/getmatchmakingticket\n */\n GetMatchmakingTicket (request: GetMatchmakingTicketRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetMatchmakingTicketResult>(\"/Match/GetMatchmakingTicket\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Gets multiplayer server session details for a build.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/getmultiplayerserverdetails\n */\n GetMultiplayerServerDetails (request: GetMultiplayerServerDetailsRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetMultiplayerServerDetailsResponse>(\"/MultiplayerServer/GetMultiplayerServerDetails\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Gets multiplayer server logs after a server has terminated.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/getmultiplayerserverlogs\n */\n GetMultiplayerServerLogs (request: GetMultiplayerServerLogsRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetMultiplayerServerLogsResponse>(\"/MultiplayerServer/GetMultiplayerServerLogs\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Gets multiplayer server logs after a server has terminated.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/getmultiplayersessionlogsbysessionid\n */\n GetMultiplayerSessionLogsBySessionId (request: GetMultiplayerSessionLogsBySessionIdRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetMultiplayerServerLogsResponse>(\"/MultiplayerServer/GetMultiplayerSessionLogsBySessionId\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Get the statistics for a queue.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/getqueuestatistics\n */\n GetQueueStatistics (request: GetQueueStatisticsRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetQueueStatisticsResult>(\"/Match/GetQueueStatistics\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Gets a remote login endpoint to a VM that is hosting a multiplayer server build.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/getremoteloginendpoint\n */\n GetRemoteLoginEndpoint (request: GetRemoteLoginEndpointRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetRemoteLoginEndpointResponse>(\"/MultiplayerServer/GetRemoteLoginEndpoint\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Get a matchmaking backfill ticket by ticket Id.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/getserverbackfillticket\n */\n GetServerBackfillTicket (request: GetServerBackfillTicketRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetServerBackfillTicketResult>(\"/Match/GetServerBackfillTicket\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Gets the status of whether a title is enabled for the multiplayer server feature.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/gettitleenabledformultiplayerserversstatus\n */\n GetTitleEnabledForMultiplayerServersStatus (request: GetTitleEnabledForMultiplayerServersStatusRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetTitleEnabledForMultiplayerServersStatusResponse>(\"/MultiplayerServer/GetTitleEnabledForMultiplayerServersStatus\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Gets a title's server quota change request.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/gettitlemultiplayerserversquotachange\n */\n GetTitleMultiplayerServersQuotaChange (request: GetTitleMultiplayerServersQuotaChangeRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetTitleMultiplayerServersQuotaChangeResponse>(\"/MultiplayerServer/GetTitleMultiplayerServersQuotaChange\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Gets the quotas for a title in relation to multiplayer servers.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/gettitlemultiplayerserversquotas\n */\n GetTitleMultiplayerServersQuotas (request: GetTitleMultiplayerServersQuotasRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetTitleMultiplayerServersQuotasResponse>(\"/MultiplayerServer/GetTitleMultiplayerServersQuotas\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Send a notification to invite a player to a lobby.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/invitetolobby\n */\n InviteToLobby (request: InviteToLobbyRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<LobbyEmptyResult>(\"/Lobby/InviteToLobby\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Join an Arranged lobby.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/joinarrangedlobby\n */\n JoinArrangedLobby (request: JoinArrangedLobbyRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<JoinLobbyResult>(\"/Lobby/JoinArrangedLobby\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Join a lobby.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/joinlobby\n */\n JoinLobby (request: JoinLobbyRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<JoinLobbyResult>(\"/Lobby/JoinLobby\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Preview: Join a lobby as a server entity. This is restricted to client lobbies which are using connections.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/joinlobbyasserver\n */\n JoinLobbyAsServer (request: JoinLobbyAsServerRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<JoinLobbyAsServerResult>(\"/Lobby/JoinLobbyAsServer\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Join a matchmaking ticket.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/joinmatchmakingticket\n */\n JoinMatchmakingTicket (request: JoinMatchmakingTicketRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<JoinMatchmakingTicketResult>(\"/Match/JoinMatchmakingTicket\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Leave a lobby.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/leavelobby\n */\n LeaveLobby (request: LeaveLobbyRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<LobbyEmptyResult>(\"/Lobby/LeaveLobby\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Preview: Request for server to leave a lobby. This is restricted to client owned lobbies which are using connections.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/leavelobbyasserver\n */\n LeaveLobbyAsServer (request: LeaveLobbyAsServerRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<LobbyEmptyResult>(\"/Lobby/LeaveLobbyAsServer\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Lists archived multiplayer server sessions for a build.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listarchivedmultiplayerservers\n */\n ListArchivedMultiplayerServers (request: ListMultiplayerServersRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<ListMultiplayerServersResponse>(\"/MultiplayerServer/ListArchivedMultiplayerServers\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Lists multiplayer server game assets for a title.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listassetsummaries\n */\n ListAssetSummaries (request: ListAssetSummariesRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<ListAssetSummariesResponse>(\"/MultiplayerServer/ListAssetSummaries\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Lists details of all build aliases for a title. Accepts tokens for title and if game client access is enabled, allows\n * game client to request list of builds with player entity token.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listbuildaliases\n */\n ListBuildAliases (request: ListBuildAliasesRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<ListBuildAliasesResponse>(\"/MultiplayerServer/ListBuildAliases\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Lists summarized details of all multiplayer server builds for a title. Accepts tokens for title and if game client\n * access is enabled, allows game client to request list of builds with player entity token.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listbuildsummariesv2\n */\n ListBuildSummariesV2 (request: ListBuildSummariesRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<ListBuildSummariesResponse>(\"/MultiplayerServer/ListBuildSummariesV2\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Lists multiplayer server game certificates for a title.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listcertificatesummaries\n */\n ListCertificateSummaries (request: ListCertificateSummariesRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<ListCertificateSummariesResponse>(\"/MultiplayerServer/ListCertificateSummaries\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Lists custom container images for a title.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listcontainerimages\n */\n ListContainerImages (request: ListContainerImagesRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<ListContainerImagesResponse>(\"/MultiplayerServer/ListContainerImages\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Lists the tags for a custom container image.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listcontainerimagetags\n */\n ListContainerImageTags (request: ListContainerImageTagsRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<ListContainerImageTagsResponse>(\"/MultiplayerServer/ListContainerImageTags\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * SDK support is limited to C# and Java for this API. List all matchmaking queue configs.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking-admin/listmatchmakingqueues\n */\n ListMatchmakingQueues (request: ListMatchmakingQueuesRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<ListMatchmakingQueuesResult>(\"/Match/ListMatchmakingQueues\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * List all matchmaking ticket Ids the user is a member of.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/listmatchmakingticketsforplayer\n */\n ListMatchmakingTicketsForPlayer (request: ListMatchmakingTicketsForPlayerRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<ListMatchmakingTicketsForPlayerResult>(\"/Match/ListMatchmakingTicketsForPlayer\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Lists multiplayer server sessions for a build.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listmultiplayerservers\n */\n ListMultiplayerServers (request: ListMultiplayerServersRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<ListMultiplayerServersResponse>(\"/MultiplayerServer/ListMultiplayerServers\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Lists quality of service servers for party.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listpartyqosservers\n */\n ListPartyQosServers (request: ListPartyQosServersRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<ListPartyQosServersResponse>(\"/MultiplayerServer/ListPartyQosServers\", request, null, customData, extraHeaders);\n }\n\n /**\n * Lists quality of service servers for the title. By default, servers are only returned for regions where a Multiplayer\n * Servers build has been deployed.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listqosserversfortitle\n */\n ListQosServersForTitle (request: ListQosServersForTitleRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<ListQosServersForTitleResponse>(\"/MultiplayerServer/ListQosServersForTitle\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Lists multiplayer server game secrets for a title.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listsecretsummaries\n */\n ListSecretSummaries (request: ListSecretSummariesRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<ListSecretSummariesResponse>(\"/MultiplayerServer/ListSecretSummaries\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * List all server backfill ticket Ids the user is a member of.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/listserverbackfillticketsforplayer\n */\n ListServerBackfillTicketsForPlayer (request: ListServerBackfillTicketsForPlayerRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<ListServerBackfillTicketsForPlayerResult>(\"/Match/ListServerBackfillTicketsForPlayer\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * List all server quota change requests for a title.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listtitlemultiplayerserversquotachanges\n */\n ListTitleMultiplayerServersQuotaChanges (request: ListTitleMultiplayerServersQuotaChangesRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<ListTitleMultiplayerServersQuotaChangesResponse>(\"/MultiplayerServer/ListTitleMultiplayerServersQuotaChanges\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Lists virtual machines for a title.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listvirtualmachinesummaries\n */\n ListVirtualMachineSummaries (request: ListVirtualMachineSummariesRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<ListVirtualMachineSummariesResponse>(\"/MultiplayerServer/ListVirtualMachineSummaries\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * SDK support is limited to C# and Java for this API. Remove a matchmaking queue config.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking-admin/removematchmakingqueue\n */\n RemoveMatchmakingQueue (request: RemoveMatchmakingQueueRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<RemoveMatchmakingQueueResult>(\"/Match/RemoveMatchmakingQueue\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Remove a member from a lobby.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/removemember\n */\n RemoveMember (request: RemoveMemberFromLobbyRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<LobbyEmptyResult>(\"/Lobby/RemoveMember\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Request a multiplayer server session. Accepts tokens for title and if game client access is enabled, allows game client\n * to request a server with player entity token.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/requestmultiplayerserver\n */\n RequestMultiplayerServer (request: RequestMultiplayerServerRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<RequestMultiplayerServerResponse>(\"/MultiplayerServer/RequestMultiplayerServer\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Request a party session.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/requestpartyservice\n */\n RequestPartyService (request: RequestPartyServiceRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<RequestPartyServiceResponse>(\"/Party/RequestPartyService\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Rolls over the credentials to the container registry.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/rollovercontainerregistrycredentials\n */\n RolloverContainerRegistryCredentials (request: RolloverContainerRegistryCredentialsRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<RolloverContainerRegistryCredentialsResponse>(\"/MultiplayerServer/RolloverContainerRegistryCredentials\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * SDK support is limited to C# and Java for this API. Create or update a matchmaking queue configuration.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking-admin/setmatchmakingqueue\n */\n SetMatchmakingQueue (request: SetMatchmakingQueueRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<SetMatchmakingQueueResult>(\"/Match/SetMatchmakingQueue\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Shuts down a multiplayer server session.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/shutdownmultiplayerserver\n */\n ShutdownMultiplayerServer (request: ShutdownMultiplayerServerRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<EmptyResponse>(\"/MultiplayerServer/ShutdownMultiplayerServer\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Subscribe to lobby resource notifications.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/subscribetolobbyresource\n */\n SubscribeToLobbyResource (request: SubscribeToLobbyResourceRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<SubscribeToLobbyResourceResult>(\"/Lobby/SubscribeToLobbyResource\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Subscribe to match resource notifications.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/subscribetomatchmakingresource\n */\n SubscribeToMatchmakingResource (request: SubscribeToMatchResourceRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<SubscribeToMatchResourceResult>(\"/Match/SubscribeToMatchmakingResource\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Unsubscribe from lobby notifications.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/unsubscribefromlobbyresource\n */\n UnsubscribeFromLobbyResource (request: UnsubscribeFromLobbyResourceRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<LobbyEmptyResult>(\"/Lobby/UnsubscribeFromLobbyResource\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Unsubscribe from match resource notifications.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/unsubscribefrommatchmakingresource\n */\n UnsubscribeFromMatchmakingResource (request: UnsubscribeFromMatchResourceRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<UnsubscribeFromMatchResourceResult>(\"/Match/UnsubscribeFromMatchmakingResource\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Untags a container image.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/untagcontainerimage\n */\n UntagContainerImage (request: UntagContainerImageRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<EmptyResponse>(\"/MultiplayerServer/UntagContainerImage\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Creates a multiplayer server build alias.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/updatebuildalias\n */\n UpdateBuildAlias (request: UpdateBuildAliasRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<BuildAliasDetailsResponse>(\"/MultiplayerServer/UpdateBuildAlias\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Updates a multiplayer server build's name.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/updatebuildname\n */\n UpdateBuildName (request: UpdateBuildNameRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<EmptyResponse>(\"/MultiplayerServer/UpdateBuildName\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Updates a multiplayer server build's region. If the region is not yet created, it will be created\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/updatebuildregion\n */\n UpdateBuildRegion (request: UpdateBuildRegionRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<EmptyResponse>(\"/MultiplayerServer/UpdateBuildRegion\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Updates a multiplayer server build's regions.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/updatebuildregions\n */\n UpdateBuildRegions (request: UpdateBuildRegionsRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<EmptyResponse>(\"/MultiplayerServer/UpdateBuildRegions\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Update a lobby.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/updatelobby\n */\n UpdateLobby (request: UpdateLobbyRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<LobbyEmptyResult>(\"/Lobby/UpdateLobby\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Preview: Update fields related to a joined server in the lobby the server is in. Servers can keep a lobby from expiring\n * by being the one to \"update\" the lobby in some way. Servers have no impact on last member leave/last member disconnect\n * behavior.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/updatelobbyasserver\n */\n UpdateLobbyAsServer (request: UpdateLobbyAsServerRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<LobbyEmptyResult>(\"/Lobby/UpdateLobbyAsServer\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Uploads a multiplayer server game certificate.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/uploadcertificate\n */\n UploadCertificate (request: UploadCertificateRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<EmptyResponse>(\"/MultiplayerServer/UploadCertificate\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Uploads a multiplayer server game secret.\n * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/uploadsecret\n */\n UploadSecret (request: UploadSecretRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<EmptyResponse>(\"/MultiplayerServer/UploadSecret\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n};\n","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 GlobalHeaderInjection?: { [key: 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 AuthInfoMap = {\n \"X-EntityToken\": {\n authAttr: \"entityToken\",\n authError: \"errorEntityToken\",\n },\n \"X-Authorization\": {\n authAttr: \"sessionTicket\",\n authError: \"errorLoggedIn\",\n },\n \"X-SecretKey\": {\n authAttr: \"developerSecretKey\",\n authError: \"errorSecretKey\",\n },\n};\n\nexport default {\n sdkVersion: \"1.192.250526\",\n sdkFingerprint: \"JavaScriptSDK-1.192.250526\",\n buildIdentifier: \"custom_async-javascriptsdk\",\n defaultSettings: {\n titleId: \"\",\n developerSecretKey: \"\",\n GlobalHeaderInjection: {},\n productionServerUrl: \".playfabapi.com\",\n verticalName: null\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 } 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 = \"Must be have settings.titleId set to call this method\";\n errorLoggedIn = \"Must be logged in to call this method\";\n errorEntityToken =\n \"You must successfully call GetEntityToken before calling this\";\n errorSecretKey =\n \"Must have settings.developerSecretKey set to call this method\";\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 ExecuteRequest<T extends IPlayFabResultCommon>(\n url: string,\n body: any,\n authkey: string | null,\n authValue: string | null,\n customData: any,\n extraHeaders?: Record<string, string>\n ): Promise<T> {\n return new Promise((resolve, reject) => {\n if (body == null) body = {};\n\n var startTime = new Date().getTime();\n var requestBody = JSON.stringify(body);\n\n var urlArr = [url];\n var getParams = this.requestGetParams;\n if (getParams != null) {\n var firstParam = true;\n for (var key in getParams) {\n if (firstParam) {\n urlArr.push(\"?\");\n firstParam = false;\n } else {\n urlArr.push(\"&\");\n }\n urlArr.push(key);\n urlArr.push(\"=\");\n urlArr.push(getParams[key as keyof typeof getParams]);\n }\n }\n\n var completeUrl = urlArr.join(\"\");\n\n var xhr = new XMLHttpRequest();\n xhr.open(\"POST\", completeUrl, true);\n\n xhr.setRequestHeader(\"Content-Type\", \"application/json\");\n xhr.setRequestHeader(\n \"X-PlayFabSDK\",\n \"JavaScriptSDK-\" + constants.sdkVersion\n );\n if (authkey != null) {\n xhr.setRequestHeader(authkey, authValue!);\n }\n this.InjectHeaders(xhr, this.settings.GlobalHeaderInjection);\n this.InjectHeaders(xhr, extraHeaders);\n\n xhr.onloadend = () => {\n var result = this.GetPlayFabResponse(body, xhr, startTime, customData);\n if (result.code === 200) {\n resolve(result.data || result);\n } else {\n reject(result);\n }\n };\n\n xhr.onerror = () => {\n var result = this.GetPlayFabResponse(body, xhr, startTime, customData);\n reject(result);\n };\n\n xhr.send(requestBody);\n });\n }\n\n GetPlayFabResponse(\n request: any,\n xhr: XMLHttpRequest,\n startTime: number,\n customData: any\n ) {\n var result = null as any;\n try {\n // window.console.log(\"parsing json result: \" + xhr.responseText);\n result = JSON.parse(xhr.responseText);\n } catch (e) {\n result = {\n code: 503, // Service Unavailable\n status: \"Service Unavailable\",\n error: \"Connection error\",\n errorCode: 2, // PlayFabErrorCode.ConnectionError\n errorMessage: xhr.responseText,\n };\n }\n\n result.CallBackTimeMS = new Date().getTime() - startTime;\n result.Request = request;\n result.CustomData = customData;\n return result;\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 ExecuteRequestWrapper<T extends IPlayFabResultCommon>(\n apiURL: string,\n request: any,\n authKey: string | null,\n customData: any,\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 this.ExecuteRequest<T>(\n this.GetServerUrl() + apiURL,\n request,\n authKey,\n authValue,\n customData,\n extraHeaders\n );\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":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACWO,IAAM,cAAc;AAAA,EACzB,iBAAiB;AAAA,IACf,UAAU;AAAA,IACV,WAAW;AAAA,EACb;AAAA,EACA,mBAAmB;AAAA,IACjB,UAAU;AAAA,IACV,WAAW;AAAA,EACb;AAAA,EACA,eAAe;AAAA,IACb,UAAU;AAAA,IACV,WAAW;AAAA,EACb;AACF;AAEA,IAAO,oBAAQ;AAAA,EACb,YAAY;AAAA,EACZ,gBAAgB;AAAA,EAChB,iBAAiB;AAAA,EACjB,iBAAiB;AAAA,IACf,SAAS;AAAA,IACT,oBAAoB;AAAA,IACpB,uBAAuB,CAAC;AAAA,IACxB,qBAAqB;AAAA,IACrB,cAAc;AAAA,EAChB;AACF;;;AC3BO,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,EAazB,YAAY,WAA2C,QAAW;AAZlE,2BAA0B,kBAAU;AACpC,4BAAmB;AAAA,MACjB,KAAK,kBAAU;AAAA,IACjB;AACA,wBAAe;AACf,yBAAgB;AAChB,4BACE;AACF,0BACE;AACF,SAAQ,WAAW,eAAe;AAGhC,QAAI,UAAU;AACZ,aAAO,OAAO,KAAK,SAAS,UAAU,QAAQ;AAAA,IA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8BAA8B,SAAS,iBAAiB,YAAY,YAAY;AAAA,EACxI;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,kBAAmB,SAAmC,YAAkB,cAAuC;AAC3G,WAAO,KAAK,sBAAqC,wCAAwC,SAAS,iBAAiB,YAAY,YAAY;AAAA,EAC/I;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,aAAc,SAA8B,YAAkB,cAAuC;AACjG,WAAO,KAAK,sBAAqC,mCAAmC,SAAS,iBAAiB,YAAY,YAAY;AAAA,EAC1I;AAEJ;","names":[]}
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
@@ -8,7 +8,6 @@ interface IPlayFabError {
|
|
8
8
|
errorMessage: string;
|
9
9
|
errorDetails?: Record<string, string[]>;
|
10
10
|
request?: any;
|
11
|
-
customData?: any;
|
12
11
|
retryAfterSeconds?: number;
|
13
12
|
}
|
14
13
|
interface IPlayFabResultCommon extends IPlayFabError {
|
@@ -22,9 +21,8 @@ interface ISettings {
|
|
22
21
|
/** 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) */
|
23
22
|
developerSecretKey: string;
|
24
23
|
productionServerUrl: string;
|
25
|
-
|
26
|
-
|
27
|
-
};
|
24
|
+
/** Headers to apply to every request */
|
25
|
+
globalHeaders?: Record<string, string>;
|
28
26
|
/** The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this */
|
29
27
|
verticalName?: string | null;
|
30
28
|
}
|
@@ -43,9 +41,6 @@ declare class PlayFabCommon {
|
|
43
41
|
readonly sdk: string;
|
44
42
|
};
|
45
43
|
errorTitleId: string;
|
46
|
-
errorLoggedIn: string;
|
47
|
-
errorEntityToken: string;
|
48
|
-
errorSecretKey: string;
|
49
44
|
private _context;
|
50
45
|
constructor(settings?: Partial<ISettings> | undefined);
|
51
46
|
get settings(): ISettings;
|
@@ -56,15 +51,16 @@ declare class PlayFabCommon {
|
|
56
51
|
set entityToken(value: string | null);
|
57
52
|
GetServerUrl(): string;
|
58
53
|
InjectHeaders(xhr: XMLHttpRequest, headersObj: Record<string, string> | undefined): void;
|
59
|
-
ExecuteRequest<T extends IPlayFabResultCommon>(url: string, body: any, authkey: string | null, authValue: string | null,
|
60
|
-
|
54
|
+
ExecuteRequest<T extends IPlayFabResultCommon>(url: string, body: any, authkey: string | null, authValue: string | null, extraHeaders?: Record<string, string>): Promise<{
|
55
|
+
data: T;
|
56
|
+
}>;
|
61
57
|
UpdateAuthenticationContext(currentAuthContext: AuthContext, result: any): AuthContext;
|
62
58
|
GetAuthInfo(request: any, authKey: string): {
|
63
59
|
authKey: string;
|
64
60
|
authValue: any;
|
65
61
|
authError: string;
|
66
62
|
};
|
67
|
-
ExecuteRequestWrapper<T extends IPlayFabResultCommon>(apiURL: string, request: any, authKey: string | null,
|
63
|
+
ExecuteRequestWrapper<T extends IPlayFabResultCommon>(apiURL: string, request: any, authKey: string | null, extraHeaders?: Record<string, string>): Promise<T>;
|
68
64
|
GenerateErrorReport(error: IPlayFabError | null): string;
|
69
65
|
ForgetAllCredentials(): void;
|
70
66
|
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { I as IPlayFabRequestCommon, a as IPlayFabResultCommon, P as PlayFabCommon } from './PlayFabCommon-
|
1
|
+
import { I as IPlayFabRequestCommon, a as IPlayFabResultCommon, P as PlayFabCommon } from './PlayFabCommon-Dnp_xHg5.js';
|
2
2
|
|
3
3
|
interface EntityDataObject {
|
4
4
|
/** Un-escaped JSON object, if DataAsObject is true. */
|
@@ -13,6 +13,11 @@ interface EntityKey {
|
|
13
13
|
Id: string;
|
14
14
|
/** Entity type. See https://docs.microsoft.com/gaming/playfab/features/data/entities/available-built-in-entity-types */
|
15
15
|
Type?: string;
|
16
|
+
/**
|
17
|
+
* Alternate name for Type.
|
18
|
+
* @deprecated Please use Type instead.
|
19
|
+
*/
|
20
|
+
TypeString?: string;
|
16
21
|
}
|
17
22
|
interface EntityLineage {
|
18
23
|
/** The Character Id of the associated entity. */
|
@@ -29,7 +34,7 @@ interface EntityLineage {
|
|
29
34
|
TitlePlayerAccountId?: string;
|
30
35
|
}
|
31
36
|
interface EntityPermissionStatement {
|
32
|
-
/** The action this statement effects. May be
|
37
|
+
/** The action this statement effects. May be 'Read', 'Write' or '*' for both read and write. */
|
33
38
|
Action: string;
|
34
39
|
/** A comment about the statement. Intended solely for bookkeeping and debugging. */
|
35
40
|
Comment?: string;
|
@@ -39,7 +44,7 @@ interface EntityPermissionStatement {
|
|
39
44
|
Effect: string;
|
40
45
|
/** The principal this statement will effect. */
|
41
46
|
Principal: any;
|
42
|
-
/** The resource this statements effects. Similar to
|
47
|
+
/** The resource this statements effects. Similar to 'pfrn:data--title![Title ID]/Profile/*' */
|
43
48
|
Resource: string;
|
44
49
|
}
|
45
50
|
interface EntityProfileBody {
|
@@ -49,7 +54,7 @@ interface EntityProfileBody {
|
|
49
54
|
Created: string;
|
50
55
|
/**
|
51
56
|
* The display name of the entity. This field may serve different purposes for different entity types. i.e.: for a title
|
52
|
-
* player account it could represent the display name of the player, whereas on a character it could be character
|
57
|
+
* player account it could represent the display name of the player, whereas on a character it could be character's name.
|
53
58
|
*/
|
54
59
|
DisplayName?: string;
|
55
60
|
/** The entity id and type. */
|
@@ -86,7 +91,7 @@ interface EntityProfileFileMetadata {
|
|
86
91
|
FileName?: string;
|
87
92
|
/** Last UTC time the file was modified */
|
88
93
|
LastModified: string;
|
89
|
-
/** Storage service
|
94
|
+
/** Storage service's reported byte count */
|
90
95
|
Size: number;
|
91
96
|
}
|
92
97
|
interface EntityStatisticValue {
|
@@ -156,7 +161,7 @@ interface GetTitlePlayersFromMasterPlayerAccountIdsResponse extends IPlayFabResu
|
|
156
161
|
interface GetTitlePlayersFromProviderIDsResponse extends IPlayFabResultCommon {
|
157
162
|
/**
|
158
163
|
* Dictionary of provider identifiers mapped to title_player_account lineage. Missing lineage indicates the player either
|
159
|
-
* doesn
|
164
|
+
* doesn't exist or doesn't play the requested title.
|
160
165
|
*/
|
161
166
|
TitlePlayerAccounts?: Record<string, EntityLineage>;
|
162
167
|
}
|
@@ -170,10 +175,30 @@ interface GetTitlePlayersFromXboxLiveIDsRequest extends IPlayFabRequestCommon {
|
|
170
175
|
/** List of Xbox Live XUIDs */
|
171
176
|
XboxLiveIds: string[];
|
172
177
|
}
|
178
|
+
interface SetAvatarUrlRequest extends IPlayFabRequestCommon {
|
179
|
+
/** URL of the avatar image. If empty, it removes the existing avatar URL */
|
180
|
+
AvatarUrl: string;
|
181
|
+
/** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
|
182
|
+
CustomTags?: Record<string, string | null>;
|
183
|
+
/** The optional entity to perform this action on. Defaults to the currently logged in entity. */
|
184
|
+
Entity?: EntityKey;
|
185
|
+
/** The expected version of the profile to perform this update on */
|
186
|
+
ProfileVersion?: number;
|
187
|
+
}
|
188
|
+
interface SetAvatarUrlResponse extends IPlayFabResultCommon {
|
189
|
+
/** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
|
190
|
+
CustomTags?: Record<string, string | null>;
|
191
|
+
/** The optional entity to perform this action on. Defaults to the currently logged in entity. */
|
192
|
+
Entity?: EntityKey;
|
193
|
+
/** The type of operation that occurred on the profile's avatar URL */
|
194
|
+
OperationResult?: string;
|
195
|
+
/** The updated version of the profile after the avatar URL update */
|
196
|
+
ProfileVersion?: number;
|
197
|
+
}
|
173
198
|
interface SetDisplayNameRequest extends IPlayFabRequestCommon {
|
174
199
|
/** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
|
175
200
|
CustomTags?: Record<string, string | null>;
|
176
|
-
/** The new value to be set on Entity Profile
|
201
|
+
/** The new value to be set on Entity Profile's display name */
|
177
202
|
DisplayName?: string;
|
178
203
|
/** The optional entity to perform this action on. Defaults to the currently logged in entity. */
|
179
204
|
Entity?: EntityKey;
|
@@ -181,7 +206,7 @@ interface SetDisplayNameRequest extends IPlayFabRequestCommon {
|
|
181
206
|
ExpectedVersion?: number;
|
182
207
|
}
|
183
208
|
interface SetDisplayNameResponse extends IPlayFabResultCommon {
|
184
|
-
/** The type of operation that occured on the profile
|
209
|
+
/** The type of operation that occured on the profile's display name */
|
185
210
|
OperationResult?: string;
|
186
211
|
/** The updated version of the profile after the display name update */
|
187
212
|
VersionNumber?: number;
|
@@ -216,11 +241,11 @@ interface SetProfileLanguageRequest extends IPlayFabRequestCommon {
|
|
216
241
|
Entity?: EntityKey;
|
217
242
|
/** The expected version of a profile to perform this update on */
|
218
243
|
ExpectedVersion?: number;
|
219
|
-
/** The language to set on the given entity. Deletes the profile
|
244
|
+
/** The language to set on the given entity. Deletes the profile's language if passed in a null string. */
|
220
245
|
Language?: string;
|
221
246
|
}
|
222
247
|
interface SetProfileLanguageResponse extends IPlayFabResultCommon {
|
223
|
-
/** The type of operation that occured on the profile
|
248
|
+
/** The type of operation that occured on the profile's language */
|
224
249
|
OperationResult?: string;
|
225
250
|
/** The updated version of the profile after the language update */
|
226
251
|
VersionNumber?: number;
|
@@ -229,50 +254,169 @@ interface SetProfileLanguageResponse extends IPlayFabResultCommon {
|
|
229
254
|
declare class PlayFabProfilesApi extends PlayFabCommon {
|
230
255
|
/**
|
231
256
|
* Gets the global title access policy
|
232
|
-
*
|
257
|
+
*
|
258
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/profile/account-management/getglobalpolicy Microsoft Documentation}
|
259
|
+
* @example
|
260
|
+
* await profileClient.GetGlobalPolicy({});
|
233
261
|
*/
|
234
|
-
GetGlobalPolicy(request: GetGlobalPolicyRequest,
|
262
|
+
GetGlobalPolicy(request: GetGlobalPolicyRequest, extraHeaders?: Record<string, string>): Promise<GetGlobalPolicyResponse>;
|
235
263
|
/**
|
236
264
|
* Retrieves the entity's profile.
|
237
|
-
*
|
265
|
+
*
|
266
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/profile/account-management/getprofile Microsoft Documentation}
|
267
|
+
* @example
|
268
|
+
* await profileClient.GetProfile({
|
269
|
+
* "Entity": {
|
270
|
+
* "Id": "1234567787392",
|
271
|
+
* "Type": "title_player_account",
|
272
|
+
* "TypeString": "title_player_account"
|
273
|
+
* }
|
274
|
+
* });
|
238
275
|
*/
|
239
|
-
GetProfile(request: GetEntityProfileRequest,
|
276
|
+
GetProfile(request: GetEntityProfileRequest, extraHeaders?: Record<string, string>): Promise<GetEntityProfileResponse>;
|
240
277
|
/**
|
241
278
|
* Retrieves the entity's profile.
|
242
|
-
*
|
279
|
+
*
|
280
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/profile/account-management/getprofiles Microsoft Documentation}
|
281
|
+
* @example
|
282
|
+
* await profileClient.GetProfiles({
|
283
|
+
* "Entities": [
|
284
|
+
* {
|
285
|
+
* "Id": "1234567787392",
|
286
|
+
* "Type": "title_player_account",
|
287
|
+
* "TypeString": "title_player_account"
|
288
|
+
* },
|
289
|
+
* {
|
290
|
+
* "Id": "42434567785265",
|
291
|
+
* "Type": "title_player_account",
|
292
|
+
* "TypeString": "title_player_account"
|
293
|
+
* }
|
294
|
+
* ]
|
295
|
+
* });
|
243
296
|
*/
|
244
|
-
GetProfiles(request: GetEntityProfilesRequest,
|
297
|
+
GetProfiles(request: GetEntityProfilesRequest, extraHeaders?: Record<string, string>): Promise<GetEntityProfilesResponse>;
|
245
298
|
/**
|
246
299
|
* Retrieves the title player accounts associated with the given master player account.
|
247
|
-
*
|
300
|
+
*
|
301
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/profile/account-management/gettitleplayersfrommasterplayeraccountids Microsoft Documentation}
|
302
|
+
* @example
|
303
|
+
* await profileClient.GetTitlePlayersFromMasterPlayerAccountIds({
|
304
|
+
* "MasterPlayerAccountIds": [
|
305
|
+
* "1233455677"
|
306
|
+
* ],
|
307
|
+
* "TitleId": "abc123"
|
308
|
+
* });
|
248
309
|
*/
|
249
|
-
GetTitlePlayersFromMasterPlayerAccountIds(request: GetTitlePlayersFromMasterPlayerAccountIdsRequest,
|
310
|
+
GetTitlePlayersFromMasterPlayerAccountIds(request: GetTitlePlayersFromMasterPlayerAccountIdsRequest, extraHeaders?: Record<string, string>): Promise<GetTitlePlayersFromMasterPlayerAccountIdsResponse>;
|
250
311
|
/**
|
251
312
|
* Retrieves the title player accounts associated with the given XUIDs.
|
252
|
-
*
|
313
|
+
*
|
314
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/profile/account-management/gettitleplayersfromxboxliveids Microsoft Documentation}
|
315
|
+
* @example
|
316
|
+
* await profileClient.GetTitlePlayersFromXboxLiveIDs({
|
317
|
+
* "XboxLiveIds": [
|
318
|
+
* "1233455677"
|
319
|
+
* ],
|
320
|
+
* "Sandbox": "RETAIL"
|
321
|
+
* });
|
322
|
+
*/
|
323
|
+
GetTitlePlayersFromXboxLiveIDs(request: GetTitlePlayersFromXboxLiveIDsRequest, extraHeaders?: Record<string, string>): Promise<GetTitlePlayersFromProviderIDsResponse>;
|
324
|
+
/**
|
325
|
+
* Update the avatar url of the entity
|
326
|
+
*
|
327
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/profile/account-management/setavatarurl Microsoft Documentation}
|
328
|
+
* @example
|
329
|
+
* await profileClient.SetAvatarUrl({
|
330
|
+
* "AvatarUrl": "https://test.com/image.png",
|
331
|
+
* "ProfileVersion": 123,
|
332
|
+
* "Entity": {
|
333
|
+
* "Id": "90901000",
|
334
|
+
* "Type": "title_player_account",
|
335
|
+
* "TypeString": "title_player_account"
|
336
|
+
* }
|
337
|
+
* });
|
253
338
|
*/
|
254
|
-
|
339
|
+
SetAvatarUrl(request: SetAvatarUrlRequest, extraHeaders?: Record<string, string>): Promise<SetAvatarUrlResponse>;
|
255
340
|
/**
|
256
341
|
* Update the display name of the entity
|
257
|
-
*
|
342
|
+
*
|
343
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/profile/account-management/setdisplayname Microsoft Documentation}
|
344
|
+
* @example
|
345
|
+
* await profileClient.SetDisplayName({
|
346
|
+
* "DisplayName": "My new display name",
|
347
|
+
* "ExpectedVersion": 123,
|
348
|
+
* "Entity": {
|
349
|
+
* "Id": "90901000",
|
350
|
+
* "Type": "title_player_account",
|
351
|
+
* "TypeString": "title_player_account"
|
352
|
+
* }
|
353
|
+
* });
|
258
354
|
*/
|
259
|
-
SetDisplayName(request: SetDisplayNameRequest,
|
355
|
+
SetDisplayName(request: SetDisplayNameRequest, extraHeaders?: Record<string, string>): Promise<SetDisplayNameResponse>;
|
260
356
|
/**
|
261
357
|
* Sets the global title access policy
|
262
|
-
*
|
358
|
+
*
|
359
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/profile/account-management/setglobalpolicy Microsoft Documentation}
|
360
|
+
* @example
|
361
|
+
* await profileClient.SetGlobalPolicy({
|
362
|
+
* "Permissions": [
|
363
|
+
* {
|
364
|
+
* "Resource": "pfrn:data--title_player_account!90901000/Profile/SomethingCool",
|
365
|
+
* "Action": "*",
|
366
|
+
* "Effect": "Allow",
|
367
|
+
* "Principal": {
|
368
|
+
* "ChildOf": {
|
369
|
+
* "EntityType": "[SELF]"
|
370
|
+
* }
|
371
|
+
* },
|
372
|
+
* "Comment": "An example policy"
|
373
|
+
* }
|
374
|
+
* ]
|
375
|
+
* });
|
263
376
|
*/
|
264
|
-
SetGlobalPolicy(request: SetGlobalPolicyRequest,
|
377
|
+
SetGlobalPolicy(request: SetGlobalPolicyRequest, extraHeaders?: Record<string, string>): Promise<SetGlobalPolicyResponse>;
|
265
378
|
/**
|
266
379
|
* Updates the entity's language. The precedence hierarchy for communication to the player is Title Player Account
|
267
380
|
* language, Master Player Account language, and then title default language if the first two aren't set or supported.
|
268
|
-
*
|
381
|
+
*
|
382
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/profile/account-management/setprofilelanguage Microsoft Documentation}
|
383
|
+
* @example
|
384
|
+
* await profileClient.SetProfileLanguage({
|
385
|
+
* "Language": "en",
|
386
|
+
* "ExpectedVersion": 123,
|
387
|
+
* "Entity": {
|
388
|
+
* "Id": "1234",
|
389
|
+
* "Type": "title_player_account",
|
390
|
+
* "TypeString": "title_player_account"
|
391
|
+
* }
|
392
|
+
* });
|
269
393
|
*/
|
270
|
-
SetProfileLanguage(request: SetProfileLanguageRequest,
|
394
|
+
SetProfileLanguage(request: SetProfileLanguageRequest, extraHeaders?: Record<string, string>): Promise<SetProfileLanguageResponse>;
|
271
395
|
/**
|
272
396
|
* Sets the profiles access policy
|
273
|
-
*
|
397
|
+
*
|
398
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/profile/account-management/setprofilepolicy Microsoft Documentation}
|
399
|
+
* @example
|
400
|
+
* await profileClient.SetProfilePolicy({
|
401
|
+
* "Statements": [
|
402
|
+
* {
|
403
|
+
* "Resource": "pfrn:data--*!*\/Profile/Files/avatar.png",
|
404
|
+
* "Action": "Read",
|
405
|
+
* "Effect": "Allow",
|
406
|
+
* "Principal": {
|
407
|
+
* "FriendOf": "true"
|
408
|
+
* },
|
409
|
+
* "Comment": "Allow my friends to read my avatar"
|
410
|
+
* }
|
411
|
+
* ],
|
412
|
+
* "Entity": {
|
413
|
+
* "Id": "90901000",
|
414
|
+
* "Type": "title_player_account",
|
415
|
+
* "TypeString": "title_player_account"
|
416
|
+
* }
|
417
|
+
* });
|
274
418
|
*/
|
275
|
-
SetProfilePolicy(request: SetEntityProfilePolicyRequest,
|
419
|
+
SetProfilePolicy(request: SetEntityProfilePolicyRequest, extraHeaders?: Record<string, string>): Promise<SetEntityProfilePolicyResponse>;
|
276
420
|
}
|
277
421
|
|
278
422
|
export { PlayFabProfilesApi as default };
|
package/dist/Profiles.js
ADDED
package/dist/Profiles.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../src/apis/PlayFabProfilesApi.ts","../src/constants.ts","../src/PlayFabContext.ts","../src/PlayFabCommon.ts"],"sourcesContent":["import type {\n\n GetGlobalPolicyRequest,\n GetEntityProfileRequest,\n GetEntityProfilesRequest,\n GetTitlePlayersFromMasterPlayerAccountIdsRequest,\n GetTitlePlayersFromXboxLiveIDsRequest,\n SetDisplayNameRequest,\n SetGlobalPolicyRequest,\n SetProfileLanguageRequest,\n SetEntityProfilePolicyRequest,\n GetGlobalPolicyResponse,\n GetEntityProfileResponse,\n GetEntityProfilesResponse,\n GetTitlePlayersFromMasterPlayerAccountIdsResponse,\n GetTitlePlayersFromProviderIDsResponse,\n SetDisplayNameResponse,\n SetGlobalPolicyResponse,\n SetProfileLanguageResponse,\n SetEntityProfilePolicyResponse,\n} from \"../types/PlayFabProfilesApi\";\nimport { PlayFabCommon } from \"../PlayFabCommon\";\n\nexport default class PlayFabProfilesApi extends PlayFabCommon {\n\n /**\n * Gets the global title access policy\n * https://docs.microsoft.com/rest/api/playfab/profiles/account-management/getglobalpolicy\n */\n GetGlobalPolicy (request: GetGlobalPolicyRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetGlobalPolicyResponse>(\"/Profile/GetGlobalPolicy\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Retrieves the entity's profile.\n * https://docs.microsoft.com/rest/api/playfab/profiles/account-management/getprofile\n */\n GetProfile (request: GetEntityProfileRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetEntityProfileResponse>(\"/Profile/GetProfile\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Retrieves the entity's profile.\n * https://docs.microsoft.com/rest/api/playfab/profiles/account-management/getprofiles\n */\n GetProfiles (request: GetEntityProfilesRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetEntityProfilesResponse>(\"/Profile/GetProfiles\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Retrieves the title player accounts associated with the given master player account.\n * https://docs.microsoft.com/rest/api/playfab/profiles/account-management/gettitleplayersfrommasterplayeraccountids\n */\n GetTitlePlayersFromMasterPlayerAccountIds (request: GetTitlePlayersFromMasterPlayerAccountIdsRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetTitlePlayersFromMasterPlayerAccountIdsResponse>(\"/Profile/GetTitlePlayersFromMasterPlayerAccountIds\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Retrieves the title player accounts associated with the given XUIDs.\n * https://docs.microsoft.com/rest/api/playfab/profiles/account-management/gettitleplayersfromxboxliveids\n */\n GetTitlePlayersFromXboxLiveIDs (request: GetTitlePlayersFromXboxLiveIDsRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<GetTitlePlayersFromProviderIDsResponse>(\"/Profile/GetTitlePlayersFromXboxLiveIDs\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Update the display name of the entity\n * https://docs.microsoft.com/rest/api/playfab/profiles/account-management/setdisplayname\n */\n SetDisplayName (request: SetDisplayNameRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<SetDisplayNameResponse>(\"/Profile/SetDisplayName\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Sets the global title access policy\n * https://docs.microsoft.com/rest/api/playfab/profiles/account-management/setglobalpolicy\n */\n SetGlobalPolicy (request: SetGlobalPolicyRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<SetGlobalPolicyResponse>(\"/Profile/SetGlobalPolicy\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Updates the entity's language. The precedence hierarchy for communication to the player is Title Player Account\n * language, Master Player Account language, and then title default language if the first two aren't set or supported.\n * https://docs.microsoft.com/rest/api/playfab/profiles/account-management/setprofilelanguage\n */\n SetProfileLanguage (request: SetProfileLanguageRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<SetProfileLanguageResponse>(\"/Profile/SetProfileLanguage\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n /**\n * Sets the profiles access policy\n * https://docs.microsoft.com/rest/api/playfab/profiles/account-management/setprofilepolicy\n */\n SetProfilePolicy (request: SetEntityProfilePolicyRequest, customData?: any, extraHeaders?: Record<string, string>) {\n return this.ExecuteRequestWrapper<SetEntityProfilePolicyResponse>(\"/Profile/SetProfilePolicy\", request, \"X-EntityToken\", customData, extraHeaders);\n }\n\n};\n","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 GlobalHeaderInjection?: { [key: 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 AuthInfoMap = {\n \"X-EntityToken\": {\n authAttr: \"entityToken\",\n authError: \"errorEntityToken\",\n },\n \"X-Authorization\": {\n authAttr: \"sessionTicket\",\n authError: \"errorLoggedIn\",\n },\n \"X-SecretKey\": {\n authAttr: \"developerSecretKey\",\n authError: \"errorSecretKey\",\n },\n};\n\nexport default {\n sdkVersion: \"1.192.250526\",\n sdkFingerprint: \"JavaScriptSDK-1.192.250526\",\n buildIdentifier: \"custom_async-javascriptsdk\",\n defaultSettings: {\n titleId: \"\",\n developerSecretKey: \"\",\n GlobalHeaderInjection: {},\n productionServerUrl: \".playfabapi.com\",\n verticalName: null\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 } 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 = \"Must be have settings.titleId set to call this method\";\n errorLoggedIn = \"Must be logged in to call this method\";\n errorEntityToken =\n \"You must successfully call GetEntityToken before calling this\";\n errorSecretKey =\n \"Must have settings.developerSecretKey set to call this method\";\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 ExecuteRequest<T extends IPlayFabResultCommon>(\n url: string,\n body: any,\n authkey: string | null,\n authValue: string | null,\n customData: any,\n extraHeaders?: Record<string, string>\n ): Promise<T> {\n return new Promise((resolve, reject) => {\n if (body == null) body = {};\n\n var startTime = new Date().getTime();\n var requestBody = JSON.stringify(body);\n\n var urlArr = [url];\n var getParams = this.requestGetParams;\n if (getParams != null) {\n var firstParam = true;\n for (var key in getParams) {\n if (firstParam) {\n urlArr.push(\"?\");\n firstParam = false;\n } else {\n urlArr.push(\"&\");\n }\n urlArr.push(key);\n urlArr.push(\"=\");\n urlArr.push(getParams[key as keyof typeof getParams]);\n }\n }\n\n var completeUrl = urlArr.join(\"\");\n\n var xhr = new XMLHttpRequest();\n xhr.open(\"POST\", completeUrl, true);\n\n xhr.setRequestHeader(\"Content-Type\", \"application/json\");\n xhr.setRequestHeader(\n \"X-PlayFabSDK\",\n \"JavaScriptSDK-\" + constants.sdkVersion\n );\n if (authkey != null) {\n xhr.setRequestHeader(authkey, authValue!);\n }\n this.InjectHeaders(xhr, this.settings.GlobalHeaderInjection);\n this.InjectHeaders(xhr, extraHeaders);\n\n xhr.onloadend = () => {\n var result = this.GetPlayFabResponse(body, xhr, startTime, customData);\n if (result.code === 200) {\n resolve(result.data || result);\n } else {\n reject(result);\n }\n };\n\n xhr.onerror = () => {\n var result = this.GetPlayFabResponse(body, xhr, startTime, customData);\n reject(result);\n };\n\n xhr.send(requestBody);\n });\n }\n\n GetPlayFabResponse(\n request: any,\n xhr: XMLHttpRequest,\n startTime: number,\n customData: any\n ) {\n var result = null as any;\n try {\n // window.console.log(\"parsing json result: \" + xhr.responseText);\n result = JSON.parse(xhr.responseText);\n } catch (e) {\n result = {\n code: 503, // Service Unavailable\n status: \"Service Unavailable\",\n error: \"Connection error\",\n errorCode: 2, // PlayFabErrorCode.ConnectionError\n errorMessage: xhr.responseText,\n };\n }\n\n result.CallBackTimeMS = new Date().getTime() - startTime;\n result.Request = request;\n result.CustomData = customData;\n return result;\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 ExecuteRequestWrapper<T extends IPlayFabResultCommon>(\n apiURL: string,\n request: any,\n authKey: string | null,\n customData: any,\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 this.ExecuteRequest<T>(\n this.GetServerUrl() + apiURL,\n request,\n authKey,\n authValue,\n customData,\n extraHeaders\n );\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}\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