@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/app/interfaces.d.ts
CHANGED
|
@@ -61,48 +61,51 @@ export interface Application {
|
|
|
61
61
|
/** An optional override for the Authorize view name. */
|
|
62
62
|
readonly overrideAuthorizeViewName: string;
|
|
63
63
|
}
|
|
64
|
-
export declare const
|
|
65
|
-
None
|
|
64
|
+
export declare const OAuthApplicationType: {
|
|
65
|
+
readonly None: 0;
|
|
66
66
|
/**
|
|
67
67
|
* Indicates the application is server based and can keep its secrets from end
|
|
68
68
|
* users and other potential snoops.
|
|
69
69
|
*/
|
|
70
|
-
Confidential
|
|
70
|
+
readonly Confidential: 1;
|
|
71
71
|
/**
|
|
72
72
|
* Indicates the application runs in a public place, and it can't be trusted to
|
|
73
73
|
* keep a secret.
|
|
74
74
|
*/
|
|
75
|
-
Public
|
|
76
|
-
}
|
|
77
|
-
export
|
|
75
|
+
readonly Public: 2;
|
|
76
|
+
};
|
|
77
|
+
export type OAuthApplicationType = (typeof OAuthApplicationType)[keyof typeof OAuthApplicationType];
|
|
78
|
+
export declare const ApplicationStatus: {
|
|
78
79
|
/** No value assigned */
|
|
79
|
-
None
|
|
80
|
+
readonly None: 0;
|
|
80
81
|
/**
|
|
81
82
|
* Application exists and works but will not appear in any public catalog. New
|
|
82
83
|
* applications start in this state, test applications will remain in this state.
|
|
83
84
|
*/
|
|
84
|
-
Private
|
|
85
|
+
readonly Private: 1;
|
|
85
86
|
/** Active applications that can appear in an catalog. */
|
|
86
|
-
Public
|
|
87
|
+
readonly Public: 2;
|
|
87
88
|
/**
|
|
88
89
|
* Application disabled by the owner. All authorizations will be treated as
|
|
89
90
|
* terminated while in this state. Owner can move back to private or public state.
|
|
90
91
|
*/
|
|
91
|
-
Disabled
|
|
92
|
+
readonly Disabled: 3;
|
|
92
93
|
/**
|
|
93
94
|
* Application has been blocked by Bungie. It cannot be transitioned out of this
|
|
94
95
|
* state by the owner. Authorizations are terminated when an application is in this
|
|
95
96
|
* state.
|
|
96
97
|
*/
|
|
97
|
-
Blocked
|
|
98
|
-
}
|
|
98
|
+
readonly Blocked: 4;
|
|
99
|
+
};
|
|
100
|
+
export type ApplicationStatus = (typeof ApplicationStatus)[keyof typeof ApplicationStatus];
|
|
99
101
|
export interface ApplicationDeveloper {
|
|
100
102
|
readonly role: DeveloperRole;
|
|
101
103
|
readonly apiEulaVersion: number;
|
|
102
104
|
readonly user: UserInfoCard;
|
|
103
105
|
}
|
|
104
|
-
export declare const
|
|
105
|
-
None
|
|
106
|
-
Owner
|
|
107
|
-
TeamMember
|
|
108
|
-
}
|
|
106
|
+
export declare const DeveloperRole: {
|
|
107
|
+
readonly None: 0;
|
|
108
|
+
readonly Owner: 1;
|
|
109
|
+
readonly TeamMember: 2;
|
|
110
|
+
};
|
|
111
|
+
export type DeveloperRole = (typeof DeveloperRole)[keyof typeof DeveloperRole];
|
package/app/interfaces.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
export
|
|
1
|
+
export const OAuthApplicationType = {
|
|
2
2
|
None: 0,
|
|
3
3
|
Confidential: 1,
|
|
4
4
|
Public: 2,
|
|
5
5
|
};
|
|
6
|
-
export
|
|
6
|
+
export const ApplicationStatus = {
|
|
7
7
|
None: 0,
|
|
8
8
|
Private: 1,
|
|
9
9
|
Public: 2,
|
|
10
10
|
Disabled: 3,
|
|
11
11
|
Blocked: 4,
|
|
12
12
|
};
|
|
13
|
-
export
|
|
13
|
+
export const DeveloperRole = {
|
|
14
14
|
None: 0,
|
|
15
15
|
Owner: 1,
|
|
16
16
|
TeamMember: 2,
|