You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
typeOneOf<Textendsany[]>=Textends[infer Only] ? Only : Textends[infer A, infer B, ...infer Rest] ? OneOf<[XOR<A,B>, ...Rest]> : never;
11
+
7
12
exportinterfacepaths{
8
13
"/desktop/v1/recommendations": {
9
14
/**
10
-
* Gets a list of Recommendations for a Locale and Region. This operation is performed anonymously and requires no auth.
15
+
* Gets a list of Recommendations for a Locale and Region. This operation is performed anonymously and requires no auth.
11
16
* @description Supports Fx desktop version 114 and up.
12
17
*/
13
18
get: operations["getRecommendations"];
14
19
};
15
20
"/v3/firefox/global-recs": {
16
21
/**
17
-
* Used by older versions of Firefox to get a list of Recommendations for a Locale and Region. This operation is performed anonymously and requires no auth.
18
-
* @deprecated
22
+
* Used by older versions of Firefox to get a list of Recommendations for a Locale and Region. This operation is performed anonymously and requires no auth.
23
+
* @deprecated
19
24
* @description Supports Fx desktop version 115 and below.
20
25
*/
21
26
get: operations["getGlobalRecs"];
22
27
};
23
28
"/desktop/v1/recent-saves": {
24
29
/**
25
-
* Gets a list of the most recent saves for a specific user.
30
+
* Gets a list of the most recent saves for a specific user.
26
31
* @description Supports Fx desktop version 113 and up.
27
32
*/
28
33
get: operations["getRecentSaves"];
29
34
};
30
35
}
31
36
32
-
exporttypewebhooks=Record<string,never>;
33
-
34
37
exportinterfacecomponents{
35
38
schemas: {
36
39
Error: {
@@ -52,11 +55,11 @@ export interface components {
52
55
};
53
56
ErrorResponse: {
54
57
/** @description An array of error objects */
55
-
errors: components["schemas"]["Error"][];
58
+
errors: (components["schemas"]["Error"])[];
56
59
};
57
60
Save: {
58
61
/**
59
-
* @description Constant identifier for Saves, allowing them to be differentiated when multiple types are returned together.
62
+
* @description Constant identifier for Saves, allowing them to be differentiated when multiple types are returned together.
60
63
* @enum {string}
61
64
*/
62
65
__typename: "Save";
@@ -81,7 +84,7 @@ export interface components {
81
84
};
82
85
PendingSave: {
83
86
/**
84
-
* @description Constant identifier for PendingSave, allowing them to be differentiated when multiple types are returned together.
87
+
* @description Constant identifier for PendingSave, allowing them to be differentiated when multiple types are returned together.
85
88
* @enum {string}
86
89
*/
87
90
__typename: "PendingSave";
@@ -93,14 +96,14 @@ export interface components {
93
96
/** @description These items contain similar content to saves, but have been through a curation process and have more guaranteed data. */
94
97
Recommendation: {
95
98
/**
96
-
* @description Constant identifier for Recommendation type objects.
99
+
* @description Constant identifier for Recommendation type objects.
97
100
* @enum {string}
98
101
*/
99
102
__typename: "Recommendation";
100
103
/** @description String identifier for the Recommendation. This value is expected to be different on each request. */
101
104
recommendationId?: string;
102
105
/**
103
-
* @deprecated
106
+
* @deprecated
104
107
* @description Numerical identifier for the Recommendation. This is specifically a number for Fx client and Mozilla data pipeline compatibility. This property will continue to be present because Firefox clients depend on it, but downstream users should use the recommendation id instead when available.
/** @description This region string is Fx domain language, and built from Fx expectations. Parameter values are not case sensitive. See [Firefox Home & New Tab Regional Differences](https://mozilla-hub.atlassian.net/wiki/spaces/FPS/pages/80448805/Regional+Differences). */
168
-
region?: string;
169
166
/** @description Returns recommendations specific to the region if set to 1. */
* Used by older versions of Firefox to get a list of Recommendations for a Locale and Region. This operation is performed anonymously and requires no auth.
208
-
* @deprecated
209
-
* @description Supports Fx desktop version 115 and below.
210
-
*/
211
205
getGlobalRecs: {
206
+
/**
207
+
* Used by older versions of Firefox to get a list of Recommendations for a Locale and Region. This operation is performed anonymously and requires no auth.
208
+
* @deprecated
209
+
* @description Supports Fx desktop version 115 and below.
210
+
*/
212
211
parameters: {
213
-
query: {
214
212
/** @description API version */
215
-
version: number;
216
213
/** @description Firefox locale */
217
-
locale_lang: string;
218
214
/** @description Firefox region */
219
-
region?: string;
220
215
/** @description Maximum number of items to return */
0 commit comments