@taskeren/bungie-api-ts 5.10.2 → 5.10.3
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/app/interfaces.d.ts +20 -17
- package/app/interfaces.js +3 -3
- package/common.d.ts +925 -923
- package/common.js +2 -2
- package/content/interfaces.d.ts +19 -17
- package/content/interfaces.js +1 -1
- package/core/interfaces.d.ts +12 -10
- package/core/interfaces.js +2 -2
- package/destiny2/interfaces.d.ts +1170 -1003
- package/destiny2/interfaces.js +109 -102
- package/fireteam/interfaces.d.ts +40 -33
- package/fireteam/interfaces.js +5 -5
- package/forum/interfaces.d.ts +75 -61
- package/forum/interfaces.js +9 -9
- package/groupv2/interfaces.d.ts +122 -100
- package/groupv2/interfaces.js +16 -16
- package/package.json +1 -1
- package/platform.d.ts +10 -9
- package/platform.js +1 -1
- package/social/interfaces.d.ts +28 -22
- package/social/interfaces.js +4 -4
- package/tokens/interfaces.d.ts +6 -5
- package/tokens/interfaces.js +1 -1
- package/trending/interfaces.d.ts +15 -14
- package/trending/interfaces.js +1 -1
- package/user/interfaces.d.ts +30 -28
- package/user/interfaces.js +2 -2
package/fireteam/interfaces.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export
|
|
1
|
+
export const FireteamDateRange = {
|
|
2
2
|
All: 0,
|
|
3
3
|
Now: 1,
|
|
4
4
|
TwentyFourHours: 2,
|
|
5
5
|
FortyEightHours: 3,
|
|
6
6
|
ThisWeek: 4,
|
|
7
7
|
};
|
|
8
|
-
export
|
|
8
|
+
export const FireteamPlatform = {
|
|
9
9
|
Any: 0,
|
|
10
10
|
Playstation4: 1,
|
|
11
11
|
XboxOne: 2,
|
|
@@ -14,17 +14,17 @@ export var FireteamPlatform = {
|
|
|
14
14
|
Stadia: 5,
|
|
15
15
|
Egs: 6,
|
|
16
16
|
};
|
|
17
|
-
export
|
|
17
|
+
export const FireteamPublicSearchOption = {
|
|
18
18
|
PublicAndPrivate: 0,
|
|
19
19
|
PublicOnly: 1,
|
|
20
20
|
PrivateOnly: 2,
|
|
21
21
|
};
|
|
22
|
-
export
|
|
22
|
+
export const FireteamSlotSearch = {
|
|
23
23
|
NoSlotRestriction: 0,
|
|
24
24
|
HasOpenPlayerSlots: 1,
|
|
25
25
|
HasOpenPlayerOrAltSlots: 2,
|
|
26
26
|
};
|
|
27
|
-
export
|
|
27
|
+
export const FireteamPlatformInviteResult = {
|
|
28
28
|
None: 0,
|
|
29
29
|
Success: 1,
|
|
30
30
|
AlreadyInFireteam: 2,
|
package/forum/interfaces.d.ts
CHANGED
|
@@ -17,38 +17,44 @@ import { PagedQuery } from '../common.js';
|
|
|
17
17
|
* This enum represents a set of flags - use bitwise operators to check which of
|
|
18
18
|
* these match your value.
|
|
19
19
|
*/
|
|
20
|
-
export declare const
|
|
21
|
-
None
|
|
22
|
-
Links
|
|
23
|
-
Questions
|
|
24
|
-
AnsweredQuestions
|
|
25
|
-
Media
|
|
26
|
-
TextOnly
|
|
27
|
-
Announcement
|
|
28
|
-
BungieOfficial
|
|
29
|
-
Polls
|
|
30
|
-
}
|
|
31
|
-
export
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
}
|
|
20
|
+
export declare const ForumTopicsCategoryFiltersEnum: {
|
|
21
|
+
readonly None: 0;
|
|
22
|
+
readonly Links: 1;
|
|
23
|
+
readonly Questions: 2;
|
|
24
|
+
readonly AnsweredQuestions: 4;
|
|
25
|
+
readonly Media: 8;
|
|
26
|
+
readonly TextOnly: 16;
|
|
27
|
+
readonly Announcement: 32;
|
|
28
|
+
readonly BungieOfficial: 64;
|
|
29
|
+
readonly Polls: 128;
|
|
30
|
+
};
|
|
31
|
+
export type ForumTopicsCategoryFiltersEnum =
|
|
32
|
+
(typeof ForumTopicsCategoryFiltersEnum)[keyof typeof ForumTopicsCategoryFiltersEnum];
|
|
33
|
+
export declare const ForumTopicsQuickDateEnum: {
|
|
34
|
+
readonly All: 0;
|
|
35
|
+
readonly LastYear: 1;
|
|
36
|
+
readonly LastMonth: 2;
|
|
37
|
+
readonly LastWeek: 3;
|
|
38
|
+
readonly LastDay: 4;
|
|
39
|
+
};
|
|
40
|
+
export type ForumTopicsQuickDateEnum =
|
|
41
|
+
(typeof ForumTopicsQuickDateEnum)[keyof typeof ForumTopicsQuickDateEnum];
|
|
42
|
+
export declare const ForumTopicsSortEnum: {
|
|
43
|
+
readonly Default: 0;
|
|
44
|
+
readonly LastReplied: 1;
|
|
45
|
+
readonly MostReplied: 2;
|
|
46
|
+
readonly Popularity: 3;
|
|
47
|
+
readonly Controversiality: 4;
|
|
48
|
+
readonly Liked: 5;
|
|
49
|
+
readonly HighestRated: 6;
|
|
50
|
+
readonly MostUpvoted: 7;
|
|
51
|
+
};
|
|
52
|
+
export type ForumTopicsSortEnum = (typeof ForumTopicsSortEnum)[keyof typeof ForumTopicsSortEnum];
|
|
53
|
+
export declare const ForumPostSortEnum: {
|
|
54
|
+
readonly Default: 0;
|
|
55
|
+
readonly OldestFirst: 1;
|
|
56
|
+
};
|
|
57
|
+
export type ForumPostSortEnum = (typeof ForumPostSortEnum)[keyof typeof ForumPostSortEnum];
|
|
52
58
|
export interface PostSearchResponse {
|
|
53
59
|
readonly relatedPosts: PostResponse[];
|
|
54
60
|
readonly authors: GeneralUser[];
|
|
@@ -92,20 +98,22 @@ export interface PostResponse {
|
|
|
92
98
|
readonly ignoreStatus: IgnoreResponse;
|
|
93
99
|
readonly locale: string;
|
|
94
100
|
}
|
|
95
|
-
export declare const
|
|
96
|
-
None
|
|
97
|
-
Image
|
|
98
|
-
Video
|
|
99
|
-
Youtube
|
|
100
|
-
}
|
|
101
|
-
export
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
101
|
+
export declare const ForumMediaType: {
|
|
102
|
+
readonly None: 0;
|
|
103
|
+
readonly Image: 1;
|
|
104
|
+
readonly Video: 2;
|
|
105
|
+
readonly Youtube: 3;
|
|
106
|
+
};
|
|
107
|
+
export type ForumMediaType = (typeof ForumMediaType)[keyof typeof ForumMediaType];
|
|
108
|
+
export declare const ForumPostPopularity: {
|
|
109
|
+
readonly Empty: 0;
|
|
110
|
+
readonly Default: 1;
|
|
111
|
+
readonly Discussed: 2;
|
|
112
|
+
readonly CoolStory: 3;
|
|
113
|
+
readonly HeatingUp: 4;
|
|
114
|
+
readonly Hot: 5;
|
|
115
|
+
};
|
|
116
|
+
export type ForumPostPopularity = (typeof ForumPostPopularity)[keyof typeof ForumPostPopularity];
|
|
109
117
|
export interface PollResponse {
|
|
110
118
|
readonly topicId: string;
|
|
111
119
|
readonly results: PollResult[];
|
|
@@ -130,18 +138,24 @@ export interface ForumRecruitmentDetail {
|
|
|
130
138
|
readonly Fireteam: GeneralUser[];
|
|
131
139
|
readonly kickedPlayerIds: string[];
|
|
132
140
|
}
|
|
133
|
-
export declare const
|
|
134
|
-
None
|
|
135
|
-
Casual
|
|
136
|
-
Professional
|
|
137
|
-
}
|
|
138
|
-
export
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
141
|
+
export declare const ForumRecruitmentIntensityLabel: {
|
|
142
|
+
readonly None: 0;
|
|
143
|
+
readonly Casual: 1;
|
|
144
|
+
readonly Professional: 2;
|
|
145
|
+
};
|
|
146
|
+
export type ForumRecruitmentIntensityLabel =
|
|
147
|
+
(typeof ForumRecruitmentIntensityLabel)[keyof typeof ForumRecruitmentIntensityLabel];
|
|
148
|
+
export declare const ForumRecruitmentToneLabel: {
|
|
149
|
+
readonly None: 0;
|
|
150
|
+
readonly FamilyFriendly: 1;
|
|
151
|
+
readonly Rowdy: 2;
|
|
152
|
+
};
|
|
153
|
+
export type ForumRecruitmentToneLabel =
|
|
154
|
+
(typeof ForumRecruitmentToneLabel)[keyof typeof ForumRecruitmentToneLabel];
|
|
155
|
+
export declare const CommunityContentSortMode: {
|
|
156
|
+
readonly Trending: 0;
|
|
157
|
+
readonly Latest: 1;
|
|
158
|
+
readonly HighestRated: 2;
|
|
159
|
+
};
|
|
160
|
+
export type CommunityContentSortMode =
|
|
161
|
+
(typeof CommunityContentSortMode)[keyof typeof CommunityContentSortMode];
|
package/forum/interfaces.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
1
|
+
export const ForumTopicsCategoryFiltersEnum = {
|
|
2
2
|
None: 0,
|
|
3
3
|
Links: 1,
|
|
4
4
|
Questions: 2,
|
|
@@ -9,14 +9,14 @@ export var ForumTopicsCategoryFiltersEnum = {
|
|
|
9
9
|
BungieOfficial: 64,
|
|
10
10
|
Polls: 128,
|
|
11
11
|
};
|
|
12
|
-
export
|
|
12
|
+
export const ForumTopicsQuickDateEnum = {
|
|
13
13
|
All: 0,
|
|
14
14
|
LastYear: 1,
|
|
15
15
|
LastMonth: 2,
|
|
16
16
|
LastWeek: 3,
|
|
17
17
|
LastDay: 4,
|
|
18
18
|
};
|
|
19
|
-
export
|
|
19
|
+
export const ForumTopicsSortEnum = {
|
|
20
20
|
Default: 0,
|
|
21
21
|
LastReplied: 1,
|
|
22
22
|
MostReplied: 2,
|
|
@@ -26,17 +26,17 @@ export var ForumTopicsSortEnum = {
|
|
|
26
26
|
HighestRated: 6,
|
|
27
27
|
MostUpvoted: 7,
|
|
28
28
|
};
|
|
29
|
-
export
|
|
29
|
+
export const ForumPostSortEnum = {
|
|
30
30
|
Default: 0,
|
|
31
31
|
OldestFirst: 1,
|
|
32
32
|
};
|
|
33
|
-
export
|
|
33
|
+
export const ForumMediaType = {
|
|
34
34
|
None: 0,
|
|
35
35
|
Image: 1,
|
|
36
36
|
Video: 2,
|
|
37
37
|
Youtube: 3,
|
|
38
38
|
};
|
|
39
|
-
export
|
|
39
|
+
export const ForumPostPopularity = {
|
|
40
40
|
Empty: 0,
|
|
41
41
|
Default: 1,
|
|
42
42
|
Discussed: 2,
|
|
@@ -44,17 +44,17 @@ export var ForumPostPopularity = {
|
|
|
44
44
|
HeatingUp: 4,
|
|
45
45
|
Hot: 5,
|
|
46
46
|
};
|
|
47
|
-
export
|
|
47
|
+
export const ForumRecruitmentIntensityLabel = {
|
|
48
48
|
None: 0,
|
|
49
49
|
Casual: 1,
|
|
50
50
|
Professional: 2,
|
|
51
51
|
};
|
|
52
|
-
export
|
|
52
|
+
export const ForumRecruitmentToneLabel = {
|
|
53
53
|
None: 0,
|
|
54
54
|
FamilyFriendly: 1,
|
|
55
55
|
Rowdy: 2,
|
|
56
56
|
};
|
|
57
|
-
export
|
|
57
|
+
export const CommunityContentSortMode = {
|
|
58
58
|
Trending: 0,
|
|
59
59
|
Latest: 1,
|
|
60
60
|
HighestRated: 2,
|
package/groupv2/interfaces.d.ts
CHANGED
|
@@ -119,29 +119,34 @@ export interface GroupV2 {
|
|
|
119
119
|
readonly remoteGroupId?: string;
|
|
120
120
|
readonly clanInfo: GroupV2ClanInfoAndInvestment;
|
|
121
121
|
}
|
|
122
|
-
export declare const
|
|
123
|
-
General
|
|
124
|
-
Clan
|
|
125
|
-
}
|
|
126
|
-
export
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
122
|
+
export declare const GroupType: {
|
|
123
|
+
readonly General: 0;
|
|
124
|
+
readonly Clan: 1;
|
|
125
|
+
};
|
|
126
|
+
export type GroupType = (typeof GroupType)[keyof typeof GroupType];
|
|
127
|
+
export declare const ChatSecuritySetting: {
|
|
128
|
+
readonly Group: 0;
|
|
129
|
+
readonly Admins: 1;
|
|
130
|
+
};
|
|
131
|
+
export type ChatSecuritySetting = (typeof ChatSecuritySetting)[keyof typeof ChatSecuritySetting];
|
|
132
|
+
export declare const GroupHomepage: {
|
|
133
|
+
readonly Wall: 0;
|
|
134
|
+
readonly Forum: 1;
|
|
135
|
+
readonly AllianceForum: 2;
|
|
136
|
+
};
|
|
137
|
+
export type GroupHomepage = (typeof GroupHomepage)[keyof typeof GroupHomepage];
|
|
138
|
+
export declare const MembershipOption: {
|
|
139
|
+
readonly Reviewed: 0;
|
|
140
|
+
readonly Open: 1;
|
|
141
|
+
readonly Closed: 2;
|
|
142
|
+
};
|
|
143
|
+
export type MembershipOption = (typeof MembershipOption)[keyof typeof MembershipOption];
|
|
144
|
+
export declare const GroupPostPublicity: {
|
|
145
|
+
readonly Public: 0;
|
|
146
|
+
readonly Alliance: 1;
|
|
147
|
+
readonly Private: 2;
|
|
148
|
+
};
|
|
149
|
+
export type GroupPostPublicity = (typeof GroupPostPublicity)[keyof typeof GroupPostPublicity];
|
|
145
150
|
export interface GroupFeatures {
|
|
146
151
|
readonly maximumMembers: number;
|
|
147
152
|
/**
|
|
@@ -209,25 +214,28 @@ export interface GroupFeatures {
|
|
|
209
214
|
* This enum represents a set of flags - use bitwise operators to check which of
|
|
210
215
|
* these match your value.
|
|
211
216
|
*/
|
|
212
|
-
export declare const
|
|
213
|
-
None
|
|
214
|
-
Leaderboards
|
|
215
|
-
Callsign
|
|
216
|
-
OptionalConversations
|
|
217
|
-
ClanBanner
|
|
218
|
-
D2InvestmentData
|
|
219
|
-
Tags
|
|
220
|
-
Alliances
|
|
221
|
-
}
|
|
217
|
+
export declare const Capabilities: {
|
|
218
|
+
readonly None: 0;
|
|
219
|
+
readonly Leaderboards: 1;
|
|
220
|
+
readonly Callsign: 2;
|
|
221
|
+
readonly OptionalConversations: 4;
|
|
222
|
+
readonly ClanBanner: 8;
|
|
223
|
+
readonly D2InvestmentData: 16;
|
|
224
|
+
readonly Tags: 32;
|
|
225
|
+
readonly Alliances: 64;
|
|
226
|
+
};
|
|
227
|
+
export type Capabilities = (typeof Capabilities)[keyof typeof Capabilities];
|
|
222
228
|
/**
|
|
223
229
|
* Used for setting the guided game permission level override (admins and founders
|
|
224
230
|
* can always host guided games).
|
|
225
231
|
*/
|
|
226
|
-
export declare const
|
|
227
|
-
None
|
|
228
|
-
Beginner
|
|
229
|
-
Member
|
|
230
|
-
}
|
|
232
|
+
export declare const HostGuidedGamesPermissionLevel: {
|
|
233
|
+
readonly None: 0;
|
|
234
|
+
readonly Beginner: 1;
|
|
235
|
+
readonly Member: 2;
|
|
236
|
+
};
|
|
237
|
+
export type HostGuidedGamesPermissionLevel =
|
|
238
|
+
(typeof HostGuidedGamesPermissionLevel)[keyof typeof HostGuidedGamesPermissionLevel];
|
|
231
239
|
/**
|
|
232
240
|
* The member levels used by all V2 Groups API. Individual group types use their
|
|
233
241
|
* own mappings in their native storage (general uses BnetDbGroupMemberType and D2
|
|
@@ -235,14 +243,16 @@ export declare const enum HostGuidedGamesPermissionLevel {
|
|
|
235
243
|
* api. These runtime values should NEVER be stored anywhere, so the values can be
|
|
236
244
|
* changed as necessary.
|
|
237
245
|
*/
|
|
238
|
-
export declare const
|
|
239
|
-
None
|
|
240
|
-
Beginner
|
|
241
|
-
Member
|
|
242
|
-
Admin
|
|
243
|
-
ActingFounder
|
|
244
|
-
Founder
|
|
245
|
-
}
|
|
246
|
+
export declare const RuntimeGroupMemberType: {
|
|
247
|
+
readonly None: 0;
|
|
248
|
+
readonly Beginner: 1;
|
|
249
|
+
readonly Member: 2;
|
|
250
|
+
readonly Admin: 3;
|
|
251
|
+
readonly ActingFounder: 4;
|
|
252
|
+
readonly Founder: 5;
|
|
253
|
+
};
|
|
254
|
+
export type RuntimeGroupMemberType =
|
|
255
|
+
(typeof RuntimeGroupMemberType)[keyof typeof RuntimeGroupMemberType];
|
|
246
256
|
/** The same as GroupV2ClanInfo, but includes any investment data. */
|
|
247
257
|
export interface GroupV2ClanInfoAndInvestment {
|
|
248
258
|
readonly d2ClanProgressions: {
|
|
@@ -269,11 +279,12 @@ export interface GroupMember {
|
|
|
269
279
|
readonly bungieNetUserInfo: UserInfoCard;
|
|
270
280
|
readonly joinDate: string;
|
|
271
281
|
}
|
|
272
|
-
export declare const
|
|
273
|
-
Unallied
|
|
274
|
-
Parent
|
|
275
|
-
Child
|
|
276
|
-
}
|
|
282
|
+
export declare const GroupAllianceStatus: {
|
|
283
|
+
readonly Unallied: 0;
|
|
284
|
+
readonly Parent: 1;
|
|
285
|
+
readonly Child: 2;
|
|
286
|
+
};
|
|
287
|
+
export type GroupAllianceStatus = (typeof GroupAllianceStatus)[keyof typeof GroupAllianceStatus];
|
|
277
288
|
export interface GroupPotentialMember {
|
|
278
289
|
readonly potentialStatus: GroupPotentialMemberStatus;
|
|
279
290
|
readonly groupId: string;
|
|
@@ -281,18 +292,21 @@ export interface GroupPotentialMember {
|
|
|
281
292
|
readonly bungieNetUserInfo: UserInfoCard;
|
|
282
293
|
readonly joinDate: string;
|
|
283
294
|
}
|
|
284
|
-
export declare const
|
|
285
|
-
None
|
|
286
|
-
Applicant
|
|
287
|
-
Invitee
|
|
288
|
-
}
|
|
289
|
-
export
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
295
|
+
export declare const GroupPotentialMemberStatus: {
|
|
296
|
+
readonly None: 0;
|
|
297
|
+
readonly Applicant: 1;
|
|
298
|
+
readonly Invitee: 2;
|
|
299
|
+
};
|
|
300
|
+
export type GroupPotentialMemberStatus =
|
|
301
|
+
(typeof GroupPotentialMemberStatus)[keyof typeof GroupPotentialMemberStatus];
|
|
302
|
+
export declare const GroupDateRange: {
|
|
303
|
+
readonly All: 0;
|
|
304
|
+
readonly PastDay: 1;
|
|
305
|
+
readonly PastWeek: 2;
|
|
306
|
+
readonly PastMonth: 3;
|
|
307
|
+
readonly PastYear: 4;
|
|
308
|
+
};
|
|
309
|
+
export type GroupDateRange = (typeof GroupDateRange)[keyof typeof GroupDateRange];
|
|
296
310
|
/**
|
|
297
311
|
* NOTE: GroupQuery, as of Destiny 2, has essentially two totally different and
|
|
298
312
|
* incompatible "modes".
|
|
@@ -411,11 +425,13 @@ export interface GroupApplicationListRequest {
|
|
|
411
425
|
readonly memberships: UserMembership[];
|
|
412
426
|
readonly message: string;
|
|
413
427
|
}
|
|
414
|
-
export declare const
|
|
415
|
-
All
|
|
416
|
-
Founded
|
|
417
|
-
NonFounded
|
|
418
|
-
}
|
|
428
|
+
export declare const GroupsForMemberFilter: {
|
|
429
|
+
readonly All: 0;
|
|
430
|
+
readonly Founded: 1;
|
|
431
|
+
readonly NonFounded: 2;
|
|
432
|
+
};
|
|
433
|
+
export type GroupsForMemberFilter =
|
|
434
|
+
(typeof GroupsForMemberFilter)[keyof typeof GroupsForMemberFilter];
|
|
419
435
|
export interface GroupTheme {
|
|
420
436
|
readonly name: string;
|
|
421
437
|
readonly folder: string;
|
|
@@ -453,18 +469,21 @@ export interface GroupV2ClanInfo {
|
|
|
453
469
|
readonly clanCallsign: string;
|
|
454
470
|
readonly clanBannerData: ClanBanner;
|
|
455
471
|
}
|
|
456
|
-
export declare const
|
|
457
|
-
Name
|
|
458
|
-
Date
|
|
459
|
-
Popularity
|
|
460
|
-
Id
|
|
461
|
-
}
|
|
462
|
-
export
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
472
|
+
export declare const GroupSortBy: {
|
|
473
|
+
readonly Name: 0;
|
|
474
|
+
readonly Date: 1;
|
|
475
|
+
readonly Popularity: 2;
|
|
476
|
+
readonly Id: 3;
|
|
477
|
+
};
|
|
478
|
+
export type GroupSortBy = (typeof GroupSortBy)[keyof typeof GroupSortBy];
|
|
479
|
+
export declare const GroupMemberCountFilter: {
|
|
480
|
+
readonly All: 0;
|
|
481
|
+
readonly OneToTen: 1;
|
|
482
|
+
readonly ElevenToOneHundred: 2;
|
|
483
|
+
readonly GreaterThanOneHundred: 3;
|
|
484
|
+
};
|
|
485
|
+
export type GroupMemberCountFilter =
|
|
486
|
+
(typeof GroupMemberCountFilter)[keyof typeof GroupMemberCountFilter];
|
|
468
487
|
export interface GroupSearchResponse {
|
|
469
488
|
readonly results: GroupV2Card[];
|
|
470
489
|
readonly totalResults: number;
|
|
@@ -516,20 +535,21 @@ export interface GroupMemberLeaveResult {
|
|
|
516
535
|
readonly group: GroupV2;
|
|
517
536
|
readonly groupDeleted: boolean;
|
|
518
537
|
}
|
|
519
|
-
export declare const
|
|
520
|
-
None
|
|
521
|
-
Week
|
|
522
|
-
TwoWeeks
|
|
523
|
-
ThreeWeeks
|
|
524
|
-
Month
|
|
525
|
-
ThreeMonths
|
|
526
|
-
SixMonths
|
|
527
|
-
Year
|
|
528
|
-
Forever
|
|
529
|
-
ThreeMinutes
|
|
530
|
-
Hour
|
|
531
|
-
ThirtyDays
|
|
532
|
-
}
|
|
538
|
+
export declare const IgnoreLength: {
|
|
539
|
+
readonly None: 0;
|
|
540
|
+
readonly Week: 1;
|
|
541
|
+
readonly TwoWeeks: 2;
|
|
542
|
+
readonly ThreeWeeks: 3;
|
|
543
|
+
readonly Month: 4;
|
|
544
|
+
readonly ThreeMonths: 5;
|
|
545
|
+
readonly SixMonths: 6;
|
|
546
|
+
readonly Year: 7;
|
|
547
|
+
readonly Forever: 8;
|
|
548
|
+
readonly ThreeMinutes: 9;
|
|
549
|
+
readonly Hour: 10;
|
|
550
|
+
readonly ThirtyDays: 11;
|
|
551
|
+
};
|
|
552
|
+
export type IgnoreLength = (typeof IgnoreLength)[keyof typeof IgnoreLength];
|
|
533
553
|
export interface SearchResultOfGroupBan {
|
|
534
554
|
readonly results: GroupBan[];
|
|
535
555
|
readonly totalResults: number;
|
|
@@ -624,12 +644,14 @@ export interface GroupMemberApplication {
|
|
|
624
644
|
readonly destinyUserInfo: GroupUserInfoCard;
|
|
625
645
|
readonly bungieNetUserInfo: UserInfoCard;
|
|
626
646
|
}
|
|
627
|
-
export declare const
|
|
628
|
-
Unresolved
|
|
629
|
-
Accepted
|
|
630
|
-
Denied
|
|
631
|
-
Rescinded
|
|
632
|
-
}
|
|
647
|
+
export declare const GroupApplicationResolveState: {
|
|
648
|
+
readonly Unresolved: 0;
|
|
649
|
+
readonly Accepted: 1;
|
|
650
|
+
readonly Denied: 2;
|
|
651
|
+
readonly Rescinded: 3;
|
|
652
|
+
};
|
|
653
|
+
export type GroupApplicationResolveState =
|
|
654
|
+
(typeof GroupApplicationResolveState)[keyof typeof GroupApplicationResolveState];
|
|
633
655
|
export interface EntityActionResult {
|
|
634
656
|
readonly entityId: string;
|
|
635
657
|
readonly result: PlatformErrorCodes;
|
package/groupv2/interfaces.js
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
export
|
|
1
|
+
export const GroupType = {
|
|
2
2
|
General: 0,
|
|
3
3
|
Clan: 1,
|
|
4
4
|
};
|
|
5
|
-
export
|
|
5
|
+
export const ChatSecuritySetting = {
|
|
6
6
|
Group: 0,
|
|
7
7
|
Admins: 1,
|
|
8
8
|
};
|
|
9
|
-
export
|
|
9
|
+
export const GroupHomepage = {
|
|
10
10
|
Wall: 0,
|
|
11
11
|
Forum: 1,
|
|
12
12
|
AllianceForum: 2,
|
|
13
13
|
};
|
|
14
|
-
export
|
|
14
|
+
export const MembershipOption = {
|
|
15
15
|
Reviewed: 0,
|
|
16
16
|
Open: 1,
|
|
17
17
|
Closed: 2,
|
|
18
18
|
};
|
|
19
|
-
export
|
|
19
|
+
export const GroupPostPublicity = {
|
|
20
20
|
Public: 0,
|
|
21
21
|
Alliance: 1,
|
|
22
22
|
Private: 2,
|
|
23
23
|
};
|
|
24
|
-
export
|
|
24
|
+
export const Capabilities = {
|
|
25
25
|
None: 0,
|
|
26
26
|
Leaderboards: 1,
|
|
27
27
|
Callsign: 2,
|
|
@@ -31,12 +31,12 @@ export var Capabilities = {
|
|
|
31
31
|
Tags: 32,
|
|
32
32
|
Alliances: 64,
|
|
33
33
|
};
|
|
34
|
-
export
|
|
34
|
+
export const HostGuidedGamesPermissionLevel = {
|
|
35
35
|
None: 0,
|
|
36
36
|
Beginner: 1,
|
|
37
37
|
Member: 2,
|
|
38
38
|
};
|
|
39
|
-
export
|
|
39
|
+
export const RuntimeGroupMemberType = {
|
|
40
40
|
None: 0,
|
|
41
41
|
Beginner: 1,
|
|
42
42
|
Member: 2,
|
|
@@ -44,41 +44,41 @@ export var RuntimeGroupMemberType = {
|
|
|
44
44
|
ActingFounder: 4,
|
|
45
45
|
Founder: 5,
|
|
46
46
|
};
|
|
47
|
-
export
|
|
47
|
+
export const GroupAllianceStatus = {
|
|
48
48
|
Unallied: 0,
|
|
49
49
|
Parent: 1,
|
|
50
50
|
Child: 2,
|
|
51
51
|
};
|
|
52
|
-
export
|
|
52
|
+
export const GroupPotentialMemberStatus = {
|
|
53
53
|
None: 0,
|
|
54
54
|
Applicant: 1,
|
|
55
55
|
Invitee: 2,
|
|
56
56
|
};
|
|
57
|
-
export
|
|
57
|
+
export const GroupDateRange = {
|
|
58
58
|
All: 0,
|
|
59
59
|
PastDay: 1,
|
|
60
60
|
PastWeek: 2,
|
|
61
61
|
PastMonth: 3,
|
|
62
62
|
PastYear: 4,
|
|
63
63
|
};
|
|
64
|
-
export
|
|
64
|
+
export const GroupsForMemberFilter = {
|
|
65
65
|
All: 0,
|
|
66
66
|
Founded: 1,
|
|
67
67
|
NonFounded: 2,
|
|
68
68
|
};
|
|
69
|
-
export
|
|
69
|
+
export const GroupSortBy = {
|
|
70
70
|
Name: 0,
|
|
71
71
|
Date: 1,
|
|
72
72
|
Popularity: 2,
|
|
73
73
|
Id: 3,
|
|
74
74
|
};
|
|
75
|
-
export
|
|
75
|
+
export const GroupMemberCountFilter = {
|
|
76
76
|
All: 0,
|
|
77
77
|
OneToTen: 1,
|
|
78
78
|
ElevenToOneHundred: 2,
|
|
79
79
|
GreaterThanOneHundred: 3,
|
|
80
80
|
};
|
|
81
|
-
export
|
|
81
|
+
export const IgnoreLength = {
|
|
82
82
|
None: 0,
|
|
83
83
|
Week: 1,
|
|
84
84
|
TwoWeeks: 2,
|
|
@@ -92,7 +92,7 @@ export var IgnoreLength = {
|
|
|
92
92
|
Hour: 10,
|
|
93
93
|
ThirtyDays: 11,
|
|
94
94
|
};
|
|
95
|
-
export
|
|
95
|
+
export const GroupApplicationResolveState = {
|
|
96
96
|
Unresolved: 0,
|
|
97
97
|
Accepted: 1,
|
|
98
98
|
Denied: 2,
|