@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/platform.d.ts
CHANGED
|
@@ -21,15 +21,16 @@ export interface IgnoreResponse {
|
|
|
21
21
|
* This enum represents a set of flags - use bitwise operators to check which of
|
|
22
22
|
* these match your value.
|
|
23
23
|
*/
|
|
24
|
-
export declare const
|
|
25
|
-
NotIgnored
|
|
26
|
-
IgnoredUser
|
|
27
|
-
IgnoredGroup
|
|
28
|
-
IgnoredByGroup
|
|
29
|
-
IgnoredPost
|
|
30
|
-
IgnoredTag
|
|
31
|
-
IgnoredGlobal
|
|
32
|
-
}
|
|
24
|
+
export declare const IgnoreStatus: {
|
|
25
|
+
readonly NotIgnored: 0;
|
|
26
|
+
readonly IgnoredUser: 1;
|
|
27
|
+
readonly IgnoredGroup: 2;
|
|
28
|
+
readonly IgnoredByGroup: 4;
|
|
29
|
+
readonly IgnoredPost: 8;
|
|
30
|
+
readonly IgnoredTag: 16;
|
|
31
|
+
readonly IgnoredGlobal: 32;
|
|
32
|
+
};
|
|
33
|
+
export type IgnoreStatus = typeof IgnoreStatus[keyof typeof IgnoreStatus];
|
|
33
34
|
export interface TagResponse {
|
|
34
35
|
readonly tagText: string;
|
|
35
36
|
readonly ignoreStatus: IgnoreResponse;
|
package/platform.js
CHANGED
package/social/interfaces.d.ts
CHANGED
|
@@ -11,13 +11,14 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { BungieMembershipType } from '../common.js';
|
|
13
13
|
import { GeneralUser } from '../user/interfaces.js';
|
|
14
|
-
export declare const
|
|
15
|
-
Unknown
|
|
16
|
-
Xbox
|
|
17
|
-
PSN
|
|
18
|
-
Steam
|
|
19
|
-
Egs
|
|
20
|
-
}
|
|
14
|
+
export declare const PlatformFriendType: {
|
|
15
|
+
readonly Unknown: 0;
|
|
16
|
+
readonly Xbox: 1;
|
|
17
|
+
readonly PSN: 2;
|
|
18
|
+
readonly Steam: 3;
|
|
19
|
+
readonly Egs: 4;
|
|
20
|
+
};
|
|
21
|
+
export type PlatformFriendType = (typeof PlatformFriendType)[keyof typeof PlatformFriendType];
|
|
21
22
|
export interface BungieFriendListResponse {
|
|
22
23
|
readonly friends: BungieFriend[];
|
|
23
24
|
}
|
|
@@ -35,25 +36,30 @@ export interface BungieFriend {
|
|
|
35
36
|
readonly relationship: FriendRelationshipState;
|
|
36
37
|
readonly bungieNetUser: GeneralUser;
|
|
37
38
|
}
|
|
38
|
-
export declare const
|
|
39
|
-
OfflineOrUnknown
|
|
40
|
-
Online
|
|
41
|
-
}
|
|
39
|
+
export declare const PresenceStatus: {
|
|
40
|
+
readonly OfflineOrUnknown: 0;
|
|
41
|
+
readonly Online: 1;
|
|
42
|
+
};
|
|
43
|
+
export type PresenceStatus = (typeof PresenceStatus)[keyof typeof PresenceStatus];
|
|
42
44
|
/**
|
|
43
45
|
* This enum represents a set of flags - use bitwise operators to check which of
|
|
44
46
|
* these match your value.
|
|
45
47
|
*/
|
|
46
|
-
export declare const
|
|
47
|
-
None
|
|
48
|
-
Destiny1
|
|
49
|
-
Destiny2
|
|
50
|
-
}
|
|
51
|
-
export
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
48
|
+
export declare const PresenceOnlineStateFlags: {
|
|
49
|
+
readonly None: 0;
|
|
50
|
+
readonly Destiny1: 1;
|
|
51
|
+
readonly Destiny2: 2;
|
|
52
|
+
};
|
|
53
|
+
export type PresenceOnlineStateFlags =
|
|
54
|
+
(typeof PresenceOnlineStateFlags)[keyof typeof PresenceOnlineStateFlags];
|
|
55
|
+
export declare const FriendRelationshipState: {
|
|
56
|
+
readonly Unknown: 0;
|
|
57
|
+
readonly Friend: 1;
|
|
58
|
+
readonly IncomingRequest: 2;
|
|
59
|
+
readonly OutgoingRequest: 3;
|
|
60
|
+
};
|
|
61
|
+
export type FriendRelationshipState =
|
|
62
|
+
(typeof FriendRelationshipState)[keyof typeof FriendRelationshipState];
|
|
57
63
|
export interface BungieFriendRequestListResponse {
|
|
58
64
|
readonly incomingRequests: BungieFriend[];
|
|
59
65
|
readonly outgoingRequests: BungieFriend[];
|
package/social/interfaces.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
export
|
|
1
|
+
export const PlatformFriendType = {
|
|
2
2
|
Unknown: 0,
|
|
3
3
|
Xbox: 1,
|
|
4
4
|
PSN: 2,
|
|
5
5
|
Steam: 3,
|
|
6
6
|
Egs: 4,
|
|
7
7
|
};
|
|
8
|
-
export
|
|
8
|
+
export const PresenceStatus = {
|
|
9
9
|
OfflineOrUnknown: 0,
|
|
10
10
|
Online: 1,
|
|
11
11
|
};
|
|
12
|
-
export
|
|
12
|
+
export const PresenceOnlineStateFlags = {
|
|
13
13
|
None: 0,
|
|
14
14
|
Destiny1: 1,
|
|
15
15
|
Destiny2: 2,
|
|
16
16
|
};
|
|
17
|
-
export
|
|
17
|
+
export const FriendRelationshipState = {
|
|
18
18
|
Unknown: 0,
|
|
19
19
|
Friend: 1,
|
|
20
20
|
IncomingRequest: 2,
|
package/tokens/interfaces.d.ts
CHANGED
|
@@ -49,11 +49,12 @@ export interface TwitchDropHistoryResponse {
|
|
|
49
49
|
readonly CreatedAt?: string;
|
|
50
50
|
readonly ClaimState?: DropStateEnum;
|
|
51
51
|
}
|
|
52
|
-
export declare const
|
|
53
|
-
Claimed
|
|
54
|
-
Applied
|
|
55
|
-
Fulfilled
|
|
56
|
-
}
|
|
52
|
+
export declare const DropStateEnum: {
|
|
53
|
+
readonly Claimed: 0;
|
|
54
|
+
readonly Applied: 1;
|
|
55
|
+
readonly Fulfilled: 2;
|
|
56
|
+
};
|
|
57
|
+
export type DropStateEnum = (typeof DropStateEnum)[keyof typeof DropStateEnum];
|
|
57
58
|
export interface BungieRewardDisplay {
|
|
58
59
|
readonly UserRewardAvailabilityModel: UserRewardAvailabilityModel;
|
|
59
60
|
readonly ObjectiveDisplayProperties: RewardDisplayProperties;
|
package/tokens/interfaces.js
CHANGED
package/trending/interfaces.d.ts
CHANGED
|
@@ -17,20 +17,21 @@ import {
|
|
|
17
17
|
} from '../destiny2/interfaces.js';
|
|
18
18
|
import { PagedQuery } from '../common.js';
|
|
19
19
|
/** The known entity types that you can have returned from Trending. */
|
|
20
|
-
export declare const
|
|
21
|
-
News
|
|
22
|
-
DestinyItem
|
|
23
|
-
DestinyActivity
|
|
24
|
-
DestinyRitual
|
|
25
|
-
SupportArticle
|
|
26
|
-
Creation
|
|
27
|
-
Stream
|
|
28
|
-
Update
|
|
29
|
-
Link
|
|
30
|
-
ForumTag
|
|
31
|
-
Container
|
|
32
|
-
Release
|
|
33
|
-
}
|
|
20
|
+
export declare const TrendingEntryType: {
|
|
21
|
+
readonly News: 0;
|
|
22
|
+
readonly DestinyItem: 1;
|
|
23
|
+
readonly DestinyActivity: 2;
|
|
24
|
+
readonly DestinyRitual: 3;
|
|
25
|
+
readonly SupportArticle: 4;
|
|
26
|
+
readonly Creation: 5;
|
|
27
|
+
readonly Stream: 6;
|
|
28
|
+
readonly Update: 7;
|
|
29
|
+
readonly Link: 8;
|
|
30
|
+
readonly ForumTag: 9;
|
|
31
|
+
readonly Container: 10;
|
|
32
|
+
readonly Release: 11;
|
|
33
|
+
};
|
|
34
|
+
export type TrendingEntryType = (typeof TrendingEntryType)[keyof typeof TrendingEntryType];
|
|
34
35
|
export interface TrendingCategories {
|
|
35
36
|
readonly categories: TrendingCategory[];
|
|
36
37
|
}
|
package/trending/interfaces.js
CHANGED
package/user/interfaces.d.ts
CHANGED
|
@@ -63,22 +63,23 @@ export interface UserInfoCard {
|
|
|
63
63
|
* facing enum used in place of the internal-only Bungie.SharedDefinitions.
|
|
64
64
|
* CredentialType.
|
|
65
65
|
*/
|
|
66
|
-
export declare const
|
|
67
|
-
None
|
|
68
|
-
Xuid
|
|
69
|
-
Psnid
|
|
70
|
-
Wlid
|
|
71
|
-
Fake
|
|
72
|
-
Facebook
|
|
73
|
-
Google
|
|
74
|
-
Windows
|
|
75
|
-
DemonId
|
|
76
|
-
SteamId
|
|
77
|
-
BattleNetId
|
|
78
|
-
StadiaId
|
|
79
|
-
TwitchId
|
|
80
|
-
EgsId
|
|
81
|
-
}
|
|
66
|
+
export declare const BungieCredentialType: {
|
|
67
|
+
readonly None: 0;
|
|
68
|
+
readonly Xuid: 1;
|
|
69
|
+
readonly Psnid: 2;
|
|
70
|
+
readonly Wlid: 3;
|
|
71
|
+
readonly Fake: 4;
|
|
72
|
+
readonly Facebook: 5;
|
|
73
|
+
readonly Google: 8;
|
|
74
|
+
readonly Windows: 9;
|
|
75
|
+
readonly DemonId: 10;
|
|
76
|
+
readonly SteamId: 12;
|
|
77
|
+
readonly BattleNetId: 14;
|
|
78
|
+
readonly StadiaId: 16;
|
|
79
|
+
readonly TwitchId: 18;
|
|
80
|
+
readonly EgsId: 20;
|
|
81
|
+
};
|
|
82
|
+
export type BungieCredentialType = (typeof BungieCredentialType)[keyof typeof BungieCredentialType];
|
|
82
83
|
export interface UserSearchPrefixRequest {
|
|
83
84
|
readonly displayNamePrefix: string;
|
|
84
85
|
}
|
|
@@ -237,18 +238,19 @@ export interface EmailOptInDefinition {
|
|
|
237
238
|
* This enum represents a set of flags - use bitwise operators to check which of
|
|
238
239
|
* these match your value.
|
|
239
240
|
*/
|
|
240
|
-
export declare const
|
|
241
|
-
None
|
|
242
|
-
Newsletter
|
|
243
|
-
System
|
|
244
|
-
Marketing
|
|
245
|
-
UserResearch
|
|
246
|
-
CustomerService
|
|
247
|
-
Social
|
|
248
|
-
PlayTests
|
|
249
|
-
PlayTestsLocal
|
|
250
|
-
Careers
|
|
251
|
-
}
|
|
241
|
+
export declare const OptInFlags: {
|
|
242
|
+
readonly None: 0;
|
|
243
|
+
readonly Newsletter: 1;
|
|
244
|
+
readonly System: 2;
|
|
245
|
+
readonly Marketing: 4;
|
|
246
|
+
readonly UserResearch: 8;
|
|
247
|
+
readonly CustomerService: 16;
|
|
248
|
+
readonly Social: 32;
|
|
249
|
+
readonly PlayTests: 64;
|
|
250
|
+
readonly PlayTestsLocal: 128;
|
|
251
|
+
readonly Careers: 256;
|
|
252
|
+
};
|
|
253
|
+
export type OptInFlags = (typeof OptInFlags)[keyof typeof OptInFlags];
|
|
252
254
|
/**
|
|
253
255
|
* Defines a single subscription: permission to send emails for a specific, focused
|
|
254
256
|
* subject (generally timeboxed, such as for a specific release of a product or
|
package/user/interfaces.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
1
|
+
export const BungieCredentialType = {
|
|
2
2
|
None: 0,
|
|
3
3
|
Xuid: 1,
|
|
4
4
|
Psnid: 2,
|
|
@@ -14,7 +14,7 @@ export var BungieCredentialType = {
|
|
|
14
14
|
TwitchId: 18,
|
|
15
15
|
EgsId: 20,
|
|
16
16
|
};
|
|
17
|
-
export
|
|
17
|
+
export const OptInFlags = {
|
|
18
18
|
None: 0,
|
|
19
19
|
Newsletter: 1,
|
|
20
20
|
System: 2,
|