@community-fabs/playfab-web-sdk 1.203.251107 → 1.205.251205
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.js +2 -2
- package/dist/Admin.d.ts +2 -18
- package/dist/Admin.js +2 -2
- package/dist/Authentication.js +2 -2
- package/dist/Client.d.ts +44 -0
- package/dist/Client.js +2 -2
- package/dist/CloudScript.js +2 -2
- package/dist/Data.js +2 -2
- package/dist/Economy.d.ts +2 -0
- package/dist/Economy.js +2 -2
- package/dist/Events.js +2 -2
- package/dist/Experimentation.js +2 -2
- package/dist/Groups.js +2 -2
- package/dist/Insights.js +2 -2
- package/dist/Localization.js +2 -2
- package/dist/Matchmaker.js +2 -2
- package/dist/Multiplayer.d.ts +10 -4
- package/dist/Multiplayer.js +2 -2
- package/dist/Profiles.js +2 -2
- package/dist/Progression.d.ts +2 -8
- package/dist/Progression.js +2 -2
- package/dist/Server.d.ts +115 -18
- package/dist/Server.js +2 -2
- package/dist/{chunk-LZKCG3CT.js → chunk-5AY7MBNS.js} +2 -2
- package/dist/{chunk-UJGNLLML.js → chunk-73D4KIG4.js} +3 -3
- package/dist/{chunk-UJGNLLML.js.map → chunk-73D4KIG4.js.map} +1 -1
- package/dist/{chunk-HKLZOTQ2.js → chunk-B4BE5I4A.js} +2 -2
- package/dist/{chunk-BHDI57SA.js → chunk-DRSSJADT.js} +2 -2
- package/dist/{chunk-LVWLZFOT.js → chunk-DVHJUVMI.js} +2 -2
- package/dist/{chunk-I44KSANJ.js → chunk-E3FFP3TM.js} +3 -3
- package/dist/chunk-E3FFP3TM.js.map +1 -0
- package/dist/{chunk-2DVNTYKA.js → chunk-E425DLUS.js} +6 -6
- package/dist/{chunk-2DVNTYKA.js.map → chunk-E425DLUS.js.map} +1 -1
- package/dist/{chunk-WJINHFJI.js → chunk-EVMPRGQ2.js} +2 -2
- package/dist/{chunk-FENQOWF2.js → chunk-HHFX5GXX.js} +2 -2
- package/dist/{chunk-TIUKJSBJ.js → chunk-KNWJTEXG.js} +2 -2
- package/dist/{chunk-JKMC6KV6.js → chunk-L3PBS45C.js} +2 -2
- package/dist/{chunk-HB7P3OTO.js → chunk-LYJQAY3S.js} +2 -2
- package/dist/{chunk-HOHH732Z.js → chunk-MSJIVNVR.js} +2 -2
- package/dist/{chunk-TKWONBSH.js → chunk-OJ5FCC4K.js} +25 -2
- package/dist/chunk-OJ5FCC4K.js.map +1 -0
- package/dist/{chunk-SREPPE5C.js → chunk-P6YXDZAV.js} +66 -3
- package/dist/chunk-P6YXDZAV.js.map +1 -0
- package/dist/{chunk-VPGEBOAL.js → chunk-PPGZ4AEJ.js} +2 -2
- package/dist/{chunk-K7XXTYV4.js → chunk-VJ4BWFOW.js} +2 -2
- package/dist/{chunk-KGP2CQPC.js → chunk-Y7OPROZF.js} +2 -2
- package/dist/index.js +18 -18
- package/package.json +1 -1
- package/dist/chunk-I44KSANJ.js.map +0 -1
- package/dist/chunk-SREPPE5C.js.map +0 -1
- package/dist/chunk-TKWONBSH.js.map +0 -1
- /package/dist/{chunk-LZKCG3CT.js.map → chunk-5AY7MBNS.js.map} +0 -0
- /package/dist/{chunk-HKLZOTQ2.js.map → chunk-B4BE5I4A.js.map} +0 -0
- /package/dist/{chunk-BHDI57SA.js.map → chunk-DRSSJADT.js.map} +0 -0
- /package/dist/{chunk-LVWLZFOT.js.map → chunk-DVHJUVMI.js.map} +0 -0
- /package/dist/{chunk-WJINHFJI.js.map → chunk-EVMPRGQ2.js.map} +0 -0
- /package/dist/{chunk-FENQOWF2.js.map → chunk-HHFX5GXX.js.map} +0 -0
- /package/dist/{chunk-TIUKJSBJ.js.map → chunk-KNWJTEXG.js.map} +0 -0
- /package/dist/{chunk-JKMC6KV6.js.map → chunk-L3PBS45C.js.map} +0 -0
- /package/dist/{chunk-HB7P3OTO.js.map → chunk-LYJQAY3S.js.map} +0 -0
- /package/dist/{chunk-HOHH732Z.js.map → chunk-MSJIVNVR.js.map} +0 -0
- /package/dist/{chunk-VPGEBOAL.js.map → chunk-PPGZ4AEJ.js.map} +0 -0
- /package/dist/{chunk-K7XXTYV4.js.map → chunk-VJ4BWFOW.js.map} +0 -0
- /package/dist/{chunk-KGP2CQPC.js.map → chunk-Y7OPROZF.js.map} +0 -0
package/dist/Server.d.ts
CHANGED
|
@@ -135,12 +135,6 @@ interface BanInfo {
|
|
|
135
135
|
IncludeMicrosoftFamily?: boolean;
|
|
136
136
|
/** The IP address on which the ban was applied. May affect multiple players. */
|
|
137
137
|
IPAddress?: string;
|
|
138
|
-
/**
|
|
139
|
-
* The MAC address on which the ban was applied. May affect multiple players. This property is deprecated and does not work
|
|
140
|
-
* anymore.
|
|
141
|
-
* @deprecated Do not use
|
|
142
|
-
*/
|
|
143
|
-
MACAddress?: string;
|
|
144
138
|
/** Unique PlayFab assigned ID of the user on whom the operation will be performed. */
|
|
145
139
|
PlayFabId?: string;
|
|
146
140
|
/** The reason why this ban was applied. */
|
|
@@ -159,11 +153,6 @@ interface BanRequest {
|
|
|
159
153
|
IncludeMicrosoftFamily?: boolean;
|
|
160
154
|
/** IP address to be banned. May affect multiple players. */
|
|
161
155
|
IPAddress?: string;
|
|
162
|
-
/**
|
|
163
|
-
* MAC address to be banned. May affect multiple players. This property is deprecated and does not work anymore.
|
|
164
|
-
* @deprecated Do not use
|
|
165
|
-
*/
|
|
166
|
-
MACAddress?: string;
|
|
167
156
|
/** Unique PlayFab assigned ID of the user on whom the operation will be performed. */
|
|
168
157
|
PlayFabId: string;
|
|
169
158
|
/** The reason for this ban. Maximum 140 characters. */
|
|
@@ -591,7 +580,7 @@ interface FriendInfo {
|
|
|
591
580
|
XboxInfo?: UserXboxInfo;
|
|
592
581
|
}
|
|
593
582
|
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" | "CannotEnableAnonymousPlayerCreation" | "ParentCustomerAccountNotFound" | "AccountLinkedToABannedPlayer" | "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" | "GameSaveTitleClientAnonymousAccountCreationNotDisabled" | "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";
|
|
583
|
+
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" | "ParentCustomerAccountNotFound" | "AccountLinkedToABannedPlayer" | "AzureSubscriptionNotEligibleForLinking" | "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" | "GameSaveTitleClientAnonymousAccountCreationNotDisabled" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" | "StateShareLinkNotFound" | "StateShareStateRedemptionLimitExceeded" | "StateShareStateRedemptionLimitNotUpdated" | "StateShareCreatedStatesLimitExceeded" | "StateShareIdMissingOrMalformed" | "PlayerCreationDisabled" | "AccountAlreadyExists" | "TagInvalid" | "TagTooLong" | "StatisticColumnAggregationMismatch" | "StatisticResetIntervalMismatch" | "VersionConfigurationCannotBeSpecifiedForLinkedStat" | "VersionConfigurationIsRequired" | "InvalidEntityTypeForAggregation" | "MultiLevelAggregationNotAllowed" | "AggregationTypeNotAllowedForLinkedStat" | "OperationDeniedDueToDefinitionPolicy" | "StatisticUpdateNotAllowedWhileLinked" | "UnsupportedEntityType" | "EntityTypeSpecifiedRequiresAggregationSource" | "PlayFabErrorEventNotSupportedForEntityType" | "MetadataLengthExceeded" | "StoreMetricsRequestInvalidInput" | "StoreMetricsErrorRetrievingMetrics";
|
|
595
584
|
interface GenericPlayFabIdPair {
|
|
596
585
|
/** Unique generic service identifier for a user. */
|
|
597
586
|
GenericId?: GenericServiceId;
|
|
@@ -1158,6 +1147,17 @@ interface GetPlayFabIDsFromNintendoSwitchDeviceIdsResult extends IPlayFabResultC
|
|
|
1158
1147
|
/** Mapping of Nintendo Switch Device identifiers to PlayFab identifiers. */
|
|
1159
1148
|
Data?: NintendoSwitchPlayFabIdPair[];
|
|
1160
1149
|
}
|
|
1150
|
+
interface GetPlayFabIDsFromOpenIdsRequest extends IPlayFabRequestCommon {
|
|
1151
|
+
/**
|
|
1152
|
+
* Array of unique OpenId Connect identifiers for which the title needs to get PlayFab identifiers. The array cannot exceed
|
|
1153
|
+
* 10 in length.
|
|
1154
|
+
*/
|
|
1155
|
+
OpenIdSubjectIdentifiers: OpenIdSubjectIdentifier[];
|
|
1156
|
+
}
|
|
1157
|
+
interface GetPlayFabIDsFromOpenIdsResult extends IPlayFabResultCommon {
|
|
1158
|
+
/** Mapping of OpenId Connect identifiers to PlayFab identifiers. */
|
|
1159
|
+
Data?: OpenIdSubjectIdentifierPlayFabIdPair[];
|
|
1160
|
+
}
|
|
1161
1161
|
interface GetPlayFabIDsFromPSNAccountIDsRequest extends IPlayFabRequestCommon {
|
|
1162
1162
|
/** Id of the PlayStation :tm: Network issuer environment. If null, defaults to production environment. */
|
|
1163
1163
|
IssuerId?: number;
|
|
@@ -1683,6 +1683,16 @@ interface LinkSteamIdRequest extends IPlayFabRequestCommon {
|
|
|
1683
1683
|
}
|
|
1684
1684
|
interface LinkSteamIdResult extends IPlayFabResultCommon {
|
|
1685
1685
|
}
|
|
1686
|
+
interface LinkTwitchAccountRequest extends IPlayFabRequestCommon {
|
|
1687
|
+
/** Twitch access token for authentication. */
|
|
1688
|
+
AccessToken: string;
|
|
1689
|
+
/** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
|
|
1690
|
+
CustomTags?: Record<string, string | null>;
|
|
1691
|
+
/** If another user is already linked to the account, unlink the other user and re-link. */
|
|
1692
|
+
ForceLink?: boolean;
|
|
1693
|
+
/** PlayFab unique identifier of the user to link. */
|
|
1694
|
+
PlayFabId: string;
|
|
1695
|
+
}
|
|
1686
1696
|
interface LinkXboxAccountRequest extends IPlayFabRequestCommon {
|
|
1687
1697
|
/** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
|
|
1688
1698
|
CustomTags?: Record<string, string | null>;
|
|
@@ -1892,6 +1902,20 @@ interface LoginWithSteamIdRequest extends IPlayFabRequestCommon {
|
|
|
1892
1902
|
/** Unique Steam identifier for a user. */
|
|
1893
1903
|
SteamId: string;
|
|
1894
1904
|
}
|
|
1905
|
+
interface LoginWithTwitchRequest extends IPlayFabRequestCommon {
|
|
1906
|
+
/** Twitch access token for authentication. */
|
|
1907
|
+
AccessToken: string;
|
|
1908
|
+
/** If true, create a new PlayFab account if one does not exist. */
|
|
1909
|
+
CreateAccount?: boolean;
|
|
1910
|
+
/** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
|
|
1911
|
+
CustomTags?: Record<string, string | null>;
|
|
1912
|
+
/** Parameters for requesting additional player info. */
|
|
1913
|
+
InfoRequestParameters?: GetPlayerCombinedInfoRequestParams;
|
|
1914
|
+
/** Player secret for additional authentication. */
|
|
1915
|
+
PlayerSecret?: string;
|
|
1916
|
+
/** PlayFab unique identifier of the user. */
|
|
1917
|
+
PlayFabId: string;
|
|
1918
|
+
}
|
|
1895
1919
|
interface LoginWithXboxIdRequest extends IPlayFabRequestCommon {
|
|
1896
1920
|
/** Automatically create a PlayFab account if one is not currently linked to this ID. */
|
|
1897
1921
|
CreateAccount?: boolean;
|
|
@@ -2044,6 +2068,18 @@ interface NotifyMatchmakerPlayerLeftResult extends IPlayFabResultCommon {
|
|
|
2044
2068
|
/** State of user leaving the Game Server Instance. */
|
|
2045
2069
|
PlayerState?: PlayerConnectionState;
|
|
2046
2070
|
}
|
|
2071
|
+
interface OpenIdSubjectIdentifier {
|
|
2072
|
+
/** The issuer URL for the OpenId Connect provider, or the override URL if an override exists. */
|
|
2073
|
+
Issuer: string;
|
|
2074
|
+
/** The unique subject identifier within the context of the issuer. */
|
|
2075
|
+
Subject: string;
|
|
2076
|
+
}
|
|
2077
|
+
interface OpenIdSubjectIdentifierPlayFabIdPair {
|
|
2078
|
+
/** Unique OpenId Connect identifier for a user. */
|
|
2079
|
+
OpenIdSubjectIdentifier?: OpenIdSubjectIdentifier;
|
|
2080
|
+
/** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the OpenId Connect identifier. */
|
|
2081
|
+
PlayFabId?: string;
|
|
2082
|
+
}
|
|
2047
2083
|
type PlayerConnectionState = "Unassigned" | "Connecting" | "Participating" | "Participated";
|
|
2048
2084
|
interface PlayerLeaderboardEntry {
|
|
2049
2085
|
/** Title-specific display name of the user for this leaderboard entry. */
|
|
@@ -2868,6 +2904,17 @@ interface UnlinkSteamIdRequest extends IPlayFabRequestCommon {
|
|
|
2868
2904
|
}
|
|
2869
2905
|
interface UnlinkSteamIdResult extends IPlayFabResultCommon {
|
|
2870
2906
|
}
|
|
2907
|
+
interface UnlinkTwitchAccountRequest extends IPlayFabRequestCommon {
|
|
2908
|
+
/**
|
|
2909
|
+
* Valid token issued by Twitch. Used to specify which twitch account to unlink from the profile. By default it uses the
|
|
2910
|
+
* one that is present on the profile.
|
|
2911
|
+
*/
|
|
2912
|
+
AccessToken?: string;
|
|
2913
|
+
/** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
|
|
2914
|
+
CustomTags?: Record<string, string | null>;
|
|
2915
|
+
/** PlayFab unique identifier of the user to unlink. */
|
|
2916
|
+
PlayFabId: string;
|
|
2917
|
+
}
|
|
2871
2918
|
interface UnlinkXboxAccountRequest extends IPlayFabRequestCommon {
|
|
2872
2919
|
/** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
|
|
2873
2920
|
CustomTags?: Record<string, string | null>;
|
|
@@ -2947,11 +2994,6 @@ interface UpdateBanRequest {
|
|
|
2947
2994
|
IncludeMicrosoftFamily?: boolean;
|
|
2948
2995
|
/** The updated IP address for the ban. Null for no change. */
|
|
2949
2996
|
IPAddress?: string;
|
|
2950
|
-
/**
|
|
2951
|
-
* The updated MAC address for the ban. Null for no change. This property is deprecated and does not work anymore.
|
|
2952
|
-
* @deprecated Do not use
|
|
2953
|
-
*/
|
|
2954
|
-
MACAddress?: string;
|
|
2955
2997
|
/** Whether to make this ban permanent. Set to true to make this ban permanent. This will not modify Active state. */
|
|
2956
2998
|
Permanent?: boolean;
|
|
2957
2999
|
/** The updated reason for the ban to be updated. Maximum 140 characters. Null for no change. */
|
|
@@ -3560,7 +3602,7 @@ declare class PlayFabServerApi extends PlayFabCommon {
|
|
|
3560
3602
|
*/
|
|
3561
3603
|
AwardSteamAchievement(request: AwardSteamAchievementRequest, extraHeaders?: Record<string, string>): Promise<AwardSteamAchievementResult>;
|
|
3562
3604
|
/**
|
|
3563
|
-
* Bans users by PlayFab ID with optional IP address
|
|
3605
|
+
* Bans users by PlayFab ID with optional IP address for the provided game.
|
|
3564
3606
|
*
|
|
3565
3607
|
* {@link https://docs.microsoft.com/rest/api/playfab/server/account-management/banusers Microsoft Documentation}
|
|
3566
3608
|
* @example
|
|
@@ -4114,6 +4156,27 @@ declare class PlayFabServerApi extends PlayFabCommon {
|
|
|
4114
4156
|
* });
|
|
4115
4157
|
*/
|
|
4116
4158
|
GetPlayFabIDsFromNintendoSwitchDeviceIds(request: GetPlayFabIDsFromNintendoSwitchDeviceIdsRequest, extraHeaders?: Record<string, string>): Promise<GetPlayFabIDsFromNintendoSwitchDeviceIdsResult>;
|
|
4159
|
+
/**
|
|
4160
|
+
* Retrieves the unique PlayFab identifiers for the given set of OpenId subject identifiers. A OpenId subject identifier is
|
|
4161
|
+
* the OpenId issuer plus the OpenId subject for the player, as specified by the title when the OpenId identifier was added
|
|
4162
|
+
* to the player account.
|
|
4163
|
+
*
|
|
4164
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayfabidsfromopenidsubjectidentifiers Microsoft Documentation}
|
|
4165
|
+
* @example
|
|
4166
|
+
* await serverClient.GetPlayFabIDsFromOpenIdSubjectIdentifiers({
|
|
4167
|
+
* "OpenIdSubjectIdentifiers": [
|
|
4168
|
+
* {
|
|
4169
|
+
* "Issuer": "https://example.com",
|
|
4170
|
+
* "Subject": "123456789012345678"
|
|
4171
|
+
* },
|
|
4172
|
+
* {
|
|
4173
|
+
* "Issuer": "https://example-2.com",
|
|
4174
|
+
* "Subject": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"
|
|
4175
|
+
* }
|
|
4176
|
+
* ]
|
|
4177
|
+
* });
|
|
4178
|
+
*/
|
|
4179
|
+
GetPlayFabIDsFromOpenIdSubjectIdentifiers(request: GetPlayFabIDsFromOpenIdsRequest, extraHeaders?: Record<string, string>): Promise<GetPlayFabIDsFromOpenIdsResult>;
|
|
4117
4180
|
/**
|
|
4118
4181
|
* Retrieves the unique PlayFab identifiers for the given set of PlayStation :tm: Network identifiers.
|
|
4119
4182
|
*
|
|
@@ -4603,6 +4666,18 @@ declare class PlayFabServerApi extends PlayFabCommon {
|
|
|
4603
4666
|
* });
|
|
4604
4667
|
*/
|
|
4605
4668
|
LinkSteamId(request: LinkSteamIdRequest, extraHeaders?: Record<string, string>): Promise<LinkSteamIdResult>;
|
|
4669
|
+
/**
|
|
4670
|
+
* Links the Twitch account associated with the token to the user's PlayFab account.
|
|
4671
|
+
*
|
|
4672
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/server/account-management/linktwitchaccount Microsoft Documentation}
|
|
4673
|
+
* @example
|
|
4674
|
+
* await serverClient.LinkTwitchAccount({
|
|
4675
|
+
* "PlayFabId": "1234FA342",
|
|
4676
|
+
* "AccessToken": "twitch-access-token",
|
|
4677
|
+
* "ForceLink": false
|
|
4678
|
+
* });
|
|
4679
|
+
*/
|
|
4680
|
+
LinkTwitchAccount(request: LinkTwitchAccountRequest, extraHeaders?: Record<string, string>): Promise<EmptyResult>;
|
|
4606
4681
|
/**
|
|
4607
4682
|
* Links the Xbox Live account associated with the provided access code to the user's PlayFab account
|
|
4608
4683
|
*
|
|
@@ -4731,6 +4806,18 @@ declare class PlayFabServerApi extends PlayFabCommon {
|
|
|
4731
4806
|
* });
|
|
4732
4807
|
*/
|
|
4733
4808
|
LoginWithSteamId(request: LoginWithSteamIdRequest, extraHeaders?: Record<string, string>): Promise<ServerLoginResult>;
|
|
4809
|
+
/**
|
|
4810
|
+
* Sign in the user with a Twitch access token
|
|
4811
|
+
*
|
|
4812
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/server/authentication/loginwithtwitch Microsoft Documentation}
|
|
4813
|
+
* @example
|
|
4814
|
+
* await serverClient.LoginWithTwitch({
|
|
4815
|
+
* "PlayFabId": "1234FA342",
|
|
4816
|
+
* "AccessToken": "twitch-access-token",
|
|
4817
|
+
* "CreateAccount": true
|
|
4818
|
+
* });
|
|
4819
|
+
*/
|
|
4820
|
+
LoginWithTwitch(request: LoginWithTwitchRequest, extraHeaders?: Record<string, string>): Promise<ServerLoginResult>;
|
|
4734
4821
|
/**
|
|
4735
4822
|
* Signs the user in using a Xbox Live Token from an external server backend, returning a session identifier that can
|
|
4736
4823
|
* subsequently be used for API calls which require an authenticated user
|
|
@@ -5208,6 +5295,16 @@ declare class PlayFabServerApi extends PlayFabCommon {
|
|
|
5208
5295
|
* });
|
|
5209
5296
|
*/
|
|
5210
5297
|
UnlinkSteamId(request: UnlinkSteamIdRequest, extraHeaders?: Record<string, string>): Promise<UnlinkSteamIdResult>;
|
|
5298
|
+
/**
|
|
5299
|
+
* Unlinks the related Twitch account from the user's PlayFab account.
|
|
5300
|
+
*
|
|
5301
|
+
* {@link https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinktwitchaccount Microsoft Documentation}
|
|
5302
|
+
* @example
|
|
5303
|
+
* await serverClient.UnlinkTwitchAccount({
|
|
5304
|
+
* "PlayFabId": "1234FA342"
|
|
5305
|
+
* });
|
|
5306
|
+
*/
|
|
5307
|
+
UnlinkTwitchAccount(request: UnlinkTwitchAccountRequest, extraHeaders?: Record<string, string>): Promise<EmptyResult>;
|
|
5211
5308
|
/**
|
|
5212
5309
|
* Unlinks the related Xbox Live account from the user's PlayFab account
|
|
5213
5310
|
*
|
package/dist/Server.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PlayFabCommon
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-73D4KIG4.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-
|
|
197
|
+
//# sourceMappingURL=chunk-5AY7MBNS.js.map
|
|
@@ -20,8 +20,8 @@ var AuthInfoMap = {
|
|
|
20
20
|
}
|
|
21
21
|
};
|
|
22
22
|
var constants_default = {
|
|
23
|
-
sdkVersion: "1.
|
|
24
|
-
sdkFingerprint: "JavaScriptSDK-1.
|
|
23
|
+
sdkVersion: "1.205.251205",
|
|
24
|
+
sdkFingerprint: "JavaScriptSDK-1.205.251205",
|
|
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-
|
|
198
|
+
//# sourceMappingURL=chunk-73D4KIG4.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.203.251107\",\n sdkFingerprint: \"JavaScriptSDK-1.203.251107\",\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":"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","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.205.251205\",\n sdkFingerprint: \"JavaScriptSDK-1.205.251205\",\n buildIdentifier: \"ghactions_community-playfab-web-sdk\",\n defaultSettings: {\n titleId: \"\",\n developerSecretKey: \"\",\n globalHeaders: {},\n productionServerUrl: \".playfabapi.com\",\n verticalName: \"\"\n } as ISettings\n};\n","import constants, { type ISettings } from \"./constants\";\n\nexport type AuthContext = {\n PlayFabId: string | null;\n EntityId: string | null;\n EntityType: string | null;\n SessionTicket: string | null;\n EntityToken: string | null;\n};\n\nexport class PlayFabContext {\n private static _instance: PlayFabContext;\n\n settings: ISettings = constants.defaultSettings;\n\n authenticationContext: AuthContext = {\n PlayFabId: null,\n EntityId: null,\n EntityType: null,\n SessionTicket: null,\n EntityToken: null,\n };\n\n sessionTicket: string | null = null;\n\n entityToken: string | null = null;\n\n private constructor() {}\n\n public static get instance(): PlayFabContext {\n if (!PlayFabContext._instance) {\n PlayFabContext._instance = new PlayFabContext();\n }\n\n return PlayFabContext._instance;\n }\n}\n","import constants, { ISettings, AuthInfoMap, ErrorMessages } from \"./constants\";\nimport { AuthContext, PlayFabContext } from \"./PlayFabContext\";\nimport { IPlayFabError, IPlayFabResultCommon } from \"./types/PlayFab\";\n\nexport class PlayFabCommon {\n buildIdentifier: string = constants.buildIdentifier;\n requestGetParams = {\n sdk: constants.sdkFingerprint,\n } as const;\n errorTitleId = ErrorMessages.titleId;\n private _context = PlayFabContext.instance;\n\n constructor(settings: Partial<ISettings> | undefined = undefined) {\n if (settings) {\n Object.assign(this._context.settings, settings);\n }\n }\n\n get settings() {\n return this._context.settings;\n }\n\n get authenticationContext() {\n return this._context.authenticationContext;\n }\n\n get sessionTicket() {\n return this._context.sessionTicket;\n }\n\n set sessionTicket(value: string | null) {\n this._context.sessionTicket = value;\n }\n\n get entityToken() {\n return this._context.entityToken;\n }\n\n set entityToken(value: string | null) {\n this._context.entityToken = value;\n }\n\n GetServerUrl() {\n if (!(this.settings.productionServerUrl.substring(0, 4) === \"http\")) {\n return `https://${this.settings.verticalName || this.settings.titleId}${\n this.settings.productionServerUrl\n }`;\n } else {\n return this.settings.productionServerUrl;\n }\n }\n\n InjectHeaders(\n xhr: XMLHttpRequest,\n headersObj: Record<string, string> | undefined\n ) {\n if (!headersObj) return;\n\n for (const headerKey in headersObj) {\n try {\n xhr.setRequestHeader(headerKey, headersObj[headerKey]);\n } catch (e) {\n console.log(\n `Failed to append header: ${headerKey} = ${headersObj[headerKey]} Error: ${e}`\n );\n }\n }\n }\n\n async ExecuteRequest<T extends IPlayFabResultCommon>(\n url: string,\n body: any,\n authkey: string | null,\n authValue: string | null,\n extraHeaders?: Record<string, string>\n ) {\n if (body == null) {\n body = {};\n }\n\n const requestBody = JSON.stringify(body);\n\n const apiParams = new URLSearchParams(this.requestGetParams);\n const apiUrl = new URL(\n apiParams.size ? `${url}?${apiParams.toString()}` : url\n );\n\n const response = await fetch(apiUrl.toString(), {\n method: \"POST\",\n headers: {\n \"Content-Type\": \"application/json\",\n \"X-PlayFabSDK\": \"JavaScriptSDK-\" + constants.sdkVersion,\n ...this.settings.globalHeaders,\n ...extraHeaders,\n ...(authkey && authValue ? { [authkey]: authValue } : {}),\n },\n body: requestBody,\n });\n\n const jsonResponse = await response.json();\n\n if (!response.ok || jsonResponse.code !== 200) {\n throw jsonResponse as IPlayFabError;\n }\n\n return jsonResponse as { data: T };\n }\n\n UpdateAuthenticationContext(currentAuthContext: AuthContext, result: any) {\n var authenticationContextUpdates = {} as AuthContext;\n if (result?.PlayFabId) {\n authenticationContextUpdates.PlayFabId = result.PlayFabId;\n }\n if (result?.SessionTicket) {\n authenticationContextUpdates.SessionTicket = result.SessionTicket;\n }\n if (result?.EntityToken) {\n authenticationContextUpdates.EntityId = result.EntityToken.Entity.Id;\n authenticationContextUpdates.EntityType = result.EntityToken.Entity.Type;\n authenticationContextUpdates.EntityToken = result.EntityToken.EntityToken;\n }\n // Update the authenticationContext with values from the result\n currentAuthContext = Object.assign(\n currentAuthContext,\n authenticationContextUpdates\n );\n\n this._context.authenticationContext = currentAuthContext;\n\n return currentAuthContext;\n }\n\n GetAuthInfo(request: any, authKey: string) {\n // Use the most-recently saved authKey, unless one was provided in the request via the AuthenticationContext\n var authError = AuthInfoMap[authKey as keyof typeof AuthInfoMap].authError;\n var authAttr = AuthInfoMap[authKey as keyof typeof AuthInfoMap].authAttr;\n var defaultAuthValue: string | null = null;\n if (authAttr === \"entityToken\") defaultAuthValue = this.entityToken;\n else if (authAttr === \"sessionTicket\")\n defaultAuthValue = this.sessionTicket;\n else if (authAttr === \"developerSecretKey\")\n defaultAuthValue = this.settings.developerSecretKey;\n var authValue = request.AuthenticationContext\n ? request.AuthenticationContext[authAttr]\n : defaultAuthValue;\n return { authKey, authValue, authError };\n }\n\n async ExecuteRequestWrapper<T extends IPlayFabResultCommon>(\n apiURL: string,\n request: any,\n authKey: string | null,\n extraHeaders?: Record<string, string>\n ) {\n var authValue = null;\n if (authKey !== null) {\n const { authError, ...authInfo } = this.GetAuthInfo(request, authKey);\n authKey = authInfo.authKey;\n authValue = authInfo.authValue;\n if (!authValue) throw authError;\n }\n return (\n await this.ExecuteRequest<T>(\n this.GetServerUrl() + apiURL,\n request,\n authKey,\n authValue,\n extraHeaders\n )\n ).data;\n }\n\n GenerateErrorReport(error: IPlayFabError | null): string {\n if (error == null) return \"\";\n var fullErrors = error.errorMessage;\n for (var paramName in error.errorDetails)\n for (var msgIdx in error.errorDetails[paramName])\n fullErrors +=\n \"\\n\" + paramName + \": \" + error.errorDetails[paramName][msgIdx];\n return fullErrors;\n }\n\n ForgetAllCredentials() {\n this._context.sessionTicket = null;\n this._context.entityToken = null;\n }\n}\n"],"mappings":"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","names":[]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PlayFabCommon
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-73D4KIG4.js";
|
|
4
4
|
|
|
5
5
|
// src/apis/PlayFabEconomyApi.ts
|
|
6
6
|
var PlayFabEconomyApi = class extends PlayFabCommon {
|
|
@@ -1060,4 +1060,4 @@ var PlayFabEconomyApi = class extends PlayFabCommon {
|
|
|
1060
1060
|
export {
|
|
1061
1061
|
PlayFabEconomyApi
|
|
1062
1062
|
};
|
|
1063
|
-
//# sourceMappingURL=chunk-
|
|
1063
|
+
//# sourceMappingURL=chunk-B4BE5I4A.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PlayFabCommon
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-73D4KIG4.js";
|
|
4
4
|
|
|
5
5
|
// src/apis/PlayFabLocalizationApi.ts
|
|
6
6
|
var PlayFabLocalizationApi = class extends PlayFabCommon {
|
|
@@ -19,4 +19,4 @@ var PlayFabLocalizationApi = class extends PlayFabCommon {
|
|
|
19
19
|
export {
|
|
20
20
|
PlayFabLocalizationApi
|
|
21
21
|
};
|
|
22
|
-
//# sourceMappingURL=chunk-
|
|
22
|
+
//# sourceMappingURL=chunk-DRSSJADT.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PlayFabCommon
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-73D4KIG4.js";
|
|
4
4
|
|
|
5
5
|
// src/apis/PlayFabProgressionApi.ts
|
|
6
6
|
var PlayFabProgressionApi = class extends PlayFabCommon {
|
|
@@ -459,4 +459,4 @@ var PlayFabProgressionApi = class extends PlayFabCommon {
|
|
|
459
459
|
export {
|
|
460
460
|
PlayFabProgressionApi
|
|
461
461
|
};
|
|
462
|
-
//# sourceMappingURL=chunk-
|
|
462
|
+
//# sourceMappingURL=chunk-DVHJUVMI.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PlayFabCommon
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-73D4KIG4.js";
|
|
4
4
|
|
|
5
5
|
// src/apis/PlayFabAdminApi.ts
|
|
6
6
|
var PlayFabAdminApi = class extends PlayFabCommon {
|
|
@@ -109,7 +109,7 @@ var PlayFabAdminApi = class extends PlayFabCommon {
|
|
|
109
109
|
return this.ExecuteRequestWrapper("/Admin/AddVirtualCurrencyTypes", request, "X-SecretKey", extraHeaders);
|
|
110
110
|
}
|
|
111
111
|
/**
|
|
112
|
-
* Bans users by PlayFab ID with optional IP address
|
|
112
|
+
* Bans users by PlayFab ID with optional IP address for the provided game.
|
|
113
113
|
*
|
|
114
114
|
* {@link https://docs.microsoft.com/rest/api/playfab/admin/account-management/banusers Microsoft Documentation}
|
|
115
115
|
* @example
|
|
@@ -2691,4 +2691,4 @@ var PlayFabAdminApi = class extends PlayFabCommon {
|
|
|
2691
2691
|
export {
|
|
2692
2692
|
PlayFabAdminApi
|
|
2693
2693
|
};
|
|
2694
|
-
//# sourceMappingURL=chunk-
|
|
2694
|
+
//# sourceMappingURL=chunk-E3FFP3TM.js.map
|