dcl-catalyst-client 22.0.0 → 22.0.1-38601546385.commit-cee8815
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/README.md +47 -0
- package/dist/client/CatalystClient.d.ts.map +1 -1
- package/dist/client/CatalystClient.js +2 -1
- package/dist/client/CatalystClient.js.map +1 -1
- package/dist/client/ContentClient.d.ts +10 -2
- package/dist/client/ContentClient.d.ts.map +1 -1
- package/dist/client/ContentClient.js +500 -10
- package/dist/client/ContentClient.js.map +1 -1
- package/dist/client/LambdasClient.d.ts +1 -3
- package/dist/client/LambdasClient.d.ts.map +1 -1
- package/dist/client/LambdasClient.js +0 -2
- package/dist/client/LambdasClient.js.map +1 -1
- package/dist/client/index.d.ts +1 -0
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +6 -0
- package/dist/client/index.js.map +1 -1
- package/dist/client/specs/catalyst.schemas.d.ts +1028 -248
- package/dist/client/specs/catalyst.schemas.d.ts.map +1 -1
- package/dist/client/specs/catalyst.schemas.js +149 -3
- package/dist/client/specs/catalyst.schemas.js.map +1 -1
- package/dist/client/specs/lambdas-client.d.ts +829 -251
- package/dist/client/specs/lambdas-client.d.ts.map +1 -1
- package/dist/client/specs/lambdas-client.js +232 -40
- package/dist/client/specs/lambdas-client.js.map +1 -1
- package/dist/client/types.d.ts +75 -0
- package/dist/client/types.d.ts.map +1 -1
- package/dist/client/utils/batching.d.ts +20 -0
- package/dist/client/utils/batching.d.ts.map +1 -0
- package/dist/client/utils/batching.js +39 -0
- package/dist/client/utils/batching.js.map +1 -0
- package/dist/client/utils/errors.d.ts +43 -0
- package/dist/client/utils/errors.d.ts.map +1 -0
- package/dist/client/utils/errors.js +66 -0
- package/dist/client/utils/errors.js.map +1 -0
- package/dist/client/utils/fetcher.d.ts +1 -1
- package/dist/client/utils/fetcher.d.ts.map +1 -1
- package/dist/client/utils/fetcher.js +15 -1
- package/dist/client/utils/fetcher.js.map +1 -1
- package/dist/client/utils/upload-progress.d.ts +57 -0
- package/dist/client/utils/upload-progress.d.ts.map +1 -0
- package/dist/client/utils/upload-progress.js +246 -0
- package/dist/client/utils/upload-progress.js.map +1 -0
- package/dist/contracts-snapshots/data.d.ts.map +1 -1
- package/dist/contracts-snapshots/data.js +7 -1
- package/dist/contracts-snapshots/data.js.map +1 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +9 -0
- package/dist/index.js.map +1 -1
- package/dist/package.json +1 -1
- package/package.json +3 -3
|
@@ -1,31 +1,94 @@
|
|
|
1
|
-
export type
|
|
2
|
-
|
|
1
|
+
export type ValidateSignature400 = SchemaValidationError | LambdasError;
|
|
2
|
+
export type GetNftsCollections200CollectionsItem = {
|
|
3
|
+
id: string;
|
|
4
|
+
name: string;
|
|
3
5
|
};
|
|
4
|
-
export type
|
|
5
|
-
|
|
6
|
+
export type GetNftsCollections200 = {
|
|
7
|
+
collections: GetNftsCollections200CollectionsItem[];
|
|
6
8
|
};
|
|
7
|
-
export type
|
|
8
|
-
|
|
9
|
+
export type GetEmotesByOwner200Item = {
|
|
10
|
+
/** Number of tokens of this item owned by the address */
|
|
11
|
+
amount: number;
|
|
12
|
+
/** Present only when `includeDefinitions` is set */
|
|
13
|
+
definition?: EmoteDefinition;
|
|
14
|
+
urn: string;
|
|
15
|
+
};
|
|
16
|
+
export type GetEmotesByOwnerIncludeDefinitions = (typeof GetEmotesByOwnerIncludeDefinitions)[keyof typeof GetEmotesByOwnerIncludeDefinitions];
|
|
17
|
+
export declare const GetEmotesByOwnerIncludeDefinitions: {
|
|
18
|
+
readonly true: "true";
|
|
19
|
+
};
|
|
20
|
+
export type GetEmotesByOwnerParams = {
|
|
21
|
+
/**
|
|
22
|
+
* Third party collection URN. Only the third party part of the URN (the first five segments) is used.
|
|
23
|
+
*/
|
|
24
|
+
collectionId?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Presence flag: when present with any value (even `false`), each element is extended with its emote definition. Omit it to disable.
|
|
27
|
+
*/
|
|
28
|
+
includeDefinitions?: GetEmotesByOwnerIncludeDefinitions;
|
|
29
|
+
};
|
|
30
|
+
export type GetWearablesByOwner200Item = {
|
|
31
|
+
/** Number of tokens of this item owned by the address */
|
|
32
|
+
amount: number;
|
|
33
|
+
/** Present only when `includeDefinitions` is set */
|
|
34
|
+
definition?: WearableDefinition;
|
|
35
|
+
urn: string;
|
|
36
|
+
};
|
|
37
|
+
export type GetWearablesByOwnerIncludeDefinitions = (typeof GetWearablesByOwnerIncludeDefinitions)[keyof typeof GetWearablesByOwnerIncludeDefinitions];
|
|
38
|
+
export declare const GetWearablesByOwnerIncludeDefinitions: {
|
|
39
|
+
readonly true: "true";
|
|
40
|
+
};
|
|
41
|
+
export type GetWearablesByOwnerParams = {
|
|
42
|
+
/**
|
|
43
|
+
* Third party collection URN. Only the third party part of the URN (the first five segments) is used.
|
|
44
|
+
*/
|
|
45
|
+
collectionId?: string;
|
|
46
|
+
/**
|
|
47
|
+
* Presence flag: when present with any value (even `false`), each element is extended with its wearable definition. Omit it to disable.
|
|
48
|
+
*/
|
|
49
|
+
includeDefinitions?: GetWearablesByOwnerIncludeDefinitions;
|
|
50
|
+
};
|
|
51
|
+
export type SearchEmotesParams = {
|
|
52
|
+
/**
|
|
53
|
+
* Collection URN to search in. Can be repeated up to 500 times.
|
|
54
|
+
*/
|
|
55
|
+
collectionId?: string[];
|
|
56
|
+
/**
|
|
57
|
+
* Emote URN to retrieve. Can be repeated up to 500 times.
|
|
58
|
+
*/
|
|
59
|
+
emoteId?: string[];
|
|
60
|
+
/**
|
|
61
|
+
* Text to search for in the emotes. Case-insensitive, at least 3 characters.
|
|
62
|
+
*/
|
|
63
|
+
textSearch?: string;
|
|
64
|
+
/**
|
|
65
|
+
* Maximum number of emotes to return. Values that are not a number between 1 and 500 fall back to 500.
|
|
66
|
+
*/
|
|
67
|
+
limit?: number;
|
|
68
|
+
/**
|
|
69
|
+
* URN of the last emote of the previous page. Only emotes with a greater URN are returned.
|
|
70
|
+
*/
|
|
71
|
+
lastId?: string;
|
|
9
72
|
};
|
|
10
73
|
export type SearchWearablesParams = {
|
|
11
74
|
/**
|
|
12
|
-
*
|
|
75
|
+
* Collection URN to search in. Can be repeated up to 500 times.
|
|
13
76
|
*/
|
|
14
77
|
collectionId?: string[];
|
|
15
78
|
/**
|
|
16
|
-
*
|
|
79
|
+
* Wearable URN to retrieve. Can be repeated up to 500 times.
|
|
17
80
|
*/
|
|
18
81
|
wearableId?: string[];
|
|
19
82
|
/**
|
|
20
|
-
*
|
|
83
|
+
* Text to search for in the wearables. Case-insensitive, at least 3 characters.
|
|
21
84
|
*/
|
|
22
85
|
textSearch?: string;
|
|
23
86
|
/**
|
|
24
|
-
*
|
|
87
|
+
* Maximum number of wearables to return. Values that are not a number between 1 and 500 fall back to 500.
|
|
25
88
|
*/
|
|
26
89
|
limit?: number;
|
|
27
90
|
/**
|
|
28
|
-
*
|
|
91
|
+
* URN of the last wearable of the previous page. Only wearables with a greater URN are returned.
|
|
29
92
|
*/
|
|
30
93
|
lastId?: string;
|
|
31
94
|
};
|
|
@@ -35,15 +98,23 @@ export type GetThirdPartyCollection200 = {
|
|
|
35
98
|
pageSize: number;
|
|
36
99
|
totalAmount: number;
|
|
37
100
|
};
|
|
101
|
+
export type GetThirdPartyCollectionIncludeDefinitions = (typeof GetThirdPartyCollectionIncludeDefinitions)[keyof typeof GetThirdPartyCollectionIncludeDefinitions];
|
|
102
|
+
export declare const GetThirdPartyCollectionIncludeDefinitions: {
|
|
103
|
+
readonly true: "true";
|
|
104
|
+
};
|
|
38
105
|
export type GetThirdPartyCollectionParams = {
|
|
106
|
+
/**
|
|
107
|
+
* Presence flag: when present with any value (even `false`), each element is extended with its wearable definition. Omit it to disable.
|
|
108
|
+
*/
|
|
109
|
+
includeDefinitions?: GetThirdPartyCollectionIncludeDefinitions;
|
|
39
110
|
/**
|
|
40
111
|
* The number of the requested page.
|
|
41
112
|
*/
|
|
42
|
-
pageNum?:
|
|
113
|
+
pageNum?: number;
|
|
43
114
|
/**
|
|
44
115
|
* The size of the requested page.
|
|
45
116
|
*/
|
|
46
|
-
pageSize?:
|
|
117
|
+
pageSize?: number;
|
|
47
118
|
};
|
|
48
119
|
export type GetThirdPartyWearables200 = {
|
|
49
120
|
elements: ThirdPartyWearable[];
|
|
@@ -51,38 +122,78 @@ export type GetThirdPartyWearables200 = {
|
|
|
51
122
|
pageSize: number;
|
|
52
123
|
totalAmount: number;
|
|
53
124
|
};
|
|
125
|
+
export type GetThirdPartyWearablesDirection = (typeof GetThirdPartyWearablesDirection)[keyof typeof GetThirdPartyWearablesDirection];
|
|
126
|
+
export declare const GetThirdPartyWearablesDirection: {
|
|
127
|
+
readonly ASC: "ASC";
|
|
128
|
+
readonly DESC: "DESC";
|
|
129
|
+
};
|
|
130
|
+
export type GetThirdPartyWearablesOrderBy = (typeof GetThirdPartyWearablesOrderBy)[keyof typeof GetThirdPartyWearablesOrderBy];
|
|
131
|
+
export declare const GetThirdPartyWearablesOrderBy: {
|
|
132
|
+
readonly name: "name";
|
|
133
|
+
};
|
|
134
|
+
export type GetThirdPartyWearablesIncludeDefinitions = (typeof GetThirdPartyWearablesIncludeDefinitions)[keyof typeof GetThirdPartyWearablesIncludeDefinitions];
|
|
135
|
+
export declare const GetThirdPartyWearablesIncludeDefinitions: {
|
|
136
|
+
readonly true: "true";
|
|
137
|
+
};
|
|
54
138
|
export type GetThirdPartyWearablesParams = {
|
|
139
|
+
/**
|
|
140
|
+
* Presence flag: when present with any value (even `false`), each element is extended with its wearable definition. Omit it to disable.
|
|
141
|
+
*/
|
|
142
|
+
includeDefinitions?: GetThirdPartyWearablesIncludeDefinitions;
|
|
143
|
+
/**
|
|
144
|
+
* Only return wearables of these categories. Can be repeated.
|
|
145
|
+
*/
|
|
146
|
+
category?: string[];
|
|
147
|
+
/**
|
|
148
|
+
* Only return wearables whose name contains this text. Case-insensitive.
|
|
149
|
+
*/
|
|
150
|
+
name?: string;
|
|
151
|
+
/**
|
|
152
|
+
* Field to sort by.
|
|
153
|
+
*/
|
|
154
|
+
orderBy?: GetThirdPartyWearablesOrderBy;
|
|
155
|
+
/**
|
|
156
|
+
* Sort direction.
|
|
157
|
+
*/
|
|
158
|
+
direction?: GetThirdPartyWearablesDirection;
|
|
55
159
|
/**
|
|
56
160
|
* The number of the requested page.
|
|
57
161
|
*/
|
|
58
|
-
pageNum?:
|
|
162
|
+
pageNum?: number;
|
|
59
163
|
/**
|
|
60
164
|
* The size of the requested page.
|
|
61
165
|
*/
|
|
62
|
-
pageSize?:
|
|
166
|
+
pageSize?: number;
|
|
63
167
|
};
|
|
64
|
-
export type
|
|
65
|
-
|
|
168
|
+
export type GetLandsPermissionsParams = {
|
|
169
|
+
/**
|
|
170
|
+
* The number of the requested page.
|
|
171
|
+
*/
|
|
172
|
+
pageNum?: number;
|
|
173
|
+
/**
|
|
174
|
+
* The size of the requested page.
|
|
175
|
+
*/
|
|
176
|
+
pageSize?: number;
|
|
66
177
|
};
|
|
67
178
|
export type GetLandsParams = {
|
|
68
179
|
/**
|
|
69
|
-
* The number of the requested page.
|
|
180
|
+
* The number of the requested page.
|
|
70
181
|
*/
|
|
71
|
-
pageNum?:
|
|
182
|
+
pageNum?: number;
|
|
72
183
|
/**
|
|
73
|
-
* The size of the requested page.
|
|
184
|
+
* The size of the requested page.
|
|
74
185
|
*/
|
|
75
|
-
pageSize?:
|
|
186
|
+
pageSize?: number;
|
|
76
187
|
};
|
|
77
188
|
export type GetNamesParams = {
|
|
78
189
|
/**
|
|
79
|
-
* The number of the requested page.
|
|
190
|
+
* The number of the requested page.
|
|
80
191
|
*/
|
|
81
|
-
pageNum?:
|
|
192
|
+
pageNum?: number;
|
|
82
193
|
/**
|
|
83
|
-
* The size of the requested page.
|
|
194
|
+
* The size of the requested page.
|
|
84
195
|
*/
|
|
85
|
-
pageSize?:
|
|
196
|
+
pageSize?: number;
|
|
86
197
|
};
|
|
87
198
|
export type GetEmotes200 = {
|
|
88
199
|
elements: Emote[];
|
|
@@ -90,23 +201,62 @@ export type GetEmotes200 = {
|
|
|
90
201
|
pageSize: number;
|
|
91
202
|
totalAmount: number;
|
|
92
203
|
};
|
|
204
|
+
export type GetEmotesDirection = (typeof GetEmotesDirection)[keyof typeof GetEmotesDirection];
|
|
205
|
+
export declare const GetEmotesDirection: {
|
|
206
|
+
readonly ASC: "ASC";
|
|
207
|
+
readonly DESC: "DESC";
|
|
208
|
+
};
|
|
209
|
+
export type GetEmotesOrderBy = (typeof GetEmotesOrderBy)[keyof typeof GetEmotesOrderBy];
|
|
210
|
+
export declare const GetEmotesOrderBy: {
|
|
211
|
+
readonly rarity: "rarity";
|
|
212
|
+
readonly name: "name";
|
|
213
|
+
readonly date: "date";
|
|
214
|
+
};
|
|
215
|
+
export type GetEmotesIncludeDefinitions = (typeof GetEmotesIncludeDefinitions)[keyof typeof GetEmotesIncludeDefinitions];
|
|
216
|
+
export declare const GetEmotesIncludeDefinitions: {
|
|
217
|
+
readonly true: "true";
|
|
218
|
+
};
|
|
219
|
+
export type GetEmotesIncludeEntities = (typeof GetEmotesIncludeEntities)[keyof typeof GetEmotesIncludeEntities];
|
|
220
|
+
export declare const GetEmotesIncludeEntities: {
|
|
221
|
+
readonly true: "true";
|
|
222
|
+
};
|
|
93
223
|
export type GetEmotesParams = {
|
|
94
224
|
/**
|
|
95
|
-
*
|
|
225
|
+
* Presence flag: when present with any value (even `false`), each element is extended with its content server entity. Omit it to disable. Cannot be combined with `includeDefinitions`.
|
|
96
226
|
*/
|
|
97
|
-
|
|
227
|
+
includeEntities?: GetEmotesIncludeEntities;
|
|
228
|
+
/**
|
|
229
|
+
* Presence flag: when present with any value (even `false`), each element is extended with its emote definition. Omit it to disable. Cannot be combined with `includeEntities`.
|
|
230
|
+
*/
|
|
231
|
+
includeDefinitions?: GetEmotesIncludeDefinitions;
|
|
232
|
+
/**
|
|
233
|
+
* Only return emotes of this category. Case-insensitive.
|
|
234
|
+
*/
|
|
235
|
+
category?: string;
|
|
236
|
+
/**
|
|
237
|
+
* Only return emotes of this rarity. Case-insensitive.
|
|
238
|
+
*/
|
|
239
|
+
rarity?: string;
|
|
240
|
+
/**
|
|
241
|
+
* Only return emotes whose name contains this text. Case-insensitive.
|
|
242
|
+
*/
|
|
243
|
+
name?: string;
|
|
244
|
+
/**
|
|
245
|
+
* Field to sort by. `date` is the transfer date of the tokens.
|
|
246
|
+
*/
|
|
247
|
+
orderBy?: GetEmotesOrderBy;
|
|
98
248
|
/**
|
|
99
|
-
*
|
|
249
|
+
* Sort direction. Defaults to `ASC` when sorting by `name` and to `DESC` otherwise.
|
|
100
250
|
*/
|
|
101
|
-
|
|
251
|
+
direction?: GetEmotesDirection;
|
|
102
252
|
/**
|
|
103
253
|
* The number of the requested page.
|
|
104
254
|
*/
|
|
105
|
-
pageNum?:
|
|
255
|
+
pageNum?: number;
|
|
106
256
|
/**
|
|
107
|
-
* The size of the requested page
|
|
257
|
+
* The size of the requested page.
|
|
108
258
|
*/
|
|
109
|
-
pageSize?:
|
|
259
|
+
pageSize?: number;
|
|
110
260
|
};
|
|
111
261
|
export type GetWearables200 = {
|
|
112
262
|
elements: Wearable[];
|
|
@@ -114,79 +264,257 @@ export type GetWearables200 = {
|
|
|
114
264
|
pageSize: number;
|
|
115
265
|
totalAmount: number;
|
|
116
266
|
};
|
|
267
|
+
export type GetWearablesDirection = (typeof GetWearablesDirection)[keyof typeof GetWearablesDirection];
|
|
268
|
+
export declare const GetWearablesDirection: {
|
|
269
|
+
readonly ASC: "ASC";
|
|
270
|
+
readonly DESC: "DESC";
|
|
271
|
+
};
|
|
272
|
+
export type GetWearablesOrderBy = (typeof GetWearablesOrderBy)[keyof typeof GetWearablesOrderBy];
|
|
273
|
+
export declare const GetWearablesOrderBy: {
|
|
274
|
+
readonly rarity: "rarity";
|
|
275
|
+
readonly name: "name";
|
|
276
|
+
readonly date: "date";
|
|
277
|
+
};
|
|
278
|
+
export type GetWearablesIncludeDefinitions = (typeof GetWearablesIncludeDefinitions)[keyof typeof GetWearablesIncludeDefinitions];
|
|
279
|
+
export declare const GetWearablesIncludeDefinitions: {
|
|
280
|
+
readonly true: "true";
|
|
281
|
+
};
|
|
282
|
+
export type GetWearablesIncludeEntities = (typeof GetWearablesIncludeEntities)[keyof typeof GetWearablesIncludeEntities];
|
|
283
|
+
export declare const GetWearablesIncludeEntities: {
|
|
284
|
+
readonly true: "true";
|
|
285
|
+
};
|
|
117
286
|
export type GetWearablesParams = {
|
|
118
287
|
/**
|
|
119
|
-
*
|
|
288
|
+
* Presence flag: when present with any value (even `false`), each element is extended with its content server entity. Omit it to disable. Cannot be combined with `includeDefinitions`.
|
|
120
289
|
*/
|
|
121
|
-
includeEntities?:
|
|
290
|
+
includeEntities?: GetWearablesIncludeEntities;
|
|
122
291
|
/**
|
|
123
|
-
*
|
|
292
|
+
* Presence flag: when present with any value (even `false`), each element is extended with its wearable definition. Omit it to disable. Cannot be combined with `includeEntities`.
|
|
124
293
|
*/
|
|
125
|
-
|
|
294
|
+
includeDefinitions?: GetWearablesIncludeDefinitions;
|
|
126
295
|
/**
|
|
127
|
-
*
|
|
296
|
+
* Only return wearables of this category. Case-insensitive.
|
|
128
297
|
*/
|
|
129
|
-
|
|
298
|
+
category?: string;
|
|
130
299
|
/**
|
|
131
|
-
*
|
|
300
|
+
* Only return wearables of this rarity. Case-insensitive.
|
|
301
|
+
*/
|
|
302
|
+
rarity?: string;
|
|
303
|
+
/**
|
|
304
|
+
* Only return wearables whose name contains this text. Case-insensitive.
|
|
305
|
+
*/
|
|
306
|
+
name?: string;
|
|
307
|
+
/**
|
|
308
|
+
* Field to sort by. `date` is the transfer date of the tokens.
|
|
309
|
+
*/
|
|
310
|
+
orderBy?: GetWearablesOrderBy;
|
|
311
|
+
/**
|
|
312
|
+
* Sort direction. Defaults to `ASC` when sorting by `name` and to `DESC` otherwise.
|
|
132
313
|
*/
|
|
133
|
-
|
|
314
|
+
direction?: GetWearablesDirection;
|
|
134
315
|
/**
|
|
135
|
-
*
|
|
316
|
+
* The number of the requested page.
|
|
317
|
+
*/
|
|
318
|
+
pageNum?: number;
|
|
319
|
+
/**
|
|
320
|
+
* The size of the requested page.
|
|
136
321
|
*/
|
|
137
|
-
|
|
322
|
+
pageSize?: number;
|
|
138
323
|
};
|
|
139
324
|
export type GetCollections200CollectionsItem = {
|
|
140
325
|
id: string;
|
|
141
326
|
name: string;
|
|
142
327
|
};
|
|
143
328
|
export type GetCollections200 = {
|
|
144
|
-
collections
|
|
145
|
-
};
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
export
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
export type
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
export
|
|
188
|
-
|
|
189
|
-
|
|
329
|
+
collections: GetCollections200CollectionsItem[];
|
|
330
|
+
};
|
|
331
|
+
/**
|
|
332
|
+
* When `true` together with `trimmed`, adds the number of owned copies as `amount` to each trimmed element. Ignored without `trimmed`.
|
|
333
|
+
*/
|
|
334
|
+
export type IncludeAmountParameter = boolean;
|
|
335
|
+
/**
|
|
336
|
+
* When `true`, each element is returned in its trimmed form: a reduced entity with only the fields needed to render the backpack. Otherwise the full form is returned.
|
|
337
|
+
*/
|
|
338
|
+
export type TrimmedParameter = boolean;
|
|
339
|
+
/**
|
|
340
|
+
* Number of elements per page. Values above 1000 are rejected with a 400.
|
|
341
|
+
*/
|
|
342
|
+
export type PageSizeParameter = number;
|
|
343
|
+
/**
|
|
344
|
+
* Number of the requested page, starting at 1.
|
|
345
|
+
*/
|
|
346
|
+
export type PageNumParameter = number;
|
|
347
|
+
export type DirectionParameter = (typeof DirectionParameter)[keyof typeof DirectionParameter];
|
|
348
|
+
export declare const DirectionParameter: {
|
|
349
|
+
readonly ASC: "ASC";
|
|
350
|
+
readonly DESC: "DESC";
|
|
351
|
+
};
|
|
352
|
+
export type OrderByParameter = (typeof OrderByParameter)[keyof typeof OrderByParameter];
|
|
353
|
+
export declare const OrderByParameter: {
|
|
354
|
+
readonly rarity: "rarity";
|
|
355
|
+
readonly name: "name";
|
|
356
|
+
readonly date: "date";
|
|
357
|
+
};
|
|
358
|
+
export type RarityParameter = (typeof RarityParameter)[keyof typeof RarityParameter];
|
|
359
|
+
export declare const RarityParameter: {
|
|
360
|
+
readonly common: "common";
|
|
361
|
+
readonly uncommon: "uncommon";
|
|
362
|
+
readonly rare: "rare";
|
|
363
|
+
readonly epic: "epic";
|
|
364
|
+
readonly legendary: "legendary";
|
|
365
|
+
readonly exotic: "exotic";
|
|
366
|
+
readonly mythic: "mythic";
|
|
367
|
+
readonly unique: "unique";
|
|
368
|
+
};
|
|
369
|
+
/**
|
|
370
|
+
* Only return elements whose name contains this text (case-insensitive).
|
|
371
|
+
*/
|
|
372
|
+
export type NameParameter = string;
|
|
373
|
+
/**
|
|
374
|
+
* Only return elements of the given category (case-insensitive). Repeat the parameter to match any of several categories.
|
|
375
|
+
*/
|
|
376
|
+
export type CategoryParameter = string[];
|
|
377
|
+
export type EmotesExplorerElementsItem = ExplorerEmote | ExplorerEmoteTrimmed;
|
|
378
|
+
export interface EmotesExplorer {
|
|
379
|
+
/** Full elements by default, trimmed elements when `trimmed` is set. */
|
|
380
|
+
elements: EmotesExplorerElementsItem[];
|
|
381
|
+
pageNum: number;
|
|
382
|
+
pageSize: number;
|
|
383
|
+
/** Number of elements matching the filters across all pages. */
|
|
384
|
+
totalAmount: number;
|
|
385
|
+
}
|
|
386
|
+
export type ExplorerEmoteTrimmedEntityMetadataData = {
|
|
387
|
+
/** Absent for emotes without ADR-74 emote data. */
|
|
388
|
+
category?: string;
|
|
389
|
+
representations: ExplorerTrimmedRepresentation[];
|
|
390
|
+
};
|
|
391
|
+
export type ExplorerEmoteTrimmedEntityMetadata = {
|
|
392
|
+
data: ExplorerEmoteTrimmedEntityMetadataData;
|
|
393
|
+
/** Item URN. */
|
|
394
|
+
id: string;
|
|
395
|
+
name: string;
|
|
396
|
+
rarity?: string;
|
|
397
|
+
};
|
|
398
|
+
export type ExplorerEmoteTrimmedEntity = {
|
|
399
|
+
/** Entity id. */
|
|
400
|
+
id: string;
|
|
401
|
+
individualData: ExplorerIndividualData[];
|
|
402
|
+
metadata: ExplorerEmoteTrimmedEntityMetadata;
|
|
403
|
+
/** Content hash of the thumbnail file. */
|
|
404
|
+
thumbnail?: string;
|
|
405
|
+
};
|
|
406
|
+
/**
|
|
407
|
+
* Trimmed form of an owned emote, returned when `trimmed` is set.
|
|
408
|
+
*/
|
|
409
|
+
export interface ExplorerEmoteTrimmed {
|
|
410
|
+
/** Number of owned copies. Only present when `includeAmount` is set. */
|
|
411
|
+
amount?: number;
|
|
412
|
+
entity: ExplorerEmoteTrimmedEntity;
|
|
413
|
+
}
|
|
414
|
+
export type ExplorerEmoteType = (typeof ExplorerEmoteType)[keyof typeof ExplorerEmoteType];
|
|
415
|
+
export declare const ExplorerEmoteType: {
|
|
416
|
+
readonly 'on-chain': "on-chain";
|
|
417
|
+
};
|
|
418
|
+
/**
|
|
419
|
+
* An emote owned by the address, grouped by URN.
|
|
420
|
+
*/
|
|
421
|
+
export interface ExplorerEmote {
|
|
422
|
+
/** Number of owned copies. */
|
|
423
|
+
amount: number;
|
|
424
|
+
category: string;
|
|
425
|
+
entity: Entity;
|
|
426
|
+
individualData: ExplorerIndividualData[];
|
|
427
|
+
/** Present when the item source reports it. */
|
|
428
|
+
itemType?: string;
|
|
429
|
+
name: string;
|
|
430
|
+
rarity: string;
|
|
431
|
+
type: ExplorerEmoteType;
|
|
432
|
+
urn: string;
|
|
433
|
+
}
|
|
434
|
+
export interface WearablesExplorer {
|
|
435
|
+
/** Full elements by default, trimmed elements when `trimmed` is set. */
|
|
436
|
+
elements: WearablesExplorerElementsItem[];
|
|
437
|
+
pageNum: number;
|
|
438
|
+
pageSize: number;
|
|
439
|
+
/** Number of elements matching the filters across all pages. */
|
|
440
|
+
totalAmount: number;
|
|
441
|
+
}
|
|
442
|
+
export type ExplorerWearableTrimmedEntity = {
|
|
443
|
+
/** Entity id. */
|
|
444
|
+
id: string;
|
|
445
|
+
individualData: ExplorerIndividualData[];
|
|
446
|
+
metadata: ExplorerWearableTrimmedEntityMetadata;
|
|
447
|
+
/** Content hash of the thumbnail file. */
|
|
448
|
+
thumbnail?: string;
|
|
449
|
+
};
|
|
450
|
+
/**
|
|
451
|
+
* Trimmed form of an owned wearable, returned when `trimmed` is set.
|
|
452
|
+
*/
|
|
453
|
+
export interface ExplorerWearableTrimmed {
|
|
454
|
+
/** Number of owned copies. Only present when `includeAmount` is set. */
|
|
455
|
+
amount?: number;
|
|
456
|
+
entity: ExplorerWearableTrimmedEntity;
|
|
457
|
+
}
|
|
458
|
+
export type WearablesExplorerElementsItem = ExplorerWearable | ExplorerWearableTrimmed;
|
|
459
|
+
export interface ExplorerTrimmedRepresentation {
|
|
460
|
+
bodyShapes: string[];
|
|
461
|
+
}
|
|
462
|
+
export type ExplorerWearableTrimmedEntityMetadataData = {
|
|
463
|
+
category: string;
|
|
464
|
+
representations: ExplorerTrimmedRepresentation[];
|
|
465
|
+
};
|
|
466
|
+
export type ExplorerWearableTrimmedEntityMetadata = {
|
|
467
|
+
data: ExplorerWearableTrimmedEntityMetadataData;
|
|
468
|
+
/** Item URN. */
|
|
469
|
+
id: string;
|
|
470
|
+
isSmart: boolean;
|
|
471
|
+
name: string;
|
|
472
|
+
/** Absent when the entity metadata has no rarity, as with base wearables. */
|
|
473
|
+
rarity?: string;
|
|
474
|
+
};
|
|
475
|
+
export type ExplorerWearableType = (typeof ExplorerWearableType)[keyof typeof ExplorerWearableType];
|
|
476
|
+
export declare const ExplorerWearableType: {
|
|
477
|
+
readonly 'base-wearable': "base-wearable";
|
|
478
|
+
readonly 'on-chain': "on-chain";
|
|
479
|
+
readonly 'third-party': "third-party";
|
|
480
|
+
};
|
|
481
|
+
/**
|
|
482
|
+
* Only present for on-chain wearables.
|
|
483
|
+
*/
|
|
484
|
+
export type ExplorerWearableItemType = (typeof ExplorerWearableItemType)[keyof typeof ExplorerWearableItemType];
|
|
485
|
+
export declare const ExplorerWearableItemType: {
|
|
486
|
+
readonly wearable_v1: "wearable_v1";
|
|
487
|
+
readonly wearable_v2: "wearable_v2";
|
|
488
|
+
readonly smart_wearable_v1: "smart_wearable_v1";
|
|
489
|
+
};
|
|
490
|
+
/**
|
|
491
|
+
* One owned copy of the item. Base wearables only carry `id`; third-party wearables may add `tokenId`; on-chain items carry all fields.
|
|
492
|
+
*/
|
|
493
|
+
export interface ExplorerIndividualData {
|
|
494
|
+
/** Identifier of the owned copy (the item URN followed by the token id for on-chain items). */
|
|
495
|
+
id: string;
|
|
496
|
+
/** Price paid, in wei, as a string. */
|
|
497
|
+
price?: string;
|
|
498
|
+
tokenId?: string;
|
|
499
|
+
/** Unix timestamp, in seconds, of the transfer to the current owner, as a string. */
|
|
500
|
+
transferredAt?: string;
|
|
501
|
+
}
|
|
502
|
+
/**
|
|
503
|
+
* A wearable owned by the address, grouped by URN.
|
|
504
|
+
*/
|
|
505
|
+
export interface ExplorerWearable {
|
|
506
|
+
/** Number of owned copies. */
|
|
507
|
+
amount: number;
|
|
508
|
+
category: string;
|
|
509
|
+
entity: Entity;
|
|
510
|
+
individualData: ExplorerIndividualData[];
|
|
511
|
+
/** Only present for on-chain wearables. */
|
|
512
|
+
itemType?: ExplorerWearableItemType;
|
|
513
|
+
name: string;
|
|
514
|
+
/** Only present for on-chain wearables. */
|
|
515
|
+
rarity?: string;
|
|
516
|
+
type: ExplorerWearableType;
|
|
517
|
+
urn: string;
|
|
190
518
|
}
|
|
191
519
|
export type ThirdPartyIntegrationsDataItem = {
|
|
192
520
|
description?: string;
|
|
@@ -201,15 +529,34 @@ export type ProfileAvatarsItemNameColor = {
|
|
|
201
529
|
g: number;
|
|
202
530
|
r: number;
|
|
203
531
|
};
|
|
532
|
+
export type ProfileAvatarsItemLinksItem = {
|
|
533
|
+
title: string;
|
|
534
|
+
url: string;
|
|
535
|
+
};
|
|
204
536
|
export type ProfileAvatarsItem = {
|
|
205
537
|
avatar?: ProfileAvatarsItemAvatar;
|
|
538
|
+
birthdate?: number;
|
|
539
|
+
blocked?: string[];
|
|
540
|
+
country?: string;
|
|
206
541
|
description?: string;
|
|
207
542
|
email?: string;
|
|
543
|
+
employmentStatus?: string;
|
|
208
544
|
ethAddress?: string;
|
|
545
|
+
gender?: string;
|
|
209
546
|
hasClaimedName?: boolean;
|
|
547
|
+
hasConnectedWeb3?: boolean;
|
|
548
|
+
hobbies?: string;
|
|
210
549
|
interests?: string[];
|
|
550
|
+
language?: string;
|
|
551
|
+
links?: ProfileAvatarsItemLinksItem[];
|
|
552
|
+
muted?: string[];
|
|
211
553
|
name?: string;
|
|
212
554
|
nameColor?: ProfileAvatarsItemNameColor;
|
|
555
|
+
profession?: string;
|
|
556
|
+
pronouns?: string;
|
|
557
|
+
realName?: string;
|
|
558
|
+
relationshipStatus?: string;
|
|
559
|
+
sexualOrientation?: string;
|
|
213
560
|
tutorialStep?: number;
|
|
214
561
|
unclaimedName?: string;
|
|
215
562
|
userId?: string;
|
|
@@ -260,50 +607,59 @@ export type ProfileAvatarsItemAvatar = {
|
|
|
260
607
|
bodyShape?: string;
|
|
261
608
|
emotes?: ProfileAvatarsItemAvatarEmotesItem[];
|
|
262
609
|
eyes?: ProfileAvatarsItemAvatarEyes;
|
|
610
|
+
/** Wearable categories rendered even when hidden by other wearables */
|
|
611
|
+
forceRender?: string[];
|
|
263
612
|
hair?: ProfileAvatarsItemAvatarHair;
|
|
264
613
|
skin?: ProfileAvatarsItemAvatarSkin;
|
|
265
614
|
snapshots?: ProfileAvatarsItemAvatarSnapshots;
|
|
266
615
|
wearables?: string[];
|
|
267
616
|
};
|
|
268
617
|
export interface PostProfiles {
|
|
269
|
-
ids
|
|
618
|
+
ids: string[];
|
|
270
619
|
}
|
|
271
620
|
export interface ParcelOperators {
|
|
272
|
-
address: string;
|
|
273
621
|
approvedForAll: string[];
|
|
274
622
|
operator: string | null;
|
|
623
|
+
owner: string;
|
|
275
624
|
updateManagers: string[];
|
|
276
625
|
updateOperator: string | null;
|
|
277
626
|
}
|
|
278
|
-
export type
|
|
279
|
-
|
|
280
|
-
maxUsers?: number;
|
|
281
|
-
serverName?: string;
|
|
282
|
-
url?: string;
|
|
283
|
-
userParcels?: number[][];
|
|
284
|
-
usersCount?: number;
|
|
285
|
-
};
|
|
286
|
-
export type Realms = RealmsItem[];
|
|
287
|
-
export type HotScenesItemRealmsItem = {
|
|
288
|
-
layer?: string;
|
|
289
|
-
maxUsers?: number;
|
|
290
|
-
serverName?: string;
|
|
291
|
-
url?: string;
|
|
292
|
-
userParcels?: number[][];
|
|
293
|
-
usersCount?: number;
|
|
294
|
-
};
|
|
295
|
-
export type HotScenesItem = {
|
|
296
|
-
baseCoords?: number[];
|
|
297
|
-
creator?: string;
|
|
298
|
-
description?: string;
|
|
299
|
-
id?: string;
|
|
300
|
-
name?: string;
|
|
301
|
-
parcels?: number[][];
|
|
302
|
-
realms?: HotScenesItemRealmsItem[];
|
|
303
|
-
thumbnail?: string;
|
|
304
|
-
usersTotalCount?: number;
|
|
627
|
+
export type SchemaValidationErrorDataItem = {
|
|
628
|
+
[key: string]: any;
|
|
305
629
|
};
|
|
306
|
-
export
|
|
630
|
+
export interface SchemaValidationError {
|
|
631
|
+
/** JSON schema validation errors */
|
|
632
|
+
data?: SchemaValidationErrorDataItem[];
|
|
633
|
+
message: string;
|
|
634
|
+
ok: boolean;
|
|
635
|
+
}
|
|
636
|
+
export interface ValidateSignatureResponse {
|
|
637
|
+
/** Reason the validation failed */
|
|
638
|
+
error?: string;
|
|
639
|
+
/** Address of the first link of the chain. Present only when the signature is valid. */
|
|
640
|
+
ownerAddress?: string;
|
|
641
|
+
valid: boolean;
|
|
642
|
+
}
|
|
643
|
+
export type ValidateSignatureRequestAuthChainItemType = (typeof ValidateSignatureRequestAuthChainItemType)[keyof typeof ValidateSignatureRequestAuthChainItemType];
|
|
644
|
+
export declare const ValidateSignatureRequestAuthChainItemType: {
|
|
645
|
+
readonly SIGNER: "SIGNER";
|
|
646
|
+
readonly ECDSA_EPHEMERAL: "ECDSA_EPHEMERAL";
|
|
647
|
+
readonly ECDSA_SIGNED_ENTITY: "ECDSA_SIGNED_ENTITY";
|
|
648
|
+
readonly ECDSA_EIP_1654_EPHEMERAL: "ECDSA_EIP_1654_EPHEMERAL";
|
|
649
|
+
readonly ECDSA_EIP_1654_SIGNED_ENTITY: "ECDSA_EIP_1654_SIGNED_ENTITY";
|
|
650
|
+
};
|
|
651
|
+
export type ValidateSignatureRequestAuthChainItem = {
|
|
652
|
+
payload: string;
|
|
653
|
+
/** Required for every link except `SIGNER`, which takes an empty string or null */
|
|
654
|
+
signature?: string | null;
|
|
655
|
+
type: ValidateSignatureRequestAuthChainItemType;
|
|
656
|
+
};
|
|
657
|
+
export interface ValidateSignatureRequest {
|
|
658
|
+
authChain: ValidateSignatureRequestAuthChainItem[];
|
|
659
|
+
signedMessage?: string;
|
|
660
|
+
/** Legacy alternative to `signedMessage`, used only when `signedMessage` is absent */
|
|
661
|
+
timestamp?: string;
|
|
662
|
+
}
|
|
307
663
|
export type DenylistedUsernames = string[];
|
|
308
664
|
export type Pois = string[];
|
|
309
665
|
export type ServersItem = {
|
|
@@ -312,77 +668,83 @@ export type ServersItem = {
|
|
|
312
668
|
owner: string;
|
|
313
669
|
};
|
|
314
670
|
export type Servers = ServersItem[];
|
|
315
|
-
export
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
};
|
|
319
|
-
export type WearablesWearablesItem = {
|
|
320
|
-
collectionAddress?: string;
|
|
321
|
-
createdAt?: number;
|
|
322
|
-
data?: WearablesWearablesItemData;
|
|
323
|
-
description?: string;
|
|
324
|
-
i18n?: WearablesWearablesItemI18nItem[];
|
|
325
|
-
id?: string;
|
|
326
|
-
image?: string;
|
|
327
|
-
rarity?: string;
|
|
328
|
-
thumbnail?: string;
|
|
329
|
-
updatedAt?: number;
|
|
330
|
-
};
|
|
331
|
-
export interface Wearables {
|
|
332
|
-
filters?: WearablesFilters;
|
|
333
|
-
pagination?: WearablesPagination;
|
|
334
|
-
wearables?: WearablesWearablesItem[];
|
|
671
|
+
export interface NameOwner {
|
|
672
|
+
/** Ethereum address of the owner of the name */
|
|
673
|
+
owner: string;
|
|
335
674
|
}
|
|
336
|
-
export
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
contents?: WearablesWearablesItemDataRepresentationsItemContentsItem[];
|
|
342
|
-
mainFile?: string;
|
|
343
|
-
overrideHides?: WearablesWearablesItemDataRepresentationsItemOverrideHidesItem[];
|
|
344
|
-
overrideReplaces?: WearablesWearablesItemDataRepresentationsItemOverrideReplacesItem[];
|
|
345
|
-
};
|
|
346
|
-
export type WearablesWearablesItemData = {
|
|
347
|
-
category?: string;
|
|
348
|
-
hides?: string[];
|
|
349
|
-
replaces?: string[];
|
|
350
|
-
representations?: WearablesWearablesItemDataRepresentationsItem[];
|
|
351
|
-
tags?: string[];
|
|
352
|
-
};
|
|
353
|
-
export type WearablesWearablesItemDataRepresentationsItemOverrideHidesItem = {
|
|
354
|
-
[key: string]: any;
|
|
355
|
-
};
|
|
356
|
-
export type WearablesWearablesItemDataRepresentationsItemContentsItem = {
|
|
357
|
-
key?: string;
|
|
358
|
-
url?: string;
|
|
359
|
-
};
|
|
360
|
-
export type WearablesPagination = {
|
|
361
|
-
limit?: number;
|
|
675
|
+
export interface CatalogPagination {
|
|
676
|
+
/** The `lastId` received in the request, if any */
|
|
677
|
+
lastId?: string;
|
|
678
|
+
limit: number;
|
|
679
|
+
/** Query string to request the next page. Absent on the last page. */
|
|
362
680
|
next?: string;
|
|
363
|
-
}
|
|
364
|
-
|
|
681
|
+
}
|
|
682
|
+
/**
|
|
683
|
+
* Filters applied to the search, lowercased
|
|
684
|
+
*/
|
|
685
|
+
export interface CatalogFilters {
|
|
686
|
+
collectionIds?: string[];
|
|
687
|
+
itemIds?: string[];
|
|
365
688
|
textSearch?: string;
|
|
366
|
-
}
|
|
689
|
+
}
|
|
690
|
+
export interface Emotes {
|
|
691
|
+
emotes: EmoteDefinition[];
|
|
692
|
+
filters: CatalogFilters;
|
|
693
|
+
pagination: CatalogPagination;
|
|
694
|
+
}
|
|
695
|
+
export interface Wearables {
|
|
696
|
+
filters: CatalogFilters;
|
|
697
|
+
pagination: CatalogPagination;
|
|
698
|
+
wearables: WearableDefinition[];
|
|
699
|
+
}
|
|
367
700
|
export type ThirdPartyWearableIndividualDataItem = {
|
|
368
|
-
id
|
|
701
|
+
id: string;
|
|
702
|
+
tokenId?: string;
|
|
369
703
|
};
|
|
704
|
+
export interface ThirdPartyWearable {
|
|
705
|
+
amount: number;
|
|
706
|
+
category: string;
|
|
707
|
+
/** Present only when `includeDefinitions` is set */
|
|
708
|
+
definition?: WearableDefinition;
|
|
709
|
+
entity: Entity;
|
|
710
|
+
individualData: ThirdPartyWearableIndividualDataItem[];
|
|
711
|
+
name: string;
|
|
712
|
+
urn: string;
|
|
713
|
+
}
|
|
370
714
|
export interface ParcelPermissions {
|
|
371
|
-
address: boolean;
|
|
372
715
|
approvedForAll: boolean;
|
|
373
716
|
operator: boolean;
|
|
717
|
+
owner: boolean;
|
|
374
718
|
updateManager: boolean;
|
|
375
719
|
updateOperator: boolean;
|
|
376
720
|
}
|
|
721
|
+
export type LandsPermissionsPaginatedElementsItem = {
|
|
722
|
+
/** Parcel id in the LAND subgraph */
|
|
723
|
+
id: string;
|
|
724
|
+
owner: string;
|
|
725
|
+
updateOperator: string;
|
|
726
|
+
x: string;
|
|
727
|
+
y: string;
|
|
728
|
+
};
|
|
729
|
+
export interface LandsPermissionsPaginated {
|
|
730
|
+
elements: LandsPermissionsPaginatedElementsItem[];
|
|
731
|
+
pageNum: number;
|
|
732
|
+
pageSize: number;
|
|
733
|
+
totalAmount: number;
|
|
734
|
+
}
|
|
377
735
|
export type LandsPaginatedElementsItem = {
|
|
736
|
+
/** `parcel` or `estate` */
|
|
378
737
|
category: string;
|
|
379
738
|
contractAddress: string;
|
|
380
739
|
description?: string;
|
|
381
740
|
image?: string;
|
|
382
741
|
name?: string;
|
|
742
|
+
/** Price in wei of the active order, if any */
|
|
383
743
|
price?: string;
|
|
384
744
|
tokenId: string;
|
|
745
|
+
/** Present only for parcels */
|
|
385
746
|
x?: string;
|
|
747
|
+
/** Present only for parcels */
|
|
386
748
|
y?: string;
|
|
387
749
|
};
|
|
388
750
|
export interface LandsPaginated {
|
|
@@ -394,6 +756,7 @@ export interface LandsPaginated {
|
|
|
394
756
|
export type NamesPaginatedElementsItem = {
|
|
395
757
|
contractAddress: string;
|
|
396
758
|
name: string;
|
|
759
|
+
/** Price in wei of the active order, if any */
|
|
397
760
|
price?: string;
|
|
398
761
|
tokenId: string;
|
|
399
762
|
};
|
|
@@ -403,67 +766,223 @@ export interface NamesPaginated {
|
|
|
403
766
|
pageSize: number;
|
|
404
767
|
totalAmount: number;
|
|
405
768
|
}
|
|
769
|
+
export type EmoteDefinitionEmoteDataADR74RepresentationsItem = {
|
|
770
|
+
bodyShapes: string[];
|
|
771
|
+
contents: ItemContents;
|
|
772
|
+
mainFile: string;
|
|
773
|
+
};
|
|
774
|
+
export type EmoteDefinitionEmoteDataADR74 = {
|
|
775
|
+
category: string;
|
|
776
|
+
loop: boolean;
|
|
777
|
+
representations: EmoteDefinitionEmoteDataADR74RepresentationsItem[];
|
|
778
|
+
tags: string[];
|
|
779
|
+
};
|
|
780
|
+
/**
|
|
781
|
+
* Emote metadata with its file references resolved to content server URLs
|
|
782
|
+
*/
|
|
783
|
+
export interface EmoteDefinition {
|
|
784
|
+
collectionAddress?: string;
|
|
785
|
+
description: string;
|
|
786
|
+
emoteDataADR74: EmoteDefinitionEmoteDataADR74;
|
|
787
|
+
i18n: ItemI18n;
|
|
788
|
+
id: string;
|
|
789
|
+
image: string;
|
|
790
|
+
metrics?: ItemMetrics;
|
|
791
|
+
name: string;
|
|
792
|
+
rarity?: string;
|
|
793
|
+
thumbnail: string;
|
|
794
|
+
}
|
|
406
795
|
export interface Emote {
|
|
407
|
-
|
|
796
|
+
/** Number of tokens of this item owned by the address */
|
|
797
|
+
amount: number;
|
|
408
798
|
category: string;
|
|
799
|
+
/** Present only when `includeDefinitions` is set */
|
|
800
|
+
definition?: EmoteDefinition;
|
|
801
|
+
/** Present only when `includeEntities` is set */
|
|
409
802
|
entity?: Entity;
|
|
803
|
+
individualData: ItemIndividualData;
|
|
804
|
+
name: string;
|
|
805
|
+
rarity: string;
|
|
410
806
|
urn: string;
|
|
411
807
|
}
|
|
412
808
|
export interface LambdasError {
|
|
413
809
|
error: string;
|
|
414
810
|
message: string;
|
|
415
811
|
}
|
|
416
|
-
export type
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
812
|
+
export type WearableDefinitionDataRepresentationsItem = {
|
|
813
|
+
bodyShapes: string[];
|
|
814
|
+
contents: ItemContents;
|
|
815
|
+
mainFile: string;
|
|
816
|
+
overrideHides: string[];
|
|
817
|
+
overrideReplaces: string[];
|
|
818
|
+
};
|
|
819
|
+
export type WearableDefinitionData = {
|
|
820
|
+
category: string;
|
|
821
|
+
hides: string[];
|
|
822
|
+
removesDefaultHiding?: string[];
|
|
823
|
+
replaces: string[];
|
|
824
|
+
representations: WearableDefinitionDataRepresentationsItem[];
|
|
825
|
+
tags: string[];
|
|
826
|
+
};
|
|
827
|
+
export interface ItemMetrics {
|
|
828
|
+
bodies?: number;
|
|
829
|
+
entities?: number;
|
|
830
|
+
materials?: number;
|
|
831
|
+
meshes?: number;
|
|
832
|
+
textures?: number;
|
|
833
|
+
triangles?: number;
|
|
834
|
+
}
|
|
835
|
+
/**
|
|
836
|
+
* Wearable metadata with its file references resolved to content server URLs
|
|
837
|
+
*/
|
|
838
|
+
export interface WearableDefinition {
|
|
839
|
+
collectionAddress?: string;
|
|
840
|
+
data: WearableDefinitionData;
|
|
841
|
+
description: string;
|
|
842
|
+
i18n: ItemI18n;
|
|
843
|
+
id: string;
|
|
844
|
+
image: string;
|
|
845
|
+
metrics?: ItemMetrics;
|
|
846
|
+
name: string;
|
|
847
|
+
rarity?: string;
|
|
848
|
+
thumbnail: string;
|
|
849
|
+
}
|
|
422
850
|
export interface Wearable {
|
|
423
|
-
|
|
851
|
+
/** Number of tokens of this item owned by the address */
|
|
852
|
+
amount: number;
|
|
424
853
|
category: string;
|
|
854
|
+
/** Present only when `includeDefinitions` is set */
|
|
855
|
+
definition?: WearableDefinition;
|
|
856
|
+
/** Present only when `includeEntities` is set */
|
|
425
857
|
entity?: Entity;
|
|
426
|
-
individualData
|
|
858
|
+
individualData: ItemIndividualData;
|
|
427
859
|
name: string;
|
|
428
860
|
rarity: string;
|
|
429
861
|
urn: string;
|
|
430
862
|
}
|
|
863
|
+
export type ItemContentsItem = {
|
|
864
|
+
key: string;
|
|
865
|
+
url: string;
|
|
866
|
+
};
|
|
867
|
+
/**
|
|
868
|
+
* Files of the representation, with their absolute content server URL
|
|
869
|
+
*/
|
|
870
|
+
export type ItemContents = ItemContentsItem[];
|
|
871
|
+
export type ItemI18nItem = {
|
|
872
|
+
code: string;
|
|
873
|
+
text: string;
|
|
874
|
+
};
|
|
875
|
+
export type ItemI18n = ItemI18nItem[];
|
|
876
|
+
export type ItemIndividualDataItem = {
|
|
877
|
+
/** Item URN followed by `:<tokenId>` */
|
|
878
|
+
id: string;
|
|
879
|
+
/** Price in wei, sent as a string */
|
|
880
|
+
price: string;
|
|
881
|
+
tokenId: string;
|
|
882
|
+
/** Unix timestamp in seconds, sent as a string */
|
|
883
|
+
transferredAt: string;
|
|
884
|
+
};
|
|
885
|
+
/**
|
|
886
|
+
* One entry per owned token
|
|
887
|
+
*/
|
|
888
|
+
export type ItemIndividualData = ItemIndividualDataItem[];
|
|
431
889
|
export type Erc721AttributesItem = {
|
|
432
890
|
trait_type?: string;
|
|
433
891
|
value?: string;
|
|
434
892
|
};
|
|
435
893
|
export interface Erc721 {
|
|
436
|
-
attributes
|
|
437
|
-
description
|
|
438
|
-
|
|
894
|
+
attributes: Erc721AttributesItem[];
|
|
895
|
+
description: string;
|
|
896
|
+
/** URN of the item */
|
|
897
|
+
id: string;
|
|
898
|
+
/** URL of the item image, if it has one */
|
|
439
899
|
image?: string;
|
|
440
|
-
language
|
|
900
|
+
language: string;
|
|
441
901
|
name?: string;
|
|
902
|
+
/** URL of the item thumbnail, if it has one */
|
|
442
903
|
thumbnail?: string;
|
|
443
904
|
}
|
|
905
|
+
export interface LambdasInternalError {
|
|
906
|
+
error: string;
|
|
907
|
+
}
|
|
444
908
|
export interface StatusLambdas {
|
|
445
|
-
commitHash
|
|
446
|
-
|
|
447
|
-
|
|
909
|
+
commitHash: string;
|
|
910
|
+
/** Server time in milliseconds since epoch */
|
|
911
|
+
currentTime: number;
|
|
912
|
+
version: string;
|
|
913
|
+
}
|
|
914
|
+
export type DeploymentsPagination = {
|
|
915
|
+
lastId?: string;
|
|
916
|
+
limit: number;
|
|
917
|
+
/** Whether there are more deployments after this page */
|
|
918
|
+
moreData: boolean;
|
|
919
|
+
/** Query string to request the next page, present when `moreData` is true */
|
|
920
|
+
next?: string;
|
|
921
|
+
offset: number;
|
|
922
|
+
};
|
|
923
|
+
/**
|
|
924
|
+
* Filters applied to the request
|
|
925
|
+
*/
|
|
926
|
+
export type DeploymentsFilters = {
|
|
927
|
+
entityIds?: string[];
|
|
928
|
+
entityTypes?: string[];
|
|
929
|
+
from?: number;
|
|
930
|
+
onlyCurrentlyPointed?: boolean;
|
|
931
|
+
pointers?: string[];
|
|
932
|
+
to?: number;
|
|
933
|
+
};
|
|
934
|
+
export interface Deployments {
|
|
935
|
+
deployments: DeploymentsDeploymentsItem[];
|
|
936
|
+
/** Filters applied to the request */
|
|
937
|
+
filters: DeploymentsFilters;
|
|
938
|
+
pagination: DeploymentsPagination;
|
|
448
939
|
}
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
940
|
+
/**
|
|
941
|
+
* Present when `metadata` is in `fields` and the entity has metadata
|
|
942
|
+
*/
|
|
943
|
+
export type DeploymentsDeploymentsItemMetadata = {
|
|
944
|
+
[key: string]: any;
|
|
945
|
+
};
|
|
946
|
+
export type DeploymentsDeploymentsItemContentItem = {
|
|
947
|
+
hash: string;
|
|
948
|
+
/** File name */
|
|
949
|
+
key: string;
|
|
950
|
+
};
|
|
951
|
+
/**
|
|
952
|
+
* Present when `auditInfo` is in `fields`
|
|
953
|
+
*/
|
|
954
|
+
export type DeploymentsDeploymentsItemAuditInfo = {
|
|
955
|
+
authChain: AuthChain;
|
|
956
|
+
localTimestamp: number;
|
|
957
|
+
version: string;
|
|
958
|
+
};
|
|
959
|
+
export type DeploymentsDeploymentsItem = {
|
|
960
|
+
/** Present when `auditInfo` is in `fields` */
|
|
961
|
+
auditInfo?: DeploymentsDeploymentsItemAuditInfo;
|
|
962
|
+
/** Present when `content` is in `fields` */
|
|
963
|
+
content?: DeploymentsDeploymentsItemContentItem[];
|
|
964
|
+
/** Address of the deployer */
|
|
965
|
+
deployedBy: string;
|
|
966
|
+
entityId: string;
|
|
967
|
+
entityTimestamp: number;
|
|
968
|
+
entityType: string;
|
|
969
|
+
entityVersion: string;
|
|
970
|
+
/** Timestamp at which this server stored the deployment */
|
|
971
|
+
localTimestamp: number;
|
|
972
|
+
/** Present when `metadata` is in `fields` and the entity has metadata */
|
|
973
|
+
metadata?: DeploymentsDeploymentsItemMetadata;
|
|
974
|
+
/** Present when `pointers` is in `fields` */
|
|
975
|
+
pointers?: string[];
|
|
453
976
|
};
|
|
454
977
|
export type StatusContentSynchronizationStatus = {
|
|
978
|
+
/** Timestamp of the last time the list of servers was refreshed from the DAO (0 if it hasn't happened yet) */
|
|
455
979
|
lastSyncWithDAO: number;
|
|
456
|
-
|
|
457
|
-
otherServers?: StatusContentSynchronizationStatusOtherServersItem[];
|
|
980
|
+
/** `Bootstrapping` while the server is catching up with the rest of the network, during which it rejects new deployments; `Syncing` afterwards */
|
|
458
981
|
synchronizationState: string;
|
|
459
982
|
};
|
|
460
983
|
export interface StatusContent {
|
|
461
984
|
commitHash: string;
|
|
462
|
-
currentTime?: number;
|
|
463
985
|
ethNetwork: string;
|
|
464
|
-
historySize?: number;
|
|
465
|
-
lastImmutableTime?: number;
|
|
466
|
-
name?: string;
|
|
467
986
|
synchronizationStatus: StatusContentSynchronizationStatus;
|
|
468
987
|
version: string;
|
|
469
988
|
}
|
|
@@ -479,22 +998,52 @@ export type SnapshotsItem = {
|
|
|
479
998
|
timeRange: SnapshotsItemTimeRange;
|
|
480
999
|
};
|
|
481
1000
|
export type Snapshots = SnapshotsItem[];
|
|
1001
|
+
export type PointerChangesPagination = {
|
|
1002
|
+
limit: number;
|
|
1003
|
+
/** Whether there are more deployments after this page */
|
|
1004
|
+
moreData: boolean;
|
|
1005
|
+
/** Query string to request the next page, present when `moreData` is true */
|
|
1006
|
+
next?: string;
|
|
1007
|
+
offset: number;
|
|
1008
|
+
};
|
|
1009
|
+
/**
|
|
1010
|
+
* Filters applied to the request
|
|
1011
|
+
*/
|
|
1012
|
+
export type PointerChangesFilters = {
|
|
1013
|
+
entityTypes?: string[];
|
|
1014
|
+
from?: number;
|
|
1015
|
+
includeAuthChain?: boolean;
|
|
1016
|
+
to?: number;
|
|
1017
|
+
};
|
|
482
1018
|
export type PointerChangesDeltasItem = {
|
|
483
1019
|
authChain: AuthChain;
|
|
1020
|
+
deployerAddress?: string;
|
|
1021
|
+
deploymentId?: number;
|
|
484
1022
|
entityId: string;
|
|
1023
|
+
entityTimestamp: number;
|
|
485
1024
|
entityType: string;
|
|
486
1025
|
localTimestamp: number;
|
|
487
1026
|
pointers: string[];
|
|
1027
|
+
version?: string;
|
|
488
1028
|
};
|
|
489
1029
|
export interface PointerChanges {
|
|
490
1030
|
deltas: PointerChangesDeltasItem[];
|
|
1031
|
+
/** Filters applied to the request */
|
|
1032
|
+
filters?: PointerChangesFilters;
|
|
1033
|
+
pagination?: PointerChangesPagination;
|
|
491
1034
|
}
|
|
492
1035
|
export type FailedDeploymentsItem = {
|
|
1036
|
+
authChain: AuthChain;
|
|
493
1037
|
entityId: string;
|
|
494
1038
|
entityType: string;
|
|
495
1039
|
errorDescription: string;
|
|
496
|
-
|
|
1040
|
+
failureTimestamp: number;
|
|
1041
|
+
/** Timestamp after which the deployment will be retried */
|
|
1042
|
+
nextRetryAt?: number;
|
|
497
1043
|
reason: string;
|
|
1044
|
+
retryCount?: number;
|
|
1045
|
+
/** Hash of the snapshot the entity was found in, when it was synchronized from a snapshot */
|
|
1046
|
+
snapshotHash?: string;
|
|
498
1047
|
};
|
|
499
1048
|
export type FailedDeployments = FailedDeploymentsItem[];
|
|
500
1049
|
export type EntityMetadata = {
|
|
@@ -513,14 +1062,6 @@ export interface Entity {
|
|
|
513
1062
|
type: string;
|
|
514
1063
|
version: string;
|
|
515
1064
|
}
|
|
516
|
-
export interface ThirdPartyWearable {
|
|
517
|
-
amount?: number;
|
|
518
|
-
category: string;
|
|
519
|
-
entity: Entity;
|
|
520
|
-
individualData?: ThirdPartyWearableIndividualDataItem[];
|
|
521
|
-
name: string;
|
|
522
|
-
urn: string;
|
|
523
|
-
}
|
|
524
1065
|
export interface Errors {
|
|
525
1066
|
errors: string[];
|
|
526
1067
|
}
|
|
@@ -540,23 +1081,9 @@ export type AuthChainItem = {
|
|
|
540
1081
|
export type AuthChain = AuthChainItem[];
|
|
541
1082
|
export interface AuditResponse {
|
|
542
1083
|
authChain: AuthChain;
|
|
543
|
-
denylistedContent?: string[];
|
|
544
|
-
isDenylisted?: boolean;
|
|
545
1084
|
localTimestamp: number;
|
|
546
|
-
overwrittenBy?: string;
|
|
547
1085
|
version: string;
|
|
548
1086
|
}
|
|
549
|
-
export type StatsParcelsParcelsItemParcel = {
|
|
550
|
-
x?: number;
|
|
551
|
-
y?: number;
|
|
552
|
-
};
|
|
553
|
-
export type StatsParcelsParcelsItem = {
|
|
554
|
-
parcel?: StatsParcelsParcelsItemParcel;
|
|
555
|
-
peersCount?: number;
|
|
556
|
-
};
|
|
557
|
-
export interface StatsParcels {
|
|
558
|
-
parcels?: StatsParcelsParcelsItem[];
|
|
559
|
-
}
|
|
560
1087
|
export type AboutLambdas = {
|
|
561
1088
|
commitHash?: string;
|
|
562
1089
|
healthy: boolean;
|
|
@@ -654,71 +1181,118 @@ export type AboutBff = {
|
|
|
654
1181
|
userCount?: number;
|
|
655
1182
|
};
|
|
656
1183
|
/**
|
|
657
|
-
* Retrieve
|
|
658
|
-
* @summary
|
|
1184
|
+
* Retrieve the version and commit of the Lambdas service and its current time
|
|
1185
|
+
* @summary Lambdas status
|
|
659
1186
|
*/
|
|
660
1187
|
export declare const getLambdaStatus: () => import("../utils/fetcher").CustomClient<StatusLambdas>;
|
|
661
1188
|
/**
|
|
662
|
-
* Retrieve the list of collections
|
|
1189
|
+
* Retrieve the list of collections: the base wearables and base emotes collections, then the Ethereum collections, then the Polygon collections. Each network's collections are sorted by URN and capped at the first 1000, so the list as a whole is not sorted and may be incomplete.
|
|
663
1190
|
* @summary Get Collections
|
|
664
1191
|
*/
|
|
665
1192
|
export declare const getCollections: () => import("../utils/fetcher").CustomClient<GetCollections200>;
|
|
666
1193
|
/**
|
|
667
|
-
* Downloads
|
|
1194
|
+
* Downloads the file referenced by the `thumbnail` metadata field of the active entity with the specified pointer. The `Content-Type` header is detected from the file contents. Supports a single byte range via the `Range` header and conditional requests via `If-None-Match`. Also served by the content server at `/content/queries/items/{urn}/thumbnail`.
|
|
668
1195
|
* @summary Download thumbnail image
|
|
669
1196
|
*/
|
|
670
1197
|
export declare const getThumbnail: (urn: string) => import("../utils/fetcher").CustomClient<Blob>;
|
|
671
1198
|
/**
|
|
672
|
-
*
|
|
1199
|
+
* Same as the GET request, without the body.
|
|
1200
|
+
* @summary Check the thumbnail of an item
|
|
1201
|
+
*/
|
|
1202
|
+
export declare const headThumbnail: (urn: string) => import("../utils/fetcher").CustomClient<void>;
|
|
1203
|
+
/**
|
|
1204
|
+
* Downloads the file referenced by the `image` metadata field of the active entity with the specified pointer. The `Content-Type` header is detected from the file contents. Supports a single byte range via the `Range` header and conditional requests via `If-None-Match`. Also served by the content server at `/content/queries/items/{urn}/image`.
|
|
673
1205
|
* @summary Download URN image
|
|
674
1206
|
*/
|
|
675
1207
|
export declare const getImage: (urn: string) => import("../utils/fetcher").CustomClient<Blob>;
|
|
676
1208
|
/**
|
|
677
|
-
*
|
|
1209
|
+
* Same as the GET request, without the body.
|
|
1210
|
+
* @summary Check the image of an item
|
|
1211
|
+
*/
|
|
1212
|
+
export declare const headImage: (urn: string) => import("../utils/fetcher").CustomClient<void>;
|
|
1213
|
+
/**
|
|
1214
|
+
* Retrieve the ERC721 metadata of a standard (with rarity) wearable or emote of a collection. The `description` of the response is empty; use the path with `emission` to include the issue number. Also served by the content server at `/content/queries/erc721/{chainId}/{contract}/{option}`.
|
|
1215
|
+
* @summary Get ERC721 Entity without emission
|
|
1216
|
+
*/
|
|
1217
|
+
export declare const getStandardErc721WithoutEmission: (chainId: string, contract: string, option: string) => import("../utils/fetcher").CustomClient<Erc721>;
|
|
1218
|
+
/**
|
|
1219
|
+
* Retrieve the ERC721 metadata of a standard (with rarity) wearable or emote of a collection. Also served by the content server at `/content/queries/erc721/{chainId}/{contract}/{option}/{emission}`.
|
|
678
1220
|
* @summary Get ERC721 Entity
|
|
679
1221
|
*/
|
|
680
1222
|
export declare const getStandardErc721: (chainId: string, contract: string, option: string, emission: string) => import("../utils/fetcher").CustomClient<Erc721>;
|
|
681
1223
|
/**
|
|
682
|
-
* Get a list of wearables owned by the given address
|
|
1224
|
+
* Get a paginated list of the on-chain wearables owned by the given address, grouped by item. Base and third-party wearables are not included.
|
|
683
1225
|
* @summary Get list of wearables for an address
|
|
684
1226
|
*/
|
|
685
1227
|
export declare const getWearables: (address: string, params?: GetWearablesParams) => import("../utils/fetcher").CustomClient<GetWearables200>;
|
|
686
1228
|
/**
|
|
687
|
-
* Get a list of emotes owned by the given address
|
|
1229
|
+
* Get a paginated list of the on-chain emotes owned by the given address, grouped by item. Base emotes are not included.
|
|
688
1230
|
* @summary Get list of emotes for an address
|
|
689
1231
|
*/
|
|
690
1232
|
export declare const getEmotes: (address: string, params?: GetEmotesParams) => import("../utils/fetcher").CustomClient<GetEmotes200>;
|
|
691
1233
|
/**
|
|
692
|
-
* Get a list of names owned by the given address
|
|
1234
|
+
* Get a paginated list of the Decentraland names owned by the given address
|
|
693
1235
|
* @summary Get list of names for an address
|
|
694
1236
|
*/
|
|
695
1237
|
export declare const getNames: (address: string, params?: GetNamesParams) => import("../utils/fetcher").CustomClient<NamesPaginated>;
|
|
696
1238
|
/**
|
|
697
|
-
* Get a list of
|
|
1239
|
+
* Get a paginated list of the parcels and estates owned by the given address
|
|
698
1240
|
* @summary Get list of lands for an address
|
|
699
1241
|
*/
|
|
700
1242
|
export declare const getLands: (address: string, params?: GetLandsParams) => import("../utils/fetcher").CustomClient<LandsPaginated>;
|
|
701
1243
|
/**
|
|
702
|
-
* Get the
|
|
1244
|
+
* Get a paginated list of the parcels for which the given address is the update operator. Operators, update managers and approvals for all are not included.
|
|
1245
|
+
* @summary Get the parcels an address can operate
|
|
1246
|
+
*/
|
|
1247
|
+
export declare const getLandsPermissions: (address: string, params?: GetLandsPermissionsParams) => import("../utils/fetcher").CustomClient<LandsPermissionsPaginated>;
|
|
1248
|
+
/**
|
|
1249
|
+
* Get the permissions an address has over a parcel, using the same rights resolution as `/lambdas/parcels/{x}/{y}/operators`
|
|
703
1250
|
* @summary Get the permissions for a parcel
|
|
704
1251
|
*/
|
|
705
|
-
export declare const getParcelPermissions: (address: string, x:
|
|
1252
|
+
export declare const getParcelPermissions: (address: string, x: number, y: number) => import("../utils/fetcher").CustomClient<ParcelPermissions>;
|
|
706
1253
|
/**
|
|
707
|
-
* Returns
|
|
1254
|
+
* Returns a paginated list of the third party (linked) wearables owned by the provided address, across all registered third party collections
|
|
708
1255
|
* @summary Returns the list of third party wearables for the provided address
|
|
709
1256
|
*/
|
|
710
1257
|
export declare const getThirdPartyWearables: (address: string, params?: GetThirdPartyWearablesParams) => import("../utils/fetcher").CustomClient<GetThirdPartyWearables200>;
|
|
711
1258
|
/**
|
|
712
|
-
* Returns
|
|
1259
|
+
* Returns a paginated list of the third party (linked) wearables of the given collection owned by the provided address
|
|
713
1260
|
* @summary Returns the list of third party wearables for the given collection
|
|
714
1261
|
*/
|
|
715
1262
|
export declare const getThirdPartyCollection: (address: string, collectionId: string, params?: GetThirdPartyCollectionParams) => import("../utils/fetcher").CustomClient<GetThirdPartyCollection200>;
|
|
716
1263
|
/**
|
|
717
|
-
* Search
|
|
1264
|
+
* Search the wearables catalog, base wearables included, and retrieve their definitions. At least one of `textSearch`, `collectionId` or `wearableId` is required. Results are sorted by URN, base wearables first, and paginated with the `lastId` cursor.
|
|
718
1265
|
* @deprecated
|
|
719
1266
|
* @summary Search Wearables
|
|
720
1267
|
*/
|
|
721
1268
|
export declare const searchWearables: (params?: SearchWearablesParams) => import("../utils/fetcher").CustomClient<Wearables>;
|
|
1269
|
+
/**
|
|
1270
|
+
* Search the on-chain emotes catalog and retrieve their definitions. Base emotes are not included. At least one of `textSearch`, `collectionId` or `emoteId` is required. Results are sorted by URN and paginated with the `lastId` cursor.
|
|
1271
|
+
* @deprecated
|
|
1272
|
+
* @summary Search Emotes
|
|
1273
|
+
*/
|
|
1274
|
+
export declare const searchEmotes: (params?: SearchEmotesParams) => import("../utils/fetcher").CustomClient<Emotes>;
|
|
1275
|
+
/**
|
|
1276
|
+
* Legacy endpoint that returns every on-chain wearable owned by the address, with no pagination. When `collectionId` is set, the third party wearables of that collection are returned instead.
|
|
1277
|
+
* @summary Get wearables by owner
|
|
1278
|
+
*/
|
|
1279
|
+
export declare const getWearablesByOwner: (owner: string, params?: GetWearablesByOwnerParams) => import("../utils/fetcher").CustomClient<GetWearablesByOwner200Item[]>;
|
|
1280
|
+
/**
|
|
1281
|
+
* Legacy endpoint that returns every on-chain emote owned by the address, with no pagination. When `collectionId` is set, the third party items of that collection are returned instead.
|
|
1282
|
+
* @summary Get emotes by owner
|
|
1283
|
+
*/
|
|
1284
|
+
export declare const getEmotesByOwner: (owner: string, params?: GetEmotesByOwnerParams) => import("../utils/fetcher").CustomClient<GetEmotesByOwner200Item[]>;
|
|
1285
|
+
/**
|
|
1286
|
+
* Same response as `/lambdas/collections`, served under the path lamb2 uses internally
|
|
1287
|
+
* @deprecated
|
|
1288
|
+
* @summary Get Collections (alias)
|
|
1289
|
+
*/
|
|
1290
|
+
export declare const getNftsCollections: () => import("../utils/fetcher").CustomClient<GetNftsCollections200>;
|
|
1291
|
+
/**
|
|
1292
|
+
* Returns the address that owns the given Decentraland name
|
|
1293
|
+
* @summary Get the owner of a name
|
|
1294
|
+
*/
|
|
1295
|
+
export declare const getNameOwner: (name: string) => import("../utils/fetcher").CustomClient<NameOwner>;
|
|
722
1296
|
/**
|
|
723
1297
|
* Retrieve the list of Catalyst Servers
|
|
724
1298
|
* @summary Get Catalyst Servers
|
|
@@ -735,28 +1309,18 @@ export declare const getPois: () => import("../utils/fetcher").CustomClient<Pois
|
|
|
735
1309
|
*/
|
|
736
1310
|
export declare const getDenylistedUserNames: () => import("../utils/fetcher").CustomClient<DenylistedUsernames>;
|
|
737
1311
|
/**
|
|
738
|
-
* Given a signed message and
|
|
1312
|
+
* Given a signed message and its AuthChain, validate its authenticity. A message can be signed, for example, to prove ownership of the Entity pointers that they want to modify. An invalid signature is reported with a 200 response and `valid: false`.
|
|
739
1313
|
* @deprecated
|
|
740
1314
|
* @summary Validate signed message
|
|
741
1315
|
*/
|
|
742
|
-
export declare const validateSignature: (
|
|
743
|
-
/**
|
|
744
|
-
* Returns the list of scenes where there are more users with coordinates and the list of parcels that compose the scene.
|
|
745
|
-
* @summary Hot Scenes
|
|
746
|
-
*/
|
|
747
|
-
export declare const getHotScenes: () => import("../utils/fetcher").CustomClient<HotScenes>;
|
|
1316
|
+
export declare const validateSignature: (validateSignatureRequest: ValidateSignatureRequest) => import("../utils/fetcher").CustomClient<ValidateSignatureResponse>;
|
|
748
1317
|
/**
|
|
749
|
-
*
|
|
750
|
-
* @summary Get Realms status
|
|
751
|
-
*/
|
|
752
|
-
export declare const getRealms: () => import("../utils/fetcher").CustomClient<Realms>;
|
|
753
|
-
/**
|
|
754
|
-
* Get the operators for a parcel
|
|
1318
|
+
* Get the owner of a parcel and the addresses allowed to operate it. When the parcel belongs to an estate, the owner, operator and update managers are those of the estate, and a parcel-level update operator takes precedence over the estate one.
|
|
755
1319
|
* @summary Get the operators for a parcel
|
|
756
1320
|
*/
|
|
757
|
-
export declare const getParcelOperators: (x:
|
|
1321
|
+
export declare const getParcelOperators: (x: number, y: number) => import("../utils/fetcher").CustomClient<ParcelOperators>;
|
|
758
1322
|
/**
|
|
759
|
-
* Returns
|
|
1323
|
+
* Returns the profiles of the Ethereum addresses in the body. Addresses without a deployed profile are omitted from the response.
|
|
760
1324
|
* @summary Get Avatars details
|
|
761
1325
|
*/
|
|
762
1326
|
export declare const getAvatarsDetailsByPost: (postProfiles: PostProfiles) => import("../utils/fetcher").CustomClient<Profile[]>;
|
|
@@ -766,7 +1330,13 @@ export declare const getAvatarsDetailsByPost: (postProfiles: PostProfiles) => im
|
|
|
766
1330
|
*/
|
|
767
1331
|
export declare const getAvatarDetails: (id: string) => import("../utils/fetcher").CustomClient<Profile>;
|
|
768
1332
|
/**
|
|
769
|
-
*
|
|
1333
|
+
* Legacy alias of `/lambdas/profiles/{id}`. When the address has no deployed profile it responds 200 with `{ "avatars": [], "timestamp": 0 }` instead of 404.
|
|
1334
|
+
* @deprecated
|
|
1335
|
+
* @summary Get Avatar details (legacy)
|
|
1336
|
+
*/
|
|
1337
|
+
export declare const getAvatarDetailsLegacy: (id: string) => import("../utils/fetcher").CustomClient<Profile>;
|
|
1338
|
+
/**
|
|
1339
|
+
* Given a Ethereum address of a user, return their Outfits entity. Outfits with wearables the user no longer owns are removed from the metadata, as are outfits in slots above 4 when the user owns no name.
|
|
770
1340
|
* @summary Get Outfits
|
|
771
1341
|
*/
|
|
772
1342
|
export declare const getOutfits: (id: string) => import("../utils/fetcher").CustomClient<Entity>;
|
|
@@ -780,25 +1350,33 @@ type Awaited<O> = O extends AwaitedInput<infer T> ? T : never;
|
|
|
780
1350
|
export type GetLambdaStatusResult = NonNullable<Awaited<ReturnType<typeof getLambdaStatus>>>;
|
|
781
1351
|
export type GetCollectionsResult = NonNullable<Awaited<ReturnType<typeof getCollections>>>;
|
|
782
1352
|
export type GetThumbnailResult = NonNullable<Awaited<ReturnType<typeof getThumbnail>>>;
|
|
1353
|
+
export type HeadThumbnailResult = NonNullable<Awaited<ReturnType<typeof headThumbnail>>>;
|
|
783
1354
|
export type GetImageResult = NonNullable<Awaited<ReturnType<typeof getImage>>>;
|
|
1355
|
+
export type HeadImageResult = NonNullable<Awaited<ReturnType<typeof headImage>>>;
|
|
1356
|
+
export type GetStandardErc721WithoutEmissionResult = NonNullable<Awaited<ReturnType<typeof getStandardErc721WithoutEmission>>>;
|
|
784
1357
|
export type GetStandardErc721Result = NonNullable<Awaited<ReturnType<typeof getStandardErc721>>>;
|
|
785
1358
|
export type GetWearablesResult = NonNullable<Awaited<ReturnType<typeof getWearables>>>;
|
|
786
1359
|
export type GetEmotesResult = NonNullable<Awaited<ReturnType<typeof getEmotes>>>;
|
|
787
1360
|
export type GetNamesResult = NonNullable<Awaited<ReturnType<typeof getNames>>>;
|
|
788
1361
|
export type GetLandsResult = NonNullable<Awaited<ReturnType<typeof getLands>>>;
|
|
1362
|
+
export type GetLandsPermissionsResult = NonNullable<Awaited<ReturnType<typeof getLandsPermissions>>>;
|
|
789
1363
|
export type GetParcelPermissionsResult = NonNullable<Awaited<ReturnType<typeof getParcelPermissions>>>;
|
|
790
1364
|
export type GetThirdPartyWearablesResult = NonNullable<Awaited<ReturnType<typeof getThirdPartyWearables>>>;
|
|
791
1365
|
export type GetThirdPartyCollectionResult = NonNullable<Awaited<ReturnType<typeof getThirdPartyCollection>>>;
|
|
792
1366
|
export type SearchWearablesResult = NonNullable<Awaited<ReturnType<typeof searchWearables>>>;
|
|
1367
|
+
export type SearchEmotesResult = NonNullable<Awaited<ReturnType<typeof searchEmotes>>>;
|
|
1368
|
+
export type GetWearablesByOwnerResult = NonNullable<Awaited<ReturnType<typeof getWearablesByOwner>>>;
|
|
1369
|
+
export type GetEmotesByOwnerResult = NonNullable<Awaited<ReturnType<typeof getEmotesByOwner>>>;
|
|
1370
|
+
export type GetNftsCollectionsResult = NonNullable<Awaited<ReturnType<typeof getNftsCollections>>>;
|
|
1371
|
+
export type GetNameOwnerResult = NonNullable<Awaited<ReturnType<typeof getNameOwner>>>;
|
|
793
1372
|
export type GetCatalystServersResult = NonNullable<Awaited<ReturnType<typeof getCatalystServers>>>;
|
|
794
1373
|
export type GetPoisResult = NonNullable<Awaited<ReturnType<typeof getPois>>>;
|
|
795
1374
|
export type GetDenylistedUserNamesResult = NonNullable<Awaited<ReturnType<typeof getDenylistedUserNames>>>;
|
|
796
1375
|
export type ValidateSignatureResult = NonNullable<Awaited<ReturnType<typeof validateSignature>>>;
|
|
797
|
-
export type GetHotScenesResult = NonNullable<Awaited<ReturnType<typeof getHotScenes>>>;
|
|
798
|
-
export type GetRealmsResult = NonNullable<Awaited<ReturnType<typeof getRealms>>>;
|
|
799
1376
|
export type GetParcelOperatorsResult = NonNullable<Awaited<ReturnType<typeof getParcelOperators>>>;
|
|
800
1377
|
export type GetAvatarsDetailsByPostResult = NonNullable<Awaited<ReturnType<typeof getAvatarsDetailsByPost>>>;
|
|
801
1378
|
export type GetAvatarDetailsResult = NonNullable<Awaited<ReturnType<typeof getAvatarDetails>>>;
|
|
1379
|
+
export type GetAvatarDetailsLegacyResult = NonNullable<Awaited<ReturnType<typeof getAvatarDetailsLegacy>>>;
|
|
802
1380
|
export type GetOutfitsResult = NonNullable<Awaited<ReturnType<typeof getOutfits>>>;
|
|
803
1381
|
export type GetThirdPartyIntegrationsResult = NonNullable<Awaited<ReturnType<typeof getThirdPartyIntegrations>>>;
|
|
804
1382
|
export {};
|