@community-fabs/playfab-web-sdk 1.199.250912 → 1.201.251010

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. package/dist/Addon.js +2 -2
  2. package/dist/Admin.d.ts +1 -1
  3. package/dist/Admin.js +2 -2
  4. package/dist/Authentication.js +2 -2
  5. package/dist/Client.js +2 -2
  6. package/dist/CloudScript.js +2 -2
  7. package/dist/Data.js +2 -2
  8. package/dist/Economy.d.ts +60 -1
  9. package/dist/Economy.js +2 -2
  10. package/dist/Events.js +2 -2
  11. package/dist/Experimentation.js +2 -2
  12. package/dist/Groups.js +2 -2
  13. package/dist/Insights.js +2 -2
  14. package/dist/Localization.js +2 -2
  15. package/dist/Matchmaker.js +2 -2
  16. package/dist/Multiplayer.d.ts +6 -4
  17. package/dist/Multiplayer.js +2 -2
  18. package/dist/Profiles.js +2 -2
  19. package/dist/Progression.js +2 -2
  20. package/dist/Server.d.ts +1 -1
  21. package/dist/Server.js +2 -2
  22. package/dist/{chunk-KSIUPHCB.js → chunk-3KGAZO25.js} +2 -2
  23. package/dist/{chunk-32YIITZR.js → chunk-7232SL74.js} +2 -2
  24. package/dist/{chunk-TGAN63W6.js → chunk-7UW2IYFA.js} +3 -3
  25. package/dist/{chunk-TGAN63W6.js.map → chunk-7UW2IYFA.js.map} +1 -1
  26. package/dist/{chunk-MHZTDR4X.js → chunk-CJDMCIZT.js} +2 -2
  27. package/dist/{chunk-OQEGQD4N.js → chunk-CWJBNB2L.js} +6 -6
  28. package/dist/{chunk-OQEGQD4N.js.map → chunk-CWJBNB2L.js.map} +1 -1
  29. package/dist/{chunk-OXTWSDHP.js → chunk-E3NV7AJK.js} +2 -2
  30. package/dist/{chunk-MQB7DC2F.js → chunk-FGSBB4PG.js} +20 -3
  31. package/dist/chunk-FGSBB4PG.js.map +1 -0
  32. package/dist/{chunk-SQY3P3HK.js → chunk-JPJ2RQNT.js} +2 -2
  33. package/dist/{chunk-53ZOZ6ZK.js → chunk-KJRT3XCJ.js} +2 -2
  34. package/dist/{chunk-IOUDK36D.js → chunk-LTE7MQEZ.js} +2 -2
  35. package/dist/{chunk-L4NJVJVM.js → chunk-MAOFOS3V.js} +2 -2
  36. package/dist/{chunk-2IWZ3JGX.js → chunk-MNU7L2P6.js} +2 -2
  37. package/dist/{chunk-M4IBQDM7.js → chunk-OV4WY3WU.js} +2 -2
  38. package/dist/{chunk-KPUSPXER.js → chunk-OVZ6LQ2O.js} +2 -2
  39. package/dist/{chunk-UT6LVY7U.js → chunk-PH2VULTP.js} +2 -2
  40. package/dist/{chunk-JMCN5YM7.js → chunk-SP22ISSY.js} +2 -2
  41. package/dist/{chunk-DSIODCMV.js → chunk-TPWK2YMB.js} +2 -2
  42. package/dist/{chunk-LZ2EPFC5.js → chunk-UZ4VURFV.js} +2 -2
  43. package/dist/index.js +18 -18
  44. package/package.json +1 -1
  45. package/dist/chunk-MQB7DC2F.js.map +0 -1
  46. /package/dist/{chunk-KSIUPHCB.js.map → chunk-3KGAZO25.js.map} +0 -0
  47. /package/dist/{chunk-32YIITZR.js.map → chunk-7232SL74.js.map} +0 -0
  48. /package/dist/{chunk-MHZTDR4X.js.map → chunk-CJDMCIZT.js.map} +0 -0
  49. /package/dist/{chunk-OXTWSDHP.js.map → chunk-E3NV7AJK.js.map} +0 -0
  50. /package/dist/{chunk-SQY3P3HK.js.map → chunk-JPJ2RQNT.js.map} +0 -0
  51. /package/dist/{chunk-53ZOZ6ZK.js.map → chunk-KJRT3XCJ.js.map} +0 -0
  52. /package/dist/{chunk-IOUDK36D.js.map → chunk-LTE7MQEZ.js.map} +0 -0
  53. /package/dist/{chunk-L4NJVJVM.js.map → chunk-MAOFOS3V.js.map} +0 -0
  54. /package/dist/{chunk-2IWZ3JGX.js.map → chunk-MNU7L2P6.js.map} +0 -0
  55. /package/dist/{chunk-M4IBQDM7.js.map → chunk-OV4WY3WU.js.map} +0 -0
  56. /package/dist/{chunk-KPUSPXER.js.map → chunk-OVZ6LQ2O.js.map} +0 -0
  57. /package/dist/{chunk-UT6LVY7U.js.map → chunk-PH2VULTP.js.map} +0 -0
  58. /package/dist/{chunk-JMCN5YM7.js.map → chunk-SP22ISSY.js.map} +0 -0
  59. /package/dist/{chunk-DSIODCMV.js.map → chunk-TPWK2YMB.js.map} +0 -0
  60. /package/dist/{chunk-LZ2EPFC5.js.map → chunk-UZ4VURFV.js.map} +0 -0
package/dist/Server.d.ts CHANGED
@@ -591,7 +591,7 @@ interface FriendInfo {
591
591
  XboxInfo?: UserXboxInfo;
592
592
  }
593
593
  type GameInstanceState = "Open" | "Closed";
594
- type GenericErrorCodes = "Success" | "UnkownError" | "InvalidParams" | "AccountNotFound" | "AccountBanned" | "InvalidUsernameOrPassword" | "InvalidTitleId" | "InvalidEmailAddress" | "EmailAddressNotAvailable" | "InvalidUsername" | "InvalidPassword" | "UsernameNotAvailable" | "InvalidSteamTicket" | "AccountAlreadyLinked" | "LinkedAccountAlreadyClaimed" | "InvalidFacebookToken" | "AccountNotLinked" | "FailedByPaymentProvider" | "CouponCodeNotFound" | "InvalidContainerItem" | "ContainerNotOwned" | "KeyNotOwned" | "InvalidItemIdInTable" | "InvalidReceipt" | "ReceiptAlreadyUsed" | "ReceiptCancelled" | "GameNotFound" | "GameModeNotFound" | "InvalidGoogleToken" | "UserIsNotPartOfDeveloper" | "InvalidTitleForDeveloper" | "TitleNameConflicts" | "UserisNotValid" | "ValueAlreadyExists" | "BuildNotFound" | "PlayerNotInGame" | "InvalidTicket" | "InvalidDeveloper" | "InvalidOrderInfo" | "RegistrationIncomplete" | "InvalidPlatform" | "UnknownError" | "SteamApplicationNotOwned" | "WrongSteamAccount" | "TitleNotActivated" | "RegistrationSessionNotFound" | "NoSuchMod" | "FileNotFound" | "DuplicateEmail" | "ItemNotFound" | "ItemNotOwned" | "ItemNotRecycleable" | "ItemNotAffordable" | "InvalidVirtualCurrency" | "WrongVirtualCurrency" | "WrongPrice" | "NonPositiveValue" | "InvalidRegion" | "RegionAtCapacity" | "ServerFailedToStart" | "NameNotAvailable" | "InsufficientFunds" | "InvalidDeviceID" | "InvalidPushNotificationToken" | "NoRemainingUses" | "InvalidPaymentProvider" | "PurchaseInitializationFailure" | "DuplicateUsername" | "InvalidBuyerInfo" | "NoGameModeParamsSet" | "BodyTooLarge" | "ReservedWordInBody" | "InvalidTypeInBody" | "InvalidRequest" | "ReservedEventName" | "InvalidUserStatistics" | "NotAuthenticated" | "StreamAlreadyExists" | "ErrorCreatingStream" | "StreamNotFound" | "InvalidAccount" | "PurchaseDoesNotExist" | "InvalidPurchaseTransactionStatus" | "APINotEnabledForGameClientAccess" | "NoPushNotificationARNForTitle" | "BuildAlreadyExists" | "BuildPackageDoesNotExist" | "CustomAnalyticsEventsNotEnabledForTitle" | "InvalidSharedGroupId" | "NotAuthorized" | "MissingTitleGoogleProperties" | "InvalidItemProperties" | "InvalidPSNAuthCode" | "InvalidItemId" | "PushNotEnabledForAccount" | "PushServiceError" | "ReceiptDoesNotContainInAppItems" | "ReceiptContainsMultipleInAppItems" | "InvalidBundleID" | "JavascriptException" | "InvalidSessionTicket" | "UnableToConnectToDatabase" | "InternalServerError" | "InvalidReportDate" | "DatabaseThroughputExceeded" | "InvalidGameTicket" | "ExpiredGameTicket" | "GameTicketDoesNotMatchLobby" | "LinkedDeviceAlreadyClaimed" | "DeviceAlreadyLinked" | "DeviceNotLinked" | "PartialFailure" | "PublisherNotSet" | "ServiceUnavailable" | "VersionNotFound" | "RevisionNotFound" | "InvalidPublisherId" | "DownstreamServiceUnavailable" | "APINotIncludedInTitleUsageTier" | "DAULimitExceeded" | "APIRequestLimitExceeded" | "InvalidAPIEndpoint" | "BuildNotAvailable" | "ConcurrentEditError" | "ContentNotFound" | "CharacterNotFound" | "CloudScriptNotFound" | "ContentQuotaExceeded" | "InvalidCharacterStatistics" | "PhotonNotEnabledForTitle" | "PhotonApplicationNotFound" | "PhotonApplicationNotAssociatedWithTitle" | "InvalidEmailOrPassword" | "FacebookAPIError" | "InvalidContentType" | "KeyLengthExceeded" | "DataLengthExceeded" | "TooManyKeys" | "FreeTierCannotHaveVirtualCurrency" | "MissingAmazonSharedKey" | "AmazonValidationError" | "InvalidPSNIssuerId" | "PSNInaccessible" | "ExpiredAuthToken" | "FailedToGetEntitlements" | "FailedToConsumeEntitlement" | "TradeAcceptingUserNotAllowed" | "TradeInventoryItemIsAssignedToCharacter" | "TradeInventoryItemIsBundle" | "TradeStatusNotValidForCancelling" | "TradeStatusNotValidForAccepting" | "TradeDoesNotExist" | "TradeCancelled" | "TradeAlreadyFilled" | "TradeWaitForStatusTimeout" | "TradeInventoryItemExpired" | "TradeMissingOfferedAndAcceptedItems" | "TradeAcceptedItemIsBundle" | "TradeAcceptedItemIsStackable" | "TradeInventoryItemInvalidStatus" | "TradeAcceptedCatalogItemInvalid" | "TradeAllowedUsersInvalid" | "TradeInventoryItemDoesNotExist" | "TradeInventoryItemIsConsumed" | "TradeInventoryItemIsStackable" | "TradeAcceptedItemsMismatch" | "InvalidKongregateToken" | "FeatureNotConfiguredForTitle" | "NoMatchingCatalogItemForReceipt" | "InvalidCurrencyCode" | "NoRealMoneyPriceForCatalogItem" | "TradeInventoryItemIsNotTradable" | "TradeAcceptedCatalogItemIsNotTradable" | "UsersAlreadyFriends" | "LinkedIdentifierAlreadyClaimed" | "CustomIdNotLinked" | "TotalDataSizeExceeded" | "DeleteKeyConflict" | "InvalidXboxLiveToken" | "ExpiredXboxLiveToken" | "ResettableStatisticVersionRequired" | "NotAuthorizedByTitle" | "NoPartnerEnabled" | "InvalidPartnerResponse" | "APINotEnabledForGameServerAccess" | "StatisticNotFound" | "StatisticNameConflict" | "StatisticVersionClosedForWrites" | "StatisticVersionInvalid" | "APIClientRequestRateLimitExceeded" | "InvalidJSONContent" | "InvalidDropTable" | "StatisticVersionAlreadyIncrementedForScheduledInterval" | "StatisticCountLimitExceeded" | "StatisticVersionIncrementRateExceeded" | "ContainerKeyInvalid" | "CloudScriptExecutionTimeLimitExceeded" | "NoWritePermissionsForEvent" | "CloudScriptFunctionArgumentSizeExceeded" | "CloudScriptAPIRequestCountExceeded" | "CloudScriptAPIRequestError" | "CloudScriptHTTPRequestError" | "InsufficientGuildRole" | "GuildNotFound" | "OverLimit" | "EventNotFound" | "InvalidEventField" | "InvalidEventName" | "CatalogNotConfigured" | "OperationNotSupportedForPlatform" | "SegmentNotFound" | "StoreNotFound" | "InvalidStatisticName" | "TitleNotQualifiedForLimit" | "InvalidServiceLimitLevel" | "ServiceLimitLevelInTransition" | "CouponAlreadyRedeemed" | "GameServerBuildSizeLimitExceeded" | "GameServerBuildCountLimitExceeded" | "VirtualCurrencyCountLimitExceeded" | "VirtualCurrencyCodeExists" | "TitleNewsItemCountLimitExceeded" | "InvalidTwitchToken" | "TwitchResponseError" | "ProfaneDisplayName" | "UserAlreadyAdded" | "InvalidVirtualCurrencyCode" | "VirtualCurrencyCannotBeDeleted" | "IdentifierAlreadyClaimed" | "IdentifierNotLinked" | "InvalidContinuationToken" | "ExpiredContinuationToken" | "InvalidSegment" | "InvalidSessionId" | "SessionLogNotFound" | "InvalidSearchTerm" | "TwoFactorAuthenticationTokenRequired" | "GameServerHostCountLimitExceeded" | "PlayerTagCountLimitExceeded" | "RequestAlreadyRunning" | "ActionGroupNotFound" | "MaximumSegmentBulkActionJobsRunning" | "NoActionsOnPlayersInSegmentJob" | "DuplicateStatisticName" | "ScheduledTaskNameConflict" | "ScheduledTaskCreateConflict" | "InvalidScheduledTaskName" | "InvalidTaskSchedule" | "SteamNotEnabledForTitle" | "LimitNotAnUpgradeOption" | "NoSecretKeyEnabledForCloudScript" | "TaskNotFound" | "TaskInstanceNotFound" | "InvalidIdentityProviderId" | "MisconfiguredIdentityProvider" | "InvalidScheduledTaskType" | "BillingInformationRequired" | "LimitedEditionItemUnavailable" | "InvalidAdPlacementAndReward" | "AllAdPlacementViewsAlreadyConsumed" | "GoogleOAuthNotConfiguredForTitle" | "GoogleOAuthError" | "UserNotFriend" | "InvalidSignature" | "InvalidPublicKey" | "GoogleOAuthNoIdTokenIncludedInResponse" | "StatisticUpdateInProgress" | "LeaderboardVersionNotAvailable" | "StatisticAlreadyHasPrizeTable" | "PrizeTableHasOverlappingRanks" | "PrizeTableHasMissingRanks" | "PrizeTableRankStartsAtZero" | "InvalidStatistic" | "ExpressionParseFailure" | "ExpressionInvokeFailure" | "ExpressionTooLong" | "DataUpdateRateExceeded" | "RestrictedEmailDomain" | "EncryptionKeyDisabled" | "EncryptionKeyMissing" | "EncryptionKeyBroken" | "NoSharedSecretKeyConfigured" | "SecretKeyNotFound" | "PlayerSecretAlreadyConfigured" | "APIRequestsDisabledForTitle" | "InvalidSharedSecretKey" | "PrizeTableHasNoRanks" | "ProfileDoesNotExist" | "ContentS3OriginBucketNotConfigured" | "InvalidEnvironmentForReceipt" | "EncryptedRequestNotAllowed" | "SignedRequestNotAllowed" | "RequestViewConstraintParamsNotAllowed" | "BadPartnerConfiguration" | "XboxBPCertificateFailure" | "XboxXASSExchangeFailure" | "InvalidEntityId" | "StatisticValueAggregationOverflow" | "EmailMessageFromAddressIsMissing" | "EmailMessageToAddressIsMissing" | "SmtpServerAuthenticationError" | "SmtpServerLimitExceeded" | "SmtpServerInsufficientStorage" | "SmtpServerCommunicationError" | "SmtpServerGeneralFailure" | "EmailClientTimeout" | "EmailClientCanceledTask" | "EmailTemplateMissing" | "InvalidHostForTitleId" | "EmailConfirmationTokenDoesNotExist" | "EmailConfirmationTokenExpired" | "AccountDeleted" | "PlayerSecretNotConfigured" | "InvalidSignatureTime" | "NoContactEmailAddressFound" | "InvalidAuthToken" | "AuthTokenDoesNotExist" | "AuthTokenExpired" | "AuthTokenAlreadyUsedToResetPassword" | "MembershipNameTooLong" | "MembershipNotFound" | "GoogleServiceAccountInvalid" | "GoogleServiceAccountParseFailure" | "EntityTokenMissing" | "EntityTokenInvalid" | "EntityTokenExpired" | "EntityTokenRevoked" | "InvalidProductForSubscription" | "XboxInaccessible" | "SubscriptionAlreadyTaken" | "SmtpAddonNotEnabled" | "APIConcurrentRequestLimitExceeded" | "XboxRejectedXSTSExchangeRequest" | "VariableNotDefined" | "TemplateVersionNotDefined" | "FileTooLarge" | "TitleDeleted" | "TitleContainsUserAccounts" | "TitleDeletionPlayerCleanupFailure" | "EntityFileOperationPending" | "NoEntityFileOperationPending" | "EntityProfileVersionMismatch" | "TemplateVersionTooOld" | "MembershipDefinitionInUse" | "PaymentPageNotConfigured" | "FailedLoginAttemptRateLimitExceeded" | "EntityBlockedByGroup" | "RoleDoesNotExist" | "EntityIsAlreadyMember" | "DuplicateRoleId" | "GroupInvitationNotFound" | "GroupApplicationNotFound" | "OutstandingInvitationAcceptedInstead" | "OutstandingApplicationAcceptedInstead" | "RoleIsGroupDefaultMember" | "RoleIsGroupAdmin" | "RoleNameNotAvailable" | "GroupNameNotAvailable" | "EmailReportAlreadySent" | "EmailReportRecipientBlacklisted" | "EventNamespaceNotAllowed" | "EventEntityNotAllowed" | "InvalidEntityType" | "NullTokenResultFromAad" | "InvalidTokenResultFromAad" | "NoValidCertificateForAad" | "InvalidCertificateForAad" | "DuplicateDropTableId" | "MultiplayerServerError" | "MultiplayerServerTooManyRequests" | "MultiplayerServerNoContent" | "MultiplayerServerBadRequest" | "MultiplayerServerUnauthorized" | "MultiplayerServerForbidden" | "MultiplayerServerNotFound" | "MultiplayerServerConflict" | "MultiplayerServerInternalServerError" | "MultiplayerServerUnavailable" | "ExplicitContentDetected" | "PIIContentDetected" | "InvalidScheduledTaskParameter" | "PerEntityEventRateLimitExceeded" | "TitleDefaultLanguageNotSet" | "EmailTemplateMissingDefaultVersion" | "FacebookInstantGamesIdNotLinked" | "InvalidFacebookInstantGamesSignature" | "FacebookInstantGamesAuthNotConfiguredForTitle" | "EntityProfileConstraintValidationFailed" | "TelemetryIngestionKeyPending" | "TelemetryIngestionKeyNotFound" | "StatisticChildNameInvalid" | "DataIntegrityError" | "VirtualCurrencyCannotBeSetToOlderVersion" | "VirtualCurrencyMustBeWithinIntegerRange" | "EmailTemplateInvalidSyntax" | "EmailTemplateMissingCallback" | "PushNotificationTemplateInvalidPayload" | "InvalidLocalizedPushNotificationLanguage" | "MissingLocalizedPushNotificationMessage" | "PushNotificationTemplateMissingPlatformPayload" | "PushNotificationTemplatePayloadContainsInvalidJson" | "PushNotificationTemplateContainsInvalidIosPayload" | "PushNotificationTemplateContainsInvalidAndroidPayload" | "PushNotificationTemplateIosPayloadMissingNotificationBody" | "PushNotificationTemplateAndroidPayloadMissingNotificationBody" | "PushNotificationTemplateNotFound" | "PushNotificationTemplateMissingDefaultVersion" | "PushNotificationTemplateInvalidSyntax" | "PushNotificationTemplateNoCustomPayloadForV1" | "NoLeaderboardForStatistic" | "TitleNewsMissingDefaultLanguage" | "TitleNewsNotFound" | "TitleNewsDuplicateLanguage" | "TitleNewsMissingTitleOrBody" | "TitleNewsInvalidLanguage" | "EmailRecipientBlacklisted" | "InvalidGameCenterAuthRequest" | "GameCenterAuthenticationFailed" | "CannotEnablePartiesForTitle" | "PartyError" | "PartyRequests" | "PartyNoContent" | "PartyBadRequest" | "PartyUnauthorized" | "PartyForbidden" | "PartyNotFound" | "PartyConflict" | "PartyInternalServerError" | "PartyUnavailable" | "PartyTooManyRequests" | "PushNotificationTemplateMissingName" | "CannotEnableMultiplayerServersForTitle" | "WriteAttemptedDuringExport" | "MultiplayerServerTitleQuotaCoresExceeded" | "AutomationRuleNotFound" | "EntityAPIKeyLimitExceeded" | "EntityAPIKeyNotFound" | "EntityAPIKeyOrSecretInvalid" | "EconomyServiceUnavailable" | "EconomyServiceInternalError" | "QueryRateLimitExceeded" | "EntityAPIKeyCreationDisabledForEntity" | "ForbiddenByEntityPolicy" | "UpdateInventoryRateLimitExceeded" | "StudioCreationRateLimited" | "StudioCreationInProgress" | "DuplicateStudioName" | "StudioNotFound" | "StudioDeleted" | "StudioDeactivated" | "StudioActivated" | "TitleCreationRateLimited" | "TitleCreationInProgress" | "DuplicateTitleName" | "TitleActivationRateLimited" | "TitleActivationInProgress" | "TitleDeactivated" | "TitleActivated" | "CloudScriptAzureFunctionsExecutionTimeLimitExceeded" | "CloudScriptAzureFunctionsArgumentSizeExceeded" | "CloudScriptAzureFunctionsReturnSizeExceeded" | "CloudScriptAzureFunctionsHTTPRequestError" | "VirtualCurrencyBetaGetError" | "VirtualCurrencyBetaCreateError" | "VirtualCurrencyBetaInitialDepositSaveError" | "VirtualCurrencyBetaSaveError" | "VirtualCurrencyBetaDeleteError" | "VirtualCurrencyBetaRestoreError" | "VirtualCurrencyBetaSaveConflict" | "VirtualCurrencyBetaUpdateError" | "InsightsManagementDatabaseNotFound" | "InsightsManagementOperationNotFound" | "InsightsManagementErrorPendingOperationExists" | "InsightsManagementSetPerformanceLevelInvalidParameter" | "InsightsManagementSetStorageRetentionInvalidParameter" | "InsightsManagementGetStorageUsageInvalidParameter" | "InsightsManagementGetOperationStatusInvalidParameter" | "DuplicatePurchaseTransactionId" | "EvaluationModePlayerCountExceeded" | "GetPlayersInSegmentRateLimitExceeded" | "CloudScriptFunctionNameSizeExceeded" | "PaidInsightsFeaturesNotEnabled" | "CloudScriptAzureFunctionsQueueRequestError" | "EvaluationModeTitleCountExceeded" | "InsightsManagementTitleNotInFlight" | "LimitNotFound" | "LimitNotAvailableViaAPI" | "InsightsManagementSetStorageRetentionBelowMinimum" | "InsightsManagementSetStorageRetentionAboveMaximum" | "AppleNotEnabledForTitle" | "InsightsManagementNewActiveEventExportLimitInvalid" | "InsightsManagementSetPerformanceRateLimited" | "PartyRequestsThrottledFromRateLimiter" | "XboxServiceTooManyRequests" | "NintendoSwitchNotEnabledForTitle" | "RequestMultiplayerServersThrottledFromRateLimiter" | "TitleDataOverrideNotFound" | "DuplicateKeys" | "WasNotCreatedWithCloudRoot" | "LegacyMultiplayerServersDeprecated" | "VirtualCurrencyCurrentlyUnavailable" | "SteamUserNotFound" | "ElasticSearchOperationFailed" | "NotImplemented" | "PublisherNotFound" | "PublisherDeleted" | "ApiDisabledForMigration" | "ResourceNameUpdateNotAllowed" | "ApiNotEnabledForTitle" | "DuplicateTitleNameForPublisher" | "AzureTitleCreationInProgress" | "TitleConstraintsPublisherDeletion" | "InvalidPlayerAccountPoolId" | "PlayerAccountPoolNotFound" | "PlayerAccountPoolDeleted" | "TitleCleanupInProgress" | "AzureResourceConcurrentOperationInProgress" | "TitlePublisherUpdateNotAllowed" | "AzureResourceManagerNotSupportedInStamp" | "ApiNotIncludedInAzurePlayFabFeatureSet" | "GoogleServiceAccountFailedAuth" | "GoogleAPIServiceUnavailable" | "GoogleAPIServiceUnknownError" | "NoValidIdentityForAad" | "PlayerIdentityLinkNotFound" | "PhotonApplicationIdAlreadyInUse" | "CloudScriptUnableToDeleteProductionRevision" | "CustomIdNotFound" | "AutomationInvalidInput" | "AutomationInvalidRuleName" | "AutomationRuleAlreadyExists" | "AutomationRuleLimitExceeded" | "InvalidGooglePlayGamesServerAuthCode" | "PlayStreamConnectionFailed" | "InvalidEventContents" | "InsightsV1Deprecated" | "AnalysisSubscriptionNotFound" | "AnalysisSubscriptionFailed" | "AnalysisSubscriptionFoundAlready" | "AnalysisSubscriptionManagementInvalidInput" | "InvalidGameCenterId" | "InvalidNintendoSwitchAccountId" | "EntityAPIKeysNotSupported" | "IpAddressBanned" | "EntityLineageBanned" | "NamespaceMismatch" | "InvalidServiceConfiguration" | "InvalidNamespaceMismatch" | "LeaderboardColumnLengthMismatch" | "InvalidStatisticScore" | "LeaderboardColumnsNotSpecified" | "LeaderboardMaxSizeTooLarge" | "InvalidAttributeStatisticsSpecified" | "LeaderboardNotFound" | "TokenSigningKeyNotFound" | "LeaderboardNameConflict" | "LinkedStatisticColumnMismatch" | "NoLinkedStatisticToLeaderboard" | "StatDefinitionAlreadyLinkedToLeaderboard" | "LinkingStatsNotAllowedForEntityType" | "LeaderboardCountLimitExceeded" | "LeaderboardSizeLimitExceeded" | "LeaderboardDefinitionModificationNotAllowedWhileLinked" | "StatisticDefinitionModificationNotAllowedWhileLinked" | "LeaderboardUpdateNotAllowedWhileLinked" | "CloudScriptAzureFunctionsEventHubRequestError" | "ExternalEntityNotAllowedForTier" | "InvalidBaseTimeForInterval" | "EntityTypeMismatchWithStatDefinition" | "SpecifiedVersionLeaderboardNotFound" | "LeaderboardColumnLengthMismatchWithStatDefinition" | "DuplicateColumnNameFound" | "LinkedStatisticColumnNotFound" | "LinkedStatisticColumnRequired" | "MultipleLinkedStatisticsNotAllowed" | "DuplicateLinkedStatisticColumnNameFound" | "AggregationTypeNotAllowedForMultiColumnStatistic" | "MaxQueryableVersionsValueNotAllowedForTier" | "StatisticDefinitionHasNullOrEmptyVersionConfiguration" | "StatisticColumnLengthMismatch" | "InvalidExternalEntityId" | "UpdatingStatisticsUsingTransactionIdNotAvailableForFreeTier" | "TransactionAlreadyApplied" | "ReportDataNotRetrievedSuccessfully" | "ResetIntervalCannotBeModified" | "VersionIncrementRateExceeded" | "InvalidSteamUsername" | "InvalidVersionResetForLinkedLeaderboard" | "BattleNetNotEnabledForTitle" | "ReportNotProcessed" | "DataNotAvailable" | "InvalidReportName" | "ResourceNotModified" | "StudioCreationLimitExceeded" | "StudioDeletionInitiated" | "ProductDisabledForTitle" | "PreconditionFailed" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" | "MatchmakingMatchNotFound" | "MatchmakingTicketNotFound" | "MatchmakingAlreadyJoinedTicket" | "MatchmakingTicketAlreadyCompleted" | "MatchmakingQueueConfigInvalid" | "MatchmakingMemberProfileInvalid" | "NintendoSwitchDeviceIdNotLinked" | "MatchmakingNotEnabled" | "MatchmakingPlayerAttributesTooLarge" | "MatchmakingNumberOfPlayersInTicketTooLarge" | "MatchmakingAttributeInvalid" | "MatchmakingPlayerHasNotJoinedTicket" | "MatchmakingRateLimitExceeded" | "MatchmakingTicketMembershipLimitExceeded" | "MatchmakingUnauthorized" | "MatchmakingQueueLimitExceeded" | "MatchmakingRequestTypeMismatch" | "MatchmakingBadRequest" | "PubSubFeatureNotEnabledForTitle" | "PubSubTooManyRequests" | "PubSubConnectionNotFoundForEntity" | "PubSubConnectionHandleInvalid" | "PubSubSubscriptionLimitExceeded" | "TitleConfigNotFound" | "TitleConfigUpdateConflict" | "TitleConfigSerializationError" | "CatalogApiNotImplemented" | "CatalogEntityInvalid" | "CatalogTitleIdMissing" | "CatalogPlayerIdMissing" | "CatalogClientIdentityInvalid" | "CatalogOneOrMoreFilesInvalid" | "CatalogItemMetadataInvalid" | "CatalogItemIdInvalid" | "CatalogSearchParameterInvalid" | "CatalogFeatureDisabled" | "CatalogConfigInvalid" | "CatalogItemTypeInvalid" | "CatalogBadRequest" | "CatalogTooManyRequests" | "InvalidCatalogItemConfiguration" | "ExportInvalidStatusUpdate" | "ExportInvalidPrefix" | "ExportBlobContainerDoesNotExist" | "ExportNotFound" | "ExportCouldNotUpdate" | "ExportInvalidStorageType" | "ExportAmazonBucketDoesNotExist" | "ExportInvalidBlobStorage" | "ExportKustoException" | "ExportKustoConnectionFailed" | "ExportUnknownError" | "ExportCantEditPendingExport" | "ExportLimitExports" | "ExportLimitEvents" | "ExportInvalidPartitionStatusModification" | "ExportCouldNotCreate" | "ExportNoBackingDatabaseFound" | "ExportCouldNotDelete" | "ExportCannotDetermineEventQuery" | "ExportInvalidQuerySchemaModification" | "ExportQuerySchemaMissingRequiredColumns" | "ExportCannotParseQuery" | "ExportControlCommandsNotAllowed" | "ExportQueryMissingTableReference" | "ExportInsightsV1Deprecated" | "ExplorerBasicInvalidQueryName" | "ExplorerBasicInvalidQueryDescription" | "ExplorerBasicInvalidQueryConditions" | "ExplorerBasicInvalidQueryStartDate" | "ExplorerBasicInvalidQueryEndDate" | "ExplorerBasicInvalidQueryGroupBy" | "ExplorerBasicInvalidQueryAggregateType" | "ExplorerBasicInvalidQueryAggregateProperty" | "ExplorerBasicLoadQueriesError" | "ExplorerBasicLoadQueryError" | "ExplorerBasicCreateQueryError" | "ExplorerBasicDeleteQueryError" | "ExplorerBasicUpdateQueryError" | "ExplorerBasicSavedQueriesLimit" | "ExplorerBasicSavedQueryNotFound" | "TenantShardMapperShardNotFound" | "TitleNotEnabledForParty" | "PartyVersionNotFound" | "MultiplayerServerBuildReferencedByMatchmakingQueue" | "MultiplayerServerBuildReferencedByBuildAlias" | "MultiplayerServerBuildAliasReferencedByMatchmakingQueue" | "PartySerializationError" | "ExperimentationExperimentStopped" | "ExperimentationExperimentRunning" | "ExperimentationExperimentNotFound" | "ExperimentationExperimentNeverStarted" | "ExperimentationExperimentDeleted" | "ExperimentationClientTimeout" | "ExperimentationInvalidVariantConfiguration" | "ExperimentationInvalidVariableConfiguration" | "ExperimentInvalidId" | "ExperimentationNoScorecard" | "ExperimentationTreatmentAssignmentFailed" | "ExperimentationTreatmentAssignmentDisabled" | "ExperimentationInvalidDuration" | "ExperimentationMaxExperimentsReached" | "ExperimentationExperimentSchedulingInProgress" | "ExperimentationInvalidEndDate" | "ExperimentationInvalidStartDate" | "ExperimentationMaxDurationExceeded" | "ExperimentationExclusionGroupNotFound" | "ExperimentationExclusionGroupInsufficientCapacity" | "ExperimentationExclusionGroupCannotDelete" | "ExperimentationExclusionGroupInvalidTrafficAllocation" | "ExperimentationExclusionGroupInvalidName" | "ExperimentationLegacyExperimentInvalidOperation" | "MaxActionDepthExceeded" | "TitleNotOnUpdatedPricingPlan" | "SegmentManagementTitleNotInFlight" | "SegmentManagementNoExpressionTree" | "SegmentManagementTriggerActionCountOverLimit" | "SegmentManagementSegmentCountOverLimit" | "SegmentManagementInvalidSegmentId" | "SegmentManagementInvalidInput" | "SegmentManagementInvalidSegmentName" | "DeleteSegmentRateLimitExceeded" | "CreateSegmentRateLimitExceeded" | "UpdateSegmentRateLimitExceeded" | "GetSegmentsRateLimitExceeded" | "AsyncExportNotInFlight" | "AsyncExportNotFound" | "AsyncExportRateLimitExceeded" | "AnalyticsSegmentCountOverLimit" | "GetPlayersInSegmentDeprecated" | "SnapshotNotFound" | "InventoryApiNotImplemented" | "InventoryCollectionDeletionDisallowed" | "LobbyDoesNotExist" | "LobbyRateLimitExceeded" | "LobbyPlayerAlreadyJoined" | "LobbyNotJoinable" | "LobbyMemberCannotRejoin" | "LobbyCurrentPlayersMoreThanMaxPlayers" | "LobbyPlayerNotPresent" | "LobbyBadRequest" | "LobbyPlayerMaxLobbyLimitExceeded" | "LobbyNewOwnerMustBeConnected" | "LobbyCurrentOwnerStillConnected" | "LobbyMemberIsNotOwner" | "LobbyServerMismatch" | "LobbyServerNotFound" | "LobbyDifferentServerAlreadyJoined" | "LobbyServerAlreadyJoined" | "LobbyIsNotClientOwned" | "LobbyDoesNotUseConnections" | "EventSamplingInvalidRatio" | "EventSamplingInvalidEventNamespace" | "EventSamplingInvalidEventName" | "EventSamplingRatioNotFound" | "TelemetryKeyNotFound" | "TelemetryKeyInvalidName" | "TelemetryKeyAlreadyExists" | "TelemetryKeyInvalid" | "TelemetryKeyCountOverLimit" | "TelemetryKeyDeactivated" | "TelemetryKeyLongInsightsRetentionNotAllowed" | "EventSinkConnectionInvalid" | "EventSinkConnectionUnauthorized" | "EventSinkRegionInvalid" | "EventSinkLimitExceeded" | "EventSinkSasTokenInvalid" | "EventSinkNotFound" | "EventSinkNameInvalid" | "EventSinkSasTokenPermissionInvalid" | "EventSinkSecretInvalid" | "EventSinkTenantNotFound" | "EventSinkAadNotFound" | "EventSinkDatabaseNotFound" | "EventSinkTitleUnauthorized" | "EventSinkInsufficientRoleAssignment" | "EventSinkContainerNotFound" | "EventSinkTenantIdInvalid" | "EventSinkResourceMisconfigured" | "EventSinkAccessDenied" | "EventSinkWriteConflict" | "EventSinkResourceNotFound" | "EventSinkResourceFeatureNotSupported" | "EventSinkBucketNameInvalid" | "EventSinkResourceUnavailable" | "OperationCanceled" | "InvalidDisplayNameRandomSuffixLength" | "AllowNonUniquePlayerDisplayNamesDisableNotAllowed" | "PartitionedEventInvalid" | "PartitionedEventCountOverLimit" | "ManageEventNamespaceInvalid" | "ManageEventNameInvalid" | "ManagedEventNotFound" | "ManageEventsInvalidRatio" | "ManagedEventInvalid" | "PlayerCustomPropertiesPropertyNameTooLong" | "PlayerCustomPropertiesPropertyNameIsInvalid" | "PlayerCustomPropertiesStringPropertyValueTooLong" | "PlayerCustomPropertiesValueIsInvalidType" | "PlayerCustomPropertiesVersionMismatch" | "PlayerCustomPropertiesPropertyCountTooHigh" | "PlayerCustomPropertiesDuplicatePropertyName" | "PlayerCustomPropertiesPropertyDoesNotExist" | "AddonAlreadyExists" | "AddonDoesntExist" | "CopilotDisabled" | "CopilotInvalidRequest" | "TrueSkillUnauthorized" | "TrueSkillInvalidTitleId" | "TrueSkillInvalidScenarioId" | "TrueSkillInvalidModelId" | "TrueSkillInvalidModelName" | "TrueSkillInvalidPlayerIds" | "TrueSkillInvalidEntityKey" | "TrueSkillInvalidConditionKey" | "TrueSkillInvalidConditionValue" | "TrueSkillInvalidConditionAffinityWeight" | "TrueSkillInvalidEventName" | "TrueSkillMatchResultCreated" | "TrueSkillMatchResultAlreadySubmitted" | "TrueSkillBadPlayerIdInMatchResult" | "TrueSkillInvalidBotIdInMatchResult" | "TrueSkillDuplicatePlayerInMatchResult" | "TrueSkillNoPlayerInMatchResultTeam" | "TrueSkillPlayersInMatchResultExceedingLimit" | "TrueSkillInvalidPreMatchPartyInMatchResult" | "TrueSkillInvalidTimestampInMatchResult" | "TrueSkillStartTimeMissingInMatchResult" | "TrueSkillEndTimeMissingInMatchResult" | "TrueSkillInvalidPlayerSecondsPlayedInMatchResult" | "TrueSkillNoTeamInMatchResult" | "TrueSkillNotEnoughTeamsInMatchResult" | "TrueSkillInvalidRanksInMatchResult" | "TrueSkillNoWinnerInMatchResult" | "TrueSkillMissingRequiredCondition" | "TrueSkillMissingRequiredEvent" | "TrueSkillUnknownEventName" | "TrueSkillInvalidEventCount" | "TrueSkillUnknownConditionKey" | "TrueSkillUnknownConditionValue" | "TrueSkillScenarioConfigDoesNotExist" | "TrueSkillUnknownModelId" | "TrueSkillNoModelInScenario" | "TrueSkillNotSupportedForTitle" | "TrueSkillModelIsNotActive" | "TrueSkillUnauthorizedToQueryOtherPlayerSkills" | "TrueSkillInvalidMaxIterations" | "TrueSkillEndTimeBeforeStartTime" | "TrueSkillInvalidJobId" | "TrueSkillInvalidMetadataId" | "TrueSkillMissingBuildVerison" | "TrueSkillJobAlreadyExists" | "TrueSkillJobNotFound" | "TrueSkillOperationCanceled" | "TrueSkillActiveModelLimitExceeded" | "TrueSkillTotalModelLimitExceeded" | "TrueSkillUnknownInitialModelId" | "TrueSkillUnauthorizedForJob" | "TrueSkillInvalidScenarioName" | "TrueSkillConditionStateIsRequired" | "TrueSkillEventStateIsRequired" | "TrueSkillDuplicateEvent" | "TrueSkillDuplicateCondition" | "TrueSkillInvalidAnomalyThreshold" | "TrueSkillConditionKeyLimitExceeded" | "TrueSkillConditionValuePerKeyLimitExceeded" | "TrueSkillInvalidTimestamp" | "TrueSkillEventLimitExceeded" | "TrueSkillInvalidPlayers" | "TrueSkillTrueSkillPlayerNull" | "TrueSkillInvalidPlayerId" | "TrueSkillInvalidSquadSize" | "TrueSkillConditionSetNotInModel" | "TrueSkillModelStateInvalidForOperation" | "TrueSkillScenarioContainsActiveModel" | "TrueSkillInvalidConditionRank" | "TrueSkillTotalScenarioLimitExceeded" | "TrueSkillInvalidConditionsList" | "GameSaveManifestNotFound" | "GameSaveManifestVersionAlreadyExists" | "GameSaveConflictUpdatingManifest" | "GameSaveManifestUpdatesNotAllowed" | "GameSaveFileAlreadyExists" | "GameSaveManifestVersionNotFinalized" | "GameSaveUnknownFileInManifest" | "GameSaveFileExceededReportedSize" | "GameSaveFileNotUploaded" | "GameSaveBadRequest" | "GameSaveOperationNotAllowed" | "GameSaveDataStorageQuotaExceeded" | "GameSaveNewerManifestExists" | "GameSaveBaseVersionNotAvailable" | "GameSaveManifestVersionQuarantined" | "GameSaveManifestUploadProgressUpdateNotAllowed" | "GameSaveNotFinalizedManifestNotEligibleAsKnownGood" | "GameSaveNoUpdatesRequested" | "GameSaveTitleDoesNotExist" | "GameSaveOperationNotAllowedForTitle" | "GameSaveManifestFilesLimitExceeded" | "GameSaveManifestDescriptionUpdateNotAllowed" | "GameSaveTitleConfigNotFound" | "GameSaveTitleAlreadyOnboarded" | "GameSaveServiceNotEnabledForTitle" | "GameSaveServiceOnboardingPending" | "GameSaveManifestNotEligibleAsConflictingVersion" | "GameSaveServiceUnavailable" | "GameSaveConflict" | "GameSaveManifestNotEligibleForRollback" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" | "StateShareLinkNotFound" | "StateShareStateRedemptionLimitExceeded" | "StateShareStateRedemptionLimitNotUpdated" | "StateShareCreatedStatesLimitExceeded" | "StateShareIdMissingOrMalformed" | "PlayerCreationDisabled" | "AccountAlreadyExists" | "TagInvalid" | "TagTooLong" | "StatisticColumnAggregationMismatch" | "StatisticResetIntervalMismatch" | "VersionConfigurationCannotBeSpecifiedForLinkedStat" | "VersionConfigurationIsRequired" | "InvalidEntityTypeForAggregation" | "MultiLevelAggregationNotAllowed" | "AggregationTypeNotAllowedForLinkedStat" | "OperationDeniedDueToDefinitionPolicy" | "StatisticUpdateNotAllowedWhileLinked" | "UnsupportedEntityType" | "EntityTypeSpecifiedRequiresAggregationSource" | "PlayFabErrorEventNotSupportedForEntityType" | "StoreMetricsRequestInvalidInput" | "StoreMetricsErrorRetrievingMetrics";
594
+ type GenericErrorCodes = "Success" | "UnkownError" | "InvalidParams" | "AccountNotFound" | "AccountBanned" | "InvalidUsernameOrPassword" | "InvalidTitleId" | "InvalidEmailAddress" | "EmailAddressNotAvailable" | "InvalidUsername" | "InvalidPassword" | "UsernameNotAvailable" | "InvalidSteamTicket" | "AccountAlreadyLinked" | "LinkedAccountAlreadyClaimed" | "InvalidFacebookToken" | "AccountNotLinked" | "FailedByPaymentProvider" | "CouponCodeNotFound" | "InvalidContainerItem" | "ContainerNotOwned" | "KeyNotOwned" | "InvalidItemIdInTable" | "InvalidReceipt" | "ReceiptAlreadyUsed" | "ReceiptCancelled" | "GameNotFound" | "GameModeNotFound" | "InvalidGoogleToken" | "UserIsNotPartOfDeveloper" | "InvalidTitleForDeveloper" | "TitleNameConflicts" | "UserisNotValid" | "ValueAlreadyExists" | "BuildNotFound" | "PlayerNotInGame" | "InvalidTicket" | "InvalidDeveloper" | "InvalidOrderInfo" | "RegistrationIncomplete" | "InvalidPlatform" | "UnknownError" | "SteamApplicationNotOwned" | "WrongSteamAccount" | "TitleNotActivated" | "RegistrationSessionNotFound" | "NoSuchMod" | "FileNotFound" | "DuplicateEmail" | "ItemNotFound" | "ItemNotOwned" | "ItemNotRecycleable" | "ItemNotAffordable" | "InvalidVirtualCurrency" | "WrongVirtualCurrency" | "WrongPrice" | "NonPositiveValue" | "InvalidRegion" | "RegionAtCapacity" | "ServerFailedToStart" | "NameNotAvailable" | "InsufficientFunds" | "InvalidDeviceID" | "InvalidPushNotificationToken" | "NoRemainingUses" | "InvalidPaymentProvider" | "PurchaseInitializationFailure" | "DuplicateUsername" | "InvalidBuyerInfo" | "NoGameModeParamsSet" | "BodyTooLarge" | "ReservedWordInBody" | "InvalidTypeInBody" | "InvalidRequest" | "ReservedEventName" | "InvalidUserStatistics" | "NotAuthenticated" | "StreamAlreadyExists" | "ErrorCreatingStream" | "StreamNotFound" | "InvalidAccount" | "PurchaseDoesNotExist" | "InvalidPurchaseTransactionStatus" | "APINotEnabledForGameClientAccess" | "NoPushNotificationARNForTitle" | "BuildAlreadyExists" | "BuildPackageDoesNotExist" | "CustomAnalyticsEventsNotEnabledForTitle" | "InvalidSharedGroupId" | "NotAuthorized" | "MissingTitleGoogleProperties" | "InvalidItemProperties" | "InvalidPSNAuthCode" | "InvalidItemId" | "PushNotEnabledForAccount" | "PushServiceError" | "ReceiptDoesNotContainInAppItems" | "ReceiptContainsMultipleInAppItems" | "InvalidBundleID" | "JavascriptException" | "InvalidSessionTicket" | "UnableToConnectToDatabase" | "InternalServerError" | "InvalidReportDate" | "DatabaseThroughputExceeded" | "InvalidGameTicket" | "ExpiredGameTicket" | "GameTicketDoesNotMatchLobby" | "LinkedDeviceAlreadyClaimed" | "DeviceAlreadyLinked" | "DeviceNotLinked" | "PartialFailure" | "PublisherNotSet" | "ServiceUnavailable" | "VersionNotFound" | "RevisionNotFound" | "InvalidPublisherId" | "DownstreamServiceUnavailable" | "APINotIncludedInTitleUsageTier" | "DAULimitExceeded" | "APIRequestLimitExceeded" | "InvalidAPIEndpoint" | "BuildNotAvailable" | "ConcurrentEditError" | "ContentNotFound" | "CharacterNotFound" | "CloudScriptNotFound" | "ContentQuotaExceeded" | "InvalidCharacterStatistics" | "PhotonNotEnabledForTitle" | "PhotonApplicationNotFound" | "PhotonApplicationNotAssociatedWithTitle" | "InvalidEmailOrPassword" | "FacebookAPIError" | "InvalidContentType" | "KeyLengthExceeded" | "DataLengthExceeded" | "TooManyKeys" | "FreeTierCannotHaveVirtualCurrency" | "MissingAmazonSharedKey" | "AmazonValidationError" | "InvalidPSNIssuerId" | "PSNInaccessible" | "ExpiredAuthToken" | "FailedToGetEntitlements" | "FailedToConsumeEntitlement" | "TradeAcceptingUserNotAllowed" | "TradeInventoryItemIsAssignedToCharacter" | "TradeInventoryItemIsBundle" | "TradeStatusNotValidForCancelling" | "TradeStatusNotValidForAccepting" | "TradeDoesNotExist" | "TradeCancelled" | "TradeAlreadyFilled" | "TradeWaitForStatusTimeout" | "TradeInventoryItemExpired" | "TradeMissingOfferedAndAcceptedItems" | "TradeAcceptedItemIsBundle" | "TradeAcceptedItemIsStackable" | "TradeInventoryItemInvalidStatus" | "TradeAcceptedCatalogItemInvalid" | "TradeAllowedUsersInvalid" | "TradeInventoryItemDoesNotExist" | "TradeInventoryItemIsConsumed" | "TradeInventoryItemIsStackable" | "TradeAcceptedItemsMismatch" | "InvalidKongregateToken" | "FeatureNotConfiguredForTitle" | "NoMatchingCatalogItemForReceipt" | "InvalidCurrencyCode" | "NoRealMoneyPriceForCatalogItem" | "TradeInventoryItemIsNotTradable" | "TradeAcceptedCatalogItemIsNotTradable" | "UsersAlreadyFriends" | "LinkedIdentifierAlreadyClaimed" | "CustomIdNotLinked" | "TotalDataSizeExceeded" | "DeleteKeyConflict" | "InvalidXboxLiveToken" | "ExpiredXboxLiveToken" | "ResettableStatisticVersionRequired" | "NotAuthorizedByTitle" | "NoPartnerEnabled" | "InvalidPartnerResponse" | "APINotEnabledForGameServerAccess" | "StatisticNotFound" | "StatisticNameConflict" | "StatisticVersionClosedForWrites" | "StatisticVersionInvalid" | "APIClientRequestRateLimitExceeded" | "InvalidJSONContent" | "InvalidDropTable" | "StatisticVersionAlreadyIncrementedForScheduledInterval" | "StatisticCountLimitExceeded" | "StatisticVersionIncrementRateExceeded" | "ContainerKeyInvalid" | "CloudScriptExecutionTimeLimitExceeded" | "NoWritePermissionsForEvent" | "CloudScriptFunctionArgumentSizeExceeded" | "CloudScriptAPIRequestCountExceeded" | "CloudScriptAPIRequestError" | "CloudScriptHTTPRequestError" | "InsufficientGuildRole" | "GuildNotFound" | "OverLimit" | "EventNotFound" | "InvalidEventField" | "InvalidEventName" | "CatalogNotConfigured" | "OperationNotSupportedForPlatform" | "SegmentNotFound" | "StoreNotFound" | "InvalidStatisticName" | "TitleNotQualifiedForLimit" | "InvalidServiceLimitLevel" | "ServiceLimitLevelInTransition" | "CouponAlreadyRedeemed" | "GameServerBuildSizeLimitExceeded" | "GameServerBuildCountLimitExceeded" | "VirtualCurrencyCountLimitExceeded" | "VirtualCurrencyCodeExists" | "TitleNewsItemCountLimitExceeded" | "InvalidTwitchToken" | "TwitchResponseError" | "ProfaneDisplayName" | "UserAlreadyAdded" | "InvalidVirtualCurrencyCode" | "VirtualCurrencyCannotBeDeleted" | "IdentifierAlreadyClaimed" | "IdentifierNotLinked" | "InvalidContinuationToken" | "ExpiredContinuationToken" | "InvalidSegment" | "InvalidSessionId" | "SessionLogNotFound" | "InvalidSearchTerm" | "TwoFactorAuthenticationTokenRequired" | "GameServerHostCountLimitExceeded" | "PlayerTagCountLimitExceeded" | "RequestAlreadyRunning" | "ActionGroupNotFound" | "MaximumSegmentBulkActionJobsRunning" | "NoActionsOnPlayersInSegmentJob" | "DuplicateStatisticName" | "ScheduledTaskNameConflict" | "ScheduledTaskCreateConflict" | "InvalidScheduledTaskName" | "InvalidTaskSchedule" | "SteamNotEnabledForTitle" | "LimitNotAnUpgradeOption" | "NoSecretKeyEnabledForCloudScript" | "TaskNotFound" | "TaskInstanceNotFound" | "InvalidIdentityProviderId" | "MisconfiguredIdentityProvider" | "InvalidScheduledTaskType" | "BillingInformationRequired" | "LimitedEditionItemUnavailable" | "InvalidAdPlacementAndReward" | "AllAdPlacementViewsAlreadyConsumed" | "GoogleOAuthNotConfiguredForTitle" | "GoogleOAuthError" | "UserNotFriend" | "InvalidSignature" | "InvalidPublicKey" | "GoogleOAuthNoIdTokenIncludedInResponse" | "StatisticUpdateInProgress" | "LeaderboardVersionNotAvailable" | "StatisticAlreadyHasPrizeTable" | "PrizeTableHasOverlappingRanks" | "PrizeTableHasMissingRanks" | "PrizeTableRankStartsAtZero" | "InvalidStatistic" | "ExpressionParseFailure" | "ExpressionInvokeFailure" | "ExpressionTooLong" | "DataUpdateRateExceeded" | "RestrictedEmailDomain" | "EncryptionKeyDisabled" | "EncryptionKeyMissing" | "EncryptionKeyBroken" | "NoSharedSecretKeyConfigured" | "SecretKeyNotFound" | "PlayerSecretAlreadyConfigured" | "APIRequestsDisabledForTitle" | "InvalidSharedSecretKey" | "PrizeTableHasNoRanks" | "ProfileDoesNotExist" | "ContentS3OriginBucketNotConfigured" | "InvalidEnvironmentForReceipt" | "EncryptedRequestNotAllowed" | "SignedRequestNotAllowed" | "RequestViewConstraintParamsNotAllowed" | "BadPartnerConfiguration" | "XboxBPCertificateFailure" | "XboxXASSExchangeFailure" | "InvalidEntityId" | "StatisticValueAggregationOverflow" | "EmailMessageFromAddressIsMissing" | "EmailMessageToAddressIsMissing" | "SmtpServerAuthenticationError" | "SmtpServerLimitExceeded" | "SmtpServerInsufficientStorage" | "SmtpServerCommunicationError" | "SmtpServerGeneralFailure" | "EmailClientTimeout" | "EmailClientCanceledTask" | "EmailTemplateMissing" | "InvalidHostForTitleId" | "EmailConfirmationTokenDoesNotExist" | "EmailConfirmationTokenExpired" | "AccountDeleted" | "PlayerSecretNotConfigured" | "InvalidSignatureTime" | "NoContactEmailAddressFound" | "InvalidAuthToken" | "AuthTokenDoesNotExist" | "AuthTokenExpired" | "AuthTokenAlreadyUsedToResetPassword" | "MembershipNameTooLong" | "MembershipNotFound" | "GoogleServiceAccountInvalid" | "GoogleServiceAccountParseFailure" | "EntityTokenMissing" | "EntityTokenInvalid" | "EntityTokenExpired" | "EntityTokenRevoked" | "InvalidProductForSubscription" | "XboxInaccessible" | "SubscriptionAlreadyTaken" | "SmtpAddonNotEnabled" | "APIConcurrentRequestLimitExceeded" | "XboxRejectedXSTSExchangeRequest" | "VariableNotDefined" | "TemplateVersionNotDefined" | "FileTooLarge" | "TitleDeleted" | "TitleContainsUserAccounts" | "TitleDeletionPlayerCleanupFailure" | "EntityFileOperationPending" | "NoEntityFileOperationPending" | "EntityProfileVersionMismatch" | "TemplateVersionTooOld" | "MembershipDefinitionInUse" | "PaymentPageNotConfigured" | "FailedLoginAttemptRateLimitExceeded" | "EntityBlockedByGroup" | "RoleDoesNotExist" | "EntityIsAlreadyMember" | "DuplicateRoleId" | "GroupInvitationNotFound" | "GroupApplicationNotFound" | "OutstandingInvitationAcceptedInstead" | "OutstandingApplicationAcceptedInstead" | "RoleIsGroupDefaultMember" | "RoleIsGroupAdmin" | "RoleNameNotAvailable" | "GroupNameNotAvailable" | "EmailReportAlreadySent" | "EmailReportRecipientBlacklisted" | "EventNamespaceNotAllowed" | "EventEntityNotAllowed" | "InvalidEntityType" | "NullTokenResultFromAad" | "InvalidTokenResultFromAad" | "NoValidCertificateForAad" | "InvalidCertificateForAad" | "DuplicateDropTableId" | "MultiplayerServerError" | "MultiplayerServerTooManyRequests" | "MultiplayerServerNoContent" | "MultiplayerServerBadRequest" | "MultiplayerServerUnauthorized" | "MultiplayerServerForbidden" | "MultiplayerServerNotFound" | "MultiplayerServerConflict" | "MultiplayerServerInternalServerError" | "MultiplayerServerUnavailable" | "ExplicitContentDetected" | "PIIContentDetected" | "InvalidScheduledTaskParameter" | "PerEntityEventRateLimitExceeded" | "TitleDefaultLanguageNotSet" | "EmailTemplateMissingDefaultVersion" | "FacebookInstantGamesIdNotLinked" | "InvalidFacebookInstantGamesSignature" | "FacebookInstantGamesAuthNotConfiguredForTitle" | "EntityProfileConstraintValidationFailed" | "TelemetryIngestionKeyPending" | "TelemetryIngestionKeyNotFound" | "StatisticChildNameInvalid" | "DataIntegrityError" | "VirtualCurrencyCannotBeSetToOlderVersion" | "VirtualCurrencyMustBeWithinIntegerRange" | "EmailTemplateInvalidSyntax" | "EmailTemplateMissingCallback" | "PushNotificationTemplateInvalidPayload" | "InvalidLocalizedPushNotificationLanguage" | "MissingLocalizedPushNotificationMessage" | "PushNotificationTemplateMissingPlatformPayload" | "PushNotificationTemplatePayloadContainsInvalidJson" | "PushNotificationTemplateContainsInvalidIosPayload" | "PushNotificationTemplateContainsInvalidAndroidPayload" | "PushNotificationTemplateIosPayloadMissingNotificationBody" | "PushNotificationTemplateAndroidPayloadMissingNotificationBody" | "PushNotificationTemplateNotFound" | "PushNotificationTemplateMissingDefaultVersion" | "PushNotificationTemplateInvalidSyntax" | "PushNotificationTemplateNoCustomPayloadForV1" | "NoLeaderboardForStatistic" | "TitleNewsMissingDefaultLanguage" | "TitleNewsNotFound" | "TitleNewsDuplicateLanguage" | "TitleNewsMissingTitleOrBody" | "TitleNewsInvalidLanguage" | "EmailRecipientBlacklisted" | "InvalidGameCenterAuthRequest" | "GameCenterAuthenticationFailed" | "CannotEnablePartiesForTitle" | "PartyError" | "PartyRequests" | "PartyNoContent" | "PartyBadRequest" | "PartyUnauthorized" | "PartyForbidden" | "PartyNotFound" | "PartyConflict" | "PartyInternalServerError" | "PartyUnavailable" | "PartyTooManyRequests" | "PushNotificationTemplateMissingName" | "CannotEnableMultiplayerServersForTitle" | "WriteAttemptedDuringExport" | "MultiplayerServerTitleQuotaCoresExceeded" | "AutomationRuleNotFound" | "EntityAPIKeyLimitExceeded" | "EntityAPIKeyNotFound" | "EntityAPIKeyOrSecretInvalid" | "EconomyServiceUnavailable" | "EconomyServiceInternalError" | "QueryRateLimitExceeded" | "EntityAPIKeyCreationDisabledForEntity" | "ForbiddenByEntityPolicy" | "UpdateInventoryRateLimitExceeded" | "StudioCreationRateLimited" | "StudioCreationInProgress" | "DuplicateStudioName" | "StudioNotFound" | "StudioDeleted" | "StudioDeactivated" | "StudioActivated" | "TitleCreationRateLimited" | "TitleCreationInProgress" | "DuplicateTitleName" | "TitleActivationRateLimited" | "TitleActivationInProgress" | "TitleDeactivated" | "TitleActivated" | "CloudScriptAzureFunctionsExecutionTimeLimitExceeded" | "CloudScriptAzureFunctionsArgumentSizeExceeded" | "CloudScriptAzureFunctionsReturnSizeExceeded" | "CloudScriptAzureFunctionsHTTPRequestError" | "VirtualCurrencyBetaGetError" | "VirtualCurrencyBetaCreateError" | "VirtualCurrencyBetaInitialDepositSaveError" | "VirtualCurrencyBetaSaveError" | "VirtualCurrencyBetaDeleteError" | "VirtualCurrencyBetaRestoreError" | "VirtualCurrencyBetaSaveConflict" | "VirtualCurrencyBetaUpdateError" | "InsightsManagementDatabaseNotFound" | "InsightsManagementOperationNotFound" | "InsightsManagementErrorPendingOperationExists" | "InsightsManagementSetPerformanceLevelInvalidParameter" | "InsightsManagementSetStorageRetentionInvalidParameter" | "InsightsManagementGetStorageUsageInvalidParameter" | "InsightsManagementGetOperationStatusInvalidParameter" | "DuplicatePurchaseTransactionId" | "EvaluationModePlayerCountExceeded" | "GetPlayersInSegmentRateLimitExceeded" | "CloudScriptFunctionNameSizeExceeded" | "PaidInsightsFeaturesNotEnabled" | "CloudScriptAzureFunctionsQueueRequestError" | "EvaluationModeTitleCountExceeded" | "InsightsManagementTitleNotInFlight" | "LimitNotFound" | "LimitNotAvailableViaAPI" | "InsightsManagementSetStorageRetentionBelowMinimum" | "InsightsManagementSetStorageRetentionAboveMaximum" | "AppleNotEnabledForTitle" | "InsightsManagementNewActiveEventExportLimitInvalid" | "InsightsManagementSetPerformanceRateLimited" | "PartyRequestsThrottledFromRateLimiter" | "XboxServiceTooManyRequests" | "NintendoSwitchNotEnabledForTitle" | "RequestMultiplayerServersThrottledFromRateLimiter" | "TitleDataOverrideNotFound" | "DuplicateKeys" | "WasNotCreatedWithCloudRoot" | "LegacyMultiplayerServersDeprecated" | "VirtualCurrencyCurrentlyUnavailable" | "SteamUserNotFound" | "ElasticSearchOperationFailed" | "NotImplemented" | "PublisherNotFound" | "PublisherDeleted" | "ApiDisabledForMigration" | "ResourceNameUpdateNotAllowed" | "ApiNotEnabledForTitle" | "DuplicateTitleNameForPublisher" | "AzureTitleCreationInProgress" | "TitleConstraintsPublisherDeletion" | "InvalidPlayerAccountPoolId" | "PlayerAccountPoolNotFound" | "PlayerAccountPoolDeleted" | "TitleCleanupInProgress" | "AzureResourceConcurrentOperationInProgress" | "TitlePublisherUpdateNotAllowed" | "AzureResourceManagerNotSupportedInStamp" | "ApiNotIncludedInAzurePlayFabFeatureSet" | "GoogleServiceAccountFailedAuth" | "GoogleAPIServiceUnavailable" | "GoogleAPIServiceUnknownError" | "NoValidIdentityForAad" | "PlayerIdentityLinkNotFound" | "PhotonApplicationIdAlreadyInUse" | "CloudScriptUnableToDeleteProductionRevision" | "CustomIdNotFound" | "AutomationInvalidInput" | "AutomationInvalidRuleName" | "AutomationRuleAlreadyExists" | "AutomationRuleLimitExceeded" | "InvalidGooglePlayGamesServerAuthCode" | "PlayStreamConnectionFailed" | "InvalidEventContents" | "InsightsV1Deprecated" | "AnalysisSubscriptionNotFound" | "AnalysisSubscriptionFailed" | "AnalysisSubscriptionFoundAlready" | "AnalysisSubscriptionManagementInvalidInput" | "InvalidGameCenterId" | "InvalidNintendoSwitchAccountId" | "EntityAPIKeysNotSupported" | "IpAddressBanned" | "EntityLineageBanned" | "NamespaceMismatch" | "InvalidServiceConfiguration" | "InvalidNamespaceMismatch" | "LeaderboardColumnLengthMismatch" | "InvalidStatisticScore" | "LeaderboardColumnsNotSpecified" | "LeaderboardMaxSizeTooLarge" | "InvalidAttributeStatisticsSpecified" | "LeaderboardNotFound" | "TokenSigningKeyNotFound" | "LeaderboardNameConflict" | "LinkedStatisticColumnMismatch" | "NoLinkedStatisticToLeaderboard" | "StatDefinitionAlreadyLinkedToLeaderboard" | "LinkingStatsNotAllowedForEntityType" | "LeaderboardCountLimitExceeded" | "LeaderboardSizeLimitExceeded" | "LeaderboardDefinitionModificationNotAllowedWhileLinked" | "StatisticDefinitionModificationNotAllowedWhileLinked" | "LeaderboardUpdateNotAllowedWhileLinked" | "CloudScriptAzureFunctionsEventHubRequestError" | "ExternalEntityNotAllowedForTier" | "InvalidBaseTimeForInterval" | "EntityTypeMismatchWithStatDefinition" | "SpecifiedVersionLeaderboardNotFound" | "LeaderboardColumnLengthMismatchWithStatDefinition" | "DuplicateColumnNameFound" | "LinkedStatisticColumnNotFound" | "LinkedStatisticColumnRequired" | "MultipleLinkedStatisticsNotAllowed" | "DuplicateLinkedStatisticColumnNameFound" | "AggregationTypeNotAllowedForMultiColumnStatistic" | "MaxQueryableVersionsValueNotAllowedForTier" | "StatisticDefinitionHasNullOrEmptyVersionConfiguration" | "StatisticColumnLengthMismatch" | "InvalidExternalEntityId" | "UpdatingStatisticsUsingTransactionIdNotAvailableForFreeTier" | "TransactionAlreadyApplied" | "ReportDataNotRetrievedSuccessfully" | "ResetIntervalCannotBeModified" | "VersionIncrementRateExceeded" | "InvalidSteamUsername" | "InvalidVersionResetForLinkedLeaderboard" | "BattleNetNotEnabledForTitle" | "ReportNotProcessed" | "DataNotAvailable" | "InvalidReportName" | "ResourceNotModified" | "StudioCreationLimitExceeded" | "StudioDeletionInitiated" | "ProductDisabledForTitle" | "PreconditionFailed" | "CannotEnableAnonymousPlayerCreation" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" | "MatchmakingMatchNotFound" | "MatchmakingTicketNotFound" | "MatchmakingAlreadyJoinedTicket" | "MatchmakingTicketAlreadyCompleted" | "MatchmakingQueueConfigInvalid" | "MatchmakingMemberProfileInvalid" | "NintendoSwitchDeviceIdNotLinked" | "MatchmakingNotEnabled" | "MatchmakingPlayerAttributesTooLarge" | "MatchmakingNumberOfPlayersInTicketTooLarge" | "MatchmakingAttributeInvalid" | "MatchmakingPlayerHasNotJoinedTicket" | "MatchmakingRateLimitExceeded" | "MatchmakingTicketMembershipLimitExceeded" | "MatchmakingUnauthorized" | "MatchmakingQueueLimitExceeded" | "MatchmakingRequestTypeMismatch" | "MatchmakingBadRequest" | "PubSubFeatureNotEnabledForTitle" | "PubSubTooManyRequests" | "PubSubConnectionNotFoundForEntity" | "PubSubConnectionHandleInvalid" | "PubSubSubscriptionLimitExceeded" | "TitleConfigNotFound" | "TitleConfigUpdateConflict" | "TitleConfigSerializationError" | "CatalogApiNotImplemented" | "CatalogEntityInvalid" | "CatalogTitleIdMissing" | "CatalogPlayerIdMissing" | "CatalogClientIdentityInvalid" | "CatalogOneOrMoreFilesInvalid" | "CatalogItemMetadataInvalid" | "CatalogItemIdInvalid" | "CatalogSearchParameterInvalid" | "CatalogFeatureDisabled" | "CatalogConfigInvalid" | "CatalogItemTypeInvalid" | "CatalogBadRequest" | "CatalogTooManyRequests" | "InvalidCatalogItemConfiguration" | "ExportInvalidStatusUpdate" | "ExportInvalidPrefix" | "ExportBlobContainerDoesNotExist" | "ExportNotFound" | "ExportCouldNotUpdate" | "ExportInvalidStorageType" | "ExportAmazonBucketDoesNotExist" | "ExportInvalidBlobStorage" | "ExportKustoException" | "ExportKustoConnectionFailed" | "ExportUnknownError" | "ExportCantEditPendingExport" | "ExportLimitExports" | "ExportLimitEvents" | "ExportInvalidPartitionStatusModification" | "ExportCouldNotCreate" | "ExportNoBackingDatabaseFound" | "ExportCouldNotDelete" | "ExportCannotDetermineEventQuery" | "ExportInvalidQuerySchemaModification" | "ExportQuerySchemaMissingRequiredColumns" | "ExportCannotParseQuery" | "ExportControlCommandsNotAllowed" | "ExportQueryMissingTableReference" | "ExportInsightsV1Deprecated" | "ExplorerBasicInvalidQueryName" | "ExplorerBasicInvalidQueryDescription" | "ExplorerBasicInvalidQueryConditions" | "ExplorerBasicInvalidQueryStartDate" | "ExplorerBasicInvalidQueryEndDate" | "ExplorerBasicInvalidQueryGroupBy" | "ExplorerBasicInvalidQueryAggregateType" | "ExplorerBasicInvalidQueryAggregateProperty" | "ExplorerBasicLoadQueriesError" | "ExplorerBasicLoadQueryError" | "ExplorerBasicCreateQueryError" | "ExplorerBasicDeleteQueryError" | "ExplorerBasicUpdateQueryError" | "ExplorerBasicSavedQueriesLimit" | "ExplorerBasicSavedQueryNotFound" | "TenantShardMapperShardNotFound" | "TitleNotEnabledForParty" | "PartyVersionNotFound" | "MultiplayerServerBuildReferencedByMatchmakingQueue" | "MultiplayerServerBuildReferencedByBuildAlias" | "MultiplayerServerBuildAliasReferencedByMatchmakingQueue" | "PartySerializationError" | "ExperimentationExperimentStopped" | "ExperimentationExperimentRunning" | "ExperimentationExperimentNotFound" | "ExperimentationExperimentNeverStarted" | "ExperimentationExperimentDeleted" | "ExperimentationClientTimeout" | "ExperimentationInvalidVariantConfiguration" | "ExperimentationInvalidVariableConfiguration" | "ExperimentInvalidId" | "ExperimentationNoScorecard" | "ExperimentationTreatmentAssignmentFailed" | "ExperimentationTreatmentAssignmentDisabled" | "ExperimentationInvalidDuration" | "ExperimentationMaxExperimentsReached" | "ExperimentationExperimentSchedulingInProgress" | "ExperimentationInvalidEndDate" | "ExperimentationInvalidStartDate" | "ExperimentationMaxDurationExceeded" | "ExperimentationExclusionGroupNotFound" | "ExperimentationExclusionGroupInsufficientCapacity" | "ExperimentationExclusionGroupCannotDelete" | "ExperimentationExclusionGroupInvalidTrafficAllocation" | "ExperimentationExclusionGroupInvalidName" | "ExperimentationLegacyExperimentInvalidOperation" | "MaxActionDepthExceeded" | "TitleNotOnUpdatedPricingPlan" | "SegmentManagementTitleNotInFlight" | "SegmentManagementNoExpressionTree" | "SegmentManagementTriggerActionCountOverLimit" | "SegmentManagementSegmentCountOverLimit" | "SegmentManagementInvalidSegmentId" | "SegmentManagementInvalidInput" | "SegmentManagementInvalidSegmentName" | "DeleteSegmentRateLimitExceeded" | "CreateSegmentRateLimitExceeded" | "UpdateSegmentRateLimitExceeded" | "GetSegmentsRateLimitExceeded" | "AsyncExportNotInFlight" | "AsyncExportNotFound" | "AsyncExportRateLimitExceeded" | "AnalyticsSegmentCountOverLimit" | "GetPlayersInSegmentDeprecated" | "SnapshotNotFound" | "InventoryApiNotImplemented" | "InventoryCollectionDeletionDisallowed" | "LobbyDoesNotExist" | "LobbyRateLimitExceeded" | "LobbyPlayerAlreadyJoined" | "LobbyNotJoinable" | "LobbyMemberCannotRejoin" | "LobbyCurrentPlayersMoreThanMaxPlayers" | "LobbyPlayerNotPresent" | "LobbyBadRequest" | "LobbyPlayerMaxLobbyLimitExceeded" | "LobbyNewOwnerMustBeConnected" | "LobbyCurrentOwnerStillConnected" | "LobbyMemberIsNotOwner" | "LobbyServerMismatch" | "LobbyServerNotFound" | "LobbyDifferentServerAlreadyJoined" | "LobbyServerAlreadyJoined" | "LobbyIsNotClientOwned" | "LobbyDoesNotUseConnections" | "EventSamplingInvalidRatio" | "EventSamplingInvalidEventNamespace" | "EventSamplingInvalidEventName" | "EventSamplingRatioNotFound" | "TelemetryKeyNotFound" | "TelemetryKeyInvalidName" | "TelemetryKeyAlreadyExists" | "TelemetryKeyInvalid" | "TelemetryKeyCountOverLimit" | "TelemetryKeyDeactivated" | "TelemetryKeyLongInsightsRetentionNotAllowed" | "EventSinkConnectionInvalid" | "EventSinkConnectionUnauthorized" | "EventSinkRegionInvalid" | "EventSinkLimitExceeded" | "EventSinkSasTokenInvalid" | "EventSinkNotFound" | "EventSinkNameInvalid" | "EventSinkSasTokenPermissionInvalid" | "EventSinkSecretInvalid" | "EventSinkTenantNotFound" | "EventSinkAadNotFound" | "EventSinkDatabaseNotFound" | "EventSinkTitleUnauthorized" | "EventSinkInsufficientRoleAssignment" | "EventSinkContainerNotFound" | "EventSinkTenantIdInvalid" | "EventSinkResourceMisconfigured" | "EventSinkAccessDenied" | "EventSinkWriteConflict" | "EventSinkResourceNotFound" | "EventSinkResourceFeatureNotSupported" | "EventSinkBucketNameInvalid" | "EventSinkResourceUnavailable" | "OperationCanceled" | "InvalidDisplayNameRandomSuffixLength" | "AllowNonUniquePlayerDisplayNamesDisableNotAllowed" | "PartitionedEventInvalid" | "PartitionedEventCountOverLimit" | "ManageEventNamespaceInvalid" | "ManageEventNameInvalid" | "ManagedEventNotFound" | "ManageEventsInvalidRatio" | "ManagedEventInvalid" | "PlayerCustomPropertiesPropertyNameTooLong" | "PlayerCustomPropertiesPropertyNameIsInvalid" | "PlayerCustomPropertiesStringPropertyValueTooLong" | "PlayerCustomPropertiesValueIsInvalidType" | "PlayerCustomPropertiesVersionMismatch" | "PlayerCustomPropertiesPropertyCountTooHigh" | "PlayerCustomPropertiesDuplicatePropertyName" | "PlayerCustomPropertiesPropertyDoesNotExist" | "AddonAlreadyExists" | "AddonDoesntExist" | "CopilotDisabled" | "CopilotInvalidRequest" | "TrueSkillUnauthorized" | "TrueSkillInvalidTitleId" | "TrueSkillInvalidScenarioId" | "TrueSkillInvalidModelId" | "TrueSkillInvalidModelName" | "TrueSkillInvalidPlayerIds" | "TrueSkillInvalidEntityKey" | "TrueSkillInvalidConditionKey" | "TrueSkillInvalidConditionValue" | "TrueSkillInvalidConditionAffinityWeight" | "TrueSkillInvalidEventName" | "TrueSkillMatchResultCreated" | "TrueSkillMatchResultAlreadySubmitted" | "TrueSkillBadPlayerIdInMatchResult" | "TrueSkillInvalidBotIdInMatchResult" | "TrueSkillDuplicatePlayerInMatchResult" | "TrueSkillNoPlayerInMatchResultTeam" | "TrueSkillPlayersInMatchResultExceedingLimit" | "TrueSkillInvalidPreMatchPartyInMatchResult" | "TrueSkillInvalidTimestampInMatchResult" | "TrueSkillStartTimeMissingInMatchResult" | "TrueSkillEndTimeMissingInMatchResult" | "TrueSkillInvalidPlayerSecondsPlayedInMatchResult" | "TrueSkillNoTeamInMatchResult" | "TrueSkillNotEnoughTeamsInMatchResult" | "TrueSkillInvalidRanksInMatchResult" | "TrueSkillNoWinnerInMatchResult" | "TrueSkillMissingRequiredCondition" | "TrueSkillMissingRequiredEvent" | "TrueSkillUnknownEventName" | "TrueSkillInvalidEventCount" | "TrueSkillUnknownConditionKey" | "TrueSkillUnknownConditionValue" | "TrueSkillScenarioConfigDoesNotExist" | "TrueSkillUnknownModelId" | "TrueSkillNoModelInScenario" | "TrueSkillNotSupportedForTitle" | "TrueSkillModelIsNotActive" | "TrueSkillUnauthorizedToQueryOtherPlayerSkills" | "TrueSkillInvalidMaxIterations" | "TrueSkillEndTimeBeforeStartTime" | "TrueSkillInvalidJobId" | "TrueSkillInvalidMetadataId" | "TrueSkillMissingBuildVerison" | "TrueSkillJobAlreadyExists" | "TrueSkillJobNotFound" | "TrueSkillOperationCanceled" | "TrueSkillActiveModelLimitExceeded" | "TrueSkillTotalModelLimitExceeded" | "TrueSkillUnknownInitialModelId" | "TrueSkillUnauthorizedForJob" | "TrueSkillInvalidScenarioName" | "TrueSkillConditionStateIsRequired" | "TrueSkillEventStateIsRequired" | "TrueSkillDuplicateEvent" | "TrueSkillDuplicateCondition" | "TrueSkillInvalidAnomalyThreshold" | "TrueSkillConditionKeyLimitExceeded" | "TrueSkillConditionValuePerKeyLimitExceeded" | "TrueSkillInvalidTimestamp" | "TrueSkillEventLimitExceeded" | "TrueSkillInvalidPlayers" | "TrueSkillTrueSkillPlayerNull" | "TrueSkillInvalidPlayerId" | "TrueSkillInvalidSquadSize" | "TrueSkillConditionSetNotInModel" | "TrueSkillModelStateInvalidForOperation" | "TrueSkillScenarioContainsActiveModel" | "TrueSkillInvalidConditionRank" | "TrueSkillTotalScenarioLimitExceeded" | "TrueSkillInvalidConditionsList" | "GameSaveManifestNotFound" | "GameSaveManifestVersionAlreadyExists" | "GameSaveConflictUpdatingManifest" | "GameSaveManifestUpdatesNotAllowed" | "GameSaveFileAlreadyExists" | "GameSaveManifestVersionNotFinalized" | "GameSaveUnknownFileInManifest" | "GameSaveFileExceededReportedSize" | "GameSaveFileNotUploaded" | "GameSaveBadRequest" | "GameSaveOperationNotAllowed" | "GameSaveDataStorageQuotaExceeded" | "GameSaveNewerManifestExists" | "GameSaveBaseVersionNotAvailable" | "GameSaveManifestVersionQuarantined" | "GameSaveManifestUploadProgressUpdateNotAllowed" | "GameSaveNotFinalizedManifestNotEligibleAsKnownGood" | "GameSaveNoUpdatesRequested" | "GameSaveTitleDoesNotExist" | "GameSaveOperationNotAllowedForTitle" | "GameSaveManifestFilesLimitExceeded" | "GameSaveManifestDescriptionUpdateNotAllowed" | "GameSaveTitleConfigNotFound" | "GameSaveTitleAlreadyOnboarded" | "GameSaveServiceNotEnabledForTitle" | "GameSaveServiceOnboardingPending" | "GameSaveManifestNotEligibleAsConflictingVersion" | "GameSaveServiceUnavailable" | "GameSaveConflict" | "GameSaveManifestNotEligibleForRollback" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" | "StateShareLinkNotFound" | "StateShareStateRedemptionLimitExceeded" | "StateShareStateRedemptionLimitNotUpdated" | "StateShareCreatedStatesLimitExceeded" | "StateShareIdMissingOrMalformed" | "PlayerCreationDisabled" | "AccountAlreadyExists" | "TagInvalid" | "TagTooLong" | "StatisticColumnAggregationMismatch" | "StatisticResetIntervalMismatch" | "VersionConfigurationCannotBeSpecifiedForLinkedStat" | "VersionConfigurationIsRequired" | "InvalidEntityTypeForAggregation" | "MultiLevelAggregationNotAllowed" | "AggregationTypeNotAllowedForLinkedStat" | "OperationDeniedDueToDefinitionPolicy" | "StatisticUpdateNotAllowedWhileLinked" | "UnsupportedEntityType" | "EntityTypeSpecifiedRequiresAggregationSource" | "PlayFabErrorEventNotSupportedForEntityType" | "StoreMetricsRequestInvalidInput" | "StoreMetricsErrorRetrievingMetrics";
595
595
  interface GenericPlayFabIdPair {
596
596
  /** Unique generic service identifier for a user. */
597
597
  GenericId?: GenericServiceId;
package/dist/Server.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  PlayFabServerApi
3
- } from "./chunk-MHZTDR4X.js";
4
- import "./chunk-TGAN63W6.js";
3
+ } from "./chunk-CJDMCIZT.js";
4
+ import "./chunk-7UW2IYFA.js";
5
5
  export {
6
6
  PlayFabServerApi as default
7
7
  };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  PlayFabCommon
3
- } from "./chunk-TGAN63W6.js";
3
+ } from "./chunk-7UW2IYFA.js";
4
4
 
5
5
  // src/apis/PlayFabCloudScriptApi.ts
6
6
  var PlayFabCloudScriptApi = class extends PlayFabCommon {
@@ -271,4 +271,4 @@ var PlayFabCloudScriptApi = class extends PlayFabCommon {
271
271
  export {
272
272
  PlayFabCloudScriptApi
273
273
  };
274
- //# sourceMappingURL=chunk-KSIUPHCB.js.map
274
+ //# sourceMappingURL=chunk-3KGAZO25.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  PlayFabCommon
3
- } from "./chunk-TGAN63W6.js";
3
+ } from "./chunk-7UW2IYFA.js";
4
4
 
5
5
  // src/apis/PlayFabProfilesApi.ts
6
6
  var PlayFabProfilesApi = class extends PlayFabCommon {
@@ -194,4 +194,4 @@ var PlayFabProfilesApi = class extends PlayFabCommon {
194
194
  export {
195
195
  PlayFabProfilesApi
196
196
  };
197
- //# sourceMappingURL=chunk-32YIITZR.js.map
197
+ //# sourceMappingURL=chunk-7232SL74.js.map
@@ -20,8 +20,8 @@ var AuthInfoMap = {
20
20
  }
21
21
  };
22
22
  var constants_default = {
23
- sdkVersion: "1.199.250912",
24
- sdkFingerprint: "JavaScriptSDK-1.199.250912",
23
+ sdkVersion: "1.201.251010",
24
+ sdkFingerprint: "JavaScriptSDK-1.201.251010",
25
25
  buildIdentifier: "ghactions_community-playfab-web-sdk",
26
26
  defaultSettings: {
27
27
  titleId: "",
@@ -195,4 +195,4 @@ var PlayFabCommon = class {
195
195
  export {
196
196
  PlayFabCommon
197
197
  };
198
- //# sourceMappingURL=chunk-TGAN63W6.js.map
198
+ //# sourceMappingURL=chunk-7UW2IYFA.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/constants.ts","../src/PlayFabContext.ts","../src/PlayFabCommon.ts"],"sourcesContent":["export interface ISettings {\n /** You must set this value for PlayFabSdk to work properly (Found in the Game Manager for your title, at the PlayFab Website) */\n titleId: string;\n /** For security reasons you must never expose this value to the client or players - You must set this value for Server-APIs to work properly (Found in the Game Manager for your title, at the PlayFab Website) */\n developerSecretKey: string;\n productionServerUrl: string;\n /** Headers to apply to every request */\n globalHeaders?: Record<string, string>;\n /** The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this */\n verticalName?: string | null;\n}\n\nexport const ErrorMessages = {\n titleId: \"Must be have settings.titleId set to call this method\",\n loggedIn: \"Must be logged in to call this method\",\n entityToken: \"You must successfully call GetEntityToken before calling this\",\n secretKey: \"Must have settings.developerSecretKey set to call this method\",\n};\n\nexport const AuthInfoMap = {\n \"X-EntityToken\": {\n authAttr: \"entityToken\",\n authError: ErrorMessages.entityToken,\n },\n \"X-Authorization\": {\n authAttr: \"sessionTicket\",\n authError: ErrorMessages.loggedIn,\n },\n \"X-SecretKey\": {\n authAttr: \"developerSecretKey\",\n authError: ErrorMessages.secretKey,\n },\n};\n\nexport default {\n sdkVersion: \"1.199.250912\",\n sdkFingerprint: \"JavaScriptSDK-1.199.250912\",\n buildIdentifier: \"ghactions_community-playfab-web-sdk\",\n defaultSettings: {\n titleId: \"\",\n developerSecretKey: \"\",\n globalHeaders: {},\n productionServerUrl: \".playfabapi.com\",\n verticalName: \"\"\n } as ISettings\n};\n","import constants, { type ISettings } from \"./constants\";\n\nexport type AuthContext = {\n PlayFabId: string | null;\n EntityId: string | null;\n EntityType: string | null;\n SessionTicket: string | null;\n EntityToken: string | null;\n};\n\nexport class PlayFabContext {\n private static _instance: PlayFabContext;\n\n settings: ISettings = constants.defaultSettings;\n\n authenticationContext: AuthContext = {\n PlayFabId: null,\n EntityId: null,\n EntityType: null,\n SessionTicket: null,\n EntityToken: null,\n };\n\n sessionTicket: string | null = null;\n\n entityToken: string | null = null;\n\n private constructor() {}\n\n public static get instance(): PlayFabContext {\n if (!PlayFabContext._instance) {\n PlayFabContext._instance = new PlayFabContext();\n }\n\n return PlayFabContext._instance;\n }\n}\n","import constants, { ISettings, AuthInfoMap, ErrorMessages } from \"./constants\";\nimport { AuthContext, PlayFabContext } from \"./PlayFabContext\";\nimport { IPlayFabError, IPlayFabResultCommon } from \"./types/PlayFab\";\n\nexport class PlayFabCommon {\n buildIdentifier: string = constants.buildIdentifier;\n requestGetParams = {\n sdk: constants.sdkFingerprint,\n } as const;\n errorTitleId = ErrorMessages.titleId;\n private _context = PlayFabContext.instance;\n\n constructor(settings: Partial<ISettings> | undefined = undefined) {\n if (settings) {\n Object.assign(this._context.settings, settings);\n }\n }\n\n get settings() {\n return this._context.settings;\n }\n\n get authenticationContext() {\n return this._context.authenticationContext;\n }\n\n get sessionTicket() {\n return this._context.sessionTicket;\n }\n\n set sessionTicket(value: string | null) {\n this._context.sessionTicket = value;\n }\n\n get entityToken() {\n return this._context.entityToken;\n }\n\n set entityToken(value: string | null) {\n this._context.entityToken = value;\n }\n\n GetServerUrl() {\n if (!(this.settings.productionServerUrl.substring(0, 4) === \"http\")) {\n return `https://${this.settings.verticalName || this.settings.titleId}${\n this.settings.productionServerUrl\n }`;\n } else {\n return this.settings.productionServerUrl;\n }\n }\n\n InjectHeaders(\n xhr: XMLHttpRequest,\n headersObj: Record<string, string> | undefined\n ) {\n if (!headersObj) return;\n\n for (const headerKey in headersObj) {\n try {\n xhr.setRequestHeader(headerKey, headersObj[headerKey]);\n } catch (e) {\n console.log(\n `Failed to append header: ${headerKey} = ${headersObj[headerKey]} Error: ${e}`\n );\n }\n }\n }\n\n async ExecuteRequest<T extends IPlayFabResultCommon>(\n url: string,\n body: any,\n authkey: string | null,\n authValue: string | null,\n extraHeaders?: Record<string, string>\n ) {\n if (body == null) {\n body = {};\n }\n\n const requestBody = JSON.stringify(body);\n\n const apiParams = new URLSearchParams(this.requestGetParams);\n const apiUrl = new URL(\n apiParams.size ? `${url}?${apiParams.toString()}` : url\n );\n\n const response = await fetch(apiUrl.toString(), {\n method: \"POST\",\n headers: {\n \"Content-Type\": \"application/json\",\n \"X-PlayFabSDK\": \"JavaScriptSDK-\" + constants.sdkVersion,\n ...this.settings.globalHeaders,\n ...extraHeaders,\n ...(authkey && authValue ? { [authkey]: authValue } : {}),\n },\n body: requestBody,\n });\n\n const jsonResponse = await response.json();\n\n if (!response.ok || jsonResponse.code !== 200) {\n throw jsonResponse as IPlayFabError;\n }\n\n return jsonResponse as { data: T };\n }\n\n UpdateAuthenticationContext(currentAuthContext: AuthContext, result: any) {\n var authenticationContextUpdates = {} as AuthContext;\n if (result?.PlayFabId) {\n authenticationContextUpdates.PlayFabId = result.PlayFabId;\n }\n if (result?.SessionTicket) {\n authenticationContextUpdates.SessionTicket = result.SessionTicket;\n }\n if (result?.EntityToken) {\n authenticationContextUpdates.EntityId = result.EntityToken.Entity.Id;\n authenticationContextUpdates.EntityType = result.EntityToken.Entity.Type;\n authenticationContextUpdates.EntityToken = result.EntityToken.EntityToken;\n }\n // Update the authenticationContext with values from the result\n currentAuthContext = Object.assign(\n currentAuthContext,\n authenticationContextUpdates\n );\n\n this._context.authenticationContext = currentAuthContext;\n\n return currentAuthContext;\n }\n\n GetAuthInfo(request: any, authKey: string) {\n // Use the most-recently saved authKey, unless one was provided in the request via the AuthenticationContext\n var authError = AuthInfoMap[authKey as keyof typeof AuthInfoMap].authError;\n var authAttr = AuthInfoMap[authKey as keyof typeof AuthInfoMap].authAttr;\n var defaultAuthValue: string | null = null;\n if (authAttr === \"entityToken\") defaultAuthValue = this.entityToken;\n else if (authAttr === \"sessionTicket\")\n defaultAuthValue = this.sessionTicket;\n else if (authAttr === \"developerSecretKey\")\n defaultAuthValue = this.settings.developerSecretKey;\n var authValue = request.AuthenticationContext\n ? request.AuthenticationContext[authAttr]\n : defaultAuthValue;\n return { authKey, authValue, authError };\n }\n\n async ExecuteRequestWrapper<T extends IPlayFabResultCommon>(\n apiURL: string,\n request: any,\n authKey: string | null,\n extraHeaders?: Record<string, string>\n ) {\n var authValue = null;\n if (authKey !== null) {\n const { authError, ...authInfo } = this.GetAuthInfo(request, authKey);\n authKey = authInfo.authKey;\n authValue = authInfo.authValue;\n if (!authValue) throw authError;\n }\n return (\n await this.ExecuteRequest<T>(\n this.GetServerUrl() + apiURL,\n request,\n authKey,\n authValue,\n extraHeaders\n )\n ).data;\n }\n\n GenerateErrorReport(error: IPlayFabError | null): string {\n if (error == null) return \"\";\n var fullErrors = error.errorMessage;\n for (var paramName in error.errorDetails)\n for (var msgIdx in error.errorDetails[paramName])\n fullErrors +=\n \"\\n\" + paramName + \": \" + error.errorDetails[paramName][msgIdx];\n return fullErrors;\n }\n\n ForgetAllCredentials() {\n this._context.sessionTicket = null;\n this._context.entityToken = null;\n }\n}\n"],"mappings":";AAYO,IAAM,gBAAgB;AAAA,EAC3B,SAAS;AAAA,EACT,UAAU;AAAA,EACV,aAAa;AAAA,EACb,WAAW;AACb;AAEO,IAAM,cAAc;AAAA,EACzB,iBAAiB;AAAA,IACf,UAAU;AAAA,IACV,WAAW,cAAc;AAAA,EAC3B;AAAA,EACA,mBAAmB;AAAA,IACjB,UAAU;AAAA,IACV,WAAW,cAAc;AAAA,EAC3B;AAAA,EACA,eAAe;AAAA,IACb,UAAU;AAAA,IACV,WAAW,cAAc;AAAA,EAC3B;AACF;AAEA,IAAO,oBAAQ;AAAA,EACb,YAAY;AAAA,EACZ,gBAAgB;AAAA,EAChB,iBAAiB;AAAA,EACjB,iBAAiB;AAAA,IACf,SAAS;AAAA,IACT,oBAAoB;AAAA,IACpB,eAAe,CAAC;AAAA,IAChB,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AEA,uBAAuB;AACrB,SAAK,SAAS,gBAAgB;AAC9B,SAAK,SAAS,cAAc;AAAA,EAC9B;AACF;","names":[]}
1
+ {"version":3,"sources":["../src/constants.ts","../src/PlayFabContext.ts","../src/PlayFabCommon.ts"],"sourcesContent":["export interface ISettings {\n /** You must set this value for PlayFabSdk to work properly (Found in the Game Manager for your title, at the PlayFab Website) */\n titleId: string;\n /** For security reasons you must never expose this value to the client or players - You must set this value for Server-APIs to work properly (Found in the Game Manager for your title, at the PlayFab Website) */\n developerSecretKey: string;\n productionServerUrl: string;\n /** Headers to apply to every request */\n globalHeaders?: Record<string, string>;\n /** The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this */\n verticalName?: string | null;\n}\n\nexport const ErrorMessages = {\n titleId: \"Must be have settings.titleId set to call this method\",\n loggedIn: \"Must be logged in to call this method\",\n entityToken: \"You must successfully call GetEntityToken before calling this\",\n secretKey: \"Must have settings.developerSecretKey set to call this method\",\n};\n\nexport const AuthInfoMap = {\n \"X-EntityToken\": {\n authAttr: \"entityToken\",\n authError: ErrorMessages.entityToken,\n },\n \"X-Authorization\": {\n authAttr: \"sessionTicket\",\n authError: ErrorMessages.loggedIn,\n },\n \"X-SecretKey\": {\n authAttr: \"developerSecretKey\",\n authError: ErrorMessages.secretKey,\n },\n};\n\nexport default {\n sdkVersion: \"1.201.251010\",\n sdkFingerprint: \"JavaScriptSDK-1.201.251010\",\n buildIdentifier: \"ghactions_community-playfab-web-sdk\",\n defaultSettings: {\n titleId: \"\",\n developerSecretKey: \"\",\n globalHeaders: {},\n productionServerUrl: \".playfabapi.com\",\n verticalName: \"\"\n } as ISettings\n};\n","import constants, { type ISettings } from \"./constants\";\n\nexport type AuthContext = {\n PlayFabId: string | null;\n EntityId: string | null;\n EntityType: string | null;\n SessionTicket: string | null;\n EntityToken: string | null;\n};\n\nexport class PlayFabContext {\n private static _instance: PlayFabContext;\n\n settings: ISettings = constants.defaultSettings;\n\n authenticationContext: AuthContext = {\n PlayFabId: null,\n EntityId: null,\n EntityType: null,\n SessionTicket: null,\n EntityToken: null,\n };\n\n sessionTicket: string | null = null;\n\n entityToken: string | null = null;\n\n private constructor() {}\n\n public static get instance(): PlayFabContext {\n if (!PlayFabContext._instance) {\n PlayFabContext._instance = new PlayFabContext();\n }\n\n return PlayFabContext._instance;\n }\n}\n","import constants, { ISettings, AuthInfoMap, ErrorMessages } from \"./constants\";\nimport { AuthContext, PlayFabContext } from \"./PlayFabContext\";\nimport { IPlayFabError, IPlayFabResultCommon } from \"./types/PlayFab\";\n\nexport class PlayFabCommon {\n buildIdentifier: string = constants.buildIdentifier;\n requestGetParams = {\n sdk: constants.sdkFingerprint,\n } as const;\n errorTitleId = ErrorMessages.titleId;\n private _context = PlayFabContext.instance;\n\n constructor(settings: Partial<ISettings> | undefined = undefined) {\n if (settings) {\n Object.assign(this._context.settings, settings);\n }\n }\n\n get settings() {\n return this._context.settings;\n }\n\n get authenticationContext() {\n return this._context.authenticationContext;\n }\n\n get sessionTicket() {\n return this._context.sessionTicket;\n }\n\n set sessionTicket(value: string | null) {\n this._context.sessionTicket = value;\n }\n\n get entityToken() {\n return this._context.entityToken;\n }\n\n set entityToken(value: string | null) {\n this._context.entityToken = value;\n }\n\n GetServerUrl() {\n if (!(this.settings.productionServerUrl.substring(0, 4) === \"http\")) {\n return `https://${this.settings.verticalName || this.settings.titleId}${\n this.settings.productionServerUrl\n }`;\n } else {\n return this.settings.productionServerUrl;\n }\n }\n\n InjectHeaders(\n xhr: XMLHttpRequest,\n headersObj: Record<string, string> | undefined\n ) {\n if (!headersObj) return;\n\n for (const headerKey in headersObj) {\n try {\n xhr.setRequestHeader(headerKey, headersObj[headerKey]);\n } catch (e) {\n console.log(\n `Failed to append header: ${headerKey} = ${headersObj[headerKey]} Error: ${e}`\n );\n }\n }\n }\n\n async ExecuteRequest<T extends IPlayFabResultCommon>(\n url: string,\n body: any,\n authkey: string | null,\n authValue: string | null,\n extraHeaders?: Record<string, string>\n ) {\n if (body == null) {\n body = {};\n }\n\n const requestBody = JSON.stringify(body);\n\n const apiParams = new URLSearchParams(this.requestGetParams);\n const apiUrl = new URL(\n apiParams.size ? `${url}?${apiParams.toString()}` : url\n );\n\n const response = await fetch(apiUrl.toString(), {\n method: \"POST\",\n headers: {\n \"Content-Type\": \"application/json\",\n \"X-PlayFabSDK\": \"JavaScriptSDK-\" + constants.sdkVersion,\n ...this.settings.globalHeaders,\n ...extraHeaders,\n ...(authkey && authValue ? { [authkey]: authValue } : {}),\n },\n body: requestBody,\n });\n\n const jsonResponse = await response.json();\n\n if (!response.ok || jsonResponse.code !== 200) {\n throw jsonResponse as IPlayFabError;\n }\n\n return jsonResponse as { data: T };\n }\n\n UpdateAuthenticationContext(currentAuthContext: AuthContext, result: any) {\n var authenticationContextUpdates = {} as AuthContext;\n if (result?.PlayFabId) {\n authenticationContextUpdates.PlayFabId = result.PlayFabId;\n }\n if (result?.SessionTicket) {\n authenticationContextUpdates.SessionTicket = result.SessionTicket;\n }\n if (result?.EntityToken) {\n authenticationContextUpdates.EntityId = result.EntityToken.Entity.Id;\n authenticationContextUpdates.EntityType = result.EntityToken.Entity.Type;\n authenticationContextUpdates.EntityToken = result.EntityToken.EntityToken;\n }\n // Update the authenticationContext with values from the result\n currentAuthContext = Object.assign(\n currentAuthContext,\n authenticationContextUpdates\n );\n\n this._context.authenticationContext = currentAuthContext;\n\n return currentAuthContext;\n }\n\n GetAuthInfo(request: any, authKey: string) {\n // Use the most-recently saved authKey, unless one was provided in the request via the AuthenticationContext\n var authError = AuthInfoMap[authKey as keyof typeof AuthInfoMap].authError;\n var authAttr = AuthInfoMap[authKey as keyof typeof AuthInfoMap].authAttr;\n var defaultAuthValue: string | null = null;\n if (authAttr === \"entityToken\") defaultAuthValue = this.entityToken;\n else if (authAttr === \"sessionTicket\")\n defaultAuthValue = this.sessionTicket;\n else if (authAttr === \"developerSecretKey\")\n defaultAuthValue = this.settings.developerSecretKey;\n var authValue = request.AuthenticationContext\n ? request.AuthenticationContext[authAttr]\n : defaultAuthValue;\n return { authKey, authValue, authError };\n }\n\n async ExecuteRequestWrapper<T extends IPlayFabResultCommon>(\n apiURL: string,\n request: any,\n authKey: string | null,\n extraHeaders?: Record<string, string>\n ) {\n var authValue = null;\n if (authKey !== null) {\n const { authError, ...authInfo } = this.GetAuthInfo(request, authKey);\n authKey = authInfo.authKey;\n authValue = authInfo.authValue;\n if (!authValue) throw authError;\n }\n return (\n await this.ExecuteRequest<T>(\n this.GetServerUrl() + apiURL,\n request,\n authKey,\n authValue,\n extraHeaders\n )\n ).data;\n }\n\n GenerateErrorReport(error: IPlayFabError | null): string {\n if (error == null) return \"\";\n var fullErrors = error.errorMessage;\n for (var paramName in error.errorDetails)\n for (var msgIdx in error.errorDetails[paramName])\n fullErrors +=\n \"\\n\" + paramName + \": \" + error.errorDetails[paramName][msgIdx];\n return fullErrors;\n }\n\n ForgetAllCredentials() {\n this._context.sessionTicket = null;\n this._context.entityToken = null;\n }\n}\n"],"mappings":";AAYO,IAAM,gBAAgB;AAAA,EAC3B,SAAS;AAAA,EACT,UAAU;AAAA,EACV,aAAa;AAAA,EACb,WAAW;AACb;AAEO,IAAM,cAAc;AAAA,EACzB,iBAAiB;AAAA,IACf,UAAU;AAAA,IACV,WAAW,cAAc;AAAA,EAC3B;AAAA,EACA,mBAAmB;AAAA,IACjB,UAAU;AAAA,IACV,WAAW,cAAc;AAAA,EAC3B;AAAA,EACA,eAAe;AAAA,IACb,UAAU;AAAA,IACV,WAAW,cAAc;AAAA,EAC3B;AACF;AAEA,IAAO,oBAAQ;AAAA,EACb,YAAY;AAAA,EACZ,gBAAgB;AAAA,EAChB,iBAAiB;AAAA,EACjB,iBAAiB;AAAA,IACf,SAAS;AAAA,IACT,oBAAoB;AAAA,IACpB,eAAe,CAAC;AAAA,IAChB,qBAAqB;AAAA,IACrB,cAAc;AAAA,EAChB;AACF;;;ACnCO,IAAM,iBAAN,MAAM,gBAAe;AAAA,EAiBlB,cAAc;AAdtB,o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@
1
1
  import {
2
2
  PlayFabCommon
3
- } from "./chunk-TGAN63W6.js";
3
+ } from "./chunk-7UW2IYFA.js";
4
4
 
5
5
  // src/apis/PlayFabServerApi.ts
6
6
  var PlayFabServerApi = class extends PlayFabCommon {
@@ -2484,4 +2484,4 @@ var PlayFabServerApi = class extends PlayFabCommon {
2484
2484
  export {
2485
2485
  PlayFabServerApi
2486
2486
  };
2487
- //# sourceMappingURL=chunk-MHZTDR4X.js.map
2487
+ //# sourceMappingURL=chunk-CJDMCIZT.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  PlayFabCommon
3
- } from "./chunk-TGAN63W6.js";
3
+ } from "./chunk-7UW2IYFA.js";
4
4
 
5
5
  // src/apis/PlayFabMultiplayerApi.ts
6
6
  var PlayFabMultiplayerApi = class extends PlayFabCommon {
@@ -123,8 +123,8 @@ var PlayFabMultiplayerApi = class extends PlayFabCommon {
123
123
  * "Deaths"
124
124
  * ],
125
125
  * "InitialSettingsModelId": "73a2506e-9fd3-4d84-8dd7-570c8e9e02cf",
126
- * "MatchResultStartTimeUtc": "2025-09-12T13:31:18.392Z",
127
- * "MatchResultEndTimeUtc": "2025-09-12T14:01:18.392Z",
126
+ * "MatchResultStartTimeUtc": "2025-10-10T13:31:54.877Z",
127
+ * "MatchResultEndTimeUtc": "2025-10-10T14:01:54.877Z",
128
128
  * "MaxIterations": 100,
129
129
  * "AnomalousMatchResultIgnoreThreshold": -20.0
130
130
  * });
@@ -2354,8 +2354,8 @@ var PlayFabMultiplayerApi = class extends PlayFabCommon {
2354
2354
  * "Rank": 1
2355
2355
  * }
2356
2356
  * ],
2357
- * "StartDateTimeUtc": "2025-09-12T13:31:18.382Z",
2358
- * "EndDateTimeUtc": "2025-09-12T14:01:18.382Z"
2357
+ * "StartDateTimeUtc": "2025-10-10T13:31:54.865Z",
2358
+ * "EndDateTimeUtc": "2025-10-10T14:01:54.865Z"
2359
2359
  * }
2360
2360
  * });
2361
2361
  */
@@ -2384,4 +2384,4 @@ var PlayFabMultiplayerApi = class extends PlayFabCommon {
2384
2384
  export {
2385
2385
  PlayFabMultiplayerApi
2386
2386
  };
2387
- //# sourceMappingURL=chunk-OQEGQD4N.js.map
2387
+ //# sourceMappingURL=chunk-CWJBNB2L.js.map