dcl-catalyst-client 18.1.1 → 19.0.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/client/CatalystClient.d.ts +2 -2
- package/dist/client/CatalystClient.d.ts.map +1 -1
- package/dist/client/CatalystClient.js.map +1 -1
- package/dist/client/ContentClient.d.ts +1 -4
- package/dist/client/ContentClient.d.ts.map +1 -1
- package/dist/client/ContentClient.js +0 -47
- package/dist/client/ContentClient.js.map +1 -1
- package/dist/client/LambdasClient.d.ts +20 -15
- package/dist/client/LambdasClient.d.ts.map +1 -1
- package/dist/client/LambdasClient.js +44 -101
- package/dist/client/LambdasClient.js.map +1 -1
- package/dist/client/specs/catalyst.schemas.d.ts +674 -0
- package/dist/client/specs/catalyst.schemas.d.ts.map +1 -0
- package/dist/client/specs/catalyst.schemas.js +20 -0
- package/dist/client/specs/catalyst.schemas.js.map +1 -0
- package/dist/client/specs/lambdas-client.d.ts +709 -0
- package/dist/client/specs/lambdas-client.d.ts.map +1 -0
- package/dist/client/specs/lambdas-client.js +211 -0
- package/dist/client/specs/lambdas-client.js.map +1 -0
- package/dist/client/types.d.ts +0 -18
- package/dist/client/types.d.ts.map +1 -1
- package/dist/client/utils/fetcher.d.ts +11 -0
- 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/package.json +4 -2
- package/package.json +6 -4
|
@@ -0,0 +1,709 @@
|
|
|
1
|
+
export type ValidateSignature200 = {
|
|
2
|
+
[key: string]: any;
|
|
3
|
+
};
|
|
4
|
+
export type ValidateSignatureBody = {
|
|
5
|
+
[key: string]: any;
|
|
6
|
+
};
|
|
7
|
+
export type SearchWearablesParams = {
|
|
8
|
+
/**
|
|
9
|
+
* Lis of URNs that identify the collection. Maximum amount of ids allowed is 500.
|
|
10
|
+
*/
|
|
11
|
+
collectionId?: string[];
|
|
12
|
+
/**
|
|
13
|
+
* List of wearables URNs to search. Maximum amount of ids allowed is 500.
|
|
14
|
+
*/
|
|
15
|
+
wearableId?: string[];
|
|
16
|
+
/**
|
|
17
|
+
* Search text
|
|
18
|
+
*/
|
|
19
|
+
textSearch?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Limit the quantity of results that will be returned by the request. You can only request up to 500 results.
|
|
22
|
+
*/
|
|
23
|
+
limit?: number;
|
|
24
|
+
/**
|
|
25
|
+
* The result will always be ordered by the local timestamp fields but in case of timestamp collisions, you can use the lastId field to filter the result
|
|
26
|
+
*/
|
|
27
|
+
lastId?: string;
|
|
28
|
+
};
|
|
29
|
+
export type GetThirdPartyCollection200 = {
|
|
30
|
+
elements: ThirdPartyWearable[];
|
|
31
|
+
totalAmount: number;
|
|
32
|
+
pageNum: number;
|
|
33
|
+
pageSize: number;
|
|
34
|
+
};
|
|
35
|
+
export type GetThirdPartyCollectionParams = {
|
|
36
|
+
/**
|
|
37
|
+
* The number of the requested page.
|
|
38
|
+
*/
|
|
39
|
+
pageNum?: string;
|
|
40
|
+
/**
|
|
41
|
+
* The size of the requested page.
|
|
42
|
+
*/
|
|
43
|
+
pageSize?: string;
|
|
44
|
+
};
|
|
45
|
+
export type GetThirdPartyWearables200 = {
|
|
46
|
+
elements: ThirdPartyWearable[];
|
|
47
|
+
totalAmount: number;
|
|
48
|
+
pageNum: number;
|
|
49
|
+
pageSize: number;
|
|
50
|
+
};
|
|
51
|
+
export type GetThirdPartyWearablesParams = {
|
|
52
|
+
/**
|
|
53
|
+
* The number of the requested page.
|
|
54
|
+
*/
|
|
55
|
+
pageNum?: string;
|
|
56
|
+
/**
|
|
57
|
+
* The size of the requested page.
|
|
58
|
+
*/
|
|
59
|
+
pageSize?: string;
|
|
60
|
+
};
|
|
61
|
+
export type GetLandsParams = {
|
|
62
|
+
/**
|
|
63
|
+
* The number of the requested page. It needs `pageSize` to be present to enable a paginated response.
|
|
64
|
+
*/
|
|
65
|
+
pageNum?: string;
|
|
66
|
+
/**
|
|
67
|
+
* The size of the requested page. It needs `pageNum` to be present to enable a paginated response.
|
|
68
|
+
*/
|
|
69
|
+
pageSize?: string;
|
|
70
|
+
};
|
|
71
|
+
export type GetNamesParams = {
|
|
72
|
+
/**
|
|
73
|
+
* The number of the requested page. It needs `pageSize` to be present to enable a paginated response.
|
|
74
|
+
*/
|
|
75
|
+
pageNum?: string;
|
|
76
|
+
/**
|
|
77
|
+
* The size of the requested page. It needs `pageNum` to be present to enable a paginated response.
|
|
78
|
+
*/
|
|
79
|
+
pageSize?: string;
|
|
80
|
+
};
|
|
81
|
+
export type GetEmotes200 = {
|
|
82
|
+
elements: Emote[];
|
|
83
|
+
totalAmount: number;
|
|
84
|
+
pageNum: number;
|
|
85
|
+
pageSize: number;
|
|
86
|
+
};
|
|
87
|
+
export type GetEmotesParams = {
|
|
88
|
+
/**
|
|
89
|
+
* Third Party collection Id to filter emotes, if this param is not sent then the 3rd parties emotes are not shown. If it is sent, only the 3rd parties emotes are shown.
|
|
90
|
+
*/
|
|
91
|
+
collectionId?: string;
|
|
92
|
+
/**
|
|
93
|
+
* If present, response will be extended with the entity data.
|
|
94
|
+
*/
|
|
95
|
+
includeEntities?: boolean;
|
|
96
|
+
/**
|
|
97
|
+
* The number of the requested page.
|
|
98
|
+
*/
|
|
99
|
+
pageNum?: string;
|
|
100
|
+
/**
|
|
101
|
+
* The size of the requested page
|
|
102
|
+
*/
|
|
103
|
+
pageSize?: string;
|
|
104
|
+
};
|
|
105
|
+
export type GetWearables200 = {
|
|
106
|
+
elements: Wearable[];
|
|
107
|
+
totalAmount: number;
|
|
108
|
+
pageNum: number;
|
|
109
|
+
pageSize: number;
|
|
110
|
+
};
|
|
111
|
+
export type GetWearablesParams = {
|
|
112
|
+
/**
|
|
113
|
+
* If present, response will be extended with the entity data.
|
|
114
|
+
*/
|
|
115
|
+
includeEntities?: boolean;
|
|
116
|
+
/**
|
|
117
|
+
* If present, response will include the third-party wearables owned by the address. They will appear before other wearables if the response is paginated.
|
|
118
|
+
*/
|
|
119
|
+
includeThirdParty?: boolean;
|
|
120
|
+
/**
|
|
121
|
+
* The number of the requested page.
|
|
122
|
+
*/
|
|
123
|
+
pageNum?: string;
|
|
124
|
+
/**
|
|
125
|
+
* The size of the requested page.
|
|
126
|
+
*/
|
|
127
|
+
pageSize?: string;
|
|
128
|
+
/**
|
|
129
|
+
* Determines the field to be sort by. By default it will be by `transferredAt`. Possible values: `transferredAt` and `rarity`.
|
|
130
|
+
*/
|
|
131
|
+
orderBy?: string;
|
|
132
|
+
};
|
|
133
|
+
export type GetCollections200CollectionsItem = {
|
|
134
|
+
id: string;
|
|
135
|
+
name: string;
|
|
136
|
+
};
|
|
137
|
+
export type GetCollections200 = {
|
|
138
|
+
collections?: GetCollections200CollectionsItem[];
|
|
139
|
+
};
|
|
140
|
+
export type PeersPeersItem = {
|
|
141
|
+
id?: string;
|
|
142
|
+
address?: string;
|
|
143
|
+
parcel?: number[];
|
|
144
|
+
position?: number[];
|
|
145
|
+
lastPing?: number;
|
|
146
|
+
};
|
|
147
|
+
export interface Peers {
|
|
148
|
+
ok?: boolean;
|
|
149
|
+
peers?: PeersPeersItem[];
|
|
150
|
+
}
|
|
151
|
+
export type IslandIdPeersItem = {
|
|
152
|
+
id?: string;
|
|
153
|
+
address?: string;
|
|
154
|
+
parcel?: number[];
|
|
155
|
+
position?: number[];
|
|
156
|
+
lastPing?: number;
|
|
157
|
+
preferedIslandId?: string;
|
|
158
|
+
};
|
|
159
|
+
export interface IslandId {
|
|
160
|
+
id?: string;
|
|
161
|
+
peers?: IslandIdPeersItem[];
|
|
162
|
+
maxPeers?: number;
|
|
163
|
+
center?: number[];
|
|
164
|
+
radius?: number;
|
|
165
|
+
}
|
|
166
|
+
export type IslandsIslandsItemPeersItem = {
|
|
167
|
+
id?: string;
|
|
168
|
+
address?: string;
|
|
169
|
+
parcel?: number[];
|
|
170
|
+
position?: number[];
|
|
171
|
+
lastPing?: number;
|
|
172
|
+
preferedIslandId?: string;
|
|
173
|
+
};
|
|
174
|
+
export type IslandsIslandsItem = {
|
|
175
|
+
id?: string;
|
|
176
|
+
peers?: IslandsIslandsItemPeersItem[];
|
|
177
|
+
maxPeers?: number;
|
|
178
|
+
center?: number[];
|
|
179
|
+
radius?: number;
|
|
180
|
+
};
|
|
181
|
+
export interface Islands {
|
|
182
|
+
ok?: boolean;
|
|
183
|
+
islands?: IslandsIslandsItem[];
|
|
184
|
+
}
|
|
185
|
+
export type ThirdPartyIntegrationsDataItem = {
|
|
186
|
+
urn: string;
|
|
187
|
+
name?: string;
|
|
188
|
+
description?: string;
|
|
189
|
+
};
|
|
190
|
+
export interface ThirdPartyIntegrations {
|
|
191
|
+
data: ThirdPartyIntegrationsDataItem[];
|
|
192
|
+
}
|
|
193
|
+
export type ProfileAvatarsItem = {
|
|
194
|
+
userId?: string;
|
|
195
|
+
email?: string;
|
|
196
|
+
name?: string;
|
|
197
|
+
hasClaimedName?: boolean;
|
|
198
|
+
description?: string;
|
|
199
|
+
ethAddress?: string;
|
|
200
|
+
version?: number;
|
|
201
|
+
avatar?: ProfileAvatarsItemAvatar;
|
|
202
|
+
tutorialStep?: number;
|
|
203
|
+
interests?: string[];
|
|
204
|
+
unclaimedName?: string;
|
|
205
|
+
};
|
|
206
|
+
export interface Profile {
|
|
207
|
+
avatars?: ProfileAvatarsItem[];
|
|
208
|
+
}
|
|
209
|
+
export type ProfileAvatarsItemAvatarSkinColor = {
|
|
210
|
+
r?: number;
|
|
211
|
+
g?: number;
|
|
212
|
+
b?: number;
|
|
213
|
+
};
|
|
214
|
+
export type ProfileAvatarsItemAvatarSkin = {
|
|
215
|
+
color?: ProfileAvatarsItemAvatarSkinColor;
|
|
216
|
+
};
|
|
217
|
+
export type ProfileAvatarsItemAvatarHairColor = {
|
|
218
|
+
r?: number;
|
|
219
|
+
g?: number;
|
|
220
|
+
b?: number;
|
|
221
|
+
};
|
|
222
|
+
export type ProfileAvatarsItemAvatarHair = {
|
|
223
|
+
color?: ProfileAvatarsItemAvatarHairColor;
|
|
224
|
+
};
|
|
225
|
+
export type ProfileAvatarsItemAvatarEyesColor = {
|
|
226
|
+
r?: number;
|
|
227
|
+
g?: number;
|
|
228
|
+
b?: number;
|
|
229
|
+
};
|
|
230
|
+
export type ProfileAvatarsItemAvatarEyes = {
|
|
231
|
+
color?: ProfileAvatarsItemAvatarEyesColor;
|
|
232
|
+
};
|
|
233
|
+
export type ProfileAvatarsItemAvatarSnapshots = {
|
|
234
|
+
face?: string;
|
|
235
|
+
face128?: string;
|
|
236
|
+
face256?: string;
|
|
237
|
+
body?: string;
|
|
238
|
+
};
|
|
239
|
+
export type ProfileAvatarsItemAvatar = {
|
|
240
|
+
bodyShape?: string;
|
|
241
|
+
snapshots?: ProfileAvatarsItemAvatarSnapshots;
|
|
242
|
+
eyes?: ProfileAvatarsItemAvatarEyes;
|
|
243
|
+
hair?: ProfileAvatarsItemAvatarHair;
|
|
244
|
+
skin?: ProfileAvatarsItemAvatarSkin;
|
|
245
|
+
wearables?: string[];
|
|
246
|
+
};
|
|
247
|
+
export interface PostProfiles {
|
|
248
|
+
ids?: string[];
|
|
249
|
+
}
|
|
250
|
+
export type RealmsItem = {
|
|
251
|
+
serverName?: string;
|
|
252
|
+
url?: string;
|
|
253
|
+
layer?: string;
|
|
254
|
+
usersCount?: number;
|
|
255
|
+
maxUsers?: number;
|
|
256
|
+
userParcels?: number[][];
|
|
257
|
+
};
|
|
258
|
+
export type Realms = RealmsItem[];
|
|
259
|
+
export type HotScenesItemRealmsItem = {
|
|
260
|
+
serverName?: string;
|
|
261
|
+
url?: string;
|
|
262
|
+
layer?: string;
|
|
263
|
+
usersCount?: number;
|
|
264
|
+
maxUsers?: number;
|
|
265
|
+
userParcels?: number[][];
|
|
266
|
+
};
|
|
267
|
+
export type HotScenesItem = {
|
|
268
|
+
id?: string;
|
|
269
|
+
name?: string;
|
|
270
|
+
baseCoords?: number[];
|
|
271
|
+
usersTotalCount?: number;
|
|
272
|
+
parcels?: number[][];
|
|
273
|
+
thumbnail?: string;
|
|
274
|
+
creator?: string;
|
|
275
|
+
description?: string;
|
|
276
|
+
realms?: HotScenesItemRealmsItem[];
|
|
277
|
+
};
|
|
278
|
+
export type HotScenes = HotScenesItem[];
|
|
279
|
+
export type DenylistedUsernames = string[];
|
|
280
|
+
export type Pois = string[];
|
|
281
|
+
export type ServersItem = {
|
|
282
|
+
baseUrl?: string;
|
|
283
|
+
owner?: string;
|
|
284
|
+
id?: string;
|
|
285
|
+
};
|
|
286
|
+
export type Servers = ServersItem[];
|
|
287
|
+
export type WearablesPagination = {
|
|
288
|
+
limit?: number;
|
|
289
|
+
next?: string;
|
|
290
|
+
};
|
|
291
|
+
export type WearablesFilters = {
|
|
292
|
+
textSearch?: string;
|
|
293
|
+
};
|
|
294
|
+
export interface Wearables {
|
|
295
|
+
wearables?: WearablesWearablesItem[];
|
|
296
|
+
filters?: WearablesFilters;
|
|
297
|
+
pagination?: WearablesPagination;
|
|
298
|
+
}
|
|
299
|
+
export type WearablesWearablesItemI18nItem = {
|
|
300
|
+
code?: string;
|
|
301
|
+
text?: string;
|
|
302
|
+
};
|
|
303
|
+
export type WearablesWearablesItem = {
|
|
304
|
+
id?: string;
|
|
305
|
+
description?: string;
|
|
306
|
+
image?: string;
|
|
307
|
+
thumbnail?: string;
|
|
308
|
+
collectionAddress?: string;
|
|
309
|
+
rarity?: string;
|
|
310
|
+
data?: WearablesWearablesItemData;
|
|
311
|
+
i18n?: WearablesWearablesItemI18nItem[];
|
|
312
|
+
createdAt?: number;
|
|
313
|
+
updatedAt?: number;
|
|
314
|
+
};
|
|
315
|
+
export type WearablesWearablesItemDataRepresentationsItemContentsItem = {
|
|
316
|
+
key?: string;
|
|
317
|
+
url?: string;
|
|
318
|
+
};
|
|
319
|
+
export type WearablesWearablesItemDataRepresentationsItemOverrideHidesItem = {
|
|
320
|
+
[key: string]: any;
|
|
321
|
+
};
|
|
322
|
+
export type WearablesWearablesItemDataRepresentationsItemOverrideReplacesItem = {
|
|
323
|
+
[key: string]: any;
|
|
324
|
+
};
|
|
325
|
+
export type WearablesWearablesItemDataRepresentationsItem = {
|
|
326
|
+
bodyShapes?: string[];
|
|
327
|
+
mainFile?: string;
|
|
328
|
+
overrideReplaces?: WearablesWearablesItemDataRepresentationsItemOverrideReplacesItem[];
|
|
329
|
+
overrideHides?: WearablesWearablesItemDataRepresentationsItemOverrideHidesItem[];
|
|
330
|
+
contents?: WearablesWearablesItemDataRepresentationsItemContentsItem[];
|
|
331
|
+
};
|
|
332
|
+
export type WearablesWearablesItemData = {
|
|
333
|
+
replaces?: string[];
|
|
334
|
+
hides?: string[];
|
|
335
|
+
tags?: string[];
|
|
336
|
+
category?: string;
|
|
337
|
+
representations?: WearablesWearablesItemDataRepresentationsItem[];
|
|
338
|
+
};
|
|
339
|
+
export type ThirdPartyWearableIndividualDataItem = {
|
|
340
|
+
id?: string;
|
|
341
|
+
};
|
|
342
|
+
export interface ThirdPartyWearable {
|
|
343
|
+
urn: string;
|
|
344
|
+
amount?: number;
|
|
345
|
+
name: string;
|
|
346
|
+
category: string;
|
|
347
|
+
entity: Entity;
|
|
348
|
+
individualData?: ThirdPartyWearableIndividualDataItem[];
|
|
349
|
+
}
|
|
350
|
+
export type LandsPaginatedElementsItem = {
|
|
351
|
+
name?: string;
|
|
352
|
+
contractAddress: string;
|
|
353
|
+
tokenId: string;
|
|
354
|
+
price?: number;
|
|
355
|
+
category: string;
|
|
356
|
+
x?: string;
|
|
357
|
+
y?: string;
|
|
358
|
+
image?: string;
|
|
359
|
+
description?: string;
|
|
360
|
+
};
|
|
361
|
+
export interface LandsPaginated {
|
|
362
|
+
elements: LandsPaginatedElementsItem[];
|
|
363
|
+
totalAmount: number;
|
|
364
|
+
pageNum: number;
|
|
365
|
+
pageSize: number;
|
|
366
|
+
}
|
|
367
|
+
export type NamesPaginatedElementsItem = {
|
|
368
|
+
name: string;
|
|
369
|
+
contractAddress: string;
|
|
370
|
+
tokenId: string;
|
|
371
|
+
price?: number;
|
|
372
|
+
};
|
|
373
|
+
export interface NamesPaginated {
|
|
374
|
+
elements: NamesPaginatedElementsItem[];
|
|
375
|
+
totalAmount: number;
|
|
376
|
+
pageNum: number;
|
|
377
|
+
pageSize: number;
|
|
378
|
+
}
|
|
379
|
+
export interface LambdasError {
|
|
380
|
+
error: string;
|
|
381
|
+
message: string;
|
|
382
|
+
}
|
|
383
|
+
export type WearableIndividualDataItem = {
|
|
384
|
+
id?: string;
|
|
385
|
+
tokenId?: string;
|
|
386
|
+
transferredAt?: number;
|
|
387
|
+
price?: number;
|
|
388
|
+
};
|
|
389
|
+
export interface Wearable {
|
|
390
|
+
urn: string;
|
|
391
|
+
amount?: number;
|
|
392
|
+
name: string;
|
|
393
|
+
rarity: string;
|
|
394
|
+
category: string;
|
|
395
|
+
entity?: Entity;
|
|
396
|
+
individualData?: WearableIndividualDataItem[];
|
|
397
|
+
}
|
|
398
|
+
export type Erc721AttributesItem = {
|
|
399
|
+
trait_type?: string;
|
|
400
|
+
value?: string;
|
|
401
|
+
};
|
|
402
|
+
export interface Erc721 {
|
|
403
|
+
id?: string;
|
|
404
|
+
name?: string;
|
|
405
|
+
description?: string;
|
|
406
|
+
language?: string;
|
|
407
|
+
image?: string;
|
|
408
|
+
thumbnail?: string;
|
|
409
|
+
attributes?: Erc721AttributesItem[];
|
|
410
|
+
}
|
|
411
|
+
export interface StatusLambdas {
|
|
412
|
+
version?: string;
|
|
413
|
+
currentTime?: number;
|
|
414
|
+
contentServerUrl?: string;
|
|
415
|
+
commitHash?: string;
|
|
416
|
+
catalystVersion?: string;
|
|
417
|
+
}
|
|
418
|
+
export type StatusContentSynchronizationStatusOtherServersItem = {
|
|
419
|
+
address: string;
|
|
420
|
+
connectionState: string;
|
|
421
|
+
lastDeploymentTimestamp: number;
|
|
422
|
+
};
|
|
423
|
+
export type StatusContentSynchronizationStatus = {
|
|
424
|
+
otherServers?: StatusContentSynchronizationStatusOtherServersItem[];
|
|
425
|
+
lastSyncWithDAO: number;
|
|
426
|
+
synchronizationState: string;
|
|
427
|
+
lastSyncWithOtherServers?: number;
|
|
428
|
+
};
|
|
429
|
+
export interface StatusContent {
|
|
430
|
+
name?: string;
|
|
431
|
+
version: string;
|
|
432
|
+
currentTime?: number;
|
|
433
|
+
lastImmutableTime?: number;
|
|
434
|
+
historySize?: number;
|
|
435
|
+
synchronizationStatus: StatusContentSynchronizationStatus;
|
|
436
|
+
commitHash: string;
|
|
437
|
+
catalystVersion: string;
|
|
438
|
+
ethNetwork: string;
|
|
439
|
+
}
|
|
440
|
+
export type SnapshotsItemTimeRange = {
|
|
441
|
+
initTimestamp: number;
|
|
442
|
+
endTimestamp: number;
|
|
443
|
+
};
|
|
444
|
+
export type SnapshotsItem = {
|
|
445
|
+
hash: string;
|
|
446
|
+
timeRange: SnapshotsItemTimeRange;
|
|
447
|
+
replacedSnapshotHashes?: string[];
|
|
448
|
+
numberOfEntities: number;
|
|
449
|
+
generationTimestamp: number;
|
|
450
|
+
};
|
|
451
|
+
export type Snapshots = SnapshotsItem[];
|
|
452
|
+
export type PointerChangesDeltasItem = {
|
|
453
|
+
entityType: string;
|
|
454
|
+
entityId: string;
|
|
455
|
+
localTimestamp: number;
|
|
456
|
+
pointers: string[];
|
|
457
|
+
authChain: AuthChain;
|
|
458
|
+
};
|
|
459
|
+
export interface PointerChanges {
|
|
460
|
+
deltas: PointerChangesDeltasItem[];
|
|
461
|
+
}
|
|
462
|
+
export type FailedDeploymentsItem = {
|
|
463
|
+
failedDeploymentsRepo?: string;
|
|
464
|
+
entityType: string;
|
|
465
|
+
entityId: string;
|
|
466
|
+
reason: string;
|
|
467
|
+
errorDescription: string;
|
|
468
|
+
};
|
|
469
|
+
export type FailedDeployments = FailedDeploymentsItem[];
|
|
470
|
+
export type EntityMetadata = {
|
|
471
|
+
[key: string]: any;
|
|
472
|
+
};
|
|
473
|
+
export type EntityContentItem = {
|
|
474
|
+
file: string;
|
|
475
|
+
hash: string;
|
|
476
|
+
};
|
|
477
|
+
export interface Entity {
|
|
478
|
+
version: string;
|
|
479
|
+
id: string;
|
|
480
|
+
type: string;
|
|
481
|
+
timestamp: number;
|
|
482
|
+
pointers: string[];
|
|
483
|
+
content: EntityContentItem[];
|
|
484
|
+
metadata?: EntityMetadata;
|
|
485
|
+
}
|
|
486
|
+
export interface Emote {
|
|
487
|
+
urn: string;
|
|
488
|
+
amount?: number;
|
|
489
|
+
category: string;
|
|
490
|
+
entity?: Entity;
|
|
491
|
+
}
|
|
492
|
+
export interface Errors {
|
|
493
|
+
errors: string[];
|
|
494
|
+
}
|
|
495
|
+
export type AvailableContentItem = {
|
|
496
|
+
cid: string;
|
|
497
|
+
available: boolean;
|
|
498
|
+
};
|
|
499
|
+
export type AvailableContent = AvailableContentItem[];
|
|
500
|
+
export interface Error {
|
|
501
|
+
error: string;
|
|
502
|
+
}
|
|
503
|
+
export type AuthChainItem = {
|
|
504
|
+
type: string;
|
|
505
|
+
payload: string;
|
|
506
|
+
signature?: string;
|
|
507
|
+
};
|
|
508
|
+
export type AuthChain = AuthChainItem[];
|
|
509
|
+
export interface AuditResponse {
|
|
510
|
+
version: string;
|
|
511
|
+
localTimestamp: number;
|
|
512
|
+
authChain: AuthChain;
|
|
513
|
+
overwrittenBy?: string;
|
|
514
|
+
isDenylisted?: boolean;
|
|
515
|
+
denylistedContent?: string[];
|
|
516
|
+
}
|
|
517
|
+
export type StatsParcelsParcelsItemParcel = {
|
|
518
|
+
x?: number;
|
|
519
|
+
y?: number;
|
|
520
|
+
};
|
|
521
|
+
export type StatsParcelsParcelsItem = {
|
|
522
|
+
peersCount?: number;
|
|
523
|
+
parcel?: StatsParcelsParcelsItemParcel;
|
|
524
|
+
};
|
|
525
|
+
export interface StatsParcels {
|
|
526
|
+
parcels?: StatsParcelsParcelsItem[];
|
|
527
|
+
}
|
|
528
|
+
export type AboutBff = {
|
|
529
|
+
healthy: boolean;
|
|
530
|
+
commitHash?: string;
|
|
531
|
+
usersCount?: number;
|
|
532
|
+
publicUrl: string;
|
|
533
|
+
protocolVersion: string;
|
|
534
|
+
};
|
|
535
|
+
export type AboutLambdas = {
|
|
536
|
+
healthy: boolean;
|
|
537
|
+
commitHash?: string;
|
|
538
|
+
version?: string;
|
|
539
|
+
publicUrl: string;
|
|
540
|
+
};
|
|
541
|
+
export type AboutComms = {
|
|
542
|
+
healthy: boolean;
|
|
543
|
+
protocol: string;
|
|
544
|
+
commitHash?: string;
|
|
545
|
+
userCount?: string;
|
|
546
|
+
};
|
|
547
|
+
export type AboutContent = {
|
|
548
|
+
healthy: boolean;
|
|
549
|
+
commitHash?: string;
|
|
550
|
+
version?: string;
|
|
551
|
+
publicUrl: string;
|
|
552
|
+
};
|
|
553
|
+
export interface About {
|
|
554
|
+
healthy: boolean;
|
|
555
|
+
acceptingUsers: boolean;
|
|
556
|
+
configurations: AboutConfigurations;
|
|
557
|
+
content: AboutContent;
|
|
558
|
+
comms: AboutComms;
|
|
559
|
+
lambdas: AboutLambdas;
|
|
560
|
+
bff?: AboutBff;
|
|
561
|
+
}
|
|
562
|
+
export type AboutConfigurationsSkybox = {
|
|
563
|
+
fixedHour?: number;
|
|
564
|
+
};
|
|
565
|
+
export type AboutConfigurationsMinimap = {
|
|
566
|
+
enabled: boolean;
|
|
567
|
+
dataImage?: string;
|
|
568
|
+
estateImage?: string;
|
|
569
|
+
};
|
|
570
|
+
export type AboutConfigurations = {
|
|
571
|
+
realmName?: string;
|
|
572
|
+
networkId: number;
|
|
573
|
+
globalScenesUrn: string[];
|
|
574
|
+
scenesUrn: string[];
|
|
575
|
+
minimap?: AboutConfigurationsMinimap;
|
|
576
|
+
skybox?: AboutConfigurationsSkybox;
|
|
577
|
+
};
|
|
578
|
+
/**
|
|
579
|
+
* Retrieve detailed information about the services
|
|
580
|
+
* @summary Catalyst Server status
|
|
581
|
+
*/
|
|
582
|
+
export declare const getLambdaStatus: () => import("../utils/fetcher").CustomClient<StatusLambdas>;
|
|
583
|
+
/**
|
|
584
|
+
* Retrieve the list of collections URNs
|
|
585
|
+
* @summary Get Collections
|
|
586
|
+
*/
|
|
587
|
+
export declare const getCollections: () => import("../utils/fetcher").CustomClient<GetCollections200>;
|
|
588
|
+
/**
|
|
589
|
+
* Downloads a thumbnail image for the specified urn
|
|
590
|
+
* @summary Download thumbnail image
|
|
591
|
+
*/
|
|
592
|
+
export declare const getThumbnail: (urn: string) => import("../utils/fetcher").CustomClient<Blob>;
|
|
593
|
+
/**
|
|
594
|
+
* Downloads the image for the specified urn
|
|
595
|
+
* @summary Download URN image
|
|
596
|
+
*/
|
|
597
|
+
export declare const getImage: (urn: string) => import("../utils/fetcher").CustomClient<Blob>;
|
|
598
|
+
/**
|
|
599
|
+
* Retrieve ERC721/NFT Entity details
|
|
600
|
+
* @summary Get ERC721 Entity
|
|
601
|
+
*/
|
|
602
|
+
export declare const getStandardErc721: (chainId: string, contract: string, option: string, emission: string) => import("../utils/fetcher").CustomClient<Erc721>;
|
|
603
|
+
/**
|
|
604
|
+
* Get a list of wearables owned by the given address
|
|
605
|
+
* @summary Get list of wearables for an address
|
|
606
|
+
*/
|
|
607
|
+
export declare const getWearables: (address: string, params?: GetWearablesParams) => import("../utils/fetcher").CustomClient<GetWearables200>;
|
|
608
|
+
/**
|
|
609
|
+
* Get a list of emotes owned by the given address
|
|
610
|
+
* @summary Get list of emotes for an address
|
|
611
|
+
*/
|
|
612
|
+
export declare const getEmotes: (address: string, params?: GetEmotesParams) => import("../utils/fetcher").CustomClient<GetEmotes200>;
|
|
613
|
+
/**
|
|
614
|
+
* Get a list of names owned by the given address
|
|
615
|
+
* @summary Get list of names for an address
|
|
616
|
+
*/
|
|
617
|
+
export declare const getNames: (address: string, params?: GetNamesParams) => import("../utils/fetcher").CustomClient<NamesPaginated>;
|
|
618
|
+
/**
|
|
619
|
+
* Get a list of lands owned by the given address
|
|
620
|
+
* @summary Get list of lands for an address
|
|
621
|
+
*/
|
|
622
|
+
export declare const getLands: (address: string, params?: GetLandsParams) => import("../utils/fetcher").CustomClient<LandsPaginated>;
|
|
623
|
+
/**
|
|
624
|
+
* Returns the list of third party wearables for the provided address
|
|
625
|
+
* @summary Returns the list of third party wearables for the provided address
|
|
626
|
+
*/
|
|
627
|
+
export declare const getThirdPartyWearables: (address: string, params?: GetThirdPartyWearablesParams) => import("../utils/fetcher").CustomClient<GetThirdPartyWearables200>;
|
|
628
|
+
/**
|
|
629
|
+
* Returns the list of third party wearables for the given collection
|
|
630
|
+
* @summary Returns the list of third party wearables for the given collection
|
|
631
|
+
*/
|
|
632
|
+
export declare const getThirdPartyCollection: (address: string, collectionId: string, params?: GetThirdPartyCollectionParams) => import("../utils/fetcher").CustomClient<GetThirdPartyCollection200>;
|
|
633
|
+
/**
|
|
634
|
+
* Search for wearables based on the applied filters and retrieve detailed information
|
|
635
|
+
* @deprecated
|
|
636
|
+
* @summary Search Wearables
|
|
637
|
+
*/
|
|
638
|
+
export declare const searchWearables: (params?: SearchWearablesParams) => import("../utils/fetcher").CustomClient<Wearables>;
|
|
639
|
+
/**
|
|
640
|
+
* Retrieve the list of Catalyst Servers
|
|
641
|
+
* @summary Get Servers list
|
|
642
|
+
*/
|
|
643
|
+
export declare const getServers: () => import("../utils/fetcher").CustomClient<Servers>;
|
|
644
|
+
/**
|
|
645
|
+
* Retrieve the Point of Interest list of coordinates
|
|
646
|
+
* @summary Retrieve DCL Point of Interests
|
|
647
|
+
*/
|
|
648
|
+
export declare const getPois: () => import("../utils/fetcher").CustomClient<Pois>;
|
|
649
|
+
/**
|
|
650
|
+
* Retrieve list of forbidden user names. The prohibition of these names is decided through the DAO and need to be voted, the list lives in a Smart Contract and the Catalyst just consumes this information to present it to the client. In order to add a new name a new proposal needs to be created, approved and a transaction should be sent by a DAO committee member.
|
|
651
|
+
* @summary Denylisted user names
|
|
652
|
+
*/
|
|
653
|
+
export declare const getDenylistedUserNames: () => import("../utils/fetcher").CustomClient<DenylistedUsernames>;
|
|
654
|
+
/**
|
|
655
|
+
* Given a signed message and it's AuthChain, validate it's authenticity. A message can be signed, for example, to prove ownership of the Entity pointers that they want to modify.
|
|
656
|
+
* @deprecated
|
|
657
|
+
* @summary Validate signed message
|
|
658
|
+
*/
|
|
659
|
+
export declare const validateSignature: (validateSignatureBody: ValidateSignatureBody) => import("../utils/fetcher").CustomClient<ValidateSignature200>;
|
|
660
|
+
/**
|
|
661
|
+
* Returns the list of scenes where there are more users with coordinates and the list of parcels that compose the scene.
|
|
662
|
+
* @summary Hot Scenes
|
|
663
|
+
*/
|
|
664
|
+
export declare const getHotScenes: () => import("../utils/fetcher").CustomClient<HotScenes>;
|
|
665
|
+
/**
|
|
666
|
+
* Returns the list of realms with details about the users in it
|
|
667
|
+
* @summary Get Realms status
|
|
668
|
+
*/
|
|
669
|
+
export declare const getRealms: () => import("../utils/fetcher").CustomClient<Realms>;
|
|
670
|
+
/**
|
|
671
|
+
* Returns all the Avatars details associated with the Ethereum addresses in the body
|
|
672
|
+
* @summary Get Avatars details
|
|
673
|
+
*/
|
|
674
|
+
export declare const getAvatarsDetailsByPost: (postProfiles: PostProfiles) => import("../utils/fetcher").CustomClient<Profile[]>;
|
|
675
|
+
/**
|
|
676
|
+
* Given a Ethereum address of a user, return the Avatars details associated with it.
|
|
677
|
+
* @summary Get Avatar details
|
|
678
|
+
*/
|
|
679
|
+
export declare const getAvatarDetails: (id: string) => import("../utils/fetcher").CustomClient<Profile>;
|
|
680
|
+
/**
|
|
681
|
+
* Returns the list of third party integrations and collections
|
|
682
|
+
* @summary Returns the list of third party integrations as well as collections
|
|
683
|
+
*/
|
|
684
|
+
export declare const getThirdPartyIntegrations: () => import("../utils/fetcher").CustomClient<ThirdPartyIntegrations>;
|
|
685
|
+
type AwaitedInput<T> = PromiseLike<T> | T;
|
|
686
|
+
type Awaited<O> = O extends AwaitedInput<infer T> ? T : never;
|
|
687
|
+
export type GetLambdaStatusResult = NonNullable<Awaited<ReturnType<typeof getLambdaStatus>>>;
|
|
688
|
+
export type GetCollectionsResult = NonNullable<Awaited<ReturnType<typeof getCollections>>>;
|
|
689
|
+
export type GetThumbnailResult = NonNullable<Awaited<ReturnType<typeof getThumbnail>>>;
|
|
690
|
+
export type GetImageResult = NonNullable<Awaited<ReturnType<typeof getImage>>>;
|
|
691
|
+
export type GetStandardErc721Result = NonNullable<Awaited<ReturnType<typeof getStandardErc721>>>;
|
|
692
|
+
export type GetWearablesResult = NonNullable<Awaited<ReturnType<typeof getWearables>>>;
|
|
693
|
+
export type GetEmotesResult = NonNullable<Awaited<ReturnType<typeof getEmotes>>>;
|
|
694
|
+
export type GetNamesResult = NonNullable<Awaited<ReturnType<typeof getNames>>>;
|
|
695
|
+
export type GetLandsResult = NonNullable<Awaited<ReturnType<typeof getLands>>>;
|
|
696
|
+
export type GetThirdPartyWearablesResult = NonNullable<Awaited<ReturnType<typeof getThirdPartyWearables>>>;
|
|
697
|
+
export type GetThirdPartyCollectionResult = NonNullable<Awaited<ReturnType<typeof getThirdPartyCollection>>>;
|
|
698
|
+
export type SearchWearablesResult = NonNullable<Awaited<ReturnType<typeof searchWearables>>>;
|
|
699
|
+
export type GetServersResult = NonNullable<Awaited<ReturnType<typeof getServers>>>;
|
|
700
|
+
export type GetPoisResult = NonNullable<Awaited<ReturnType<typeof getPois>>>;
|
|
701
|
+
export type GetDenylistedUserNamesResult = NonNullable<Awaited<ReturnType<typeof getDenylistedUserNames>>>;
|
|
702
|
+
export type ValidateSignatureResult = NonNullable<Awaited<ReturnType<typeof validateSignature>>>;
|
|
703
|
+
export type GetHotScenesResult = NonNullable<Awaited<ReturnType<typeof getHotScenes>>>;
|
|
704
|
+
export type GetRealmsResult = NonNullable<Awaited<ReturnType<typeof getRealms>>>;
|
|
705
|
+
export type GetAvatarsDetailsByPostResult = NonNullable<Awaited<ReturnType<typeof getAvatarsDetailsByPost>>>;
|
|
706
|
+
export type GetAvatarDetailsResult = NonNullable<Awaited<ReturnType<typeof getAvatarDetails>>>;
|
|
707
|
+
export type GetThirdPartyIntegrationsResult = NonNullable<Awaited<ReturnType<typeof getThirdPartyIntegrations>>>;
|
|
708
|
+
export {};
|
|
709
|
+
//# sourceMappingURL=lambdas-client.d.ts.map
|