@universalis-ffxiv/universalis-client 0.1.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/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +42 -0
- package/dist/index.js.map +1 -0
- package/dist/v1.d.ts +1158 -0
- package/dist/v1.d.ts.map +1 -0
- package/dist/v1.js +2140 -0
- package/dist/v1.js.map +1 -0
- package/dist/v2.d.ts +1240 -0
- package/dist/v2.d.ts.map +1 -0
- package/dist/v2.js +2419 -0
- package/dist/v2.js.map +1 -0
- package/dist/v3.d.ts +361 -0
- package/dist/v3.d.ts.map +1 -0
- package/dist/v3.js +768 -0
- package/dist/v3.js.map +1 -0
- package/package.json +24 -0
package/dist/v2.d.ts
ADDED
|
@@ -0,0 +1,1240 @@
|
|
|
1
|
+
export interface IClient {
|
|
2
|
+
/**
|
|
3
|
+
* Returns all data centers supported by the API.
|
|
4
|
+
* @return Success
|
|
5
|
+
*/
|
|
6
|
+
dataCenters(): Promise<DataCenter[]>;
|
|
7
|
+
/**
|
|
8
|
+
* Returns the IDs and names of all worlds supported by the API.
|
|
9
|
+
* @return Success
|
|
10
|
+
*/
|
|
11
|
+
worlds(): Promise<World[]>;
|
|
12
|
+
/**
|
|
13
|
+
* Retrieves aggregated market board data for the given items.
|
|
14
|
+
Up to 100 item IDs can be comma-separated in order to retrieve data for multiple items at once.
|
|
15
|
+
AverageSalePrice and DailySaleVelocity are calculated based on sales of the last 4 days.
|
|
16
|
+
This API uses only cached values and is therefore strongly preferred over CurrentlyShown if individual sales/listings are not required.
|
|
17
|
+
* @param itemIds The item ID or comma-separated item IDs to retrieve data for.
|
|
18
|
+
* @param worldDcRegion The world, data center, or region to retrieve data for. This may be an ID or a name. Regions should be specified as Japan, Europe, North-America, Oceania, China, or 中国.
|
|
19
|
+
* @param user_Agent (optional)
|
|
20
|
+
* @param cF_Connecting_IP (optional)
|
|
21
|
+
* @return Data retrieved successfully.
|
|
22
|
+
*/
|
|
23
|
+
aggregated(itemIds: string, worldDcRegion: string, user_Agent?: string | undefined, cF_Connecting_IP?: string | undefined): Promise<AggregatedMarketBoardData>;
|
|
24
|
+
/**
|
|
25
|
+
* Returns the content object associated with the provided content ID. Please note that this endpoint is largely untested,
|
|
26
|
+
and may return inconsistent data at times.
|
|
27
|
+
* @param contentId The ID of the content object to retrieve.
|
|
28
|
+
* @return Success
|
|
29
|
+
*/
|
|
30
|
+
content(contentId: string): Promise<ContentView>;
|
|
31
|
+
/**
|
|
32
|
+
* Get the least-recently updated items on the specified world or data center, along with the upload times for each item.
|
|
33
|
+
* @param world (optional) The world to request data for.
|
|
34
|
+
* @param dcName (optional) The data center to request data for.
|
|
35
|
+
* @param entries (optional) The number of entries to return (default 50, max 200).
|
|
36
|
+
* @return Success
|
|
37
|
+
*/
|
|
38
|
+
leastRecentlyUpdated(world?: string | undefined, dcName?: string | undefined, entries?: string | undefined): Promise<MostRecentlyUpdatedItemsView>;
|
|
39
|
+
/**
|
|
40
|
+
* Retrieves the data currently shown on the market board for the requested item and world or data center.
|
|
41
|
+
Up to 100 item IDs can be comma-separated in order to retrieve data for multiple items at once.
|
|
42
|
+
* @param itemIds The item ID or comma-separated item IDs to retrieve data for.
|
|
43
|
+
* @param worldDcRegion The world, data center, or region to retrieve data for. This may be an ID or a name. Regions should be specified as Japan, Europe, North-America, Oceania, China, or 中国.
|
|
44
|
+
* @param listings (optional) The number of listings to return per item. By default, all listings will be returned.
|
|
45
|
+
* @param entries (optional) The number of recent history entries to return per item. By default, a maximum of 5 entries will be returned.
|
|
46
|
+
* @param hq (optional) Filter for HQ listings and entries. By default, both HQ and NQ listings and entries will be returned.
|
|
47
|
+
* @param statsWithin (optional) The amount of time before now to calculate stats over, in milliseconds. By default, this is 7 days.
|
|
48
|
+
* @param entriesWithin (optional) The amount of time before now to take entries within, in seconds. Negative values will be ignored.
|
|
49
|
+
* @param fields (optional) A comma separated list of fields that should be included in the response, if omitted will return all fields.
|
|
50
|
+
For example, if you're only interested in the listings price per unit you can set this to listings.pricePerUnit.
|
|
51
|
+
Note that querying multiple items changes the response schema, which should be reflected in the value provided
|
|
52
|
+
for this field. In this case, querying the price per unit requires setting this field to
|
|
53
|
+
items.listings.pricePerUnit.
|
|
54
|
+
* @param user_Agent (optional)
|
|
55
|
+
* @param cF_Connecting_IP (optional)
|
|
56
|
+
* @return Data retrieved successfully.
|
|
57
|
+
*/
|
|
58
|
+
v2(itemIds: string, worldDcRegion: string, listings?: string | undefined, entries?: string | undefined, hq?: string | undefined, statsWithin?: string | undefined, entriesWithin?: string | undefined, fields?: string | undefined, user_Agent?: string | undefined, cF_Connecting_IP?: string | undefined): Promise<CurrentlyShownMultiViewV2>;
|
|
59
|
+
/**
|
|
60
|
+
* Retrieves the history data for the requested item and world or data center.
|
|
61
|
+
Up to 100 item IDs can be comma-separated in order to retrieve data for multiple items at once.
|
|
62
|
+
* @param itemIds The item ID or comma-separated item IDs to retrieve data for.
|
|
63
|
+
* @param worldDcRegion The world or data center to retrieve data for. This may be an ID or a name. Regions should be specified as Japan, Europe, North-America, Oceania, China, or 中国.
|
|
64
|
+
* @param entriesToReturn (optional) The number of entries to return per item. By default, this is set to 1800, but may be set to a maximum of 99999.
|
|
65
|
+
* @param statsWithin (optional) The amount of time before now to calculate stats over, in milliseconds. By default, this is 7 days.
|
|
66
|
+
* @param entriesWithin (optional) The amount of time before entriesUntil or now to take entries within, in seconds. Negative values will be ignored. By default, this is 7 days.
|
|
67
|
+
* @param entriesUntil (optional) The UNIX timestamp in seconds to take entries until. Negative values will be ignored. By default, this is current time.
|
|
68
|
+
* @param minSalePrice (optional) The inclusive minimum unit sale price of entries to return.
|
|
69
|
+
* @param maxSalePrice (optional) The inclusive maximum unit sale price of entries to return.
|
|
70
|
+
* @param user_Agent (optional)
|
|
71
|
+
* @param cF_Connecting_IP (optional)
|
|
72
|
+
* @return Data retrieved successfully.
|
|
73
|
+
*/
|
|
74
|
+
history(itemIds: string, worldDcRegion: string, entriesToReturn?: string | undefined, statsWithin?: string | undefined, entriesWithin?: string | undefined, entriesUntil?: string | undefined, minSalePrice?: number | undefined, maxSalePrice?: number | undefined, user_Agent?: string | undefined, cF_Connecting_IP?: string | undefined): Promise<HistoryMultiViewV2>;
|
|
75
|
+
/**
|
|
76
|
+
* Retrieves the current tax rate data for the specified world. This data is provided by the Retainer Vocate in each major city.
|
|
77
|
+
* @param world (optional) The world or to retrieve data for. This may be an ID or a name.
|
|
78
|
+
* @param user_Agent (optional)
|
|
79
|
+
* @return Data retrieved successfully.
|
|
80
|
+
*/
|
|
81
|
+
taxRates(world?: string | undefined, user_Agent?: string | undefined): Promise<TaxRatesView>;
|
|
82
|
+
/**
|
|
83
|
+
* Returns the set of marketable item IDs.
|
|
84
|
+
* @return Success
|
|
85
|
+
*/
|
|
86
|
+
marketable(): Promise<number[]>;
|
|
87
|
+
/**
|
|
88
|
+
* Get the most-recently updated items on the specified world or data center, along with the upload times for each item.
|
|
89
|
+
* @param world (optional) The world to request data for.
|
|
90
|
+
* @param dcName (optional) The data center to request data for.
|
|
91
|
+
* @param entries (optional) The number of entries to return (default 50, max 200).
|
|
92
|
+
* @return Success
|
|
93
|
+
*/
|
|
94
|
+
mostRecentlyUpdated(world?: string | undefined, dcName?: string | undefined, entries?: string | undefined): Promise<MostRecentlyUpdatedItemsView>;
|
|
95
|
+
/**
|
|
96
|
+
* Returns a list of some of the most recently updated items on the website. This endpoint
|
|
97
|
+
is a legacy endpoint and does not include any data on which worlds or data centers the updates happened on.
|
|
98
|
+
* @return Success
|
|
99
|
+
*/
|
|
100
|
+
recentlyUpdated(): Promise<RecentlyUpdatedItemsView>;
|
|
101
|
+
/**
|
|
102
|
+
* Returns the total upload counts for each client application that uploads data to Universalis.
|
|
103
|
+
* @return Success
|
|
104
|
+
*/
|
|
105
|
+
uploaderUploadCounts(): Promise<SourceUploadCountView[]>;
|
|
106
|
+
/**
|
|
107
|
+
* Returns the world upload counts and proportions of the total uploads for each world.
|
|
108
|
+
* @return Success
|
|
109
|
+
*/
|
|
110
|
+
worldUploadCounts(): Promise<{
|
|
111
|
+
[key: string]: WorldUploadCountView;
|
|
112
|
+
}>;
|
|
113
|
+
/**
|
|
114
|
+
* Returns the number of uploads per day over the past 30 days.
|
|
115
|
+
* @return Success
|
|
116
|
+
*/
|
|
117
|
+
uploadHistory(): Promise<UploadCountHistoryView>;
|
|
118
|
+
/**
|
|
119
|
+
* Retrieves a user list.
|
|
120
|
+
* @param listId The ID of the list to retrieve.
|
|
121
|
+
* @return Data retrieved successfully.
|
|
122
|
+
*/
|
|
123
|
+
lists(listId: string): Promise<UserListView>;
|
|
124
|
+
/**
|
|
125
|
+
* Connect to the WebSocket endpoint of the API. Requires a valid WebSocket client.
|
|
126
|
+
* @return Success
|
|
127
|
+
*/
|
|
128
|
+
ws(): Promise<void>;
|
|
129
|
+
/**
|
|
130
|
+
* Connect to the WebSocket dev endpoint of the API. Requires a valid WebSocket client.
|
|
131
|
+
* @return Success
|
|
132
|
+
*/
|
|
133
|
+
wsDev(): Promise<void>;
|
|
134
|
+
}
|
|
135
|
+
export declare class Client implements IClient {
|
|
136
|
+
private http;
|
|
137
|
+
private baseUrl;
|
|
138
|
+
protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
|
|
139
|
+
constructor(baseUrl?: string, http?: {
|
|
140
|
+
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
141
|
+
});
|
|
142
|
+
/**
|
|
143
|
+
* Returns all data centers supported by the API.
|
|
144
|
+
* @return Success
|
|
145
|
+
*/
|
|
146
|
+
dataCenters(): Promise<DataCenter[]>;
|
|
147
|
+
protected processDataCenters(response: Response): Promise<DataCenter[]>;
|
|
148
|
+
/**
|
|
149
|
+
* Returns the IDs and names of all worlds supported by the API.
|
|
150
|
+
* @return Success
|
|
151
|
+
*/
|
|
152
|
+
worlds(): Promise<World[]>;
|
|
153
|
+
protected processWorlds(response: Response): Promise<World[]>;
|
|
154
|
+
/**
|
|
155
|
+
* Retrieves aggregated market board data for the given items.
|
|
156
|
+
Up to 100 item IDs can be comma-separated in order to retrieve data for multiple items at once.
|
|
157
|
+
AverageSalePrice and DailySaleVelocity are calculated based on sales of the last 4 days.
|
|
158
|
+
This API uses only cached values and is therefore strongly preferred over CurrentlyShown if individual sales/listings are not required.
|
|
159
|
+
* @param itemIds The item ID or comma-separated item IDs to retrieve data for.
|
|
160
|
+
* @param worldDcRegion The world, data center, or region to retrieve data for. This may be an ID or a name. Regions should be specified as Japan, Europe, North-America, Oceania, China, or 中国.
|
|
161
|
+
* @param user_Agent (optional)
|
|
162
|
+
* @param cF_Connecting_IP (optional)
|
|
163
|
+
* @return Data retrieved successfully.
|
|
164
|
+
*/
|
|
165
|
+
aggregated(itemIds: string, worldDcRegion: string, user_Agent?: string | undefined, cF_Connecting_IP?: string | undefined): Promise<AggregatedMarketBoardData>;
|
|
166
|
+
protected processAggregated(response: Response): Promise<AggregatedMarketBoardData>;
|
|
167
|
+
/**
|
|
168
|
+
* Returns the content object associated with the provided content ID. Please note that this endpoint is largely untested,
|
|
169
|
+
and may return inconsistent data at times.
|
|
170
|
+
* @param contentId The ID of the content object to retrieve.
|
|
171
|
+
* @return Success
|
|
172
|
+
*/
|
|
173
|
+
content(contentId: string): Promise<ContentView>;
|
|
174
|
+
protected processContent(response: Response): Promise<ContentView>;
|
|
175
|
+
/**
|
|
176
|
+
* Get the least-recently updated items on the specified world or data center, along with the upload times for each item.
|
|
177
|
+
* @param world (optional) The world to request data for.
|
|
178
|
+
* @param dcName (optional) The data center to request data for.
|
|
179
|
+
* @param entries (optional) The number of entries to return (default 50, max 200).
|
|
180
|
+
* @return Success
|
|
181
|
+
*/
|
|
182
|
+
leastRecentlyUpdated(world?: string | undefined, dcName?: string | undefined, entries?: string | undefined): Promise<MostRecentlyUpdatedItemsView>;
|
|
183
|
+
protected processLeastRecentlyUpdated(response: Response): Promise<MostRecentlyUpdatedItemsView>;
|
|
184
|
+
/**
|
|
185
|
+
* Retrieves the data currently shown on the market board for the requested item and world or data center.
|
|
186
|
+
Up to 100 item IDs can be comma-separated in order to retrieve data for multiple items at once.
|
|
187
|
+
* @param itemIds The item ID or comma-separated item IDs to retrieve data for.
|
|
188
|
+
* @param worldDcRegion The world, data center, or region to retrieve data for. This may be an ID or a name. Regions should be specified as Japan, Europe, North-America, Oceania, China, or 中国.
|
|
189
|
+
* @param listings (optional) The number of listings to return per item. By default, all listings will be returned.
|
|
190
|
+
* @param entries (optional) The number of recent history entries to return per item. By default, a maximum of 5 entries will be returned.
|
|
191
|
+
* @param hq (optional) Filter for HQ listings and entries. By default, both HQ and NQ listings and entries will be returned.
|
|
192
|
+
* @param statsWithin (optional) The amount of time before now to calculate stats over, in milliseconds. By default, this is 7 days.
|
|
193
|
+
* @param entriesWithin (optional) The amount of time before now to take entries within, in seconds. Negative values will be ignored.
|
|
194
|
+
* @param fields (optional) A comma separated list of fields that should be included in the response, if omitted will return all fields.
|
|
195
|
+
For example, if you're only interested in the listings price per unit you can set this to listings.pricePerUnit.
|
|
196
|
+
Note that querying multiple items changes the response schema, which should be reflected in the value provided
|
|
197
|
+
for this field. In this case, querying the price per unit requires setting this field to
|
|
198
|
+
items.listings.pricePerUnit.
|
|
199
|
+
* @param user_Agent (optional)
|
|
200
|
+
* @param cF_Connecting_IP (optional)
|
|
201
|
+
* @return Data retrieved successfully.
|
|
202
|
+
*/
|
|
203
|
+
v2(itemIds: string, worldDcRegion: string, listings?: string | undefined, entries?: string | undefined, hq?: string | undefined, statsWithin?: string | undefined, entriesWithin?: string | undefined, fields?: string | undefined, user_Agent?: string | undefined, cF_Connecting_IP?: string | undefined): Promise<CurrentlyShownMultiViewV2>;
|
|
204
|
+
protected processV2(response: Response): Promise<CurrentlyShownMultiViewV2>;
|
|
205
|
+
/**
|
|
206
|
+
* Retrieves the history data for the requested item and world or data center.
|
|
207
|
+
Up to 100 item IDs can be comma-separated in order to retrieve data for multiple items at once.
|
|
208
|
+
* @param itemIds The item ID or comma-separated item IDs to retrieve data for.
|
|
209
|
+
* @param worldDcRegion The world or data center to retrieve data for. This may be an ID or a name. Regions should be specified as Japan, Europe, North-America, Oceania, China, or 中国.
|
|
210
|
+
* @param entriesToReturn (optional) The number of entries to return per item. By default, this is set to 1800, but may be set to a maximum of 99999.
|
|
211
|
+
* @param statsWithin (optional) The amount of time before now to calculate stats over, in milliseconds. By default, this is 7 days.
|
|
212
|
+
* @param entriesWithin (optional) The amount of time before entriesUntil or now to take entries within, in seconds. Negative values will be ignored. By default, this is 7 days.
|
|
213
|
+
* @param entriesUntil (optional) The UNIX timestamp in seconds to take entries until. Negative values will be ignored. By default, this is current time.
|
|
214
|
+
* @param minSalePrice (optional) The inclusive minimum unit sale price of entries to return.
|
|
215
|
+
* @param maxSalePrice (optional) The inclusive maximum unit sale price of entries to return.
|
|
216
|
+
* @param user_Agent (optional)
|
|
217
|
+
* @param cF_Connecting_IP (optional)
|
|
218
|
+
* @return Data retrieved successfully.
|
|
219
|
+
*/
|
|
220
|
+
history(itemIds: string, worldDcRegion: string, entriesToReturn?: string | undefined, statsWithin?: string | undefined, entriesWithin?: string | undefined, entriesUntil?: string | undefined, minSalePrice?: number | undefined, maxSalePrice?: number | undefined, user_Agent?: string | undefined, cF_Connecting_IP?: string | undefined): Promise<HistoryMultiViewV2>;
|
|
221
|
+
protected processHistory(response: Response): Promise<HistoryMultiViewV2>;
|
|
222
|
+
/**
|
|
223
|
+
* Retrieves the current tax rate data for the specified world. This data is provided by the Retainer Vocate in each major city.
|
|
224
|
+
* @param world (optional) The world or to retrieve data for. This may be an ID or a name.
|
|
225
|
+
* @param user_Agent (optional)
|
|
226
|
+
* @return Data retrieved successfully.
|
|
227
|
+
*/
|
|
228
|
+
taxRates(world?: string | undefined, user_Agent?: string | undefined): Promise<TaxRatesView>;
|
|
229
|
+
protected processTaxRates(response: Response): Promise<TaxRatesView>;
|
|
230
|
+
/**
|
|
231
|
+
* Returns the set of marketable item IDs.
|
|
232
|
+
* @return Success
|
|
233
|
+
*/
|
|
234
|
+
marketable(): Promise<number[]>;
|
|
235
|
+
protected processMarketable(response: Response): Promise<number[]>;
|
|
236
|
+
/**
|
|
237
|
+
* Get the most-recently updated items on the specified world or data center, along with the upload times for each item.
|
|
238
|
+
* @param world (optional) The world to request data for.
|
|
239
|
+
* @param dcName (optional) The data center to request data for.
|
|
240
|
+
* @param entries (optional) The number of entries to return (default 50, max 200).
|
|
241
|
+
* @return Success
|
|
242
|
+
*/
|
|
243
|
+
mostRecentlyUpdated(world?: string | undefined, dcName?: string | undefined, entries?: string | undefined): Promise<MostRecentlyUpdatedItemsView>;
|
|
244
|
+
protected processMostRecentlyUpdated(response: Response): Promise<MostRecentlyUpdatedItemsView>;
|
|
245
|
+
/**
|
|
246
|
+
* Returns a list of some of the most recently updated items on the website. This endpoint
|
|
247
|
+
is a legacy endpoint and does not include any data on which worlds or data centers the updates happened on.
|
|
248
|
+
* @return Success
|
|
249
|
+
*/
|
|
250
|
+
recentlyUpdated(): Promise<RecentlyUpdatedItemsView>;
|
|
251
|
+
protected processRecentlyUpdated(response: Response): Promise<RecentlyUpdatedItemsView>;
|
|
252
|
+
/**
|
|
253
|
+
* Returns the total upload counts for each client application that uploads data to Universalis.
|
|
254
|
+
* @return Success
|
|
255
|
+
*/
|
|
256
|
+
uploaderUploadCounts(): Promise<SourceUploadCountView[]>;
|
|
257
|
+
protected processUploaderUploadCounts(response: Response): Promise<SourceUploadCountView[]>;
|
|
258
|
+
/**
|
|
259
|
+
* Returns the world upload counts and proportions of the total uploads for each world.
|
|
260
|
+
* @return Success
|
|
261
|
+
*/
|
|
262
|
+
worldUploadCounts(): Promise<{
|
|
263
|
+
[key: string]: WorldUploadCountView;
|
|
264
|
+
}>;
|
|
265
|
+
protected processWorldUploadCounts(response: Response): Promise<{
|
|
266
|
+
[key: string]: WorldUploadCountView;
|
|
267
|
+
}>;
|
|
268
|
+
/**
|
|
269
|
+
* Returns the number of uploads per day over the past 30 days.
|
|
270
|
+
* @return Success
|
|
271
|
+
*/
|
|
272
|
+
uploadHistory(): Promise<UploadCountHistoryView>;
|
|
273
|
+
protected processUploadHistory(response: Response): Promise<UploadCountHistoryView>;
|
|
274
|
+
/**
|
|
275
|
+
* Retrieves a user list.
|
|
276
|
+
* @param listId The ID of the list to retrieve.
|
|
277
|
+
* @return Data retrieved successfully.
|
|
278
|
+
*/
|
|
279
|
+
lists(listId: string): Promise<UserListView>;
|
|
280
|
+
protected processLists(response: Response): Promise<UserListView>;
|
|
281
|
+
/**
|
|
282
|
+
* Connect to the WebSocket endpoint of the API. Requires a valid WebSocket client.
|
|
283
|
+
* @return Success
|
|
284
|
+
*/
|
|
285
|
+
ws(): Promise<void>;
|
|
286
|
+
protected processWs(response: Response): Promise<void>;
|
|
287
|
+
/**
|
|
288
|
+
* Connect to the WebSocket dev endpoint of the API. Requires a valid WebSocket client.
|
|
289
|
+
* @return Success
|
|
290
|
+
*/
|
|
291
|
+
wsDev(): Promise<void>;
|
|
292
|
+
protected processWsDev(response: Response): Promise<void>;
|
|
293
|
+
}
|
|
294
|
+
export declare class ProblemDetails implements IProblemDetails {
|
|
295
|
+
type?: string | undefined;
|
|
296
|
+
title?: string | undefined;
|
|
297
|
+
status?: number | undefined;
|
|
298
|
+
detail?: string | undefined;
|
|
299
|
+
instance?: string | undefined;
|
|
300
|
+
[key: string]: any;
|
|
301
|
+
constructor(data?: IProblemDetails);
|
|
302
|
+
init(_data?: any): void;
|
|
303
|
+
static fromJS(data: any): ProblemDetails;
|
|
304
|
+
toJSON(data?: any): any;
|
|
305
|
+
}
|
|
306
|
+
export interface IProblemDetails {
|
|
307
|
+
type?: string | undefined;
|
|
308
|
+
title?: string | undefined;
|
|
309
|
+
status?: number | undefined;
|
|
310
|
+
detail?: string | undefined;
|
|
311
|
+
instance?: string | undefined;
|
|
312
|
+
[key: string]: any;
|
|
313
|
+
}
|
|
314
|
+
export declare class CurrentlyShownView implements ICurrentlyShownView {
|
|
315
|
+
/** The item ID. */
|
|
316
|
+
itemID: number;
|
|
317
|
+
/** The world ID, if applicable. */
|
|
318
|
+
worldID?: number | undefined;
|
|
319
|
+
/** The last upload time for this endpoint, in milliseconds since the UNIX epoch. */
|
|
320
|
+
lastUploadTime: number;
|
|
321
|
+
/** The currently-shown listings. */
|
|
322
|
+
listings?: ListingView[] | undefined;
|
|
323
|
+
/** The currently-shown sales. */
|
|
324
|
+
recentHistory?: SaleView[] | undefined;
|
|
325
|
+
/** The DC name, if applicable. */
|
|
326
|
+
dcName?: string | undefined;
|
|
327
|
+
/** The region name, if applicable. */
|
|
328
|
+
regionName?: string | undefined;
|
|
329
|
+
/** The average listing price. */
|
|
330
|
+
currentAveragePrice: number;
|
|
331
|
+
/** The average NQ listing price. */
|
|
332
|
+
currentAveragePriceNQ: number;
|
|
333
|
+
/** The average HQ listing price. */
|
|
334
|
+
currentAveragePriceHQ: number;
|
|
335
|
+
/** The average number of sales per day, over the past seven days (or the entirety of the shown sales, whichever comes first).
|
|
336
|
+
This number will tend to be the same for every item, because the number of shown sales is the same and over the same period.
|
|
337
|
+
This statistic is more useful in historical queries. */
|
|
338
|
+
regularSaleVelocity: number;
|
|
339
|
+
/** The average number of NQ sales per day, over the past seven days (or the entirety of the shown sales, whichever comes first).
|
|
340
|
+
This number will tend to be the same for every item, because the number of shown sales is the same and over the same period.
|
|
341
|
+
This statistic is more useful in historical queries. */
|
|
342
|
+
nqSaleVelocity: number;
|
|
343
|
+
/** The average number of HQ sales per day, over the past seven days (or the entirety of the shown sales, whichever comes first).
|
|
344
|
+
This number will tend to be the same for every item, because the number of shown sales is the same and over the same period.
|
|
345
|
+
This statistic is more useful in historical queries. */
|
|
346
|
+
hqSaleVelocity: number;
|
|
347
|
+
/** The average sale price. */
|
|
348
|
+
averagePrice: number;
|
|
349
|
+
/** The average NQ sale price. */
|
|
350
|
+
averagePriceNQ: number;
|
|
351
|
+
/** The average HQ sale price. */
|
|
352
|
+
averagePriceHQ: number;
|
|
353
|
+
/** The minimum listing price. */
|
|
354
|
+
minPrice: number;
|
|
355
|
+
/** The minimum NQ listing price. */
|
|
356
|
+
minPriceNQ: number;
|
|
357
|
+
/** The minimum HQ listing price. */
|
|
358
|
+
minPriceHQ: number;
|
|
359
|
+
/** The maximum listing price. */
|
|
360
|
+
maxPrice: number;
|
|
361
|
+
/** The maximum NQ listing price. */
|
|
362
|
+
maxPriceNQ: number;
|
|
363
|
+
/** The maximum HQ listing price. */
|
|
364
|
+
maxPriceHQ: number;
|
|
365
|
+
/** A map of quantities to listing counts, representing the number of listings of each quantity. */
|
|
366
|
+
stackSizeHistogram?: {
|
|
367
|
+
[key: string]: number;
|
|
368
|
+
} | undefined;
|
|
369
|
+
/** A map of quantities to NQ listing counts, representing the number of listings of each quantity. */
|
|
370
|
+
stackSizeHistogramNQ?: {
|
|
371
|
+
[key: string]: number;
|
|
372
|
+
} | undefined;
|
|
373
|
+
/** A map of quantities to HQ listing counts, representing the number of listings of each quantity. */
|
|
374
|
+
stackSizeHistogramHQ?: {
|
|
375
|
+
[key: string]: number;
|
|
376
|
+
} | undefined;
|
|
377
|
+
/** The world name, if applicable. */
|
|
378
|
+
worldName?: string | undefined;
|
|
379
|
+
/** The last upload times in milliseconds since epoch for each world in the response, if this is a DC request. */
|
|
380
|
+
worldUploadTimes?: {
|
|
381
|
+
[key: string]: number;
|
|
382
|
+
} | undefined;
|
|
383
|
+
/** The number of listings retrieved for the request. When using the "listings" limit parameter, this may be
|
|
384
|
+
different from the number of sale entries returned in an API response. */
|
|
385
|
+
listingsCount: number;
|
|
386
|
+
/** The number of sale entries retrieved for the request. When using the "entries" limit parameter, this may be
|
|
387
|
+
different from the number of sale entries returned in an API response. */
|
|
388
|
+
recentHistoryCount: number;
|
|
389
|
+
/** The number of items (not listings) up for sale. */
|
|
390
|
+
unitsForSale: number;
|
|
391
|
+
/** The number of items (not sale entries) sold over the retrieved sales. */
|
|
392
|
+
unitsSold: number;
|
|
393
|
+
/** Whether this item has ever been updated. Useful for newly-released items. */
|
|
394
|
+
readonly hasData: boolean;
|
|
395
|
+
constructor(data?: ICurrentlyShownView);
|
|
396
|
+
init(_data?: any): void;
|
|
397
|
+
static fromJS(data: any): CurrentlyShownView;
|
|
398
|
+
toJSON(data?: any): any;
|
|
399
|
+
}
|
|
400
|
+
export interface ICurrentlyShownView {
|
|
401
|
+
/** The item ID. */
|
|
402
|
+
itemID: number;
|
|
403
|
+
/** The world ID, if applicable. */
|
|
404
|
+
worldID?: number | undefined;
|
|
405
|
+
/** The last upload time for this endpoint, in milliseconds since the UNIX epoch. */
|
|
406
|
+
lastUploadTime: number;
|
|
407
|
+
/** The currently-shown listings. */
|
|
408
|
+
listings?: ListingView[] | undefined;
|
|
409
|
+
/** The currently-shown sales. */
|
|
410
|
+
recentHistory?: SaleView[] | undefined;
|
|
411
|
+
/** The DC name, if applicable. */
|
|
412
|
+
dcName?: string | undefined;
|
|
413
|
+
/** The region name, if applicable. */
|
|
414
|
+
regionName?: string | undefined;
|
|
415
|
+
/** The average listing price. */
|
|
416
|
+
currentAveragePrice: number;
|
|
417
|
+
/** The average NQ listing price. */
|
|
418
|
+
currentAveragePriceNQ: number;
|
|
419
|
+
/** The average HQ listing price. */
|
|
420
|
+
currentAveragePriceHQ: number;
|
|
421
|
+
/** The average number of sales per day, over the past seven days (or the entirety of the shown sales, whichever comes first).
|
|
422
|
+
This number will tend to be the same for every item, because the number of shown sales is the same and over the same period.
|
|
423
|
+
This statistic is more useful in historical queries. */
|
|
424
|
+
regularSaleVelocity: number;
|
|
425
|
+
/** The average number of NQ sales per day, over the past seven days (or the entirety of the shown sales, whichever comes first).
|
|
426
|
+
This number will tend to be the same for every item, because the number of shown sales is the same and over the same period.
|
|
427
|
+
This statistic is more useful in historical queries. */
|
|
428
|
+
nqSaleVelocity: number;
|
|
429
|
+
/** The average number of HQ sales per day, over the past seven days (or the entirety of the shown sales, whichever comes first).
|
|
430
|
+
This number will tend to be the same for every item, because the number of shown sales is the same and over the same period.
|
|
431
|
+
This statistic is more useful in historical queries. */
|
|
432
|
+
hqSaleVelocity: number;
|
|
433
|
+
/** The average sale price. */
|
|
434
|
+
averagePrice: number;
|
|
435
|
+
/** The average NQ sale price. */
|
|
436
|
+
averagePriceNQ: number;
|
|
437
|
+
/** The average HQ sale price. */
|
|
438
|
+
averagePriceHQ: number;
|
|
439
|
+
/** The minimum listing price. */
|
|
440
|
+
minPrice: number;
|
|
441
|
+
/** The minimum NQ listing price. */
|
|
442
|
+
minPriceNQ: number;
|
|
443
|
+
/** The minimum HQ listing price. */
|
|
444
|
+
minPriceHQ: number;
|
|
445
|
+
/** The maximum listing price. */
|
|
446
|
+
maxPrice: number;
|
|
447
|
+
/** The maximum NQ listing price. */
|
|
448
|
+
maxPriceNQ: number;
|
|
449
|
+
/** The maximum HQ listing price. */
|
|
450
|
+
maxPriceHQ: number;
|
|
451
|
+
/** A map of quantities to listing counts, representing the number of listings of each quantity. */
|
|
452
|
+
stackSizeHistogram?: {
|
|
453
|
+
[key: string]: number;
|
|
454
|
+
} | undefined;
|
|
455
|
+
/** A map of quantities to NQ listing counts, representing the number of listings of each quantity. */
|
|
456
|
+
stackSizeHistogramNQ?: {
|
|
457
|
+
[key: string]: number;
|
|
458
|
+
} | undefined;
|
|
459
|
+
/** A map of quantities to HQ listing counts, representing the number of listings of each quantity. */
|
|
460
|
+
stackSizeHistogramHQ?: {
|
|
461
|
+
[key: string]: number;
|
|
462
|
+
} | undefined;
|
|
463
|
+
/** The world name, if applicable. */
|
|
464
|
+
worldName?: string | undefined;
|
|
465
|
+
/** The last upload times in milliseconds since epoch for each world in the response, if this is a DC request. */
|
|
466
|
+
worldUploadTimes?: {
|
|
467
|
+
[key: string]: number;
|
|
468
|
+
} | undefined;
|
|
469
|
+
/** The number of listings retrieved for the request. When using the "listings" limit parameter, this may be
|
|
470
|
+
different from the number of sale entries returned in an API response. */
|
|
471
|
+
listingsCount: number;
|
|
472
|
+
/** The number of sale entries retrieved for the request. When using the "entries" limit parameter, this may be
|
|
473
|
+
different from the number of sale entries returned in an API response. */
|
|
474
|
+
recentHistoryCount: number;
|
|
475
|
+
/** The number of items (not listings) up for sale. */
|
|
476
|
+
unitsForSale: number;
|
|
477
|
+
/** The number of items (not sale entries) sold over the retrieved sales. */
|
|
478
|
+
unitsSold: number;
|
|
479
|
+
/** Whether this item has ever been updated. Useful for newly-released items. */
|
|
480
|
+
hasData: boolean;
|
|
481
|
+
}
|
|
482
|
+
export declare class ContentView implements IContentView {
|
|
483
|
+
/** The content ID of the object. */
|
|
484
|
+
contentID?: string | undefined;
|
|
485
|
+
/** The content type of this object. */
|
|
486
|
+
contentType?: string | undefined;
|
|
487
|
+
/** The character name associated with this character object, if this is one. */
|
|
488
|
+
characterName?: string | undefined;
|
|
489
|
+
constructor(data?: IContentView);
|
|
490
|
+
init(_data?: any): void;
|
|
491
|
+
static fromJS(data: any): ContentView;
|
|
492
|
+
toJSON(data?: any): any;
|
|
493
|
+
}
|
|
494
|
+
export interface IContentView {
|
|
495
|
+
/** The content ID of the object. */
|
|
496
|
+
contentID?: string | undefined;
|
|
497
|
+
/** The content type of this object. */
|
|
498
|
+
contentType?: string | undefined;
|
|
499
|
+
/** The character name associated with this character object, if this is one. */
|
|
500
|
+
characterName?: string | undefined;
|
|
501
|
+
}
|
|
502
|
+
export declare class MostRecentlyUpdatedItemsView implements IMostRecentlyUpdatedItemsView {
|
|
503
|
+
/** A list of item upload information in timestamp-descending order. */
|
|
504
|
+
items?: WorldItemRecencyView[] | undefined;
|
|
505
|
+
constructor(data?: IMostRecentlyUpdatedItemsView);
|
|
506
|
+
init(_data?: any): void;
|
|
507
|
+
static fromJS(data: any): MostRecentlyUpdatedItemsView;
|
|
508
|
+
toJSON(data?: any): any;
|
|
509
|
+
}
|
|
510
|
+
export interface IMostRecentlyUpdatedItemsView {
|
|
511
|
+
/** A list of item upload information in timestamp-descending order. */
|
|
512
|
+
items?: WorldItemRecencyView[] | undefined;
|
|
513
|
+
}
|
|
514
|
+
export declare class RecentlyUpdatedItemsView implements IRecentlyUpdatedItemsView {
|
|
515
|
+
/** A list of item IDs, with the most recent first. */
|
|
516
|
+
items?: number[] | undefined;
|
|
517
|
+
constructor(data?: IRecentlyUpdatedItemsView);
|
|
518
|
+
init(_data?: any): void;
|
|
519
|
+
static fromJS(data: any): RecentlyUpdatedItemsView;
|
|
520
|
+
toJSON(data?: any): any;
|
|
521
|
+
}
|
|
522
|
+
export interface IRecentlyUpdatedItemsView {
|
|
523
|
+
/** A list of item IDs, with the most recent first. */
|
|
524
|
+
items?: number[] | undefined;
|
|
525
|
+
}
|
|
526
|
+
export declare class SourceUploadCountView implements ISourceUploadCountView {
|
|
527
|
+
/** The name of the client application. */
|
|
528
|
+
sourceName?: string | undefined;
|
|
529
|
+
/** The number of uploads originating from the client application. */
|
|
530
|
+
uploadCount: number;
|
|
531
|
+
constructor(data?: ISourceUploadCountView);
|
|
532
|
+
init(_data?: any): void;
|
|
533
|
+
static fromJS(data: any): SourceUploadCountView;
|
|
534
|
+
toJSON(data?: any): any;
|
|
535
|
+
}
|
|
536
|
+
export interface ISourceUploadCountView {
|
|
537
|
+
/** The name of the client application. */
|
|
538
|
+
sourceName?: string | undefined;
|
|
539
|
+
/** The number of uploads originating from the client application. */
|
|
540
|
+
uploadCount: number;
|
|
541
|
+
}
|
|
542
|
+
export declare class UploadCountHistoryView implements IUploadCountHistoryView {
|
|
543
|
+
/** The list of upload counts per day, over the past 30 days. */
|
|
544
|
+
uploadCountByDay?: number[] | undefined;
|
|
545
|
+
constructor(data?: IUploadCountHistoryView);
|
|
546
|
+
init(_data?: any): void;
|
|
547
|
+
static fromJS(data: any): UploadCountHistoryView;
|
|
548
|
+
toJSON(data?: any): any;
|
|
549
|
+
}
|
|
550
|
+
export interface IUploadCountHistoryView {
|
|
551
|
+
/** The list of upload counts per day, over the past 30 days. */
|
|
552
|
+
uploadCountByDay?: number[] | undefined;
|
|
553
|
+
}
|
|
554
|
+
export declare class WorldItemRecencyView implements IWorldItemRecencyView {
|
|
555
|
+
/** The item ID. */
|
|
556
|
+
itemID: number;
|
|
557
|
+
/** The last upload time for the item on the listed world. */
|
|
558
|
+
lastUploadTime: number;
|
|
559
|
+
/** The world ID. */
|
|
560
|
+
worldID: number;
|
|
561
|
+
/** The world name. */
|
|
562
|
+
worldName?: string | undefined;
|
|
563
|
+
constructor(data?: IWorldItemRecencyView);
|
|
564
|
+
init(_data?: any): void;
|
|
565
|
+
static fromJS(data: any): WorldItemRecencyView;
|
|
566
|
+
toJSON(data?: any): any;
|
|
567
|
+
}
|
|
568
|
+
export interface IWorldItemRecencyView {
|
|
569
|
+
/** The item ID. */
|
|
570
|
+
itemID: number;
|
|
571
|
+
/** The last upload time for the item on the listed world. */
|
|
572
|
+
lastUploadTime: number;
|
|
573
|
+
/** The world ID. */
|
|
574
|
+
worldID: number;
|
|
575
|
+
/** The world name. */
|
|
576
|
+
worldName?: string | undefined;
|
|
577
|
+
}
|
|
578
|
+
export declare class WorldUploadCountView implements IWorldUploadCountView {
|
|
579
|
+
/** The number of times an upload has occurred on this world. */
|
|
580
|
+
count: number;
|
|
581
|
+
/** The proportion of uploads on this world to the total number of uploads. */
|
|
582
|
+
proportion: number;
|
|
583
|
+
constructor(data?: IWorldUploadCountView);
|
|
584
|
+
init(_data?: any): void;
|
|
585
|
+
static fromJS(data: any): WorldUploadCountView;
|
|
586
|
+
toJSON(data?: any): any;
|
|
587
|
+
}
|
|
588
|
+
export interface IWorldUploadCountView {
|
|
589
|
+
/** The number of times an upload has occurred on this world. */
|
|
590
|
+
count: number;
|
|
591
|
+
/** The proportion of uploads on this world to the total number of uploads. */
|
|
592
|
+
proportion: number;
|
|
593
|
+
}
|
|
594
|
+
export declare class HistoryView implements IHistoryView {
|
|
595
|
+
/** The item ID. */
|
|
596
|
+
itemID: number;
|
|
597
|
+
/** The world ID, if applicable. */
|
|
598
|
+
worldID?: number | undefined;
|
|
599
|
+
/** The last upload time for this endpoint, in milliseconds since the UNIX epoch. */
|
|
600
|
+
lastUploadTime: number;
|
|
601
|
+
/** The historical sales. */
|
|
602
|
+
entries?: MinimizedSaleView[] | undefined;
|
|
603
|
+
/** The DC name, if applicable. */
|
|
604
|
+
dcName?: string | undefined;
|
|
605
|
+
/** The region name, if applicable. */
|
|
606
|
+
regionName?: string | undefined;
|
|
607
|
+
/** A map of quantities to sale counts, representing the number of sales of each quantity. */
|
|
608
|
+
stackSizeHistogram?: {
|
|
609
|
+
[key: string]: number;
|
|
610
|
+
} | undefined;
|
|
611
|
+
/** A map of quantities to NQ sale counts, representing the number of sales of each quantity. */
|
|
612
|
+
stackSizeHistogramNQ?: {
|
|
613
|
+
[key: string]: number;
|
|
614
|
+
} | undefined;
|
|
615
|
+
/** A map of quantities to HQ sale counts, representing the number of sales of each quantity. */
|
|
616
|
+
stackSizeHistogramHQ?: {
|
|
617
|
+
[key: string]: number;
|
|
618
|
+
} | undefined;
|
|
619
|
+
/** The average number of sales per day, over the past seven days (or the entirety of the shown sales, whichever comes first). */
|
|
620
|
+
regularSaleVelocity: number;
|
|
621
|
+
/** The average number of NQ sales per day, over the past seven days (or the entirety of the shown sales, whichever comes first). */
|
|
622
|
+
nqSaleVelocity: number;
|
|
623
|
+
/** The average number of HQ sales per day, over the past seven days (or the entirety of the shown sales, whichever comes first). */
|
|
624
|
+
hqSaleVelocity: number;
|
|
625
|
+
/** The world name, if applicable. */
|
|
626
|
+
worldName?: string | undefined;
|
|
627
|
+
constructor(data?: IHistoryView);
|
|
628
|
+
init(_data?: any): void;
|
|
629
|
+
static fromJS(data: any): HistoryView;
|
|
630
|
+
toJSON(data?: any): any;
|
|
631
|
+
}
|
|
632
|
+
export interface IHistoryView {
|
|
633
|
+
/** The item ID. */
|
|
634
|
+
itemID: number;
|
|
635
|
+
/** The world ID, if applicable. */
|
|
636
|
+
worldID?: number | undefined;
|
|
637
|
+
/** The last upload time for this endpoint, in milliseconds since the UNIX epoch. */
|
|
638
|
+
lastUploadTime: number;
|
|
639
|
+
/** The historical sales. */
|
|
640
|
+
entries?: MinimizedSaleView[] | undefined;
|
|
641
|
+
/** The DC name, if applicable. */
|
|
642
|
+
dcName?: string | undefined;
|
|
643
|
+
/** The region name, if applicable. */
|
|
644
|
+
regionName?: string | undefined;
|
|
645
|
+
/** A map of quantities to sale counts, representing the number of sales of each quantity. */
|
|
646
|
+
stackSizeHistogram?: {
|
|
647
|
+
[key: string]: number;
|
|
648
|
+
} | undefined;
|
|
649
|
+
/** A map of quantities to NQ sale counts, representing the number of sales of each quantity. */
|
|
650
|
+
stackSizeHistogramNQ?: {
|
|
651
|
+
[key: string]: number;
|
|
652
|
+
} | undefined;
|
|
653
|
+
/** A map of quantities to HQ sale counts, representing the number of sales of each quantity. */
|
|
654
|
+
stackSizeHistogramHQ?: {
|
|
655
|
+
[key: string]: number;
|
|
656
|
+
} | undefined;
|
|
657
|
+
/** The average number of sales per day, over the past seven days (or the entirety of the shown sales, whichever comes first). */
|
|
658
|
+
regularSaleVelocity: number;
|
|
659
|
+
/** The average number of NQ sales per day, over the past seven days (or the entirety of the shown sales, whichever comes first). */
|
|
660
|
+
nqSaleVelocity: number;
|
|
661
|
+
/** The average number of HQ sales per day, over the past seven days (or the entirety of the shown sales, whichever comes first). */
|
|
662
|
+
hqSaleVelocity: number;
|
|
663
|
+
/** The world name, if applicable. */
|
|
664
|
+
worldName?: string | undefined;
|
|
665
|
+
}
|
|
666
|
+
export declare class ListingView implements IListingView {
|
|
667
|
+
/** The time that this listing was posted, in seconds since the UNIX epoch. */
|
|
668
|
+
lastReviewTime: number;
|
|
669
|
+
/** The price per unit sold. */
|
|
670
|
+
pricePerUnit: number;
|
|
671
|
+
/** The stack size sold. */
|
|
672
|
+
quantity: number;
|
|
673
|
+
/** The ID of the dye on this item. */
|
|
674
|
+
stainID: number;
|
|
675
|
+
/** The world name, if applicable. */
|
|
676
|
+
worldName?: string | undefined;
|
|
677
|
+
/** The world ID, if applicable. */
|
|
678
|
+
worldID?: number | undefined;
|
|
679
|
+
/** The creator's character name. */
|
|
680
|
+
creatorName?: string | undefined;
|
|
681
|
+
/** A SHA256 hash of the creator's ID. */
|
|
682
|
+
creatorID?: string | undefined;
|
|
683
|
+
/** Whether or not the item is high-quality. */
|
|
684
|
+
hq: boolean;
|
|
685
|
+
/** Whether or not the item is crafted. */
|
|
686
|
+
isCrafted: boolean;
|
|
687
|
+
/** The ID of this listing. */
|
|
688
|
+
listingID?: string | undefined;
|
|
689
|
+
/** The materia on this item. */
|
|
690
|
+
materia?: MateriaView[] | undefined;
|
|
691
|
+
/** Whether or not the item is being sold on a mannequin. */
|
|
692
|
+
onMannequin: boolean;
|
|
693
|
+
/** The city ID of the retainer. This is a game ID; all possible values can be seen at
|
|
694
|
+
https://xivapi.com/Town.
|
|
695
|
+
|
|
696
|
+
Limsa Lominsa = 1
|
|
697
|
+
Gridania = 2
|
|
698
|
+
Ul'dah = 3
|
|
699
|
+
Ishgard = 4
|
|
700
|
+
Kugane = 7
|
|
701
|
+
Crystarium = 10
|
|
702
|
+
Old Sharlayan = 12 */
|
|
703
|
+
retainerCity: number;
|
|
704
|
+
/** The retainer's ID. */
|
|
705
|
+
retainerID?: string | undefined;
|
|
706
|
+
/** The retainer's name. */
|
|
707
|
+
retainerName?: string | undefined;
|
|
708
|
+
/** A SHA256 hash of the seller's ID. */
|
|
709
|
+
sellerID?: string | undefined;
|
|
710
|
+
/** The total price. */
|
|
711
|
+
total: number;
|
|
712
|
+
/** The Gil sales tax (GST) to be added to the total price during purchase. */
|
|
713
|
+
tax: number;
|
|
714
|
+
constructor(data?: IListingView);
|
|
715
|
+
init(_data?: any): void;
|
|
716
|
+
static fromJS(data: any): ListingView;
|
|
717
|
+
toJSON(data?: any): any;
|
|
718
|
+
}
|
|
719
|
+
export interface IListingView {
|
|
720
|
+
/** The time that this listing was posted, in seconds since the UNIX epoch. */
|
|
721
|
+
lastReviewTime: number;
|
|
722
|
+
/** The price per unit sold. */
|
|
723
|
+
pricePerUnit: number;
|
|
724
|
+
/** The stack size sold. */
|
|
725
|
+
quantity: number;
|
|
726
|
+
/** The ID of the dye on this item. */
|
|
727
|
+
stainID: number;
|
|
728
|
+
/** The world name, if applicable. */
|
|
729
|
+
worldName?: string | undefined;
|
|
730
|
+
/** The world ID, if applicable. */
|
|
731
|
+
worldID?: number | undefined;
|
|
732
|
+
/** The creator's character name. */
|
|
733
|
+
creatorName?: string | undefined;
|
|
734
|
+
/** A SHA256 hash of the creator's ID. */
|
|
735
|
+
creatorID?: string | undefined;
|
|
736
|
+
/** Whether or not the item is high-quality. */
|
|
737
|
+
hq: boolean;
|
|
738
|
+
/** Whether or not the item is crafted. */
|
|
739
|
+
isCrafted: boolean;
|
|
740
|
+
/** The ID of this listing. */
|
|
741
|
+
listingID?: string | undefined;
|
|
742
|
+
/** The materia on this item. */
|
|
743
|
+
materia?: MateriaView[] | undefined;
|
|
744
|
+
/** Whether or not the item is being sold on a mannequin. */
|
|
745
|
+
onMannequin: boolean;
|
|
746
|
+
/** The city ID of the retainer. This is a game ID; all possible values can be seen at
|
|
747
|
+
https://xivapi.com/Town.
|
|
748
|
+
|
|
749
|
+
Limsa Lominsa = 1
|
|
750
|
+
Gridania = 2
|
|
751
|
+
Ul'dah = 3
|
|
752
|
+
Ishgard = 4
|
|
753
|
+
Kugane = 7
|
|
754
|
+
Crystarium = 10
|
|
755
|
+
Old Sharlayan = 12 */
|
|
756
|
+
retainerCity: number;
|
|
757
|
+
/** The retainer's ID. */
|
|
758
|
+
retainerID?: string | undefined;
|
|
759
|
+
/** The retainer's name. */
|
|
760
|
+
retainerName?: string | undefined;
|
|
761
|
+
/** A SHA256 hash of the seller's ID. */
|
|
762
|
+
sellerID?: string | undefined;
|
|
763
|
+
/** The total price. */
|
|
764
|
+
total: number;
|
|
765
|
+
/** The Gil sales tax (GST) to be added to the total price during purchase. */
|
|
766
|
+
tax: number;
|
|
767
|
+
}
|
|
768
|
+
export declare class MateriaView implements IMateriaView {
|
|
769
|
+
/** The materia slot. */
|
|
770
|
+
slotID: number;
|
|
771
|
+
/** The materia item ID. */
|
|
772
|
+
materiaID: number;
|
|
773
|
+
constructor(data?: IMateriaView);
|
|
774
|
+
init(_data?: any): void;
|
|
775
|
+
static fromJS(data: any): MateriaView;
|
|
776
|
+
toJSON(data?: any): any;
|
|
777
|
+
}
|
|
778
|
+
export interface IMateriaView {
|
|
779
|
+
/** The materia slot. */
|
|
780
|
+
slotID: number;
|
|
781
|
+
/** The materia item ID. */
|
|
782
|
+
materiaID: number;
|
|
783
|
+
}
|
|
784
|
+
export declare class MinimizedSaleView implements IMinimizedSaleView {
|
|
785
|
+
/** Whether or not the item was high-quality. */
|
|
786
|
+
hq: boolean;
|
|
787
|
+
/** The price per unit sold. */
|
|
788
|
+
pricePerUnit: number;
|
|
789
|
+
/** The stack size sold. */
|
|
790
|
+
quantity: number;
|
|
791
|
+
/** The buyer's character name. This may be null. */
|
|
792
|
+
buyerName?: string | undefined;
|
|
793
|
+
/** Whether or not this was purchased from a mannequin. This may be null. */
|
|
794
|
+
onMannequin?: boolean | undefined;
|
|
795
|
+
/** The sale time, in seconds since the UNIX epoch. */
|
|
796
|
+
timestamp: number;
|
|
797
|
+
/** The world name, if applicable. */
|
|
798
|
+
worldName?: string | undefined;
|
|
799
|
+
/** The world ID, if applicable. */
|
|
800
|
+
worldID?: number | undefined;
|
|
801
|
+
constructor(data?: IMinimizedSaleView);
|
|
802
|
+
init(_data?: any): void;
|
|
803
|
+
static fromJS(data: any): MinimizedSaleView;
|
|
804
|
+
toJSON(data?: any): any;
|
|
805
|
+
}
|
|
806
|
+
export interface IMinimizedSaleView {
|
|
807
|
+
/** Whether or not the item was high-quality. */
|
|
808
|
+
hq: boolean;
|
|
809
|
+
/** The price per unit sold. */
|
|
810
|
+
pricePerUnit: number;
|
|
811
|
+
/** The stack size sold. */
|
|
812
|
+
quantity: number;
|
|
813
|
+
/** The buyer's character name. This may be null. */
|
|
814
|
+
buyerName?: string | undefined;
|
|
815
|
+
/** Whether or not this was purchased from a mannequin. This may be null. */
|
|
816
|
+
onMannequin?: boolean | undefined;
|
|
817
|
+
/** The sale time, in seconds since the UNIX epoch. */
|
|
818
|
+
timestamp: number;
|
|
819
|
+
/** The world name, if applicable. */
|
|
820
|
+
worldName?: string | undefined;
|
|
821
|
+
/** The world ID, if applicable. */
|
|
822
|
+
worldID?: number | undefined;
|
|
823
|
+
}
|
|
824
|
+
export declare class SaleView implements ISaleView {
|
|
825
|
+
/** Whether or not the item was high-quality. */
|
|
826
|
+
hq: boolean;
|
|
827
|
+
/** The price per unit sold. */
|
|
828
|
+
pricePerUnit: number;
|
|
829
|
+
/** The stack size sold. */
|
|
830
|
+
quantity: number;
|
|
831
|
+
/** The sale time, in seconds since the UNIX epoch. */
|
|
832
|
+
timestamp: number;
|
|
833
|
+
/** Whether or not this was purchased from a mannequin. This may be null. */
|
|
834
|
+
onMannequin?: boolean | undefined;
|
|
835
|
+
/** The world name, if applicable. */
|
|
836
|
+
worldName?: string | undefined;
|
|
837
|
+
/** The world ID, if applicable. */
|
|
838
|
+
worldID?: number | undefined;
|
|
839
|
+
/** The buyer name. */
|
|
840
|
+
buyerName?: string | undefined;
|
|
841
|
+
/** The total price. */
|
|
842
|
+
total: number;
|
|
843
|
+
constructor(data?: ISaleView);
|
|
844
|
+
init(_data?: any): void;
|
|
845
|
+
static fromJS(data: any): SaleView;
|
|
846
|
+
toJSON(data?: any): any;
|
|
847
|
+
}
|
|
848
|
+
export interface ISaleView {
|
|
849
|
+
/** Whether or not the item was high-quality. */
|
|
850
|
+
hq: boolean;
|
|
851
|
+
/** The price per unit sold. */
|
|
852
|
+
pricePerUnit: number;
|
|
853
|
+
/** The stack size sold. */
|
|
854
|
+
quantity: number;
|
|
855
|
+
/** The sale time, in seconds since the UNIX epoch. */
|
|
856
|
+
timestamp: number;
|
|
857
|
+
/** Whether or not this was purchased from a mannequin. This may be null. */
|
|
858
|
+
onMannequin?: boolean | undefined;
|
|
859
|
+
/** The world name, if applicable. */
|
|
860
|
+
worldName?: string | undefined;
|
|
861
|
+
/** The world ID, if applicable. */
|
|
862
|
+
worldID?: number | undefined;
|
|
863
|
+
/** The buyer name. */
|
|
864
|
+
buyerName?: string | undefined;
|
|
865
|
+
/** The total price. */
|
|
866
|
+
total: number;
|
|
867
|
+
}
|
|
868
|
+
export declare class TaxRatesView implements ITaxRatesView {
|
|
869
|
+
/** The percent retainer tax in Limsa Lominsa. */
|
|
870
|
+
limsa_Lominsa: number;
|
|
871
|
+
/** The percent retainer tax in Gridania. */
|
|
872
|
+
gridania: number;
|
|
873
|
+
/** The percent retainer tax in Ul'dah. */
|
|
874
|
+
uldah: number;
|
|
875
|
+
/** The percent retainer tax in Ishgard. */
|
|
876
|
+
ishgard: number;
|
|
877
|
+
/** The percent retainer tax in Kugane. */
|
|
878
|
+
kugane: number;
|
|
879
|
+
/** The percent retainer tax in the Crystarium. */
|
|
880
|
+
crystarium: number;
|
|
881
|
+
/** The percent retainer tax in Old Sharlayan. */
|
|
882
|
+
old_Sharlayan: number;
|
|
883
|
+
/** The percent retainer tax in Tuliyollal. */
|
|
884
|
+
tuliyollal: number;
|
|
885
|
+
constructor(data?: ITaxRatesView);
|
|
886
|
+
init(_data?: any): void;
|
|
887
|
+
static fromJS(data: any): TaxRatesView;
|
|
888
|
+
toJSON(data?: any): any;
|
|
889
|
+
}
|
|
890
|
+
export interface ITaxRatesView {
|
|
891
|
+
/** The percent retainer tax in Limsa Lominsa. */
|
|
892
|
+
limsa_Lominsa: number;
|
|
893
|
+
/** The percent retainer tax in Gridania. */
|
|
894
|
+
gridania: number;
|
|
895
|
+
/** The percent retainer tax in Ul'dah. */
|
|
896
|
+
uldah: number;
|
|
897
|
+
/** The percent retainer tax in Ishgard. */
|
|
898
|
+
ishgard: number;
|
|
899
|
+
/** The percent retainer tax in Kugane. */
|
|
900
|
+
kugane: number;
|
|
901
|
+
/** The percent retainer tax in the Crystarium. */
|
|
902
|
+
crystarium: number;
|
|
903
|
+
/** The percent retainer tax in Old Sharlayan. */
|
|
904
|
+
old_Sharlayan: number;
|
|
905
|
+
/** The percent retainer tax in Tuliyollal. */
|
|
906
|
+
tuliyollal: number;
|
|
907
|
+
}
|
|
908
|
+
export declare class AggregatedMarketBoardData implements IAggregatedMarketBoardData {
|
|
909
|
+
results?: Result[] | undefined;
|
|
910
|
+
failedItems?: number[] | undefined;
|
|
911
|
+
constructor(data?: IAggregatedMarketBoardData);
|
|
912
|
+
init(_data?: any): void;
|
|
913
|
+
static fromJS(data: any): AggregatedMarketBoardData;
|
|
914
|
+
toJSON(data?: any): any;
|
|
915
|
+
}
|
|
916
|
+
export interface IAggregatedMarketBoardData {
|
|
917
|
+
results?: Result[] | undefined;
|
|
918
|
+
failedItems?: number[] | undefined;
|
|
919
|
+
}
|
|
920
|
+
export declare class AggregatedResult implements IAggregatedResult {
|
|
921
|
+
minListing: MinListing;
|
|
922
|
+
medianListing: MedianListing;
|
|
923
|
+
recentPurchase: RecentPurchase;
|
|
924
|
+
averageSalePrice: AverageSalePrice;
|
|
925
|
+
dailySaleVelocity: DailySaleVelocity;
|
|
926
|
+
constructor(data?: IAggregatedResult);
|
|
927
|
+
init(_data?: any): void;
|
|
928
|
+
static fromJS(data: any): AggregatedResult;
|
|
929
|
+
toJSON(data?: any): any;
|
|
930
|
+
}
|
|
931
|
+
export interface IAggregatedResult {
|
|
932
|
+
minListing: MinListing;
|
|
933
|
+
medianListing: MedianListing;
|
|
934
|
+
recentPurchase: RecentPurchase;
|
|
935
|
+
averageSalePrice: AverageSalePrice;
|
|
936
|
+
dailySaleVelocity: DailySaleVelocity;
|
|
937
|
+
}
|
|
938
|
+
export declare class AverageSalePrice implements IAverageSalePrice {
|
|
939
|
+
world: Entry;
|
|
940
|
+
dc: Entry;
|
|
941
|
+
region: Entry;
|
|
942
|
+
constructor(data?: IAverageSalePrice);
|
|
943
|
+
init(_data?: any): void;
|
|
944
|
+
static fromJS(data: any): AverageSalePrice;
|
|
945
|
+
toJSON(data?: any): any;
|
|
946
|
+
}
|
|
947
|
+
export interface IAverageSalePrice {
|
|
948
|
+
world: Entry;
|
|
949
|
+
dc: Entry;
|
|
950
|
+
region: Entry;
|
|
951
|
+
}
|
|
952
|
+
export declare class Entry implements IEntry {
|
|
953
|
+
price: number;
|
|
954
|
+
constructor(data?: IEntry);
|
|
955
|
+
init(_data?: any): void;
|
|
956
|
+
static fromJS(data: any): Entry;
|
|
957
|
+
toJSON(data?: any): any;
|
|
958
|
+
}
|
|
959
|
+
export interface IEntry {
|
|
960
|
+
price: number;
|
|
961
|
+
}
|
|
962
|
+
export declare class DailySaleVelocity implements IDailySaleVelocity {
|
|
963
|
+
world: Entry2;
|
|
964
|
+
dc: Entry2;
|
|
965
|
+
region: Entry2;
|
|
966
|
+
constructor(data?: IDailySaleVelocity);
|
|
967
|
+
init(_data?: any): void;
|
|
968
|
+
static fromJS(data: any): DailySaleVelocity;
|
|
969
|
+
toJSON(data?: any): any;
|
|
970
|
+
}
|
|
971
|
+
export interface IDailySaleVelocity {
|
|
972
|
+
world: Entry2;
|
|
973
|
+
dc: Entry2;
|
|
974
|
+
region: Entry2;
|
|
975
|
+
}
|
|
976
|
+
export declare class Entry2 implements IEntry2 {
|
|
977
|
+
quantity: number;
|
|
978
|
+
constructor(data?: IEntry2);
|
|
979
|
+
init(_data?: any): void;
|
|
980
|
+
static fromJS(data: any): Entry2;
|
|
981
|
+
toJSON(data?: any): any;
|
|
982
|
+
}
|
|
983
|
+
export interface IEntry2 {
|
|
984
|
+
quantity: number;
|
|
985
|
+
}
|
|
986
|
+
export declare class MedianListing implements IMedianListing {
|
|
987
|
+
world: Entry3;
|
|
988
|
+
dc: Entry3;
|
|
989
|
+
region: Entry3;
|
|
990
|
+
constructor(data?: IMedianListing);
|
|
991
|
+
init(_data?: any): void;
|
|
992
|
+
static fromJS(data: any): MedianListing;
|
|
993
|
+
toJSON(data?: any): any;
|
|
994
|
+
}
|
|
995
|
+
export interface IMedianListing {
|
|
996
|
+
world: Entry3;
|
|
997
|
+
dc: Entry3;
|
|
998
|
+
region: Entry3;
|
|
999
|
+
}
|
|
1000
|
+
export declare class Entry3 implements IEntry3 {
|
|
1001
|
+
price: number;
|
|
1002
|
+
constructor(data?: IEntry3);
|
|
1003
|
+
init(_data?: any): void;
|
|
1004
|
+
static fromJS(data: any): Entry3;
|
|
1005
|
+
toJSON(data?: any): any;
|
|
1006
|
+
}
|
|
1007
|
+
export interface IEntry3 {
|
|
1008
|
+
price: number;
|
|
1009
|
+
}
|
|
1010
|
+
export declare class MinListing implements IMinListing {
|
|
1011
|
+
world: Entry4;
|
|
1012
|
+
dc: Entry4;
|
|
1013
|
+
region: Entry4;
|
|
1014
|
+
constructor(data?: IMinListing);
|
|
1015
|
+
init(_data?: any): void;
|
|
1016
|
+
static fromJS(data: any): MinListing;
|
|
1017
|
+
toJSON(data?: any): any;
|
|
1018
|
+
}
|
|
1019
|
+
export interface IMinListing {
|
|
1020
|
+
world: Entry4;
|
|
1021
|
+
dc: Entry4;
|
|
1022
|
+
region: Entry4;
|
|
1023
|
+
}
|
|
1024
|
+
export declare class Entry4 implements IEntry4 {
|
|
1025
|
+
price: number;
|
|
1026
|
+
worldId?: number | undefined;
|
|
1027
|
+
constructor(data?: IEntry4);
|
|
1028
|
+
init(_data?: any): void;
|
|
1029
|
+
static fromJS(data: any): Entry4;
|
|
1030
|
+
toJSON(data?: any): any;
|
|
1031
|
+
}
|
|
1032
|
+
export interface IEntry4 {
|
|
1033
|
+
price: number;
|
|
1034
|
+
worldId?: number | undefined;
|
|
1035
|
+
}
|
|
1036
|
+
export declare class RecentPurchase implements IRecentPurchase {
|
|
1037
|
+
world: Entry5;
|
|
1038
|
+
dc: Entry5;
|
|
1039
|
+
region: Entry5;
|
|
1040
|
+
constructor(data?: IRecentPurchase);
|
|
1041
|
+
init(_data?: any): void;
|
|
1042
|
+
static fromJS(data: any): RecentPurchase;
|
|
1043
|
+
toJSON(data?: any): any;
|
|
1044
|
+
}
|
|
1045
|
+
export interface IRecentPurchase {
|
|
1046
|
+
world: Entry5;
|
|
1047
|
+
dc: Entry5;
|
|
1048
|
+
region: Entry5;
|
|
1049
|
+
}
|
|
1050
|
+
export declare class Entry5 implements IEntry5 {
|
|
1051
|
+
price: number;
|
|
1052
|
+
timestamp: number;
|
|
1053
|
+
worldId?: number | undefined;
|
|
1054
|
+
constructor(data?: IEntry5);
|
|
1055
|
+
init(_data?: any): void;
|
|
1056
|
+
static fromJS(data: any): Entry5;
|
|
1057
|
+
toJSON(data?: any): any;
|
|
1058
|
+
}
|
|
1059
|
+
export interface IEntry5 {
|
|
1060
|
+
price: number;
|
|
1061
|
+
timestamp: number;
|
|
1062
|
+
worldId?: number | undefined;
|
|
1063
|
+
}
|
|
1064
|
+
export declare class Result implements IResult {
|
|
1065
|
+
itemId: number;
|
|
1066
|
+
nq: AggregatedResult;
|
|
1067
|
+
hq: AggregatedResult;
|
|
1068
|
+
worldUploadTimes?: WorldUploadTime[] | undefined;
|
|
1069
|
+
constructor(data?: IResult);
|
|
1070
|
+
init(_data?: any): void;
|
|
1071
|
+
static fromJS(data: any): Result;
|
|
1072
|
+
toJSON(data?: any): any;
|
|
1073
|
+
}
|
|
1074
|
+
export interface IResult {
|
|
1075
|
+
itemId: number;
|
|
1076
|
+
nq: AggregatedResult;
|
|
1077
|
+
hq: AggregatedResult;
|
|
1078
|
+
worldUploadTimes?: WorldUploadTime[] | undefined;
|
|
1079
|
+
}
|
|
1080
|
+
export declare class WorldUploadTime implements IWorldUploadTime {
|
|
1081
|
+
worldId: number;
|
|
1082
|
+
timestamp: number;
|
|
1083
|
+
constructor(data?: IWorldUploadTime);
|
|
1084
|
+
init(_data?: any): void;
|
|
1085
|
+
static fromJS(data: any): WorldUploadTime;
|
|
1086
|
+
toJSON(data?: any): any;
|
|
1087
|
+
}
|
|
1088
|
+
export interface IWorldUploadTime {
|
|
1089
|
+
worldId: number;
|
|
1090
|
+
timestamp: number;
|
|
1091
|
+
}
|
|
1092
|
+
export declare class CurrentlyShownMultiViewV2 implements ICurrentlyShownMultiViewV2 {
|
|
1093
|
+
/** The item IDs that were requested. */
|
|
1094
|
+
itemIDs?: number[] | undefined;
|
|
1095
|
+
/** The item data that was requested, keyed on the item ID. */
|
|
1096
|
+
items?: {
|
|
1097
|
+
[key: string]: CurrentlyShownView;
|
|
1098
|
+
} | undefined;
|
|
1099
|
+
/** The ID of the world requested, if applicable. */
|
|
1100
|
+
worldID?: number | undefined;
|
|
1101
|
+
/** The name of the DC requested, if applicable. */
|
|
1102
|
+
dcName?: string | undefined;
|
|
1103
|
+
/** The name of the region requested, if applicable. */
|
|
1104
|
+
regionName?: string | undefined;
|
|
1105
|
+
/** A list of IDs that could not be resolved to any item data. */
|
|
1106
|
+
unresolvedItems?: number[] | undefined;
|
|
1107
|
+
/** The name of the world requested, if applicable. */
|
|
1108
|
+
worldName?: string | undefined;
|
|
1109
|
+
constructor(data?: ICurrentlyShownMultiViewV2);
|
|
1110
|
+
init(_data?: any): void;
|
|
1111
|
+
static fromJS(data: any): CurrentlyShownMultiViewV2;
|
|
1112
|
+
toJSON(data?: any): any;
|
|
1113
|
+
}
|
|
1114
|
+
export interface ICurrentlyShownMultiViewV2 {
|
|
1115
|
+
/** The item IDs that were requested. */
|
|
1116
|
+
itemIDs?: number[] | undefined;
|
|
1117
|
+
/** The item data that was requested, keyed on the item ID. */
|
|
1118
|
+
items?: {
|
|
1119
|
+
[key: string]: CurrentlyShownView;
|
|
1120
|
+
} | undefined;
|
|
1121
|
+
/** The ID of the world requested, if applicable. */
|
|
1122
|
+
worldID?: number | undefined;
|
|
1123
|
+
/** The name of the DC requested, if applicable. */
|
|
1124
|
+
dcName?: string | undefined;
|
|
1125
|
+
/** The name of the region requested, if applicable. */
|
|
1126
|
+
regionName?: string | undefined;
|
|
1127
|
+
/** A list of IDs that could not be resolved to any item data. */
|
|
1128
|
+
unresolvedItems?: number[] | undefined;
|
|
1129
|
+
/** The name of the world requested, if applicable. */
|
|
1130
|
+
worldName?: string | undefined;
|
|
1131
|
+
}
|
|
1132
|
+
export declare class HistoryMultiViewV2 implements IHistoryMultiViewV2 {
|
|
1133
|
+
/** The item IDs that were requested. */
|
|
1134
|
+
itemIDs?: number[] | undefined;
|
|
1135
|
+
/** The item data that was requested, keyed on the item ID. */
|
|
1136
|
+
items?: {
|
|
1137
|
+
[key: string]: HistoryView;
|
|
1138
|
+
} | undefined;
|
|
1139
|
+
/** The ID of the world requested, if applicable. */
|
|
1140
|
+
worldID?: number | undefined;
|
|
1141
|
+
/** The name of the DC requested, if applicable. */
|
|
1142
|
+
dcName?: string | undefined;
|
|
1143
|
+
/** The name of the region requested, if applicable. */
|
|
1144
|
+
regionName?: string | undefined;
|
|
1145
|
+
/** A list of IDs that could not be resolved to any item data. */
|
|
1146
|
+
unresolvedItems?: number[] | undefined;
|
|
1147
|
+
/** The name of the world requested, if applicable. */
|
|
1148
|
+
worldName?: string | undefined;
|
|
1149
|
+
constructor(data?: IHistoryMultiViewV2);
|
|
1150
|
+
init(_data?: any): void;
|
|
1151
|
+
static fromJS(data: any): HistoryMultiViewV2;
|
|
1152
|
+
toJSON(data?: any): any;
|
|
1153
|
+
}
|
|
1154
|
+
export interface IHistoryMultiViewV2 {
|
|
1155
|
+
/** The item IDs that were requested. */
|
|
1156
|
+
itemIDs?: number[] | undefined;
|
|
1157
|
+
/** The item data that was requested, keyed on the item ID. */
|
|
1158
|
+
items?: {
|
|
1159
|
+
[key: string]: HistoryView;
|
|
1160
|
+
} | undefined;
|
|
1161
|
+
/** The ID of the world requested, if applicable. */
|
|
1162
|
+
worldID?: number | undefined;
|
|
1163
|
+
/** The name of the DC requested, if applicable. */
|
|
1164
|
+
dcName?: string | undefined;
|
|
1165
|
+
/** The name of the region requested, if applicable. */
|
|
1166
|
+
regionName?: string | undefined;
|
|
1167
|
+
/** A list of IDs that could not be resolved to any item data. */
|
|
1168
|
+
unresolvedItems?: number[] | undefined;
|
|
1169
|
+
/** The name of the world requested, if applicable. */
|
|
1170
|
+
worldName?: string | undefined;
|
|
1171
|
+
}
|
|
1172
|
+
export declare class UserListView implements IUserListView {
|
|
1173
|
+
/** The list's ID. */
|
|
1174
|
+
id?: string | undefined;
|
|
1175
|
+
/** The time that this list was created, in milliseconds since the UNIX epoch. */
|
|
1176
|
+
created?: string | undefined;
|
|
1177
|
+
/** The time that this list was updated, in milliseconds since the UNIX epoch. */
|
|
1178
|
+
updated?: string | undefined;
|
|
1179
|
+
/** The name of this list. */
|
|
1180
|
+
name?: string | undefined;
|
|
1181
|
+
/** The IDs of the list items. */
|
|
1182
|
+
itemIDs?: number[] | undefined;
|
|
1183
|
+
constructor(data?: IUserListView);
|
|
1184
|
+
init(_data?: any): void;
|
|
1185
|
+
static fromJS(data: any): UserListView;
|
|
1186
|
+
toJSON(data?: any): any;
|
|
1187
|
+
}
|
|
1188
|
+
export interface IUserListView {
|
|
1189
|
+
/** The list's ID. */
|
|
1190
|
+
id?: string | undefined;
|
|
1191
|
+
/** The time that this list was created, in milliseconds since the UNIX epoch. */
|
|
1192
|
+
created?: string | undefined;
|
|
1193
|
+
/** The time that this list was updated, in milliseconds since the UNIX epoch. */
|
|
1194
|
+
updated?: string | undefined;
|
|
1195
|
+
/** The name of this list. */
|
|
1196
|
+
name?: string | undefined;
|
|
1197
|
+
/** The IDs of the list items. */
|
|
1198
|
+
itemIDs?: number[] | undefined;
|
|
1199
|
+
}
|
|
1200
|
+
export declare class DataCenter implements IDataCenter {
|
|
1201
|
+
name?: string | undefined;
|
|
1202
|
+
region?: string | undefined;
|
|
1203
|
+
worlds?: number[] | undefined;
|
|
1204
|
+
constructor(data?: IDataCenter);
|
|
1205
|
+
init(_data?: any): void;
|
|
1206
|
+
static fromJS(data: any): DataCenter;
|
|
1207
|
+
toJSON(data?: any): any;
|
|
1208
|
+
}
|
|
1209
|
+
export interface IDataCenter {
|
|
1210
|
+
name?: string | undefined;
|
|
1211
|
+
region?: string | undefined;
|
|
1212
|
+
worlds?: number[] | undefined;
|
|
1213
|
+
}
|
|
1214
|
+
export declare class World implements IWorld {
|
|
1215
|
+
id: number;
|
|
1216
|
+
name?: string | undefined;
|
|
1217
|
+
constructor(data?: IWorld);
|
|
1218
|
+
init(_data?: any): void;
|
|
1219
|
+
static fromJS(data: any): World;
|
|
1220
|
+
toJSON(data?: any): any;
|
|
1221
|
+
}
|
|
1222
|
+
export interface IWorld {
|
|
1223
|
+
id: number;
|
|
1224
|
+
name?: string | undefined;
|
|
1225
|
+
}
|
|
1226
|
+
export declare class SwaggerException extends Error {
|
|
1227
|
+
message: string;
|
|
1228
|
+
status: number;
|
|
1229
|
+
response: string;
|
|
1230
|
+
headers: {
|
|
1231
|
+
[key: string]: any;
|
|
1232
|
+
};
|
|
1233
|
+
result: any;
|
|
1234
|
+
constructor(message: string, status: number, response: string, headers: {
|
|
1235
|
+
[key: string]: any;
|
|
1236
|
+
}, result: any);
|
|
1237
|
+
protected isSwaggerException: boolean;
|
|
1238
|
+
static isSwaggerException(obj: any): obj is SwaggerException;
|
|
1239
|
+
}
|
|
1240
|
+
//# sourceMappingURL=v2.d.ts.map
|