@taskeren/bungie-api-ts 5.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (164) hide show
  1. package/.babelrc +4 -0
  2. package/.gitattributes +2 -0
  3. package/.github/workflows/pr-build.yml +50 -0
  4. package/.github/workflows/publish.yml +48 -0
  5. package/.github/workflows/update.yml +55 -0
  6. package/.gitmodules +3 -0
  7. package/.nvmrc +1 -0
  8. package/.prettierrc +10 -0
  9. package/.vscode/extensions.json +8 -0
  10. package/.vscode/settings.json +7 -0
  11. package/LICENSE.md +21 -0
  12. package/README.md +97 -0
  13. package/api-src/.github/workflows/close-inactive.yml +24 -0
  14. package/api-src/CHANGELOG.md +271 -0
  15. package/api-src/CONTRIBUTING.md +19 -0
  16. package/api-src/LICENSE +28 -0
  17. package/api-src/README.md +378 -0
  18. package/api-src/openapi-2.json +44518 -0
  19. package/api-src/openapi.json +46467 -0
  20. package/build.sh +30 -0
  21. package/bungie-api-LICENSE +29 -0
  22. package/generated-src/app/api.ts +50 -0
  23. package/generated-src/app/index.ts +17 -0
  24. package/generated-src/app/interfaces.ts +119 -0
  25. package/generated-src/common.ts +985 -0
  26. package/generated-src/communitycontent/api.ts +36 -0
  27. package/generated-src/communitycontent/index.ts +16 -0
  28. package/generated-src/content/api.ts +142 -0
  29. package/generated-src/content/index.ts +17 -0
  30. package/generated-src/content/interfaces.ts +225 -0
  31. package/generated-src/core/api.ts +57 -0
  32. package/generated-src/core/index.ts +17 -0
  33. package/generated-src/core/interfaces.ts +151 -0
  34. package/generated-src/destiny2/api.ts +821 -0
  35. package/generated-src/destiny2/index.ts +17 -0
  36. package/generated-src/destiny2/interfaces.ts +15714 -0
  37. package/generated-src/destiny2/manifest.ts +341 -0
  38. package/generated-src/fireteam/api.ts +151 -0
  39. package/generated-src/fireteam/index.ts +17 -0
  40. package/generated-src/fireteam/interfaces.ts +183 -0
  41. package/generated-src/forum/api.ts +197 -0
  42. package/generated-src/forum/index.ts +17 -0
  43. package/generated-src/forum/interfaces.ts +171 -0
  44. package/generated-src/groupv2/api.ts +515 -0
  45. package/generated-src/groupv2/index.ts +17 -0
  46. package/generated-src/groupv2/interfaces.ts +773 -0
  47. package/generated-src/http.ts +52 -0
  48. package/generated-src/index.ts +37 -0
  49. package/generated-src/package.json.notyet +99 -0
  50. package/generated-src/platform.ts +39 -0
  51. package/generated-src/social/api.ts +115 -0
  52. package/generated-src/social/index.ts +17 -0
  53. package/generated-src/social/interfaces.ts +89 -0
  54. package/generated-src/tokens/api.ts +126 -0
  55. package/generated-src/tokens/index.ts +17 -0
  56. package/generated-src/tokens/interfaces.ts +102 -0
  57. package/generated-src/trending/api.ts +62 -0
  58. package/generated-src/trending/index.ts +17 -0
  59. package/generated-src/trending/interfaces.ts +188 -0
  60. package/generated-src/user/api.ts +130 -0
  61. package/generated-src/user/index.ts +17 -0
  62. package/generated-src/user/interfaces.ts +338 -0
  63. package/generator/generate-api.ts +254 -0
  64. package/generator/generate-common.ts +123 -0
  65. package/generator/generate-index.ts +45 -0
  66. package/generator/generate-interfaces.ts +173 -0
  67. package/generator/generate-manifest.ts +217 -0
  68. package/generator/generate-package-json.ts +45 -0
  69. package/generator/generate.ts +54 -0
  70. package/generator/http.ts +52 -0
  71. package/generator/missing-props.ts +11 -0
  72. package/generator/type-index.ts +184 -0
  73. package/generator/util.ts +131 -0
  74. package/lib/README.md +97 -0
  75. package/lib/app/api.d.ts +36 -0
  76. package/lib/app/api.js +15 -0
  77. package/lib/app/index.d.ts +16 -0
  78. package/lib/app/index.js +5 -0
  79. package/lib/app/interfaces.d.ts +108 -0
  80. package/lib/app/interfaces.js +17 -0
  81. package/lib/bungie-api-LICENSE +29 -0
  82. package/lib/common.d.ts +979 -0
  83. package/lib/common.js +923 -0
  84. package/lib/communitycontent/api.d.ts +31 -0
  85. package/lib/communitycontent/api.js +7 -0
  86. package/lib/communitycontent/index.d.ts +15 -0
  87. package/lib/communitycontent/index.js +4 -0
  88. package/lib/content/api.d.ts +111 -0
  89. package/lib/content/api.js +75 -0
  90. package/lib/content/index.d.ts +16 -0
  91. package/lib/content/index.js +5 -0
  92. package/lib/content/interfaces.d.ts +214 -0
  93. package/lib/content/interfaces.js +17 -0
  94. package/lib/core/api.d.ts +45 -0
  95. package/lib/core/api.js +18 -0
  96. package/lib/core/index.d.ts +16 -0
  97. package/lib/core/index.js +5 -0
  98. package/lib/core/interfaces.d.ts +144 -0
  99. package/lib/core/interfaces.js +10 -0
  100. package/lib/destiny2/api.d.ts +765 -0
  101. package/lib/destiny2/api.js +295 -0
  102. package/lib/destiny2/index.d.ts +16 -0
  103. package/lib/destiny2/index.js +5 -0
  104. package/lib/destiny2/interfaces.d.ts +15340 -0
  105. package/lib/destiny2/interfaces.js +826 -0
  106. package/lib/destiny2/manifest.d.ts +465 -0
  107. package/lib/destiny2/manifest.js +56 -0
  108. package/lib/fireteam/api.d.ts +131 -0
  109. package/lib/fireteam/api.js +50 -0
  110. package/lib/fireteam/index.d.ts +16 -0
  111. package/lib/fireteam/index.js +5 -0
  112. package/lib/fireteam/interfaces.d.ts +166 -0
  113. package/lib/fireteam/interfaces.js +33 -0
  114. package/lib/forum/api.d.ts +165 -0
  115. package/lib/forum/api.js +79 -0
  116. package/lib/forum/index.d.ts +16 -0
  117. package/lib/forum/index.js +5 -0
  118. package/lib/forum/interfaces.d.ts +147 -0
  119. package/lib/forum/interfaces.js +61 -0
  120. package/lib/groupv2/api.d.ts +484 -0
  121. package/lib/groupv2/api.js +154 -0
  122. package/lib/groupv2/index.d.ts +16 -0
  123. package/lib/groupv2/index.js +5 -0
  124. package/lib/groupv2/interfaces.d.ts +718 -0
  125. package/lib/groupv2/interfaces.js +100 -0
  126. package/lib/http.d.ts +18 -0
  127. package/lib/http.js +20 -0
  128. package/lib/index.d.ts +35 -0
  129. package/lib/index.js +24 -0
  130. package/lib/package.json +99 -0
  131. package/lib/platform.d.ts +36 -0
  132. package/lib/platform.js +9 -0
  133. package/lib/social/api.d.ts +101 -0
  134. package/lib/social/api.js +26 -0
  135. package/lib/social/index.d.ts +16 -0
  136. package/lib/social/index.js +5 -0
  137. package/lib/social/interfaces.d.ts +75 -0
  138. package/lib/social/interfaces.js +22 -0
  139. package/lib/tokens/api.d.ts +120 -0
  140. package/lib/tokens/api.js +38 -0
  141. package/lib/tokens/index.d.ts +16 -0
  142. package/lib/tokens/index.js +5 -0
  143. package/lib/tokens/interfaces.d.ts +88 -0
  144. package/lib/tokens/interfaces.js +5 -0
  145. package/lib/trending/api.d.ts +53 -0
  146. package/lib/trending/api.js +11 -0
  147. package/lib/trending/index.d.ts +16 -0
  148. package/lib/trending/index.js +5 -0
  149. package/lib/trending/interfaces.d.ts +171 -0
  150. package/lib/trending/interfaces.js +14 -0
  151. package/lib/user/api.d.ts +117 -0
  152. package/lib/user/api.js +35 -0
  153. package/lib/user/index.d.ts +16 -0
  154. package/lib/user/index.js +5 -0
  155. package/lib/user/interfaces.d.ts +320 -0
  156. package/lib/user/interfaces.js +28 -0
  157. package/package.json +60 -0
  158. package/test-consumer.ts +5 -0
  159. package/tests/__snapshots__/config-builders.test.ts.snap +343 -0
  160. package/tests/config-builders.test.ts +145 -0
  161. package/tests/manifest-fetcher.test.ts +43 -0
  162. package/tests/test-manifest.js +69 -0
  163. package/tsconfig-package.json +14 -0
  164. package/tsconfig.json +17 -0
@@ -0,0 +1,979 @@
1
+ /**
2
+ * Bungie.Net API
3
+ * These endpoints constitute the functionality exposed by Bungie.net, both for more traditional website functionality and for connectivity to Bungie video games and their related functionality.
4
+ *
5
+ * OpenAPI spec version: 2.21.9
6
+ * Contact: support@bungie.com
7
+ *
8
+ * NOTE: This class is auto generated by the bungie-api-ts code generator program.
9
+ * https://github.com/DestinyItemManager/bungie-api-ts
10
+ * Do not edit these files manually.
11
+ */
12
+ export interface ServerResponse<T> {
13
+ readonly Response: T;
14
+ readonly ErrorCode: PlatformErrorCodes;
15
+ readonly ThrottleSeconds: number;
16
+ readonly ErrorStatus: string;
17
+ readonly Message: string;
18
+ readonly MessageData: {
19
+ [key: string]: string;
20
+ };
21
+ }
22
+ export declare const enum PlatformErrorCodes {
23
+ None = 0,
24
+ Success = 1,
25
+ TransportException = 2,
26
+ UnhandledException = 3,
27
+ NotImplemented = 4,
28
+ SystemDisabled = 5,
29
+ FailedToLoadAvailableLocalesConfiguration = 6,
30
+ ParameterParseFailure = 7,
31
+ ParameterInvalidRange = 8,
32
+ BadRequest = 9,
33
+ AuthenticationInvalid = 10,
34
+ DataNotFound = 11,
35
+ InsufficientPrivileges = 12,
36
+ Duplicate = 13,
37
+ UnknownSqlResult = 14,
38
+ ValidationError = 15,
39
+ ValidationMissingFieldError = 16,
40
+ ValidationInvalidInputError = 17,
41
+ InvalidParameters = 18,
42
+ ParameterNotFound = 19,
43
+ UnhandledHttpException = 20,
44
+ NotFound = 21,
45
+ WebAuthModuleAsyncFailed = 22,
46
+ InvalidReturnValue = 23,
47
+ UserBanned = 24,
48
+ InvalidPostBody = 25,
49
+ MissingPostBody = 26,
50
+ ExternalServiceTimeout = 27,
51
+ ValidationLengthError = 28,
52
+ ValidationRangeError = 29,
53
+ JsonDeserializationError = 30,
54
+ ThrottleLimitExceeded = 31,
55
+ ValidationTagError = 32,
56
+ ValidationProfanityError = 33,
57
+ ValidationUrlFormatError = 34,
58
+ ThrottleLimitExceededMinutes = 35,
59
+ ThrottleLimitExceededMomentarily = 36,
60
+ ThrottleLimitExceededSeconds = 37,
61
+ ExternalServiceUnknown = 38,
62
+ ValidationWordLengthError = 39,
63
+ ValidationInvisibleUnicode = 40,
64
+ ValidationBadNames = 41,
65
+ ExternalServiceFailed = 42,
66
+ ServiceRetired = 43,
67
+ UnknownSqlException = 44,
68
+ UnsupportedLocale = 45,
69
+ InvalidPageNumber = 46,
70
+ MaximumPageSizeExceeded = 47,
71
+ ServiceUnsupported = 48,
72
+ ValidationMaximumUnicodeCombiningCharacters = 49,
73
+ ValidationMaximumSequentialCarriageReturns = 50,
74
+ PerEndpointRequestThrottleExceeded = 51,
75
+ AuthContextCacheAssertion = 52,
76
+ ExPlatformStringValidationError = 53,
77
+ PerApplicationThrottleExceeded = 54,
78
+ PerApplicationAnonymousThrottleExceeded = 55,
79
+ PerApplicationAuthenticatedThrottleExceeded = 56,
80
+ PerUserThrottleExceeded = 57,
81
+ PayloadSignatureVerificationFailure = 58,
82
+ InvalidServiceAuthContext = 59,
83
+ FailedMinimumAgeCheck = 60,
84
+ ObsoleteCredentialType = 89,
85
+ UnableToUnPairMobileApp = 90,
86
+ UnableToPairMobileApp = 91,
87
+ CannotUseMobileAuthWithNonMobileProvider = 92,
88
+ MissingDeviceCookie = 93,
89
+ FacebookTokenExpired = 94,
90
+ AuthTicketRequired = 95,
91
+ CookieContextRequired = 96,
92
+ UnknownAuthenticationError = 97,
93
+ BungieNetAccountCreationRequired = 98,
94
+ WebAuthRequired = 99,
95
+ ContentUnknownSqlResult = 100,
96
+ ContentNeedUniquePath = 101,
97
+ ContentSqlException = 102,
98
+ ContentNotFound = 103,
99
+ ContentSuccessWithTagAddFail = 104,
100
+ ContentSearchMissingParameters = 105,
101
+ ContentInvalidId = 106,
102
+ ContentPhysicalFileDeletionError = 107,
103
+ ContentPhysicalFileCreationError = 108,
104
+ ContentPerforceSubmissionError = 109,
105
+ ContentPerforceInitializationError = 110,
106
+ ContentDeploymentPackageNotReadyError = 111,
107
+ ContentUploadFailed = 112,
108
+ ContentTooManyResults = 113,
109
+ ContentInvalidState = 115,
110
+ ContentNavigationParentNotFound = 116,
111
+ ContentNavigationParentUpdateError = 117,
112
+ DeploymentPackageNotEditable = 118,
113
+ ContentValidationError = 119,
114
+ ContentPropertiesValidationError = 120,
115
+ ContentTypeNotFound = 121,
116
+ DeploymentPackageNotFound = 122,
117
+ ContentSearchInvalidParameters = 123,
118
+ ContentItemPropertyAggregationError = 124,
119
+ DeploymentPackageFileNotFound = 125,
120
+ ContentPerforceFileHistoryNotFound = 126,
121
+ ContentAssetZipCreationFailure = 127,
122
+ ContentAssetZipCreationBusy = 128,
123
+ ContentProjectNotFound = 129,
124
+ ContentFolderNotFound = 130,
125
+ ContentPackagesInconsistent = 131,
126
+ ContentPackagesInvalidState = 132,
127
+ ContentPackagesInconsistentType = 133,
128
+ ContentCannotDeletePackage = 134,
129
+ ContentLockedForChanges = 135,
130
+ ContentFileUploadFailed = 136,
131
+ ContentNotReviewed = 137,
132
+ ContentPermissionDenied = 138,
133
+ ContentInvalidExternalUrl = 139,
134
+ ContentExternalFileCannotBeImportedLocally = 140,
135
+ ContentTagSaveFailure = 141,
136
+ ContentPerforceUnmatchedFileError = 142,
137
+ ContentPerforceChangelistResultNotFound = 143,
138
+ ContentPerforceChangelistFileItemsNotFound = 144,
139
+ ContentPerforceInvalidRevisionError = 145,
140
+ ContentUnloadedSaveResult = 146,
141
+ ContentPropertyInvalidNumber = 147,
142
+ ContentPropertyInvalidUrl = 148,
143
+ ContentPropertyInvalidDate = 149,
144
+ ContentPropertyInvalidSet = 150,
145
+ ContentPropertyCannotDeserialize = 151,
146
+ ContentRegexValidationFailOnProperty = 152,
147
+ ContentMaxLengthFailOnProperty = 153,
148
+ ContentPropertyUnexpectedDeserializationError = 154,
149
+ ContentPropertyRequired = 155,
150
+ ContentCannotCreateFile = 156,
151
+ ContentInvalidMigrationFile = 157,
152
+ ContentMigrationAlteringProcessedItem = 158,
153
+ ContentPropertyDefinitionNotFound = 159,
154
+ ContentReviewDataChanged = 160,
155
+ ContentRollbackRevisionNotInPackage = 161,
156
+ ContentItemNotBasedOnLatestRevision = 162,
157
+ ContentUnauthorized = 163,
158
+ ContentCannotCreateDeploymentPackage = 164,
159
+ ContentUserNotFound = 165,
160
+ ContentLocalePermissionDenied = 166,
161
+ ContentInvalidLinkToInternalEnvironment = 167,
162
+ ContentInvalidBlacklistedContent = 168,
163
+ ContentMacroMalformedNoContentId = 169,
164
+ ContentMacroMalformedNoTemplateType = 170,
165
+ ContentIllegalBNetMembershipId = 171,
166
+ ContentLocaleDidNotMatchExpected = 172,
167
+ ContentBabelCallFailed = 173,
168
+ ContentEnglishPostLiveForbidden = 174,
169
+ ContentLocaleEditPermissionDenied = 175,
170
+ ContentStackUnknownError = 176,
171
+ ContentStackNotFound = 177,
172
+ ContentStackRateLimited = 178,
173
+ ContentStackTimeout = 179,
174
+ ContentStackServiceError = 180,
175
+ ContentStackDeserializationFailure = 181,
176
+ UserNonUniqueName = 200,
177
+ UserManualLinkingStepRequired = 201,
178
+ UserCreateUnknownSqlResult = 202,
179
+ UserCreateUnknownSqlException = 203,
180
+ UserMalformedMembershipId = 204,
181
+ UserCannotFindRequestedUser = 205,
182
+ UserCannotLoadAccountCredentialLinkInfo = 206,
183
+ UserInvalidMobileAppType = 207,
184
+ UserMissingMobilePairingInfo = 208,
185
+ UserCannotGenerateMobileKeyWhileUsingMobileCredential = 209,
186
+ UserGenerateMobileKeyExistingSlotCollision = 210,
187
+ UserDisplayNameMissingOrInvalid = 211,
188
+ UserCannotLoadAccountProfileData = 212,
189
+ UserCannotSaveUserProfileData = 213,
190
+ UserEmailMissingOrInvalid = 214,
191
+ UserTermsOfUseRequired = 215,
192
+ UserCannotCreateNewAccountWhileLoggedIn = 216,
193
+ UserCannotResolveCentralAccount = 217,
194
+ UserInvalidAvatar = 218,
195
+ UserMissingCreatedUserResult = 219,
196
+ UserCannotChangeUniqueNameYet = 220,
197
+ UserCannotChangeDisplayNameYet = 221,
198
+ UserCannotChangeEmail = 222,
199
+ UserUniqueNameMustStartWithLetter = 223,
200
+ UserNoLinkedAccountsSupportFriendListings = 224,
201
+ UserAcknowledgmentTableFull = 225,
202
+ UserCreationDestinyMembershipRequired = 226,
203
+ UserFriendsTokenNeedsRefresh = 227,
204
+ UserEmailValidationUnknown = 228,
205
+ UserEmailValidationLimit = 229,
206
+ TransactionEmailSendFailure = 230,
207
+ MailHookPermissionFailure = 231,
208
+ MailServiceRateLimit = 232,
209
+ UserEmailMustBeVerified = 233,
210
+ UserMustAllowCustomerServiceEmails = 234,
211
+ NonTransactionalEmailSendFailure = 235,
212
+ UnknownErrorSettingGlobalDisplayName = 236,
213
+ DuplicateGlobalDisplayName = 237,
214
+ ErrorRunningNameValidationChecks = 238,
215
+ ErrorDatabaseGlobalName = 239,
216
+ ErrorNoAvailableNameChanges = 240,
217
+ ErrorNameAlreadySetToInput = 241,
218
+ UserDisplayNameLessThanMinLength = 242,
219
+ UserDisplayNameGreaterThanMaxLength = 243,
220
+ UserDisplayNameContainsUnacceptableOrInvalidContent = 244,
221
+ EmailValidationOffline = 245,
222
+ EmailValidationFailOldCode = 246,
223
+ EmailValidationFailBadLink = 247,
224
+ EmailUnsubscribeFail = 248,
225
+ EmailUnsubscribeFailNew = 249,
226
+ MessagingUnknownError = 300,
227
+ MessagingSelfError = 301,
228
+ MessagingSendThrottle = 302,
229
+ MessagingNoBody = 303,
230
+ MessagingTooManyUsers = 304,
231
+ MessagingCanNotLeaveConversation = 305,
232
+ MessagingUnableToSend = 306,
233
+ MessagingDeletedUserForbidden = 307,
234
+ MessagingCannotDeleteExternalConversation = 308,
235
+ MessagingGroupChatDisabled = 309,
236
+ MessagingMustIncludeSelfInPrivateMessage = 310,
237
+ MessagingSenderIsBanned = 311,
238
+ MessagingGroupOptionalChatExceededMaximum = 312,
239
+ PrivateMessagingRequiresDestinyMembership = 313,
240
+ MessagingSendDailyThrottle = 314,
241
+ AddSurveyAnswersUnknownSqlException = 400,
242
+ ForumBodyCannotBeEmpty = 500,
243
+ ForumSubjectCannotBeEmptyOnTopicPost = 501,
244
+ ForumCannotLocateParentPost = 502,
245
+ ForumThreadLockedForReplies = 503,
246
+ ForumUnknownSqlResultDuringCreatePost = 504,
247
+ ForumUnknownTagCreationError = 505,
248
+ ForumUnknownSqlResultDuringTagItem = 506,
249
+ ForumUnknownExceptionCreatePost = 507,
250
+ ForumQuestionMustBeTopicPost = 508,
251
+ ForumExceptionDuringTagSearch = 509,
252
+ ForumExceptionDuringTopicRetrieval = 510,
253
+ ForumAliasedTagError = 511,
254
+ ForumCannotLocateThread = 512,
255
+ ForumUnknownExceptionEditPost = 513,
256
+ ForumCannotLocatePost = 514,
257
+ ForumUnknownExceptionGetOrCreateTags = 515,
258
+ ForumEditPermissionDenied = 516,
259
+ ForumUnknownSqlResultDuringTagIdRetrieval = 517,
260
+ ForumCannotGetRating = 518,
261
+ ForumUnknownExceptionGetRating = 519,
262
+ ForumRatingsAccessError = 520,
263
+ ForumRelatedPostAccessError = 521,
264
+ ForumLatestReplyAccessError = 522,
265
+ ForumUserStatusAccessError = 523,
266
+ ForumAuthorAccessError = 524,
267
+ ForumGroupAccessError = 525,
268
+ ForumUrlExpectedButMissing = 526,
269
+ ForumRepliesCannotBeEmpty = 527,
270
+ ForumRepliesCannotBeInDifferentGroups = 528,
271
+ ForumSubTopicCannotBeCreatedAtThisThreadLevel = 529,
272
+ ForumCannotCreateContentTopic = 530,
273
+ ForumTopicDoesNotExist = 531,
274
+ ForumContentCommentsNotAllowed = 532,
275
+ ForumUnknownSqlResultDuringEditPost = 533,
276
+ ForumUnknownSqlResultDuringGetPost = 534,
277
+ ForumPostValidationBadUrl = 535,
278
+ ForumBodyTooLong = 536,
279
+ ForumSubjectTooLong = 537,
280
+ ForumAnnouncementNotAllowed = 538,
281
+ ForumCannotShareOwnPost = 539,
282
+ ForumEditNoOp = 540,
283
+ ForumUnknownDatabaseErrorDuringGetPost = 541,
284
+ ForumExceeedMaximumRowLimit = 542,
285
+ ForumCannotSharePrivatePost = 543,
286
+ ForumCannotCrossPostBetweenGroups = 544,
287
+ ForumIncompatibleCategories = 555,
288
+ ForumCannotUseTheseCategoriesOnNonTopicPost = 556,
289
+ ForumCanOnlyDeleteTopics = 557,
290
+ ForumDeleteSqlException = 558,
291
+ ForumDeleteSqlUnknownResult = 559,
292
+ ForumTooManyTags = 560,
293
+ ForumCanOnlyRateTopics = 561,
294
+ ForumBannedPostsCannotBeEdited = 562,
295
+ ForumThreadRootIsBanned = 563,
296
+ ForumCannotUseOfficialTagCategoryAsTag = 564,
297
+ ForumAnswerCannotBeMadeOnCreatePost = 565,
298
+ ForumAnswerCannotBeMadeOnEditPost = 566,
299
+ ForumAnswerPostIdIsNotADirectReplyOfQuestion = 567,
300
+ ForumAnswerTopicIdIsNotAQuestion = 568,
301
+ ForumUnknownExceptionDuringMarkAnswer = 569,
302
+ ForumUnknownSqlResultDuringMarkAnswer = 570,
303
+ ForumCannotRateYourOwnPosts = 571,
304
+ ForumPollsMustBeTheFirstPostInTopic = 572,
305
+ ForumInvalidPollInput = 573,
306
+ ForumGroupAdminEditNonMember = 574,
307
+ ForumCannotEditModeratorEditedPost = 575,
308
+ ForumRequiresDestinyMembership = 576,
309
+ ForumUnexpectedError = 577,
310
+ ForumAgeLock = 578,
311
+ ForumMaxPages = 579,
312
+ ForumMaxPagesOldestFirst = 580,
313
+ ForumCannotApplyForumIdWithoutTags = 581,
314
+ ForumCannotApplyForumIdToNonTopics = 582,
315
+ ForumCannotDownvoteCommunityCreations = 583,
316
+ ForumTopicsMustHaveOfficialCategory = 584,
317
+ ForumRecruitmentTopicMalformed = 585,
318
+ ForumRecruitmentTopicNotFound = 586,
319
+ ForumRecruitmentTopicNoSlotsRemaining = 587,
320
+ ForumRecruitmentTopicKickBan = 588,
321
+ ForumRecruitmentTopicRequirementsNotMet = 589,
322
+ ForumRecruitmentTopicNoPlayers = 590,
323
+ ForumRecruitmentApproveFailMessageBan = 591,
324
+ ForumRecruitmentGlobalBan = 592,
325
+ ForumUserBannedFromThisTopic = 593,
326
+ ForumRecruitmentFireteamMembersOnly = 594,
327
+ ForumRequiresDestiny2Progress = 595,
328
+ ForumRequiresDestiny2EntitlementPurchase = 596,
329
+ GroupMembershipApplicationAlreadyResolved = 601,
330
+ GroupMembershipAlreadyApplied = 602,
331
+ GroupMembershipInsufficientPrivileges = 603,
332
+ GroupIdNotReturnedFromCreation = 604,
333
+ GroupSearchInvalidParameters = 605,
334
+ GroupMembershipPendingApplicationNotFound = 606,
335
+ GroupInvalidId = 607,
336
+ GroupInvalidMembershipId = 608,
337
+ GroupInvalidMembershipType = 609,
338
+ GroupMissingTags = 610,
339
+ GroupMembershipNotFound = 611,
340
+ GroupInvalidRating = 612,
341
+ GroupUserFollowingAccessError = 613,
342
+ GroupUserMembershipAccessError = 614,
343
+ GroupCreatorAccessError = 615,
344
+ GroupAdminAccessError = 616,
345
+ GroupPrivatePostNotViewable = 617,
346
+ GroupMembershipNotLoggedIn = 618,
347
+ GroupNotDeleted = 619,
348
+ GroupUnknownErrorUndeletingGroup = 620,
349
+ GroupDeleted = 621,
350
+ GroupNotFound = 622,
351
+ GroupMemberBanned = 623,
352
+ GroupMembershipClosed = 624,
353
+ GroupPrivatePostOverrideError = 625,
354
+ GroupNameTaken = 626,
355
+ GroupDeletionGracePeriodExpired = 627,
356
+ GroupCannotCheckBanStatus = 628,
357
+ GroupMaximumMembershipCountReached = 629,
358
+ NoDestinyAccountForClanPlatform = 630,
359
+ AlreadyRequestingMembershipForClanPlatform = 631,
360
+ AlreadyClanMemberOnPlatform = 632,
361
+ GroupJoinedCannotSetClanName = 633,
362
+ GroupLeftCannotClearClanName = 634,
363
+ GroupRelationshipRequestPending = 635,
364
+ GroupRelationshipRequestBlocked = 636,
365
+ GroupRelationshipRequestNotFound = 637,
366
+ GroupRelationshipBlockNotFound = 638,
367
+ GroupRelationshipNotFound = 639,
368
+ GroupAlreadyAllied = 641,
369
+ GroupAlreadyMember = 642,
370
+ GroupRelationshipAlreadyExists = 643,
371
+ InvalidGroupTypesForRelationshipRequest = 644,
372
+ GroupAtMaximumAlliances = 646,
373
+ GroupCannotSetClanOnlySettings = 647,
374
+ ClanCannotSetTwoDefaultPostTypes = 648,
375
+ GroupMemberInvalidMemberType = 649,
376
+ GroupInvalidPlatformType = 650,
377
+ GroupMemberInvalidSort = 651,
378
+ GroupInvalidResolveState = 652,
379
+ ClanAlreadyEnabledForPlatform = 653,
380
+ ClanNotEnabledForPlatform = 654,
381
+ ClanEnabledButCouldNotJoinNoAccount = 655,
382
+ ClanEnabledButCouldNotJoinAlreadyMember = 656,
383
+ ClanCannotJoinNoCredential = 657,
384
+ NoClanMembershipForPlatform = 658,
385
+ GroupToGroupFollowLimitReached = 659,
386
+ ChildGroupAlreadyInAlliance = 660,
387
+ OwnerGroupAlreadyInAlliance = 661,
388
+ AllianceOwnerCannotJoinAlliance = 662,
389
+ GroupNotInAlliance = 663,
390
+ ChildGroupCannotInviteToAlliance = 664,
391
+ GroupToGroupAlreadyFollowed = 665,
392
+ GroupToGroupNotFollowing = 666,
393
+ ClanMaximumMembershipReached = 667,
394
+ ClanNameNotValid = 668,
395
+ ClanNameNotValidError = 669,
396
+ AllianceOwnerNotDefined = 670,
397
+ AllianceChildNotDefined = 671,
398
+ ClanCultureIllegalCharacters = 672,
399
+ ClanTagIllegalCharacters = 673,
400
+ ClanRequiresInvitation = 674,
401
+ ClanMembershipClosed = 675,
402
+ ClanInviteAlreadyMember = 676,
403
+ GroupInviteAlreadyMember = 677,
404
+ GroupJoinApprovalRequired = 678,
405
+ ClanTagRequired = 679,
406
+ GroupNameCannotStartOrEndWithWhiteSpace = 680,
407
+ ClanCallsignCannotStartOrEndWithWhiteSpace = 681,
408
+ ClanMigrationFailed = 682,
409
+ ClanNotEnabledAlreadyMemberOfAnotherClan = 683,
410
+ GroupModerationNotPermittedOnNonMembers = 684,
411
+ ClanCreationInWorldServerFailed = 685,
412
+ ClanNotFound = 686,
413
+ ClanMembershipLevelDoesNotPermitThatAction = 687,
414
+ ClanMemberNotFound = 688,
415
+ ClanMissingMembershipApprovers = 689,
416
+ ClanInWrongStateForRequestedAction = 690,
417
+ ClanNameAlreadyUsed = 691,
418
+ ClanTooFewMembers = 692,
419
+ ClanInfoCannotBeWhitespace = 693,
420
+ GroupCultureThrottle = 694,
421
+ ClanTargetDisallowsInvites = 695,
422
+ ClanInvalidOperation = 696,
423
+ ClanFounderCannotLeaveWithoutAbdication = 697,
424
+ ClanNameReserved = 698,
425
+ ClanApplicantInClanSoNowInvited = 699,
426
+ ActivitiesUnknownException = 701,
427
+ ActivitiesParameterNull = 702,
428
+ ActivityCountsDiabled = 703,
429
+ ActivitySearchInvalidParameters = 704,
430
+ ActivityPermissionDenied = 705,
431
+ ShareAlreadyShared = 706,
432
+ ActivityLoggingDisabled = 707,
433
+ ClanRequiresExistingDestinyAccount = 750,
434
+ ClanNameRestricted = 751,
435
+ ClanCreationBan = 752,
436
+ ClanCreationTenureRequirementsNotMet = 753,
437
+ ClanFieldContainsReservedTerms = 754,
438
+ ClanFieldContainsInappropriateContent = 755,
439
+ ItemAlreadyFollowed = 801,
440
+ ItemNotFollowed = 802,
441
+ CannotFollowSelf = 803,
442
+ GroupFollowLimitExceeded = 804,
443
+ TagFollowLimitExceeded = 805,
444
+ UserFollowLimitExceeded = 806,
445
+ FollowUnsupportedEntityType = 807,
446
+ NoValidTagsInList = 900,
447
+ BelowMinimumSuggestionLength = 901,
448
+ CannotGetSuggestionsOnMultipleTagsSimultaneously = 902,
449
+ NotAValidPartialTag = 903,
450
+ TagSuggestionsUnknownSqlResult = 904,
451
+ TagsUnableToLoadPopularTagsFromDatabase = 905,
452
+ TagInvalid = 906,
453
+ TagNotFound = 907,
454
+ SingleTagExpected = 908,
455
+ TagsExceededMaximumPerItem = 909,
456
+ IgnoreInvalidParameters = 1000,
457
+ IgnoreSqlException = 1001,
458
+ IgnoreErrorRetrievingGroupPermissions = 1002,
459
+ IgnoreErrorInsufficientPermission = 1003,
460
+ IgnoreErrorRetrievingItem = 1004,
461
+ IgnoreCannotIgnoreSelf = 1005,
462
+ IgnoreIllegalType = 1006,
463
+ IgnoreNotFound = 1007,
464
+ IgnoreUserGloballyIgnored = 1008,
465
+ IgnoreUserIgnored = 1009,
466
+ TargetUserIgnored = 1010,
467
+ NotificationSettingInvalid = 1100,
468
+ PsnApiExpiredAccessToken = 1204,
469
+ PSNExForbidden = 1205,
470
+ PSNExSystemDisabled = 1218,
471
+ PsnApiErrorCodeUnknown = 1223,
472
+ PsnApiErrorWebException = 1224,
473
+ PsnApiBadRequest = 1225,
474
+ PsnApiAccessTokenRequired = 1226,
475
+ PsnApiInvalidAccessToken = 1227,
476
+ PsnApiBannedUser = 1229,
477
+ PsnApiAccountUpgradeRequired = 1230,
478
+ PsnApiServiceTemporarilyUnavailable = 1231,
479
+ PsnApiServerBusy = 1232,
480
+ PsnApiUnderMaintenance = 1233,
481
+ PsnApiProfileUserNotFound = 1234,
482
+ PsnApiProfilePrivacyRestriction = 1235,
483
+ PsnApiProfileUnderMaintenance = 1236,
484
+ PsnApiAccountAttributeMissing = 1237,
485
+ PsnApiNoPermission = 1238,
486
+ PsnApiTargetUserBlocked = 1239,
487
+ PsnApiJwksMissing = 1240,
488
+ PsnApiJwtMalformedHeader = 1241,
489
+ PsnApiJwtMalformedPayload = 1242,
490
+ XblExSystemDisabled = 1300,
491
+ XblExUnknownError = 1301,
492
+ XblApiErrorWebException = 1302,
493
+ XblStsTokenInvalid = 1303,
494
+ XblStsMissingToken = 1304,
495
+ XblStsExpiredToken = 1305,
496
+ XblAccessToTheSandboxDenied = 1306,
497
+ XblMsaResponseMissing = 1307,
498
+ XblMsaAccessTokenExpired = 1308,
499
+ XblMsaInvalidRequest = 1309,
500
+ XblMsaFriendsRequireSignIn = 1310,
501
+ XblUserActionRequired = 1311,
502
+ XblParentalControls = 1312,
503
+ XblDeveloperAccount = 1313,
504
+ XblUserTokenExpired = 1314,
505
+ XblUserTokenInvalid = 1315,
506
+ XblOffline = 1316,
507
+ XblUnknownErrorCode = 1317,
508
+ XblMsaInvalidGrant = 1318,
509
+ ReportNotYetResolved = 1400,
510
+ ReportOverturnDoesNotChangeDecision = 1401,
511
+ ReportNotFound = 1402,
512
+ ReportAlreadyReported = 1403,
513
+ ReportInvalidResolution = 1404,
514
+ ReportNotAssignedToYou = 1405,
515
+ LegacyGameStatsSystemDisabled = 1500,
516
+ LegacyGameStatsUnknownError = 1501,
517
+ LegacyGameStatsMalformedSneakerNetCode = 1502,
518
+ DestinyAccountAcquisitionFailure = 1600,
519
+ DestinyAccountNotFound = 1601,
520
+ DestinyBuildStatsDatabaseError = 1602,
521
+ DestinyCharacterStatsDatabaseError = 1603,
522
+ DestinyPvPStatsDatabaseError = 1604,
523
+ DestinyPvEStatsDatabaseError = 1605,
524
+ DestinyGrimoireStatsDatabaseError = 1606,
525
+ DestinyStatsParameterMembershipTypeParseError = 1607,
526
+ DestinyStatsParameterMembershipIdParseError = 1608,
527
+ DestinyStatsParameterRangeParseError = 1609,
528
+ DestinyStringItemHashNotFound = 1610,
529
+ DestinyStringSetNotFound = 1611,
530
+ DestinyContentLookupNotFoundForKey = 1612,
531
+ DestinyContentItemNotFound = 1613,
532
+ DestinyContentSectionNotFound = 1614,
533
+ DestinyContentPropertyNotFound = 1615,
534
+ DestinyContentConfigNotFound = 1616,
535
+ DestinyContentPropertyBucketValueNotFound = 1617,
536
+ DestinyUnexpectedError = 1618,
537
+ DestinyInvalidAction = 1619,
538
+ DestinyCharacterNotFound = 1620,
539
+ DestinyInvalidFlag = 1621,
540
+ DestinyInvalidRequest = 1622,
541
+ DestinyItemNotFound = 1623,
542
+ DestinyInvalidCustomizationChoices = 1624,
543
+ DestinyVendorItemNotFound = 1625,
544
+ DestinyInternalError = 1626,
545
+ DestinyVendorNotFound = 1627,
546
+ DestinyRecentActivitiesDatabaseError = 1628,
547
+ DestinyItemBucketNotFound = 1629,
548
+ DestinyInvalidMembershipType = 1630,
549
+ DestinyVersionIncompatibility = 1631,
550
+ DestinyItemAlreadyInInventory = 1632,
551
+ DestinyBucketNotFound = 1633,
552
+ /**
553
+ * Note: This is one of those holdovers from Destiny 1. We didn't change the enum
554
+ * because I am lazy, but in Destiny 2 this would read "
555
+ * DestinyCharacterNotInSocialSpace"
556
+ */
557
+ DestinyCharacterNotInTower = 1634,
558
+ DestinyCharacterNotLoggedIn = 1635,
559
+ DestinyDefinitionsNotLoaded = 1636,
560
+ DestinyInventoryFull = 1637,
561
+ DestinyItemFailedLevelCheck = 1638,
562
+ DestinyItemFailedUnlockCheck = 1639,
563
+ DestinyItemUnequippable = 1640,
564
+ DestinyItemUniqueEquipRestricted = 1641,
565
+ DestinyNoRoomInDestination = 1642,
566
+ DestinyServiceFailure = 1643,
567
+ DestinyServiceRetired = 1644,
568
+ DestinyTransferFailed = 1645,
569
+ DestinyTransferNotFoundForSourceBucket = 1646,
570
+ DestinyUnexpectedResultInVendorTransferCheck = 1647,
571
+ DestinyUniquenessViolation = 1648,
572
+ DestinyErrorDeserializationFailure = 1649,
573
+ DestinyValidAccountTicketRequired = 1650,
574
+ DestinyShardRelayClientTimeout = 1651,
575
+ DestinyShardRelayProxyTimeout = 1652,
576
+ DestinyPGCRNotFound = 1653,
577
+ DestinyAccountMustBeOffline = 1654,
578
+ DestinyCanOnlyEquipInGame = 1655,
579
+ DestinyCannotPerformActionOnEquippedItem = 1656,
580
+ DestinyQuestAlreadyCompleted = 1657,
581
+ DestinyQuestAlreadyTracked = 1658,
582
+ DestinyTrackableQuestsFull = 1659,
583
+ DestinyItemNotTransferrable = 1660,
584
+ DestinyVendorPurchaseNotAllowed = 1661,
585
+ DestinyContentVersionMismatch = 1662,
586
+ DestinyItemActionForbidden = 1663,
587
+ DestinyRefundInvalid = 1664,
588
+ DestinyPrivacyRestriction = 1665,
589
+ DestinyActionInsufficientPrivileges = 1666,
590
+ DestinyInvalidClaimException = 1667,
591
+ DestinyLegacyPlatformRestricted = 1668,
592
+ DestinyLegacyPlatformInUse = 1669,
593
+ DestinyLegacyPlatformInaccessible = 1670,
594
+ DestinyCannotPerformActionAtThisLocation = 1671,
595
+ DestinyThrottledByGameServer = 1672,
596
+ DestinyItemNotTransferrableHasSideEffects = 1673,
597
+ DestinyItemLocked = 1674,
598
+ DestinyCannotAffordMaterialRequirements = 1675,
599
+ DestinyFailedPlugInsertionRules = 1676,
600
+ DestinySocketNotFound = 1677,
601
+ DestinySocketActionNotAllowed = 1678,
602
+ DestinySocketAlreadyHasPlug = 1679,
603
+ DestinyPlugItemNotAvailable = 1680,
604
+ DestinyCharacterLoggedInNotAllowed = 1681,
605
+ DestinyPublicAccountNotAccessible = 1682,
606
+ DestinyClaimsItemAlreadyClaimed = 1683,
607
+ DestinyClaimsNoInventorySpace = 1684,
608
+ DestinyClaimsRequiredLevelNotMet = 1685,
609
+ DestinyClaimsInvalidState = 1686,
610
+ DestinyNotEnoughRoomForMultipleRewards = 1687,
611
+ DestinyDirectBabelClientTimeout = 1688,
612
+ FbInvalidRequest = 1800,
613
+ FbRedirectMismatch = 1801,
614
+ FbAccessDenied = 1802,
615
+ FbUnsupportedResponseType = 1803,
616
+ FbInvalidScope = 1804,
617
+ FbUnsupportedGrantType = 1805,
618
+ FbInvalidGrant = 1806,
619
+ InvitationExpired = 1900,
620
+ InvitationUnknownType = 1901,
621
+ InvitationInvalidResponseStatus = 1902,
622
+ InvitationInvalidType = 1903,
623
+ InvitationAlreadyPending = 1904,
624
+ InvitationInsufficientPermission = 1905,
625
+ InvitationInvalidCode = 1906,
626
+ InvitationInvalidTargetState = 1907,
627
+ InvitationCannotBeReactivated = 1908,
628
+ InvitationNoRecipients = 1910,
629
+ InvitationGroupCannotSendToSelf = 1911,
630
+ InvitationTooManyRecipients = 1912,
631
+ InvitationInvalid = 1913,
632
+ InvitationNotFound = 1914,
633
+ TokenInvalid = 2000,
634
+ TokenBadFormat = 2001,
635
+ TokenAlreadyClaimed = 2002,
636
+ TokenAlreadyClaimedSelf = 2003,
637
+ TokenThrottling = 2004,
638
+ TokenUnknownRedemptionFailure = 2005,
639
+ TokenPurchaseClaimFailedAfterTokenClaimed = 2006,
640
+ TokenUserAlreadyOwnsOffer = 2007,
641
+ TokenInvalidOfferKey = 2008,
642
+ TokenEmailNotValidated = 2009,
643
+ TokenProvisioningBadVendorOrOffer = 2010,
644
+ TokenPurchaseHistoryUnknownError = 2011,
645
+ TokenThrottleStateUnknownError = 2012,
646
+ TokenUserAgeNotVerified = 2013,
647
+ TokenExceededOfferMaximum = 2014,
648
+ TokenNoAvailableUnlocks = 2015,
649
+ TokenMarketplaceInvalidPlatform = 2016,
650
+ TokenNoMarketplaceCodesFound = 2017,
651
+ TokenOfferNotAvailableForRedemption = 2018,
652
+ TokenUnlockPartialFailure = 2019,
653
+ TokenMarketplaceInvalidRegion = 2020,
654
+ TokenOfferExpired = 2021,
655
+ RAFExceededMaximumReferrals = 2022,
656
+ RAFDuplicateBond = 2023,
657
+ RAFNoValidVeteranDestinyMembershipsFound = 2024,
658
+ RAFNotAValidVeteranUser = 2025,
659
+ RAFCodeAlreadyClaimedOrNotFound = 2026,
660
+ RAFMismatchedDestinyMembershipType = 2027,
661
+ RAFUnableToAccessPurchaseHistory = 2028,
662
+ RAFUnableToCreateBond = 2029,
663
+ RAFUnableToFindBond = 2030,
664
+ RAFUnableToRemoveBond = 2031,
665
+ RAFCannotBondToSelf = 2032,
666
+ RAFInvalidPlatform = 2033,
667
+ RAFGenerateThrottled = 2034,
668
+ RAFUnableToCreateBondVersionMismatch = 2035,
669
+ RAFUnableToRemoveBondVersionMismatch = 2036,
670
+ RAFRedeemThrottled = 2037,
671
+ NoAvailableDiscountCode = 2038,
672
+ DiscountAlreadyClaimed = 2039,
673
+ DiscountClaimFailure = 2040,
674
+ DiscountConfigurationFailure = 2041,
675
+ DiscountGenerationFailure = 2042,
676
+ DiscountAlreadyExists = 2043,
677
+ TokenRequiresCredentialXuid = 2044,
678
+ TokenRequiresCredentialPsnid = 2045,
679
+ OfferRequired = 2046,
680
+ UnknownEververseHistoryError = 2047,
681
+ MissingEververseHistoryError = 2048,
682
+ BungieRewardEmailStateInvalid = 2049,
683
+ BungieRewardNotYetClaimable = 2050,
684
+ MissingOfferConfig = 2051,
685
+ RAFQuestEntitlementRequiresBnet = 2052,
686
+ RAFQuestEntitlementTransportFailure = 2053,
687
+ RAFQuestEntitlementUnknownFailure = 2054,
688
+ RAFVeteranRewardUnknownFailure = 2055,
689
+ RAFTooEarlyToCancelBond = 2056,
690
+ LoyaltyRewardAlreadyRedeemed = 2057,
691
+ UnclaimedLoyaltyRewardEntryNotFound = 2058,
692
+ PartnerOfferPartialFailure = 2059,
693
+ PartnerOfferAlreadyClaimed = 2060,
694
+ PartnerOfferSkuNotFound = 2061,
695
+ PartnerOfferSkuExpired = 2062,
696
+ PartnerOfferPermissionFailure = 2063,
697
+ PartnerOfferNoDestinyAccount = 2064,
698
+ PartnerOfferApplyDataNotFound = 2065,
699
+ ApiExceededMaxKeys = 2100,
700
+ ApiInvalidOrExpiredKey = 2101,
701
+ ApiKeyMissingFromRequest = 2102,
702
+ ApplicationDisabled = 2103,
703
+ ApplicationExceededMax = 2104,
704
+ ApplicationDisallowedByScope = 2105,
705
+ AuthorizationCodeInvalid = 2106,
706
+ OriginHeaderDoesNotMatchKey = 2107,
707
+ AccessNotPermittedByApplicationScope = 2108,
708
+ ApplicationNameIsTaken = 2109,
709
+ RefreshTokenNotYetValid = 2110,
710
+ AccessTokenHasExpired = 2111,
711
+ ApplicationTokenFormatNotValid = 2112,
712
+ ApplicationNotConfiguredForBungieAuth = 2113,
713
+ ApplicationNotConfiguredForOAuth = 2114,
714
+ OAuthAccessTokenExpired = 2115,
715
+ ApplicationTokenKeyIdDoesNotExist = 2116,
716
+ ProvidedTokenNotValidRefreshToken = 2117,
717
+ RefreshTokenExpired = 2118,
718
+ AuthorizationRecordInvalid = 2119,
719
+ TokenPreviouslyRevoked = 2120,
720
+ TokenInvalidMembership = 2121,
721
+ AuthorizationCodeStale = 2122,
722
+ AuthorizationRecordExpired = 2123,
723
+ AuthorizationRecordRevoked = 2124,
724
+ AuthorizationRecordInactiveApiKey = 2125,
725
+ AuthorizationRecordApiKeyMatching = 2126,
726
+ PartnershipInvalidType = 2200,
727
+ PartnershipValidationError = 2201,
728
+ PartnershipValidationTimeout = 2202,
729
+ PartnershipAccessFailure = 2203,
730
+ PartnershipAccountInvalid = 2204,
731
+ PartnershipGetAccountInfoFailure = 2205,
732
+ PartnershipDisabled = 2206,
733
+ PartnershipAlreadyExists = 2207,
734
+ CommunityStreamingUnavailable = 2300,
735
+ TwitchNotLinked = 2500,
736
+ TwitchAccountNotFound = 2501,
737
+ TwitchCouldNotLoadDestinyInfo = 2502,
738
+ TwitchCouldNotRegisterUser = 2503,
739
+ TwitchCouldNotUnregisterUser = 2504,
740
+ TwitchRequiresRelinking = 2505,
741
+ TwitchNoPlatformChosen = 2506,
742
+ TwitchDropHistoryPermissionFailure = 2507,
743
+ TwitchDropsRepairPartialFailure = 2508,
744
+ TwitchNotAuthorized = 2509,
745
+ TwitchUnknownAuthorizationFailure = 2510,
746
+ TrendingCategoryNotFound = 2600,
747
+ TrendingEntryTypeNotSupported = 2601,
748
+ ReportOffenderNotInPgcr = 2700,
749
+ ReportRequestorNotInPgcr = 2701,
750
+ ReportSubmissionFailed = 2702,
751
+ ReportCannotReportSelf = 2703,
752
+ AwaTypeDisabled = 2800,
753
+ AwaTooManyPendingRequests = 2801,
754
+ AwaTheFeatureRequiresARegisteredDevice = 2802,
755
+ AwaRequestWasUnansweredForTooLong = 2803,
756
+ AwaWriteRequestMissingOrInvalidToken = 2804,
757
+ AwaWriteRequestTokenExpired = 2805,
758
+ AwaWriteRequestTokenUsageLimitReached = 2806,
759
+ SteamWebApiError = 2900,
760
+ SteamWebNullResponseError = 2901,
761
+ SteamAccountRequired = 2902,
762
+ SteamNotAuthorized = 2903,
763
+ ClanFireteamNotFound = 3000,
764
+ ClanFireteamAddNoAlternatesForImmediate = 3001,
765
+ ClanFireteamFull = 3002,
766
+ ClanFireteamAltFull = 3003,
767
+ ClanFireteamBlocked = 3004,
768
+ ClanFireteamPlayerEntryNotFound = 3005,
769
+ ClanFireteamPermissions = 3006,
770
+ ClanFireteamInvalidPlatform = 3007,
771
+ ClanFireteamCannotAdjustSlotCount = 3008,
772
+ ClanFireteamInvalidPlayerPlatform = 3009,
773
+ ClanFireteamNotReadyForInvitesNotEnoughPlayers = 3010,
774
+ ClanFireteamGameInvitesNotSupportForPlatform = 3011,
775
+ ClanFireteamPlatformInvitePreqFailure = 3012,
776
+ ClanFireteamInvalidAuthContext = 3013,
777
+ ClanFireteamInvalidAuthProviderPsn = 3014,
778
+ ClanFireteamPs4SessionFull = 3015,
779
+ ClanFireteamInvalidAuthToken = 3016,
780
+ ClanFireteamScheduledFireteamsDisabled = 3017,
781
+ ClanFireteamNotReadyForInvitesNotScheduledYet = 3018,
782
+ ClanFireteamNotReadyForInvitesClosed = 3019,
783
+ ClanFireteamScheduledFireteamsRequireAdminPermissions = 3020,
784
+ ClanFireteamNonPublicMustHaveClan = 3021,
785
+ ClanFireteamPublicCreationRestriction = 3022,
786
+ ClanFireteamAlreadyJoined = 3023,
787
+ ClanFireteamScheduledFireteamsRange = 3024,
788
+ ClanFireteamPublicCreationRestrictionExtended = 3025,
789
+ ClanFireteamExpired = 3026,
790
+ ClanFireteamInvalidAuthProvider = 3027,
791
+ ClanFireteamInvalidAuthProviderXuid = 3028,
792
+ ClanFireteamThrottle = 3029,
793
+ ClanFireteamTooManyOpenScheduledFireteams = 3030,
794
+ ClanFireteamCannotReopenScheduledFireteams = 3031,
795
+ ClanFireteamJoinNoAccountSpecified = 3032,
796
+ ClanFireteamMinDestiny2ProgressForCreation = 3033,
797
+ ClanFireteamMinDestiny2ProgressForJoin = 3034,
798
+ ClanFireteamSMSOrPurchaseRequiredCreate = 3035,
799
+ ClanFireteamPurchaseRequiredCreate = 3036,
800
+ ClanFireteamSMSOrPurchaseRequiredJoin = 3037,
801
+ ClanFireteamPurchaseRequiredJoin = 3038,
802
+ FireteamFinderInvalidMembershipType = 3100,
803
+ FireteamFinderInvalidMembershipId = 3101,
804
+ FireteamFinderInvalidCharacterId = 3102,
805
+ FireteamFinderInvalidListingOptions = 3103,
806
+ FireteamFinderInvalidRequestData = 3104,
807
+ FireteamFinderListingApplicationFailed = 3105,
808
+ FireteamFinderListingAutoJoinFailed = 3106,
809
+ FireteamFinderPlayerApplicationsParsingFailed = 3107,
810
+ FireteamFinderJoinLobbyHostFailed = 3108,
811
+ FireteamFinderPlayerNotInGame = 3109,
812
+ FireteamFinderActivationFailed = 3110,
813
+ FireteamFinderApplicationNotFound = 3111,
814
+ FireteamFinderUserAlreadyAppliedToListing = 3112,
815
+ FireteamFinderApplicationClosedForUpdates = 3113,
816
+ FireteamFinderListingAtMaxOpenApplicationsLimit = 3114,
817
+ FireteamFinderUserNotInApplication = 3115,
818
+ FireteamFinderApplicationUserAlreadyListingOwner = 3116,
819
+ FireteamFinderOfferNotFound = 3117,
820
+ FireteamFinderOfferClosedForUpdates = 3118,
821
+ FireteamFinderOfferUserNotTarget = 3119,
822
+ FireteamFinderLobbyNotFound = 3120,
823
+ FireteamFinderListingNotFound = 3121,
824
+ FireteamFinderLobbyFull = 3122,
825
+ FireteamFinderUserNotListingOwner = 3123,
826
+ FireteamFinderUserNotLobbyOwner = 3124,
827
+ FireteamFinderLobbyClosedForUpdates = 3125,
828
+ FireteamFinderUserNotInLobby = 3126,
829
+ FireteamFinderDisabledSettingsValue = 3127,
830
+ FireteamFinderOwnerInActiveLobby = 3128,
831
+ FireteamFinderApplicationClosedToOfflinePlayers = 3129,
832
+ FireteamFinderUserNotApplicationOwner = 3130,
833
+ FireteamFinderInviteValidationFailed = 3131,
834
+ FireteamFinderOwnerNotInGame = 3132,
835
+ FireteamFinderPlayerAtMaxLobbyLimit = 3133,
836
+ FireteamFinderLobbyTooFarInTheFuture = 3134,
837
+ FireteamFinderApplicantNotInGame = 3135,
838
+ FireteamFinderResponseUndefined = 3150,
839
+ FireteamFinderResponseMoved = 3151,
840
+ FireteamFinderResponseLoggingIn = 3152,
841
+ FireteamFinderResponseBadRequest = 3153,
842
+ FireteamFinderResponseUnauthorized = 3154,
843
+ FireteamFinderResponseForbidden = 3155,
844
+ FireteamFinderResponseNotFound = 3156,
845
+ FireteamFinderInternalServerError = 3157,
846
+ FireteamFinderServiceUnavailable = 3158,
847
+ FireteamFinderInternalServerErrorNonFatal = 3159,
848
+ CrossSaveOverriddenAccountNotFound = 3200,
849
+ CrossSaveTooManyOverriddenPlatforms = 3201,
850
+ CrossSaveNoOverriddenPlatforms = 3202,
851
+ CrossSavePrimaryAccountNotFound = 3203,
852
+ CrossSaveRequestInvalid = 3204,
853
+ CrossSaveBungieAccountValidationFailure = 3206,
854
+ CrossSaveOverriddenPlatformNotAllowed = 3207,
855
+ CrossSaveThresholdExceeded = 3208,
856
+ CrossSaveIncompatibleMembershipType = 3209,
857
+ CrossSaveCouldNotFindLinkedAccountForMembershipType = 3210,
858
+ CrossSaveCouldNotCreateDestinyProfileForMembershipType = 3211,
859
+ CrossSaveErrorCreatingDestinyProfileForMembershipType = 3212,
860
+ CrossSaveCannotOverrideSelf = 3213,
861
+ CrossSaveRecentSilverPurchase = 3214,
862
+ CrossSaveSilverBalanceNegative = 3215,
863
+ CrossSaveAccountNotAuthenticated = 3216,
864
+ ErrorOneAccountAlreadyActive = 3217,
865
+ ErrorOneAccountDestinyRestriction = 3218,
866
+ CrossSaveMustMigrateToSteam = 3219,
867
+ CrossSaveSteamAlreadyPaired = 3220,
868
+ CrossSaveCannotPairJustSteamAndBlizzard = 3221,
869
+ CrossSaveCannotPairSteamAloneBeforeShadowkeep = 3222,
870
+ AuthVerificationNotLinkedToAccount = 3300,
871
+ PCMigrationMissingBlizzard = 3400,
872
+ PCMigrationMissingSteam = 3401,
873
+ PCMigrationInvalidBlizzard = 3402,
874
+ PCMigrationInvalidSteam = 3403,
875
+ PCMigrationUnknownFailure = 3404,
876
+ PCMigrationUnknownException = 3405,
877
+ PCMigrationNotLinked = 3406,
878
+ PCMigrationAccountsAlreadyUsed = 3407,
879
+ PCMigrationStepFailed = 3408,
880
+ PCMigrationInvalidBlizzardCrossSaveState = 3409,
881
+ PCMigrationDestinationBanned = 3410,
882
+ PCMigrationDestinyFailure = 3411,
883
+ PCMigrationSilverTransferFailed = 3412,
884
+ PCMigrationEntitlementTransferFailed = 3413,
885
+ PCMigrationCannotStompClanFounder = 3414,
886
+ UnsupportedBrowser = 3500,
887
+ StadiaAccountRequired = 3600,
888
+ ErrorPhoneValidationTooManyUses = 3702,
889
+ ErrorPhoneValidationNoAssociatedPhone = 3703,
890
+ ErrorPhoneValidationCodeInvalid = 3705,
891
+ ErrorPhoneValidationBanned = 3706,
892
+ ErrorPhoneValidationCodeTooRecentlySent = 3707,
893
+ ErrorPhoneValidationCodeExpired = 3708,
894
+ ErrorPhoneValidationInvalidNumberType = 3709,
895
+ ErrorPhoneValidationCodeTooRecentlyChecked = 3710,
896
+ ErrorPhoneValidationRecentlyPlayedDestiny2AccountRequired = 3711,
897
+ ApplePushErrorUnknown = 3800,
898
+ ApplePushErrorNull = 3801,
899
+ ApplePushErrorTimeout = 3802,
900
+ ApplePushBadRequest = 3803,
901
+ ApplePushFailedAuth = 3804,
902
+ ApplePushThrottled = 3805,
903
+ ApplePushServiceUnavailable = 3806,
904
+ NotAnImageOrVideo = 3807,
905
+ ErrorBungieFriendsBlockFailed = 3900,
906
+ ErrorBungieFriendsAutoReject = 3901,
907
+ ErrorBungieFriendsNoRequestFound = 3902,
908
+ ErrorBungieFriendsAlreadyFriends = 3903,
909
+ ErrorBungieFriendsUnableToRemoveRequest = 3904,
910
+ ErrorBungieFriendsUnableToRemove = 3905,
911
+ ErrorBungieFriendsIdenticalSourceTarget = 3906,
912
+ ErrorBungieFriendsSelf = 3907,
913
+ ErrorBungieBlockSelf = 3908,
914
+ ErrorBungieFriendsListFull = 3910,
915
+ ErrorBungieBlockListFull = 3911,
916
+ ErrorBungieFriendNotFound = 3912,
917
+ ErrorBungieFriendInvalidMembershipType = 3913,
918
+ ErrorEgsUnknown = 4000,
919
+ ErrorEgsBadRequest = 4001,
920
+ ErrorEgsNotAuthorized = 4002,
921
+ ErrorEgsForbidden = 4003,
922
+ ErrorEgsAccountNotFound = 4004,
923
+ ErrorEgsWebException = 4005,
924
+ ErrorEgsUnavailable = 4006,
925
+ ErrorEgsJwksMissing = 4007,
926
+ ErrorEgsJwtMalformedHeader = 4008,
927
+ ErrorEgsJwtMalformedPayload = 4009,
928
+ MarathonInternalError = 5000,
929
+ MarathonBabelConnectionTimeout = 5001,
930
+ MarathonServiceFailure = 5002,
931
+ MarathonInvalidRequest = 5003,
932
+ MarathonUnexpectedError = 5004,
933
+ MarathonAccountNotFound = 5005,
934
+ MarathonThrottledByGameServer = 5006,
935
+ MarathonErrorDeserializationFailure = 5007
936
+ }
937
+ /**
938
+ * The types of membership the Accounts system supports. This is the external
939
+ * facing enum used in place of the internal-only Bungie.SharedDefinitions.
940
+ * MembershipType.
941
+ */
942
+ export declare const enum BungieMembershipType {
943
+ None = 0,
944
+ TigerXbox = 1,
945
+ TigerPsn = 2,
946
+ TigerSteam = 3,
947
+ TigerBlizzard = 4,
948
+ TigerStadia = 5,
949
+ TigerEgs = 6,
950
+ TigerDemon = 10,
951
+ GoliathGame = 20,
952
+ BungieNext = 254,
953
+ /**
954
+ * "All" is only valid for searching capabilities: you need to pass the actual
955
+ * matching BungieMembershipType for any query where you pass a known membershipId.
956
+ */
957
+ All = -1
958
+ }
959
+ export interface PagedQuery {
960
+ readonly itemsPerPage: number;
961
+ readonly currentPage: number;
962
+ readonly requestContinuationToken: string;
963
+ }
964
+ export interface DateRange {
965
+ readonly start: string;
966
+ readonly end: string;
967
+ }
968
+ export interface InterpolationPoint {
969
+ readonly value: number;
970
+ readonly weight: number;
971
+ }
972
+ export interface InterpolationPointFloat {
973
+ readonly value: number;
974
+ readonly weight: number;
975
+ }
976
+ export interface HyperlinkReference {
977
+ readonly title: string;
978
+ readonly url: string;
979
+ }