@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.
- package/.babelrc +4 -0
- package/.gitattributes +2 -0
- package/.github/workflows/pr-build.yml +50 -0
- package/.github/workflows/publish.yml +48 -0
- package/.github/workflows/update.yml +55 -0
- package/.gitmodules +3 -0
- package/.nvmrc +1 -0
- package/.prettierrc +10 -0
- package/.vscode/extensions.json +8 -0
- package/.vscode/settings.json +7 -0
- package/LICENSE.md +21 -0
- package/README.md +97 -0
- package/api-src/.github/workflows/close-inactive.yml +24 -0
- package/api-src/CHANGELOG.md +271 -0
- package/api-src/CONTRIBUTING.md +19 -0
- package/api-src/LICENSE +28 -0
- package/api-src/README.md +378 -0
- package/api-src/openapi-2.json +44518 -0
- package/api-src/openapi.json +46467 -0
- package/build.sh +30 -0
- package/bungie-api-LICENSE +29 -0
- package/generated-src/app/api.ts +50 -0
- package/generated-src/app/index.ts +17 -0
- package/generated-src/app/interfaces.ts +119 -0
- package/generated-src/common.ts +985 -0
- package/generated-src/communitycontent/api.ts +36 -0
- package/generated-src/communitycontent/index.ts +16 -0
- package/generated-src/content/api.ts +142 -0
- package/generated-src/content/index.ts +17 -0
- package/generated-src/content/interfaces.ts +225 -0
- package/generated-src/core/api.ts +57 -0
- package/generated-src/core/index.ts +17 -0
- package/generated-src/core/interfaces.ts +151 -0
- package/generated-src/destiny2/api.ts +821 -0
- package/generated-src/destiny2/index.ts +17 -0
- package/generated-src/destiny2/interfaces.ts +15714 -0
- package/generated-src/destiny2/manifest.ts +341 -0
- package/generated-src/fireteam/api.ts +151 -0
- package/generated-src/fireteam/index.ts +17 -0
- package/generated-src/fireteam/interfaces.ts +183 -0
- package/generated-src/forum/api.ts +197 -0
- package/generated-src/forum/index.ts +17 -0
- package/generated-src/forum/interfaces.ts +171 -0
- package/generated-src/groupv2/api.ts +515 -0
- package/generated-src/groupv2/index.ts +17 -0
- package/generated-src/groupv2/interfaces.ts +773 -0
- package/generated-src/http.ts +52 -0
- package/generated-src/index.ts +37 -0
- package/generated-src/package.json.notyet +99 -0
- package/generated-src/platform.ts +39 -0
- package/generated-src/social/api.ts +115 -0
- package/generated-src/social/index.ts +17 -0
- package/generated-src/social/interfaces.ts +89 -0
- package/generated-src/tokens/api.ts +126 -0
- package/generated-src/tokens/index.ts +17 -0
- package/generated-src/tokens/interfaces.ts +102 -0
- package/generated-src/trending/api.ts +62 -0
- package/generated-src/trending/index.ts +17 -0
- package/generated-src/trending/interfaces.ts +188 -0
- package/generated-src/user/api.ts +130 -0
- package/generated-src/user/index.ts +17 -0
- package/generated-src/user/interfaces.ts +338 -0
- package/generator/generate-api.ts +254 -0
- package/generator/generate-common.ts +123 -0
- package/generator/generate-index.ts +45 -0
- package/generator/generate-interfaces.ts +173 -0
- package/generator/generate-manifest.ts +217 -0
- package/generator/generate-package-json.ts +45 -0
- package/generator/generate.ts +54 -0
- package/generator/http.ts +52 -0
- package/generator/missing-props.ts +11 -0
- package/generator/type-index.ts +184 -0
- package/generator/util.ts +131 -0
- package/lib/README.md +97 -0
- package/lib/app/api.d.ts +36 -0
- package/lib/app/api.js +15 -0
- package/lib/app/index.d.ts +16 -0
- package/lib/app/index.js +5 -0
- package/lib/app/interfaces.d.ts +108 -0
- package/lib/app/interfaces.js +17 -0
- package/lib/bungie-api-LICENSE +29 -0
- package/lib/common.d.ts +979 -0
- package/lib/common.js +923 -0
- package/lib/communitycontent/api.d.ts +31 -0
- package/lib/communitycontent/api.js +7 -0
- package/lib/communitycontent/index.d.ts +15 -0
- package/lib/communitycontent/index.js +4 -0
- package/lib/content/api.d.ts +111 -0
- package/lib/content/api.js +75 -0
- package/lib/content/index.d.ts +16 -0
- package/lib/content/index.js +5 -0
- package/lib/content/interfaces.d.ts +214 -0
- package/lib/content/interfaces.js +17 -0
- package/lib/core/api.d.ts +45 -0
- package/lib/core/api.js +18 -0
- package/lib/core/index.d.ts +16 -0
- package/lib/core/index.js +5 -0
- package/lib/core/interfaces.d.ts +144 -0
- package/lib/core/interfaces.js +10 -0
- package/lib/destiny2/api.d.ts +765 -0
- package/lib/destiny2/api.js +295 -0
- package/lib/destiny2/index.d.ts +16 -0
- package/lib/destiny2/index.js +5 -0
- package/lib/destiny2/interfaces.d.ts +15340 -0
- package/lib/destiny2/interfaces.js +826 -0
- package/lib/destiny2/manifest.d.ts +465 -0
- package/lib/destiny2/manifest.js +56 -0
- package/lib/fireteam/api.d.ts +131 -0
- package/lib/fireteam/api.js +50 -0
- package/lib/fireteam/index.d.ts +16 -0
- package/lib/fireteam/index.js +5 -0
- package/lib/fireteam/interfaces.d.ts +166 -0
- package/lib/fireteam/interfaces.js +33 -0
- package/lib/forum/api.d.ts +165 -0
- package/lib/forum/api.js +79 -0
- package/lib/forum/index.d.ts +16 -0
- package/lib/forum/index.js +5 -0
- package/lib/forum/interfaces.d.ts +147 -0
- package/lib/forum/interfaces.js +61 -0
- package/lib/groupv2/api.d.ts +484 -0
- package/lib/groupv2/api.js +154 -0
- package/lib/groupv2/index.d.ts +16 -0
- package/lib/groupv2/index.js +5 -0
- package/lib/groupv2/interfaces.d.ts +718 -0
- package/lib/groupv2/interfaces.js +100 -0
- package/lib/http.d.ts +18 -0
- package/lib/http.js +20 -0
- package/lib/index.d.ts +35 -0
- package/lib/index.js +24 -0
- package/lib/package.json +99 -0
- package/lib/platform.d.ts +36 -0
- package/lib/platform.js +9 -0
- package/lib/social/api.d.ts +101 -0
- package/lib/social/api.js +26 -0
- package/lib/social/index.d.ts +16 -0
- package/lib/social/index.js +5 -0
- package/lib/social/interfaces.d.ts +75 -0
- package/lib/social/interfaces.js +22 -0
- package/lib/tokens/api.d.ts +120 -0
- package/lib/tokens/api.js +38 -0
- package/lib/tokens/index.d.ts +16 -0
- package/lib/tokens/index.js +5 -0
- package/lib/tokens/interfaces.d.ts +88 -0
- package/lib/tokens/interfaces.js +5 -0
- package/lib/trending/api.d.ts +53 -0
- package/lib/trending/api.js +11 -0
- package/lib/trending/index.d.ts +16 -0
- package/lib/trending/index.js +5 -0
- package/lib/trending/interfaces.d.ts +171 -0
- package/lib/trending/interfaces.js +14 -0
- package/lib/user/api.d.ts +117 -0
- package/lib/user/api.js +35 -0
- package/lib/user/index.d.ts +16 -0
- package/lib/user/index.js +5 -0
- package/lib/user/interfaces.d.ts +320 -0
- package/lib/user/interfaces.js +28 -0
- package/package.json +60 -0
- package/test-consumer.ts +5 -0
- package/tests/__snapshots__/config-builders.test.ts.snap +343 -0
- package/tests/config-builders.test.ts +145 -0
- package/tests/manifest-fetcher.test.ts +43 -0
- package/tests/test-manifest.js +69 -0
- package/tsconfig-package.json +14 -0
- package/tsconfig.json +17 -0
|
@@ -0,0 +1,144 @@
|
|
|
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
|
+
import { EmailSettings } from '../user/interfaces.js';
|
|
13
|
+
export interface CoreSettingsConfiguration {
|
|
14
|
+
readonly environment: string;
|
|
15
|
+
readonly systems: {
|
|
16
|
+
[key: string]: CoreSystem;
|
|
17
|
+
};
|
|
18
|
+
readonly ignoreReasons: CoreSetting[];
|
|
19
|
+
readonly forumCategories: CoreSetting[];
|
|
20
|
+
readonly groupAvatars: CoreSetting[];
|
|
21
|
+
readonly defaultGroupTheme: CoreSetting;
|
|
22
|
+
readonly destinyMembershipTypes: CoreSetting[];
|
|
23
|
+
readonly recruitmentPlatformTags: CoreSetting[];
|
|
24
|
+
readonly recruitmentMiscTags: CoreSetting[];
|
|
25
|
+
readonly recruitmentActivities: CoreSetting[];
|
|
26
|
+
readonly userContentLocales: CoreSetting[];
|
|
27
|
+
readonly systemContentLocales: CoreSetting[];
|
|
28
|
+
readonly clanBannerDecals: CoreSetting[];
|
|
29
|
+
readonly clanBannerDecalColors: CoreSetting[];
|
|
30
|
+
readonly clanBannerGonfalons: CoreSetting[];
|
|
31
|
+
readonly clanBannerGonfalonColors: CoreSetting[];
|
|
32
|
+
readonly clanBannerGonfalonDetails: CoreSetting[];
|
|
33
|
+
readonly clanBannerGonfalonDetailColors: CoreSetting[];
|
|
34
|
+
readonly clanBannerStandards: CoreSetting[];
|
|
35
|
+
readonly destiny2CoreSettings: Destiny2CoreSettings;
|
|
36
|
+
readonly emailSettings: EmailSettings;
|
|
37
|
+
readonly fireteamActivities: CoreSetting[];
|
|
38
|
+
}
|
|
39
|
+
export interface CoreSystem {
|
|
40
|
+
readonly enabled: boolean;
|
|
41
|
+
readonly parameters: {
|
|
42
|
+
[key: string]: string;
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
export interface CoreSetting {
|
|
46
|
+
readonly identifier: string;
|
|
47
|
+
readonly isDefault: boolean;
|
|
48
|
+
readonly displayName: string;
|
|
49
|
+
readonly summary: string;
|
|
50
|
+
readonly imagePath: string;
|
|
51
|
+
readonly childSettings: CoreSetting[];
|
|
52
|
+
}
|
|
53
|
+
export interface Destiny2CoreSettings {
|
|
54
|
+
/** Mapped to DestinyPresentationNodeDefinition in the manifest. */
|
|
55
|
+
readonly collectionRootNode: number;
|
|
56
|
+
/** Mapped to DestinyPresentationNodeDefinition in the manifest. */
|
|
57
|
+
readonly badgesRootNode: number;
|
|
58
|
+
/** Mapped to DestinyPresentationNodeDefinition in the manifest. */
|
|
59
|
+
readonly recordsRootNode: number;
|
|
60
|
+
/** Mapped to DestinyPresentationNodeDefinition in the manifest. */
|
|
61
|
+
readonly medalsRootNode: number;
|
|
62
|
+
/** Mapped to DestinyPresentationNodeDefinition in the manifest. */
|
|
63
|
+
readonly metricsRootNode: number;
|
|
64
|
+
/** Mapped to DestinyPresentationNodeDefinition in the manifest. */
|
|
65
|
+
readonly activeTriumphsRootNodeHash: number;
|
|
66
|
+
/** Mapped to DestinyPresentationNodeDefinition in the manifest. */
|
|
67
|
+
readonly activeSealsRootNodeHash: number;
|
|
68
|
+
/** Mapped to DestinyPresentationNodeDefinition in the manifest. */
|
|
69
|
+
readonly legacyTriumphsRootNodeHash: number;
|
|
70
|
+
/** Mapped to DestinyPresentationNodeDefinition in the manifest. */
|
|
71
|
+
readonly legacySealsRootNodeHash: number;
|
|
72
|
+
/** Mapped to DestinyPresentationNodeDefinition in the manifest. */
|
|
73
|
+
readonly medalsRootNodeHash: number;
|
|
74
|
+
/** Mapped to DestinyPresentationNodeDefinition in the manifest. */
|
|
75
|
+
readonly exoticCatalystsRootNodeHash: number;
|
|
76
|
+
/** Mapped to DestinyPresentationNodeDefinition in the manifest. */
|
|
77
|
+
readonly loreRootNodeHash: number;
|
|
78
|
+
/** Mapped to DestinyPresentationNodeDefinition in the manifest. */
|
|
79
|
+
readonly craftingRootNodeHash: number;
|
|
80
|
+
/** Mapped to DestinyGlobalConstantsDefinition in the manifest. */
|
|
81
|
+
readonly globalConstantsHash: number;
|
|
82
|
+
/** Mapped to DestinyLoadoutConstantsDefinition in the manifest. */
|
|
83
|
+
readonly loadoutConstantsHash: number;
|
|
84
|
+
/** Mapped to DestinyGuardianRankConstantsDefinition in the manifest. */
|
|
85
|
+
readonly guardianRankConstantsHash: number;
|
|
86
|
+
/** Mapped to DestinyFireteamFinderConstantsDefinition in the manifest. */
|
|
87
|
+
readonly fireteamFinderConstantsHash: number;
|
|
88
|
+
/** Mapped to DestinyInventoryItemConstantsDefinition in the manifest. */
|
|
89
|
+
readonly inventoryItemConstantsHash: number;
|
|
90
|
+
/** Mapped to DestinyItemFilterDefinition in the manifest. */
|
|
91
|
+
readonly featuredItemsListHash: number;
|
|
92
|
+
/** Mapped to DestinyPlugSetDefinition in the manifest. */
|
|
93
|
+
readonly armorArchetypePlugSetHash: number;
|
|
94
|
+
/** Mapped to DestinyEventCardDefinition in the manifest. */
|
|
95
|
+
readonly seasonalHubEventCardHash: number;
|
|
96
|
+
/** Mapped to DestinyPresentationNodeDefinition in the manifest. */
|
|
97
|
+
readonly guardianRanksRootNodeHash: number;
|
|
98
|
+
/** Mapped to DestinyProgressionDefinition in the manifest. */
|
|
99
|
+
readonly currentRankProgressionHashes: number[];
|
|
100
|
+
/** Mapped to DestinyInventoryItemDefinition in the manifest. */
|
|
101
|
+
readonly insertPlugFreeProtectedPlugItemHashes: number[];
|
|
102
|
+
/** Mapped to DestinySocketTypeDefinition in the manifest. */
|
|
103
|
+
readonly insertPlugFreeBlockedSocketTypeHashes: number[];
|
|
104
|
+
/** Mapped to DestinyFireteamFinderActivityGraphDefinition in the manifest. */
|
|
105
|
+
readonly enabledFireteamFinderActivityGraphHashes: number[];
|
|
106
|
+
readonly undiscoveredCollectibleImage: string;
|
|
107
|
+
readonly ammoTypeHeavyIcon: string;
|
|
108
|
+
readonly ammoTypeSpecialIcon: string;
|
|
109
|
+
readonly ammoTypePrimaryIcon: string;
|
|
110
|
+
/** Mapped to DestinyVendorDefinition in the manifest. */
|
|
111
|
+
readonly currentSeasonalArtifactHash: number;
|
|
112
|
+
/** Mapped to DestinySeasonDefinition in the manifest. */
|
|
113
|
+
readonly currentSeasonHash?: number;
|
|
114
|
+
/** Mapped to DestinySeasonPassDefinition in the manifest. */
|
|
115
|
+
readonly currentSeasonPassHash?: number;
|
|
116
|
+
/** Mapped to DestinyPresentationNodeDefinition in the manifest. */
|
|
117
|
+
readonly seasonalChallengesPresentationNodeHash?: number;
|
|
118
|
+
/** Mapped to DestinySeasonDefinition in the manifest. */
|
|
119
|
+
readonly futureSeasonHashes: number[];
|
|
120
|
+
/** Mapped to DestinySeasonDefinition in the manifest. */
|
|
121
|
+
readonly pastSeasonHashes: number[];
|
|
122
|
+
}
|
|
123
|
+
export interface GlobalAlert {
|
|
124
|
+
readonly AlertKey: string;
|
|
125
|
+
readonly AlertHtml: string;
|
|
126
|
+
readonly AlertTimestamp: string;
|
|
127
|
+
readonly AlertLink: string;
|
|
128
|
+
readonly AlertLevel: GlobalAlertLevel;
|
|
129
|
+
readonly AlertType: GlobalAlertType;
|
|
130
|
+
readonly StreamInfo: StreamInfo;
|
|
131
|
+
}
|
|
132
|
+
export declare const enum GlobalAlertLevel {
|
|
133
|
+
Unknown = 0,
|
|
134
|
+
Blue = 1,
|
|
135
|
+
Yellow = 2,
|
|
136
|
+
Red = 3,
|
|
137
|
+
}
|
|
138
|
+
export declare const enum GlobalAlertType {
|
|
139
|
+
GlobalAlert = 0,
|
|
140
|
+
StreamingAlert = 1,
|
|
141
|
+
}
|
|
142
|
+
export interface StreamInfo {
|
|
143
|
+
readonly ChannelName: string;
|
|
144
|
+
}
|