dcl-catalyst-client 22.0.1-38618309267.commit-c0c3f9e → 23.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/ContentClient.js +51 -56
- package/dist/client/ContentClient.js.map +1 -1
- package/dist/client/specs/catalyst.schemas.d.ts +1410 -1343
- package/dist/client/specs/catalyst.schemas.d.ts.map +1 -1
- package/dist/client/specs/catalyst.schemas.js +85 -115
- package/dist/client/specs/catalyst.schemas.js.map +1 -1
- package/dist/client/specs/lambdas-client.d.ts +1036 -1049
- package/dist/client/specs/lambdas-client.d.ts.map +1 -1
- package/dist/client/specs/lambdas-client.js +87 -128
- package/dist/client/specs/lambdas-client.js.map +1 -1
- package/dist/client/utils/DeploymentBuilder.d.ts.map +1 -1
- package/dist/client/utils/DeploymentBuilder.js +6 -7
- package/dist/client/utils/DeploymentBuilder.js.map +1 -1
- package/dist/client/utils/Helper.js +6 -2
- package/dist/client/utils/Helper.js.map +1 -1
- package/dist/client/utils/errors.d.ts.map +1 -1
- package/dist/client/utils/errors.js +8 -0
- package/dist/client/utils/errors.js.map +1 -1
- package/dist/client/utils/fetcher.d.ts +2 -1
- package/dist/client/utils/fetcher.d.ts.map +1 -1
- package/dist/client/utils/fetcher.js +5 -5
- package/dist/client/utils/fetcher.js.map +1 -1
- package/dist/client/utils/upload-progress.js +13 -17
- package/dist/client/utils/upload-progress.js.map +1 -1
- package/dist/package.json +9 -3
- package/package.json +11 -5
|
@@ -1,1350 +1,1337 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
/**
|
|
2
|
+
* @deprecated
|
|
3
|
+
*/
|
|
4
|
+
export type AboutConfigurationsMinimap = {
|
|
5
|
+
enabled: boolean;
|
|
6
|
+
dataImage?: string;
|
|
7
|
+
estateImage?: string;
|
|
5
8
|
};
|
|
6
|
-
export type
|
|
7
|
-
|
|
9
|
+
export type AboutConfigurationsMapSizesItem = {
|
|
10
|
+
top?: number;
|
|
11
|
+
left?: number;
|
|
12
|
+
bottom?: number;
|
|
13
|
+
right?: number;
|
|
8
14
|
};
|
|
9
|
-
export type
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
/** Present only when `includeDefinitions` is set */
|
|
13
|
-
definition?: EmoteDefinition;
|
|
14
|
-
urn: string;
|
|
15
|
+
export type AboutConfigurationsMapParcelView = {
|
|
16
|
+
version: string;
|
|
17
|
+
imageUrl?: string;
|
|
15
18
|
};
|
|
16
|
-
export type
|
|
17
|
-
|
|
18
|
-
|
|
19
|
+
export type AboutConfigurationsMapSatelliteViewTopLeftOffset = {
|
|
20
|
+
x?: number;
|
|
21
|
+
y?: number;
|
|
19
22
|
};
|
|
20
|
-
export type
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
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;
|
|
23
|
+
export type AboutConfigurationsMapSatelliteView = {
|
|
24
|
+
version: string;
|
|
25
|
+
baseUrl?: string;
|
|
26
|
+
suffixUrl?: string;
|
|
27
|
+
topLeftOffset?: AboutConfigurationsMapSatelliteViewTopLeftOffset;
|
|
29
28
|
};
|
|
30
|
-
export type
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
/** Present only when `includeDefinitions` is set */
|
|
34
|
-
definition?: WearableDefinition;
|
|
35
|
-
urn: string;
|
|
29
|
+
export type AboutConfigurationsMapThumbnailViewTopLeftOffset = {
|
|
30
|
+
x?: number;
|
|
31
|
+
y?: number;
|
|
36
32
|
};
|
|
37
|
-
export type
|
|
38
|
-
|
|
39
|
-
|
|
33
|
+
export type AboutConfigurationsMapThumbnailView = {
|
|
34
|
+
version: string;
|
|
35
|
+
baseUrl?: string;
|
|
36
|
+
suffixUrl?: string;
|
|
37
|
+
topLeftOffset?: AboutConfigurationsMapThumbnailViewTopLeftOffset;
|
|
40
38
|
};
|
|
41
|
-
export type
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
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;
|
|
39
|
+
export type AboutConfigurationsMap = {
|
|
40
|
+
minimapEnabled: boolean;
|
|
41
|
+
sizes: AboutConfigurationsMapSizesItem[];
|
|
42
|
+
parcelView?: AboutConfigurationsMapParcelView;
|
|
43
|
+
satelliteView?: AboutConfigurationsMapSatelliteView;
|
|
44
|
+
thumbnailView?: AboutConfigurationsMapThumbnailView;
|
|
50
45
|
};
|
|
51
|
-
export type
|
|
52
|
-
|
|
53
|
-
|
|
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;
|
|
46
|
+
export type AboutConfigurationsSkybox = {
|
|
47
|
+
fixedHour?: number;
|
|
48
|
+
textures?: string[];
|
|
72
49
|
};
|
|
73
|
-
export type
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
/**
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
/**
|
|
83
|
-
* Text to search for in the wearables. Case-insensitive, at least 3 characters.
|
|
84
|
-
*/
|
|
85
|
-
textSearch?: string;
|
|
86
|
-
/**
|
|
87
|
-
* Maximum number of wearables to return. Values that are not a number between 1 and 500 fall back to 500.
|
|
88
|
-
*/
|
|
89
|
-
limit?: number;
|
|
90
|
-
/**
|
|
91
|
-
* URN of the last wearable of the previous page. Only wearables with a greater URN are returned.
|
|
92
|
-
*/
|
|
93
|
-
lastId?: string;
|
|
50
|
+
export type AboutConfigurations = {
|
|
51
|
+
realmName?: string;
|
|
52
|
+
networkId: number;
|
|
53
|
+
globalScenesUrn: string[];
|
|
54
|
+
scenesUrn: string[];
|
|
55
|
+
/** @deprecated */
|
|
56
|
+
minimap?: AboutConfigurationsMinimap;
|
|
57
|
+
map?: AboutConfigurationsMap;
|
|
58
|
+
skybox?: AboutConfigurationsSkybox;
|
|
94
59
|
};
|
|
95
|
-
export type
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
60
|
+
export type AboutContent = {
|
|
61
|
+
synchronizationStatus: string;
|
|
62
|
+
healthy: boolean;
|
|
63
|
+
commitHash?: string;
|
|
64
|
+
version?: string;
|
|
65
|
+
publicUrl: string;
|
|
100
66
|
};
|
|
101
|
-
export type
|
|
102
|
-
|
|
103
|
-
|
|
67
|
+
export type AboutComms = {
|
|
68
|
+
healthy: boolean;
|
|
69
|
+
protocol: string;
|
|
70
|
+
commitHash?: string;
|
|
71
|
+
version?: string;
|
|
72
|
+
usersCount?: number;
|
|
73
|
+
adapter?: string;
|
|
104
74
|
};
|
|
105
|
-
export type
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
/**
|
|
111
|
-
* The number of the requested page.
|
|
112
|
-
*/
|
|
113
|
-
pageNum?: number;
|
|
114
|
-
/**
|
|
115
|
-
* The size of the requested page.
|
|
116
|
-
*/
|
|
117
|
-
pageSize?: number;
|
|
75
|
+
export type AboutLambdas = {
|
|
76
|
+
healthy: boolean;
|
|
77
|
+
commitHash?: string;
|
|
78
|
+
version?: string;
|
|
79
|
+
publicUrl: string;
|
|
118
80
|
};
|
|
119
|
-
export type
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
81
|
+
export type AboutBff = {
|
|
82
|
+
healthy: boolean;
|
|
83
|
+
commitHash?: string;
|
|
84
|
+
userCount?: number;
|
|
85
|
+
publicUrl: string;
|
|
86
|
+
protocolVersion: string;
|
|
124
87
|
};
|
|
125
|
-
export
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
88
|
+
export interface About {
|
|
89
|
+
healthy: boolean;
|
|
90
|
+
acceptingUsers: boolean;
|
|
91
|
+
configurations: AboutConfigurations;
|
|
92
|
+
content: AboutContent;
|
|
93
|
+
comms?: AboutComms;
|
|
94
|
+
lambdas: AboutLambdas;
|
|
95
|
+
bff?: AboutBff;
|
|
96
|
+
}
|
|
97
|
+
export type AuthChainItem = {
|
|
98
|
+
type: string;
|
|
99
|
+
payload: string;
|
|
100
|
+
signature?: string;
|
|
129
101
|
};
|
|
130
|
-
export type
|
|
131
|
-
export
|
|
132
|
-
|
|
102
|
+
export type AuthChain = AuthChainItem[];
|
|
103
|
+
export interface AuditResponse {
|
|
104
|
+
version: string;
|
|
105
|
+
localTimestamp: number;
|
|
106
|
+
authChain: AuthChain;
|
|
107
|
+
}
|
|
108
|
+
export interface Error {
|
|
109
|
+
error: string;
|
|
110
|
+
}
|
|
111
|
+
export type AvailableContentItem = {
|
|
112
|
+
cid: string;
|
|
113
|
+
available: boolean;
|
|
133
114
|
};
|
|
134
|
-
export type
|
|
135
|
-
export
|
|
136
|
-
|
|
115
|
+
export type AvailableContent = AvailableContentItem[];
|
|
116
|
+
export interface Errors {
|
|
117
|
+
errors: string[];
|
|
118
|
+
}
|
|
119
|
+
export type EntityContentItem = {
|
|
120
|
+
file: string;
|
|
121
|
+
hash: string;
|
|
137
122
|
};
|
|
138
|
-
export type
|
|
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;
|
|
159
|
-
/**
|
|
160
|
-
* The number of the requested page.
|
|
161
|
-
*/
|
|
162
|
-
pageNum?: number;
|
|
163
|
-
/**
|
|
164
|
-
* The size of the requested page.
|
|
165
|
-
*/
|
|
166
|
-
pageSize?: number;
|
|
123
|
+
export type EntityMetadata = {
|
|
124
|
+
[key: string]: unknown;
|
|
167
125
|
};
|
|
168
|
-
export
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
126
|
+
export interface Entity {
|
|
127
|
+
version: string;
|
|
128
|
+
id: string;
|
|
129
|
+
type: string;
|
|
130
|
+
timestamp: number;
|
|
131
|
+
pointers: string[];
|
|
132
|
+
content: EntityContentItem[];
|
|
133
|
+
metadata?: EntityMetadata;
|
|
134
|
+
}
|
|
135
|
+
export type FailedDeploymentsItem = {
|
|
136
|
+
entityType: string;
|
|
137
|
+
entityId: string;
|
|
138
|
+
failureTimestamp: number;
|
|
139
|
+
reason: string;
|
|
140
|
+
authChain: AuthChain;
|
|
141
|
+
errorDescription: string;
|
|
142
|
+
/** Hash of the snapshot the entity was found in, when it was synchronized from a snapshot */
|
|
143
|
+
snapshotHash?: string;
|
|
144
|
+
retryCount?: number;
|
|
145
|
+
/** Timestamp after which the deployment will be retried */
|
|
146
|
+
nextRetryAt?: number;
|
|
177
147
|
};
|
|
178
|
-
export type
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
148
|
+
export type FailedDeployments = FailedDeploymentsItem[];
|
|
149
|
+
export type PointerChangesDeltasItem = {
|
|
150
|
+
deploymentId?: number;
|
|
151
|
+
entityType: string;
|
|
152
|
+
entityId: string;
|
|
153
|
+
entityTimestamp: number;
|
|
154
|
+
localTimestamp: number;
|
|
155
|
+
pointers: string[];
|
|
156
|
+
deployerAddress?: string;
|
|
157
|
+
version?: string;
|
|
158
|
+
authChain: AuthChain;
|
|
187
159
|
};
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
pageSize?: number;
|
|
160
|
+
/**
|
|
161
|
+
* Filters applied to the request
|
|
162
|
+
*/
|
|
163
|
+
export type PointerChangesFilters = {
|
|
164
|
+
entityTypes?: string[];
|
|
165
|
+
from?: number;
|
|
166
|
+
to?: number;
|
|
167
|
+
includeAuthChain?: boolean;
|
|
197
168
|
};
|
|
198
|
-
export type
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
169
|
+
export type PointerChangesPagination = {
|
|
170
|
+
offset: number;
|
|
171
|
+
limit: number;
|
|
172
|
+
/** Whether there are more deployments after this page */
|
|
173
|
+
moreData: boolean;
|
|
174
|
+
/** Query string to request the next page, present when `moreData` is true */
|
|
175
|
+
next?: string;
|
|
203
176
|
};
|
|
204
|
-
export
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
177
|
+
export interface PointerChanges {
|
|
178
|
+
deltas: PointerChangesDeltasItem[];
|
|
179
|
+
/** Filters applied to the request */
|
|
180
|
+
filters?: PointerChangesFilters;
|
|
181
|
+
pagination?: PointerChangesPagination;
|
|
182
|
+
}
|
|
183
|
+
export type SnapshotsItemTimeRange = {
|
|
184
|
+
initTimestamp: number;
|
|
185
|
+
endTimestamp: number;
|
|
208
186
|
};
|
|
209
|
-
export type
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
187
|
+
export type SnapshotsItem = {
|
|
188
|
+
hash: string;
|
|
189
|
+
timeRange: SnapshotsItemTimeRange;
|
|
190
|
+
replacedSnapshotHashes?: string[];
|
|
191
|
+
numberOfEntities: number;
|
|
192
|
+
generationTimestamp: number;
|
|
214
193
|
};
|
|
215
|
-
export type
|
|
216
|
-
export
|
|
217
|
-
|
|
194
|
+
export type Snapshots = SnapshotsItem[];
|
|
195
|
+
export type StatusContentSynchronizationStatus = {
|
|
196
|
+
/** Timestamp of the last time the list of servers was refreshed from the DAO (0 if it hasn't happened yet) */
|
|
197
|
+
lastSyncWithDAO: number;
|
|
198
|
+
/** `Bootstrapping` while the server is catching up with the rest of the network, during which it rejects new deployments; `Syncing` afterwards */
|
|
199
|
+
synchronizationState: string;
|
|
218
200
|
};
|
|
219
|
-
export
|
|
220
|
-
|
|
221
|
-
|
|
201
|
+
export interface StatusContent {
|
|
202
|
+
version: string;
|
|
203
|
+
commitHash: string;
|
|
204
|
+
ethNetwork: string;
|
|
205
|
+
synchronizationStatus: StatusContentSynchronizationStatus;
|
|
206
|
+
}
|
|
207
|
+
export type DeploymentsDeploymentsItemContentItem = {
|
|
208
|
+
/** File name */
|
|
209
|
+
key: string;
|
|
210
|
+
hash: string;
|
|
222
211
|
};
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
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;
|
|
248
|
-
/**
|
|
249
|
-
* Sort direction. Defaults to `ASC` when sorting by `name` and to `DESC` otherwise.
|
|
250
|
-
*/
|
|
251
|
-
direction?: GetEmotesDirection;
|
|
252
|
-
/**
|
|
253
|
-
* The number of the requested page.
|
|
254
|
-
*/
|
|
255
|
-
pageNum?: number;
|
|
256
|
-
/**
|
|
257
|
-
* The size of the requested page.
|
|
258
|
-
*/
|
|
259
|
-
pageSize?: number;
|
|
212
|
+
/**
|
|
213
|
+
* Present when `metadata` is in `fields` and the entity has metadata
|
|
214
|
+
*/
|
|
215
|
+
export type DeploymentsDeploymentsItemMetadata = {
|
|
216
|
+
[key: string]: unknown;
|
|
260
217
|
};
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
218
|
+
/**
|
|
219
|
+
* Present when `auditInfo` is in `fields`
|
|
220
|
+
*/
|
|
221
|
+
export type DeploymentsDeploymentsItemAuditInfo = {
|
|
222
|
+
version: string;
|
|
223
|
+
authChain: AuthChain;
|
|
224
|
+
localTimestamp: number;
|
|
266
225
|
};
|
|
267
|
-
export type
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
226
|
+
export type DeploymentsDeploymentsItem = {
|
|
227
|
+
entityVersion: string;
|
|
228
|
+
entityType: string;
|
|
229
|
+
entityId: string;
|
|
230
|
+
entityTimestamp: number;
|
|
231
|
+
/** Address of the deployer */
|
|
232
|
+
deployedBy: string;
|
|
233
|
+
/** Timestamp at which this server stored the deployment */
|
|
234
|
+
localTimestamp: number;
|
|
235
|
+
/** Present when `pointers` is in `fields` */
|
|
236
|
+
pointers?: string[];
|
|
237
|
+
/** Present when `content` is in `fields` */
|
|
238
|
+
content?: DeploymentsDeploymentsItemContentItem[];
|
|
239
|
+
/** Present when `metadata` is in `fields` and the entity has metadata */
|
|
240
|
+
metadata?: DeploymentsDeploymentsItemMetadata;
|
|
241
|
+
/** Present when `auditInfo` is in `fields` */
|
|
242
|
+
auditInfo?: DeploymentsDeploymentsItemAuditInfo;
|
|
271
243
|
};
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
244
|
+
/**
|
|
245
|
+
* Filters applied to the request
|
|
246
|
+
*/
|
|
247
|
+
export type DeploymentsFilters = {
|
|
248
|
+
from?: number;
|
|
249
|
+
to?: number;
|
|
250
|
+
entityTypes?: string[];
|
|
251
|
+
entityIds?: string[];
|
|
252
|
+
pointers?: string[];
|
|
253
|
+
onlyCurrentlyPointed?: boolean;
|
|
277
254
|
};
|
|
278
|
-
export type
|
|
279
|
-
|
|
280
|
-
|
|
255
|
+
export type DeploymentsPagination = {
|
|
256
|
+
offset: number;
|
|
257
|
+
limit: number;
|
|
258
|
+
/** Whether there are more deployments after this page */
|
|
259
|
+
moreData: boolean;
|
|
260
|
+
lastId?: string;
|
|
261
|
+
/** Query string to request the next page, present when `moreData` is true */
|
|
262
|
+
next?: string;
|
|
281
263
|
};
|
|
282
|
-
export
|
|
283
|
-
|
|
284
|
-
|
|
264
|
+
export interface Deployments {
|
|
265
|
+
deployments: DeploymentsDeploymentsItem[];
|
|
266
|
+
/** Filters applied to the request */
|
|
267
|
+
filters: DeploymentsFilters;
|
|
268
|
+
pagination: DeploymentsPagination;
|
|
269
|
+
}
|
|
270
|
+
export interface StatusLambdas {
|
|
271
|
+
version: string;
|
|
272
|
+
/** Server time in milliseconds since epoch */
|
|
273
|
+
currentTime: number;
|
|
274
|
+
commitHash: string;
|
|
275
|
+
}
|
|
276
|
+
export interface LambdasInternalError {
|
|
277
|
+
error: string;
|
|
278
|
+
}
|
|
279
|
+
export type Erc721AttributesItem = {
|
|
280
|
+
trait_type?: string;
|
|
281
|
+
value?: string;
|
|
285
282
|
};
|
|
286
|
-
export
|
|
287
|
-
/**
|
|
288
|
-
|
|
289
|
-
*/
|
|
290
|
-
includeEntities?: GetWearablesIncludeEntities;
|
|
291
|
-
/**
|
|
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`.
|
|
293
|
-
*/
|
|
294
|
-
includeDefinitions?: GetWearablesIncludeDefinitions;
|
|
295
|
-
/**
|
|
296
|
-
* Only return wearables of this category. Case-insensitive.
|
|
297
|
-
*/
|
|
298
|
-
category?: string;
|
|
299
|
-
/**
|
|
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
|
-
*/
|
|
283
|
+
export interface Erc721 {
|
|
284
|
+
/** URN of the item */
|
|
285
|
+
id: string;
|
|
306
286
|
name?: string;
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
/**
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
*/
|
|
318
|
-
pageNum?: number;
|
|
319
|
-
/**
|
|
320
|
-
* The size of the requested page.
|
|
321
|
-
*/
|
|
322
|
-
pageSize?: number;
|
|
323
|
-
};
|
|
324
|
-
export type GetCollections200CollectionsItem = {
|
|
287
|
+
description: string;
|
|
288
|
+
language: string;
|
|
289
|
+
/** URL of the item image, if it has one */
|
|
290
|
+
image?: string;
|
|
291
|
+
/** URL of the item thumbnail, if it has one */
|
|
292
|
+
thumbnail?: string;
|
|
293
|
+
attributes: Erc721AttributesItem[];
|
|
294
|
+
}
|
|
295
|
+
export type ItemIndividualDataItem = {
|
|
296
|
+
/** Item URN followed by `:<tokenId>` */
|
|
325
297
|
id: string;
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
298
|
+
tokenId: string;
|
|
299
|
+
/** Unix timestamp in seconds, sent as a string */
|
|
300
|
+
transferredAt: string;
|
|
301
|
+
/** Price in wei, sent as a string */
|
|
302
|
+
price: string;
|
|
330
303
|
};
|
|
331
304
|
/**
|
|
332
|
-
*
|
|
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.
|
|
305
|
+
* One entry per owned token
|
|
345
306
|
*/
|
|
346
|
-
export type
|
|
347
|
-
export type
|
|
348
|
-
|
|
349
|
-
|
|
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";
|
|
307
|
+
export type ItemIndividualData = ItemIndividualDataItem[];
|
|
308
|
+
export type ItemI18nItem = {
|
|
309
|
+
code: string;
|
|
310
|
+
text: string;
|
|
357
311
|
};
|
|
358
|
-
export type
|
|
359
|
-
export
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
readonly rare: "rare";
|
|
363
|
-
readonly epic: "epic";
|
|
364
|
-
readonly legendary: "legendary";
|
|
365
|
-
readonly exotic: "exotic";
|
|
366
|
-
readonly mythic: "mythic";
|
|
367
|
-
readonly unique: "unique";
|
|
312
|
+
export type ItemI18n = ItemI18nItem[];
|
|
313
|
+
export type ItemContentsItem = {
|
|
314
|
+
key: string;
|
|
315
|
+
url: string;
|
|
368
316
|
};
|
|
369
317
|
/**
|
|
370
|
-
*
|
|
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.
|
|
318
|
+
* Files of the representation, with their absolute content server URL
|
|
375
319
|
*/
|
|
376
|
-
export type
|
|
377
|
-
export
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
totalAmount: number;
|
|
320
|
+
export type ItemContents = ItemContentsItem[];
|
|
321
|
+
export interface ItemMetrics {
|
|
322
|
+
triangles?: number;
|
|
323
|
+
materials?: number;
|
|
324
|
+
textures?: number;
|
|
325
|
+
meshes?: number;
|
|
326
|
+
bodies?: number;
|
|
327
|
+
entities?: number;
|
|
385
328
|
}
|
|
386
|
-
export type
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
data: ExplorerEmoteTrimmedEntityMetadataData;
|
|
393
|
-
/** Item URN. */
|
|
394
|
-
id: string;
|
|
395
|
-
name: string;
|
|
396
|
-
rarity?: string;
|
|
329
|
+
export type WearableDefinitionDataRepresentationsItem = {
|
|
330
|
+
bodyShapes: string[];
|
|
331
|
+
mainFile: string;
|
|
332
|
+
overrideReplaces: string[];
|
|
333
|
+
overrideHides: string[];
|
|
334
|
+
contents: ItemContents;
|
|
397
335
|
};
|
|
398
|
-
export type
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
336
|
+
export type WearableDefinitionData = {
|
|
337
|
+
replaces: string[];
|
|
338
|
+
hides: string[];
|
|
339
|
+
removesDefaultHiding?: string[];
|
|
340
|
+
tags: string[];
|
|
341
|
+
category: string;
|
|
342
|
+
representations: WearableDefinitionDataRepresentationsItem[];
|
|
405
343
|
};
|
|
406
344
|
/**
|
|
407
|
-
*
|
|
345
|
+
* Wearable metadata with its file references resolved to content server URLs
|
|
408
346
|
*/
|
|
409
|
-
export interface
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
347
|
+
export interface WearableDefinition {
|
|
348
|
+
id: string;
|
|
349
|
+
name: string;
|
|
350
|
+
description: string;
|
|
351
|
+
collectionAddress?: string;
|
|
352
|
+
rarity?: string;
|
|
353
|
+
i18n: ItemI18n;
|
|
354
|
+
data: WearableDefinitionData;
|
|
355
|
+
image: string;
|
|
356
|
+
thumbnail: string;
|
|
357
|
+
metrics?: ItemMetrics;
|
|
413
358
|
}
|
|
414
|
-
export
|
|
415
|
-
|
|
416
|
-
|
|
359
|
+
export interface Wearable {
|
|
360
|
+
urn: string;
|
|
361
|
+
/** Number of tokens of this item owned by the address */
|
|
362
|
+
amount: number;
|
|
363
|
+
individualData: ItemIndividualData;
|
|
364
|
+
name: string;
|
|
365
|
+
rarity: string;
|
|
366
|
+
category: string;
|
|
367
|
+
/** Present only when `includeEntities` is set */
|
|
368
|
+
entity?: Entity;
|
|
369
|
+
/** Present only when `includeDefinitions` is set */
|
|
370
|
+
definition?: WearableDefinition;
|
|
371
|
+
}
|
|
372
|
+
export interface LambdasError {
|
|
373
|
+
error: string;
|
|
374
|
+
message: string;
|
|
375
|
+
}
|
|
376
|
+
export type EmoteDefinitionEmoteDataADR74RepresentationsItem = {
|
|
377
|
+
bodyShapes: string[];
|
|
378
|
+
mainFile: string;
|
|
379
|
+
contents: ItemContents;
|
|
380
|
+
};
|
|
381
|
+
export type EmoteDefinitionEmoteDataADR74 = {
|
|
382
|
+
category: string;
|
|
383
|
+
representations: EmoteDefinitionEmoteDataADR74RepresentationsItem[];
|
|
384
|
+
tags: string[];
|
|
385
|
+
loop: boolean;
|
|
417
386
|
};
|
|
418
387
|
/**
|
|
419
|
-
*
|
|
388
|
+
* Emote metadata with its file references resolved to content server URLs
|
|
420
389
|
*/
|
|
421
|
-
export interface
|
|
422
|
-
|
|
390
|
+
export interface EmoteDefinition {
|
|
391
|
+
id: string;
|
|
392
|
+
name: string;
|
|
393
|
+
description: string;
|
|
394
|
+
collectionAddress?: string;
|
|
395
|
+
rarity?: string;
|
|
396
|
+
i18n: ItemI18n;
|
|
397
|
+
emoteDataADR74: EmoteDefinitionEmoteDataADR74;
|
|
398
|
+
image: string;
|
|
399
|
+
thumbnail: string;
|
|
400
|
+
metrics?: ItemMetrics;
|
|
401
|
+
}
|
|
402
|
+
export interface Emote {
|
|
403
|
+
urn: string;
|
|
404
|
+
/** Number of tokens of this item owned by the address */
|
|
423
405
|
amount: number;
|
|
424
|
-
|
|
425
|
-
entity: Entity;
|
|
426
|
-
individualData: ExplorerIndividualData[];
|
|
427
|
-
/** Present when the item source reports it. */
|
|
428
|
-
itemType?: string;
|
|
406
|
+
individualData: ItemIndividualData;
|
|
429
407
|
name: string;
|
|
430
408
|
rarity: string;
|
|
431
|
-
|
|
432
|
-
|
|
409
|
+
category: string;
|
|
410
|
+
/** Present only when `includeEntities` is set */
|
|
411
|
+
entity?: Entity;
|
|
412
|
+
/** Present only when `includeDefinitions` is set */
|
|
413
|
+
definition?: EmoteDefinition;
|
|
433
414
|
}
|
|
434
|
-
export
|
|
435
|
-
|
|
436
|
-
|
|
415
|
+
export type NamesPaginatedElementsItem = {
|
|
416
|
+
name: string;
|
|
417
|
+
contractAddress: string;
|
|
418
|
+
tokenId: string;
|
|
419
|
+
/** Price in wei of the active order, if any */
|
|
420
|
+
price?: string;
|
|
421
|
+
};
|
|
422
|
+
export interface NamesPaginated {
|
|
423
|
+
elements: NamesPaginatedElementsItem[];
|
|
424
|
+
totalAmount: number;
|
|
437
425
|
pageNum: number;
|
|
438
426
|
pageSize: number;
|
|
439
|
-
|
|
427
|
+
}
|
|
428
|
+
export type LandsPaginatedElementsItem = {
|
|
429
|
+
name?: string;
|
|
430
|
+
contractAddress: string;
|
|
431
|
+
tokenId: string;
|
|
432
|
+
/** `parcel` or `estate` */
|
|
433
|
+
category: string;
|
|
434
|
+
/** Present only for parcels */
|
|
435
|
+
x?: string;
|
|
436
|
+
/** Present only for parcels */
|
|
437
|
+
y?: string;
|
|
438
|
+
description?: string;
|
|
439
|
+
/** Price in wei of the active order, if any */
|
|
440
|
+
price?: string;
|
|
441
|
+
image?: string;
|
|
442
|
+
};
|
|
443
|
+
export interface LandsPaginated {
|
|
444
|
+
elements: LandsPaginatedElementsItem[];
|
|
440
445
|
totalAmount: number;
|
|
446
|
+
pageNum: number;
|
|
447
|
+
pageSize: number;
|
|
441
448
|
}
|
|
442
|
-
export type
|
|
443
|
-
/**
|
|
449
|
+
export type LandsPermissionsPaginatedElementsItem = {
|
|
450
|
+
/** Parcel id in the LAND subgraph */
|
|
444
451
|
id: string;
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
452
|
+
x: string;
|
|
453
|
+
y: string;
|
|
454
|
+
owner: string;
|
|
455
|
+
updateOperator: string;
|
|
449
456
|
};
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
amount?: number;
|
|
456
|
-
entity: ExplorerWearableTrimmedEntity;
|
|
457
|
+
export interface LandsPermissionsPaginated {
|
|
458
|
+
elements: LandsPermissionsPaginatedElementsItem[];
|
|
459
|
+
totalAmount: number;
|
|
460
|
+
pageNum: number;
|
|
461
|
+
pageSize: number;
|
|
457
462
|
}
|
|
458
|
-
export
|
|
459
|
-
|
|
460
|
-
|
|
463
|
+
export interface ParcelPermissions {
|
|
464
|
+
owner: boolean;
|
|
465
|
+
operator: boolean;
|
|
466
|
+
updateOperator: boolean;
|
|
467
|
+
updateManager: boolean;
|
|
468
|
+
approvedForAll: boolean;
|
|
461
469
|
}
|
|
462
|
-
export type
|
|
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). */
|
|
470
|
+
export type ThirdPartyWearableIndividualDataItem = {
|
|
495
471
|
id: string;
|
|
496
|
-
/** Price paid, in wei, as a string. */
|
|
497
|
-
price?: string;
|
|
498
472
|
tokenId?: string;
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
/**
|
|
503
|
-
* A wearable owned by the address, grouped by URN.
|
|
504
|
-
*/
|
|
505
|
-
export interface ExplorerWearable {
|
|
506
|
-
/** Number of owned copies. */
|
|
473
|
+
};
|
|
474
|
+
export interface ThirdPartyWearable {
|
|
475
|
+
urn: string;
|
|
507
476
|
amount: number;
|
|
477
|
+
individualData: ThirdPartyWearableIndividualDataItem[];
|
|
478
|
+
name: string;
|
|
508
479
|
category: string;
|
|
509
480
|
entity: Entity;
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
itemType?: ExplorerWearableItemType;
|
|
513
|
-
name: string;
|
|
514
|
-
/** Only present for on-chain wearables. */
|
|
515
|
-
rarity?: string;
|
|
516
|
-
type: ExplorerWearableType;
|
|
517
|
-
urn: string;
|
|
481
|
+
/** Present only when `includeDefinitions` is set */
|
|
482
|
+
definition?: WearableDefinition;
|
|
518
483
|
}
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
484
|
+
/**
|
|
485
|
+
* Filters applied to the search, lowercased
|
|
486
|
+
*/
|
|
487
|
+
export interface CatalogFilters {
|
|
488
|
+
collectionIds?: string[];
|
|
489
|
+
itemIds?: string[];
|
|
490
|
+
textSearch?: string;
|
|
526
491
|
}
|
|
527
|
-
export
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
492
|
+
export interface CatalogPagination {
|
|
493
|
+
limit: number;
|
|
494
|
+
/** The `lastId` received in the request, if any */
|
|
495
|
+
lastId?: string;
|
|
496
|
+
/** Query string to request the next page. Absent on the last page. */
|
|
497
|
+
next?: string;
|
|
498
|
+
}
|
|
499
|
+
export interface Wearables {
|
|
500
|
+
wearables: WearableDefinition[];
|
|
501
|
+
filters: CatalogFilters;
|
|
502
|
+
pagination: CatalogPagination;
|
|
503
|
+
}
|
|
504
|
+
export interface Emotes {
|
|
505
|
+
emotes: EmoteDefinition[];
|
|
506
|
+
filters: CatalogFilters;
|
|
507
|
+
pagination: CatalogPagination;
|
|
508
|
+
}
|
|
509
|
+
export interface NameOwner {
|
|
510
|
+
/** Ethereum address of the owner of the name */
|
|
511
|
+
owner: string;
|
|
512
|
+
}
|
|
513
|
+
export type ServersItem = {
|
|
514
|
+
baseUrl: string;
|
|
515
|
+
owner: string;
|
|
516
|
+
id: string;
|
|
531
517
|
};
|
|
532
|
-
export type
|
|
533
|
-
|
|
534
|
-
|
|
518
|
+
export type Servers = ServersItem[];
|
|
519
|
+
export type Pois = string[];
|
|
520
|
+
export type DenylistedUsernames = string[];
|
|
521
|
+
export type ValidateSignatureRequestAuthChainItemType = (typeof ValidateSignatureRequestAuthChainItemType)[keyof typeof ValidateSignatureRequestAuthChainItemType];
|
|
522
|
+
export declare const ValidateSignatureRequestAuthChainItemType: {
|
|
523
|
+
readonly SIGNER: "SIGNER";
|
|
524
|
+
readonly ECDSA_EPHEMERAL: "ECDSA_EPHEMERAL";
|
|
525
|
+
readonly ECDSA_SIGNED_ENTITY: "ECDSA_SIGNED_ENTITY";
|
|
526
|
+
readonly ECDSA_EIP_1654_EPHEMERAL: "ECDSA_EIP_1654_EPHEMERAL";
|
|
527
|
+
readonly ECDSA_EIP_1654_SIGNED_ENTITY: "ECDSA_EIP_1654_SIGNED_ENTITY";
|
|
535
528
|
};
|
|
536
|
-
export type
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
529
|
+
export type ValidateSignatureRequestAuthChainItem = {
|
|
530
|
+
type: ValidateSignatureRequestAuthChainItemType;
|
|
531
|
+
payload: string;
|
|
532
|
+
/**
|
|
533
|
+
* Required for every link except `SIGNER`, which takes an empty string or null
|
|
534
|
+
* @nullable
|
|
535
|
+
*/
|
|
536
|
+
signature?: string | null;
|
|
537
|
+
};
|
|
538
|
+
export interface ValidateSignatureRequest {
|
|
539
|
+
/** Legacy alternative to `signedMessage`, used only when `signedMessage` is absent */
|
|
540
|
+
timestamp?: string;
|
|
541
|
+
signedMessage?: string;
|
|
542
|
+
/**
|
|
543
|
+
* @minItems 1
|
|
544
|
+
* @maxItems 10
|
|
545
|
+
*/
|
|
546
|
+
authChain: ValidateSignatureRequestAuthChainItem[];
|
|
547
|
+
}
|
|
548
|
+
export interface ValidateSignatureResponse {
|
|
549
|
+
valid: boolean;
|
|
550
|
+
/** Address of the first link of the chain. Present only when the signature is valid. */
|
|
551
|
+
ownerAddress?: string;
|
|
552
|
+
/** Reason the validation failed */
|
|
553
|
+
error?: string;
|
|
554
|
+
}
|
|
555
|
+
export type SchemaValidationErrorDataItem = {
|
|
556
|
+
[key: string]: unknown;
|
|
564
557
|
};
|
|
565
|
-
export interface
|
|
566
|
-
|
|
567
|
-
|
|
558
|
+
export interface SchemaValidationError {
|
|
559
|
+
ok: boolean;
|
|
560
|
+
message: string;
|
|
561
|
+
/** JSON schema validation errors */
|
|
562
|
+
data?: SchemaValidationErrorDataItem[];
|
|
563
|
+
}
|
|
564
|
+
export interface ParcelOperators {
|
|
565
|
+
owner: string;
|
|
566
|
+
/** @nullable */
|
|
567
|
+
operator: string | null;
|
|
568
|
+
/** @nullable */
|
|
569
|
+
updateOperator: string | null;
|
|
570
|
+
updateManagers: string[];
|
|
571
|
+
approvedForAll: string[];
|
|
572
|
+
}
|
|
573
|
+
export interface PostProfiles {
|
|
574
|
+
/**
|
|
575
|
+
* @minItems 1
|
|
576
|
+
* @maxItems 1000
|
|
577
|
+
*/
|
|
578
|
+
ids: string[];
|
|
568
579
|
}
|
|
580
|
+
export type ProfileAvatarsItemNameColor = {
|
|
581
|
+
r: number;
|
|
582
|
+
g: number;
|
|
583
|
+
b: number;
|
|
584
|
+
};
|
|
569
585
|
export type ProfileAvatarsItemAvatarSnapshots = {
|
|
570
|
-
body?: string;
|
|
571
586
|
face?: string;
|
|
572
587
|
face128?: string;
|
|
573
588
|
face256?: string;
|
|
589
|
+
body?: string;
|
|
574
590
|
};
|
|
575
|
-
export type
|
|
576
|
-
a?: number;
|
|
577
|
-
b?: number;
|
|
578
|
-
g?: number;
|
|
591
|
+
export type ProfileAvatarsItemAvatarEyesColor = {
|
|
579
592
|
r?: number;
|
|
593
|
+
g?: number;
|
|
594
|
+
b?: number;
|
|
595
|
+
a?: number;
|
|
580
596
|
};
|
|
581
|
-
export type
|
|
582
|
-
color?:
|
|
597
|
+
export type ProfileAvatarsItemAvatarEyes = {
|
|
598
|
+
color?: ProfileAvatarsItemAvatarEyesColor;
|
|
583
599
|
};
|
|
584
600
|
export type ProfileAvatarsItemAvatarHairColor = {
|
|
585
|
-
a?: number;
|
|
586
|
-
b?: number;
|
|
587
|
-
g?: number;
|
|
588
601
|
r?: number;
|
|
602
|
+
g?: number;
|
|
603
|
+
b?: number;
|
|
604
|
+
a?: number;
|
|
589
605
|
};
|
|
590
606
|
export type ProfileAvatarsItemAvatarHair = {
|
|
591
607
|
color?: ProfileAvatarsItemAvatarHairColor;
|
|
592
608
|
};
|
|
593
|
-
export type
|
|
594
|
-
a?: number;
|
|
595
|
-
b?: number;
|
|
596
|
-
g?: number;
|
|
609
|
+
export type ProfileAvatarsItemAvatarSkinColor = {
|
|
597
610
|
r?: number;
|
|
611
|
+
g?: number;
|
|
612
|
+
b?: number;
|
|
613
|
+
a?: number;
|
|
598
614
|
};
|
|
599
|
-
export type
|
|
600
|
-
color?:
|
|
615
|
+
export type ProfileAvatarsItemAvatarSkin = {
|
|
616
|
+
color?: ProfileAvatarsItemAvatarSkinColor;
|
|
601
617
|
};
|
|
602
618
|
export type ProfileAvatarsItemAvatarEmotesItem = {
|
|
603
|
-
slot?: number;
|
|
604
619
|
urn?: string;
|
|
620
|
+
slot?: number;
|
|
605
621
|
};
|
|
606
622
|
export type ProfileAvatarsItemAvatar = {
|
|
607
623
|
bodyShape?: string;
|
|
608
|
-
|
|
624
|
+
snapshots?: ProfileAvatarsItemAvatarSnapshots;
|
|
609
625
|
eyes?: ProfileAvatarsItemAvatarEyes;
|
|
610
|
-
/** Wearable categories rendered even when hidden by other wearables */
|
|
611
|
-
forceRender?: string[];
|
|
612
626
|
hair?: ProfileAvatarsItemAvatarHair;
|
|
613
627
|
skin?: ProfileAvatarsItemAvatarSkin;
|
|
614
|
-
snapshots?: ProfileAvatarsItemAvatarSnapshots;
|
|
615
628
|
wearables?: string[];
|
|
629
|
+
/** Wearable categories rendered even when hidden by other wearables */
|
|
630
|
+
forceRender?: string[];
|
|
631
|
+
emotes?: ProfileAvatarsItemAvatarEmotesItem[];
|
|
616
632
|
};
|
|
617
|
-
export
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
export interface ParcelOperators {
|
|
621
|
-
approvedForAll: string[];
|
|
622
|
-
operator: string | null;
|
|
623
|
-
owner: string;
|
|
624
|
-
updateManagers: string[];
|
|
625
|
-
updateOperator: string | null;
|
|
626
|
-
}
|
|
627
|
-
export type SchemaValidationErrorDataItem = {
|
|
628
|
-
[key: string]: any;
|
|
629
|
-
};
|
|
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;
|
|
633
|
+
export type ProfileAvatarsItemLinksItem = {
|
|
634
|
+
title: string;
|
|
635
|
+
url: string;
|
|
656
636
|
};
|
|
657
|
-
export
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
637
|
+
export type ProfileAvatarsItem = {
|
|
638
|
+
userId?: string;
|
|
639
|
+
email?: string;
|
|
640
|
+
name?: string;
|
|
641
|
+
nameColor?: ProfileAvatarsItemNameColor;
|
|
642
|
+
hasClaimedName?: boolean;
|
|
643
|
+
description?: string;
|
|
644
|
+
ethAddress?: string;
|
|
645
|
+
version?: number;
|
|
646
|
+
avatar?: ProfileAvatarsItemAvatar;
|
|
647
|
+
tutorialStep?: number;
|
|
648
|
+
interests?: string[];
|
|
649
|
+
unclaimedName?: string;
|
|
650
|
+
hasConnectedWeb3?: boolean;
|
|
651
|
+
blocked?: string[];
|
|
652
|
+
muted?: string[];
|
|
653
|
+
links?: ProfileAvatarsItemLinksItem[];
|
|
654
|
+
country?: string;
|
|
655
|
+
employmentStatus?: string;
|
|
656
|
+
gender?: string;
|
|
657
|
+
pronouns?: string;
|
|
658
|
+
relationshipStatus?: string;
|
|
659
|
+
sexualOrientation?: string;
|
|
660
|
+
language?: string;
|
|
661
|
+
profession?: string;
|
|
662
|
+
birthdate?: number;
|
|
663
|
+
realName?: string;
|
|
664
|
+
hobbies?: string;
|
|
669
665
|
};
|
|
670
|
-
export
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
owner: string;
|
|
674
|
-
}
|
|
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. */
|
|
680
|
-
next?: string;
|
|
681
|
-
}
|
|
682
|
-
/**
|
|
683
|
-
* Filters applied to the search, lowercased
|
|
684
|
-
*/
|
|
685
|
-
export interface CatalogFilters {
|
|
686
|
-
collectionIds?: string[];
|
|
687
|
-
itemIds?: string[];
|
|
688
|
-
textSearch?: string;
|
|
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[];
|
|
666
|
+
export interface Profile {
|
|
667
|
+
timestamp?: number;
|
|
668
|
+
avatars?: ProfileAvatarsItem[];
|
|
699
669
|
}
|
|
700
|
-
export type
|
|
701
|
-
id: string;
|
|
702
|
-
tokenId?: string;
|
|
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;
|
|
670
|
+
export type ThirdPartyIntegrationsDataItem = {
|
|
712
671
|
urn: string;
|
|
713
|
-
}
|
|
714
|
-
export interface ParcelPermissions {
|
|
715
|
-
approvedForAll: boolean;
|
|
716
|
-
operator: boolean;
|
|
717
|
-
owner: boolean;
|
|
718
|
-
updateManager: boolean;
|
|
719
|
-
updateOperator: boolean;
|
|
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
|
-
}
|
|
735
|
-
export type LandsPaginatedElementsItem = {
|
|
736
|
-
/** `parcel` or `estate` */
|
|
737
|
-
category: string;
|
|
738
|
-
contractAddress: string;
|
|
739
|
-
description?: string;
|
|
740
|
-
image?: string;
|
|
741
672
|
name?: string;
|
|
742
|
-
|
|
743
|
-
price?: string;
|
|
744
|
-
tokenId: string;
|
|
745
|
-
/** Present only for parcels */
|
|
746
|
-
x?: string;
|
|
747
|
-
/** Present only for parcels */
|
|
748
|
-
y?: string;
|
|
673
|
+
description?: string;
|
|
749
674
|
};
|
|
750
|
-
export interface
|
|
751
|
-
|
|
752
|
-
pageNum: number;
|
|
753
|
-
pageSize: number;
|
|
754
|
-
totalAmount: number;
|
|
675
|
+
export interface ThirdPartyIntegrations {
|
|
676
|
+
data: ThirdPartyIntegrationsDataItem[];
|
|
755
677
|
}
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
678
|
+
/**
|
|
679
|
+
* One owned copy of the item. Base wearables only carry `id`; third-party wearables may add `tokenId`; on-chain items carry all fields.
|
|
680
|
+
*/
|
|
681
|
+
export interface ExplorerIndividualData {
|
|
682
|
+
/** Identifier of the owned copy (the item URN followed by the token id for on-chain items). */
|
|
683
|
+
id: string;
|
|
684
|
+
tokenId?: string;
|
|
685
|
+
/** Unix timestamp, in seconds, of the transfer to the current owner, as a string. */
|
|
686
|
+
transferredAt?: string;
|
|
687
|
+
/** Price paid, in wei, as a string. */
|
|
760
688
|
price?: string;
|
|
761
|
-
tokenId: string;
|
|
762
|
-
};
|
|
763
|
-
export interface NamesPaginated {
|
|
764
|
-
elements: NamesPaginatedElementsItem[];
|
|
765
|
-
pageNum: number;
|
|
766
|
-
pageSize: number;
|
|
767
|
-
totalAmount: number;
|
|
768
689
|
}
|
|
769
|
-
export type
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
690
|
+
export type ExplorerWearableType = (typeof ExplorerWearableType)[keyof typeof ExplorerWearableType];
|
|
691
|
+
export declare const ExplorerWearableType: {
|
|
692
|
+
readonly 'base-wearable': "base-wearable";
|
|
693
|
+
readonly 'on-chain': "on-chain";
|
|
694
|
+
readonly 'third-party': "third-party";
|
|
773
695
|
};
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
696
|
+
/**
|
|
697
|
+
* Only present for on-chain wearables.
|
|
698
|
+
*/
|
|
699
|
+
export type ExplorerWearableItemType = (typeof ExplorerWearableItemType)[keyof typeof ExplorerWearableItemType];
|
|
700
|
+
export declare const ExplorerWearableItemType: {
|
|
701
|
+
readonly wearable_v1: "wearable_v1";
|
|
702
|
+
readonly wearable_v2: "wearable_v2";
|
|
703
|
+
readonly smart_wearable_v1: "smart_wearable_v1";
|
|
779
704
|
};
|
|
780
705
|
/**
|
|
781
|
-
*
|
|
706
|
+
* A wearable owned by the address, grouped by URN.
|
|
782
707
|
*/
|
|
783
|
-
export interface
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
emoteDataADR74: EmoteDefinitionEmoteDataADR74;
|
|
787
|
-
i18n: ItemI18n;
|
|
788
|
-
id: string;
|
|
789
|
-
image: string;
|
|
790
|
-
metrics?: ItemMetrics;
|
|
708
|
+
export interface ExplorerWearable {
|
|
709
|
+
type: ExplorerWearableType;
|
|
710
|
+
urn: string;
|
|
791
711
|
name: string;
|
|
712
|
+
category: string;
|
|
713
|
+
/** Number of owned copies. */
|
|
714
|
+
amount: number;
|
|
715
|
+
individualData: ExplorerIndividualData[];
|
|
716
|
+
/** Only present for on-chain wearables. */
|
|
792
717
|
rarity?: string;
|
|
793
|
-
|
|
718
|
+
/** Only present for on-chain wearables. */
|
|
719
|
+
itemType?: ExplorerWearableItemType;
|
|
720
|
+
entity: Entity;
|
|
794
721
|
}
|
|
795
|
-
export interface
|
|
796
|
-
|
|
797
|
-
|
|
722
|
+
export interface ExplorerTrimmedRepresentation {
|
|
723
|
+
bodyShapes: string[];
|
|
724
|
+
}
|
|
725
|
+
export type ExplorerWearableTrimmedEntityMetadataData = {
|
|
798
726
|
category: string;
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
727
|
+
representations: ExplorerTrimmedRepresentation[];
|
|
728
|
+
};
|
|
729
|
+
export type ExplorerWearableTrimmedEntityMetadata = {
|
|
730
|
+
/** Item URN. */
|
|
731
|
+
id: string;
|
|
804
732
|
name: string;
|
|
805
|
-
rarity
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
error: string;
|
|
810
|
-
message: string;
|
|
811
|
-
}
|
|
812
|
-
export type WearableDefinitionDataRepresentationsItem = {
|
|
813
|
-
bodyShapes: string[];
|
|
814
|
-
contents: ItemContents;
|
|
815
|
-
mainFile: string;
|
|
816
|
-
overrideHides: string[];
|
|
817
|
-
overrideReplaces: string[];
|
|
733
|
+
/** Absent when the entity metadata has no rarity, as with base wearables. */
|
|
734
|
+
rarity?: string;
|
|
735
|
+
isSmart: boolean;
|
|
736
|
+
data: ExplorerWearableTrimmedEntityMetadataData;
|
|
818
737
|
};
|
|
819
|
-
export type
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
738
|
+
export type ExplorerWearableTrimmedEntity = {
|
|
739
|
+
/** Entity id. */
|
|
740
|
+
id: string;
|
|
741
|
+
/** Content hash of the thumbnail file. */
|
|
742
|
+
thumbnail?: string;
|
|
743
|
+
individualData: ExplorerIndividualData[];
|
|
744
|
+
metadata: ExplorerWearableTrimmedEntityMetadata;
|
|
826
745
|
};
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
746
|
+
/**
|
|
747
|
+
* Trimmed form of an owned wearable, returned when `trimmed` is set.
|
|
748
|
+
*/
|
|
749
|
+
export interface ExplorerWearableTrimmed {
|
|
750
|
+
entity: ExplorerWearableTrimmedEntity;
|
|
751
|
+
/** Number of owned copies. Only present when `includeAmount` is set. */
|
|
752
|
+
amount?: number;
|
|
753
|
+
}
|
|
754
|
+
export interface WearablesExplorer {
|
|
755
|
+
/** Full elements by default, trimmed elements when `trimmed` is set. */
|
|
756
|
+
elements: (ExplorerWearable | ExplorerWearableTrimmed)[];
|
|
757
|
+
/** Number of elements matching the filters across all pages. */
|
|
758
|
+
totalAmount: number;
|
|
759
|
+
pageNum: number;
|
|
760
|
+
pageSize: number;
|
|
834
761
|
}
|
|
762
|
+
export type ExplorerEmoteType = (typeof ExplorerEmoteType)[keyof typeof ExplorerEmoteType];
|
|
763
|
+
export declare const ExplorerEmoteType: {
|
|
764
|
+
readonly 'on-chain': "on-chain";
|
|
765
|
+
};
|
|
835
766
|
/**
|
|
836
|
-
*
|
|
767
|
+
* An emote owned by the address, grouped by URN.
|
|
837
768
|
*/
|
|
838
|
-
export interface
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
description: string;
|
|
842
|
-
i18n: ItemI18n;
|
|
843
|
-
id: string;
|
|
844
|
-
image: string;
|
|
845
|
-
metrics?: ItemMetrics;
|
|
769
|
+
export interface ExplorerEmote {
|
|
770
|
+
type: ExplorerEmoteType;
|
|
771
|
+
urn: string;
|
|
846
772
|
name: string;
|
|
847
|
-
rarity?: string;
|
|
848
|
-
thumbnail: string;
|
|
849
|
-
}
|
|
850
|
-
export interface Wearable {
|
|
851
|
-
/** Number of tokens of this item owned by the address */
|
|
852
|
-
amount: number;
|
|
853
773
|
category: string;
|
|
854
|
-
/** Present only when `includeDefinitions` is set */
|
|
855
|
-
definition?: WearableDefinition;
|
|
856
|
-
/** Present only when `includeEntities` is set */
|
|
857
|
-
entity?: Entity;
|
|
858
|
-
individualData: ItemIndividualData;
|
|
859
|
-
name: string;
|
|
860
774
|
rarity: string;
|
|
861
|
-
|
|
775
|
+
/** Number of owned copies. */
|
|
776
|
+
amount: number;
|
|
777
|
+
individualData: ExplorerIndividualData[];
|
|
778
|
+
/** Present when the item source reports it. */
|
|
779
|
+
itemType?: string;
|
|
780
|
+
entity: Entity;
|
|
862
781
|
}
|
|
863
|
-
export type
|
|
864
|
-
|
|
865
|
-
|
|
782
|
+
export type ExplorerEmoteTrimmedEntityMetadataData = {
|
|
783
|
+
/** Absent for emotes without ADR-74 emote data. */
|
|
784
|
+
category?: string;
|
|
785
|
+
representations: ExplorerTrimmedRepresentation[];
|
|
866
786
|
};
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
text: string;
|
|
787
|
+
export type ExplorerEmoteTrimmedEntityMetadata = {
|
|
788
|
+
/** Item URN. */
|
|
789
|
+
id: string;
|
|
790
|
+
name: string;
|
|
791
|
+
rarity?: string;
|
|
792
|
+
data: ExplorerEmoteTrimmedEntityMetadataData;
|
|
874
793
|
};
|
|
875
|
-
export type
|
|
876
|
-
|
|
877
|
-
/** Item URN followed by `:<tokenId>` */
|
|
794
|
+
export type ExplorerEmoteTrimmedEntity = {
|
|
795
|
+
/** Entity id. */
|
|
878
796
|
id: string;
|
|
879
|
-
/**
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
transferredAt: string;
|
|
797
|
+
/** Content hash of the thumbnail file. */
|
|
798
|
+
thumbnail?: string;
|
|
799
|
+
individualData: ExplorerIndividualData[];
|
|
800
|
+
metadata: ExplorerEmoteTrimmedEntityMetadata;
|
|
884
801
|
};
|
|
885
802
|
/**
|
|
886
|
-
*
|
|
803
|
+
* Trimmed form of an owned emote, returned when `trimmed` is set.
|
|
887
804
|
*/
|
|
888
|
-
export
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
805
|
+
export interface ExplorerEmoteTrimmed {
|
|
806
|
+
entity: ExplorerEmoteTrimmedEntity;
|
|
807
|
+
/** Number of owned copies. Only present when `includeAmount` is set. */
|
|
808
|
+
amount?: number;
|
|
809
|
+
}
|
|
810
|
+
export interface EmotesExplorer {
|
|
811
|
+
/** Full elements by default, trimmed elements when `trimmed` is set. */
|
|
812
|
+
elements: (ExplorerEmote | ExplorerEmoteTrimmed)[];
|
|
813
|
+
/** Number of elements matching the filters across all pages. */
|
|
814
|
+
totalAmount: number;
|
|
815
|
+
pageNum: number;
|
|
816
|
+
pageSize: number;
|
|
817
|
+
}
|
|
818
|
+
export type GetCollections200CollectionsItem = {
|
|
819
|
+
id: string;
|
|
820
|
+
name: string;
|
|
821
|
+
};
|
|
822
|
+
export type GetCollections200 = {
|
|
823
|
+
collections: GetCollections200CollectionsItem[];
|
|
824
|
+
};
|
|
825
|
+
export type GetWearablesParams = {
|
|
826
|
+
/**
|
|
827
|
+
* 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`.
|
|
828
|
+
*/
|
|
829
|
+
includeEntities?: GetWearablesIncludeEntities;
|
|
830
|
+
/**
|
|
831
|
+
* 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`.
|
|
832
|
+
*/
|
|
833
|
+
includeDefinitions?: GetWearablesIncludeDefinitions;
|
|
834
|
+
/**
|
|
835
|
+
* Only return wearables of this category. Case-insensitive.
|
|
836
|
+
*/
|
|
837
|
+
category?: string;
|
|
838
|
+
/**
|
|
839
|
+
* Only return wearables of this rarity. Case-insensitive.
|
|
840
|
+
*/
|
|
841
|
+
rarity?: string;
|
|
842
|
+
/**
|
|
843
|
+
* Only return wearables whose name contains this text. Case-insensitive.
|
|
844
|
+
*/
|
|
845
|
+
name?: string;
|
|
846
|
+
/**
|
|
847
|
+
* Field to sort by. `date` is the transfer date of the tokens.
|
|
848
|
+
*/
|
|
849
|
+
orderBy?: GetWearablesOrderBy;
|
|
850
|
+
/**
|
|
851
|
+
* Sort direction. Defaults to `ASC` when sorting by `name` and to `DESC` otherwise.
|
|
852
|
+
*/
|
|
853
|
+
direction?: GetWearablesDirection;
|
|
854
|
+
/**
|
|
855
|
+
* The number of the requested page.
|
|
856
|
+
* @minimum 1
|
|
857
|
+
*/
|
|
858
|
+
pageNum?: number;
|
|
859
|
+
/**
|
|
860
|
+
* The size of the requested page.
|
|
861
|
+
* @minimum 1
|
|
862
|
+
* @maximum 1000
|
|
863
|
+
*/
|
|
864
|
+
pageSize?: number;
|
|
892
865
|
};
|
|
893
|
-
export
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
/** URN of the item */
|
|
897
|
-
id: string;
|
|
898
|
-
/** URL of the item image, if it has one */
|
|
899
|
-
image?: string;
|
|
900
|
-
language: string;
|
|
901
|
-
name?: string;
|
|
902
|
-
/** URL of the item thumbnail, if it has one */
|
|
903
|
-
thumbnail?: string;
|
|
904
|
-
}
|
|
905
|
-
export interface LambdasInternalError {
|
|
906
|
-
error: string;
|
|
907
|
-
}
|
|
908
|
-
export interface StatusLambdas {
|
|
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;
|
|
866
|
+
export type GetWearablesIncludeEntities = (typeof GetWearablesIncludeEntities)[keyof typeof GetWearablesIncludeEntities];
|
|
867
|
+
export declare const GetWearablesIncludeEntities: {
|
|
868
|
+
readonly true: "true";
|
|
922
869
|
};
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
export type DeploymentsFilters = {
|
|
927
|
-
entityIds?: string[];
|
|
928
|
-
entityTypes?: string[];
|
|
929
|
-
from?: number;
|
|
930
|
-
onlyCurrentlyPointed?: boolean;
|
|
931
|
-
pointers?: string[];
|
|
932
|
-
to?: number;
|
|
870
|
+
export type GetWearablesIncludeDefinitions = (typeof GetWearablesIncludeDefinitions)[keyof typeof GetWearablesIncludeDefinitions];
|
|
871
|
+
export declare const GetWearablesIncludeDefinitions: {
|
|
872
|
+
readonly true: "true";
|
|
933
873
|
};
|
|
934
|
-
export
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
}
|
|
940
|
-
/**
|
|
941
|
-
* Present when `metadata` is in `fields` and the entity has metadata
|
|
942
|
-
*/
|
|
943
|
-
export type DeploymentsDeploymentsItemMetadata = {
|
|
944
|
-
[key: string]: any;
|
|
874
|
+
export type GetWearablesOrderBy = (typeof GetWearablesOrderBy)[keyof typeof GetWearablesOrderBy];
|
|
875
|
+
export declare const GetWearablesOrderBy: {
|
|
876
|
+
readonly rarity: "rarity";
|
|
877
|
+
readonly name: "name";
|
|
878
|
+
readonly date: "date";
|
|
945
879
|
};
|
|
946
|
-
export type
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
880
|
+
export type GetWearablesDirection = (typeof GetWearablesDirection)[keyof typeof GetWearablesDirection];
|
|
881
|
+
export declare const GetWearablesDirection: {
|
|
882
|
+
readonly ASC: "ASC";
|
|
883
|
+
readonly DESC: "DESC";
|
|
950
884
|
};
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
localTimestamp: number;
|
|
957
|
-
version: string;
|
|
885
|
+
export type GetWearables200 = {
|
|
886
|
+
elements: Wearable[];
|
|
887
|
+
totalAmount: number;
|
|
888
|
+
pageNum: number;
|
|
889
|
+
pageSize: number;
|
|
958
890
|
};
|
|
959
|
-
export type
|
|
960
|
-
/**
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
/**
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
/**
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
891
|
+
export type GetEmotesParams = {
|
|
892
|
+
/**
|
|
893
|
+
* 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`.
|
|
894
|
+
*/
|
|
895
|
+
includeEntities?: GetEmotesIncludeEntities;
|
|
896
|
+
/**
|
|
897
|
+
* 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`.
|
|
898
|
+
*/
|
|
899
|
+
includeDefinitions?: GetEmotesIncludeDefinitions;
|
|
900
|
+
/**
|
|
901
|
+
* Only return emotes of this category. Case-insensitive.
|
|
902
|
+
*/
|
|
903
|
+
category?: string;
|
|
904
|
+
/**
|
|
905
|
+
* Only return emotes of this rarity. Case-insensitive.
|
|
906
|
+
*/
|
|
907
|
+
rarity?: string;
|
|
908
|
+
/**
|
|
909
|
+
* Only return emotes whose name contains this text. Case-insensitive.
|
|
910
|
+
*/
|
|
911
|
+
name?: string;
|
|
912
|
+
/**
|
|
913
|
+
* Field to sort by. `date` is the transfer date of the tokens.
|
|
914
|
+
*/
|
|
915
|
+
orderBy?: GetEmotesOrderBy;
|
|
916
|
+
/**
|
|
917
|
+
* Sort direction. Defaults to `ASC` when sorting by `name` and to `DESC` otherwise.
|
|
918
|
+
*/
|
|
919
|
+
direction?: GetEmotesDirection;
|
|
920
|
+
/**
|
|
921
|
+
* The number of the requested page.
|
|
922
|
+
* @minimum 1
|
|
923
|
+
*/
|
|
924
|
+
pageNum?: number;
|
|
925
|
+
/**
|
|
926
|
+
* The size of the requested page.
|
|
927
|
+
* @minimum 1
|
|
928
|
+
* @maximum 1000
|
|
929
|
+
*/
|
|
930
|
+
pageSize?: number;
|
|
976
931
|
};
|
|
977
|
-
export type
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
/** `Bootstrapping` while the server is catching up with the rest of the network, during which it rejects new deployments; `Syncing` afterwards */
|
|
981
|
-
synchronizationState: string;
|
|
932
|
+
export type GetEmotesIncludeEntities = (typeof GetEmotesIncludeEntities)[keyof typeof GetEmotesIncludeEntities];
|
|
933
|
+
export declare const GetEmotesIncludeEntities: {
|
|
934
|
+
readonly true: "true";
|
|
982
935
|
};
|
|
983
|
-
export
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
synchronizationStatus: StatusContentSynchronizationStatus;
|
|
987
|
-
version: string;
|
|
988
|
-
}
|
|
989
|
-
export type SnapshotsItemTimeRange = {
|
|
990
|
-
endTimestamp: number;
|
|
991
|
-
initTimestamp: number;
|
|
936
|
+
export type GetEmotesIncludeDefinitions = (typeof GetEmotesIncludeDefinitions)[keyof typeof GetEmotesIncludeDefinitions];
|
|
937
|
+
export declare const GetEmotesIncludeDefinitions: {
|
|
938
|
+
readonly true: "true";
|
|
992
939
|
};
|
|
993
|
-
export type
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
timeRange: SnapshotsItemTimeRange;
|
|
940
|
+
export type GetEmotesOrderBy = (typeof GetEmotesOrderBy)[keyof typeof GetEmotesOrderBy];
|
|
941
|
+
export declare const GetEmotesOrderBy: {
|
|
942
|
+
readonly rarity: "rarity";
|
|
943
|
+
readonly name: "name";
|
|
944
|
+
readonly date: "date";
|
|
999
945
|
};
|
|
1000
|
-
export type
|
|
1001
|
-
export
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
moreData: boolean;
|
|
1005
|
-
/** Query string to request the next page, present when `moreData` is true */
|
|
1006
|
-
next?: string;
|
|
1007
|
-
offset: number;
|
|
946
|
+
export type GetEmotesDirection = (typeof GetEmotesDirection)[keyof typeof GetEmotesDirection];
|
|
947
|
+
export declare const GetEmotesDirection: {
|
|
948
|
+
readonly ASC: "ASC";
|
|
949
|
+
readonly DESC: "DESC";
|
|
1008
950
|
};
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
from?: number;
|
|
1015
|
-
includeAuthChain?: boolean;
|
|
1016
|
-
to?: number;
|
|
951
|
+
export type GetEmotes200 = {
|
|
952
|
+
elements: Emote[];
|
|
953
|
+
totalAmount: number;
|
|
954
|
+
pageNum: number;
|
|
955
|
+
pageSize: number;
|
|
1017
956
|
};
|
|
1018
|
-
export type
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
957
|
+
export type GetNamesParams = {
|
|
958
|
+
/**
|
|
959
|
+
* The number of the requested page.
|
|
960
|
+
* @minimum 1
|
|
961
|
+
*/
|
|
962
|
+
pageNum?: number;
|
|
963
|
+
/**
|
|
964
|
+
* The size of the requested page.
|
|
965
|
+
* @minimum 1
|
|
966
|
+
* @maximum 1000
|
|
967
|
+
*/
|
|
968
|
+
pageSize?: number;
|
|
1028
969
|
};
|
|
1029
|
-
export
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
failureTimestamp: number;
|
|
1041
|
-
/** Timestamp after which the deployment will be retried */
|
|
1042
|
-
nextRetryAt?: number;
|
|
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;
|
|
970
|
+
export type GetLandsParams = {
|
|
971
|
+
/**
|
|
972
|
+
* The number of the requested page.
|
|
973
|
+
* @minimum 1
|
|
974
|
+
*/
|
|
975
|
+
pageNum?: number;
|
|
976
|
+
/**
|
|
977
|
+
* The size of the requested page.
|
|
978
|
+
* @minimum 1
|
|
979
|
+
*/
|
|
980
|
+
pageSize?: number;
|
|
1047
981
|
};
|
|
1048
|
-
export type
|
|
1049
|
-
|
|
1050
|
-
|
|
982
|
+
export type GetLandsPermissionsParams = {
|
|
983
|
+
/**
|
|
984
|
+
* The number of the requested page.
|
|
985
|
+
* @minimum 1
|
|
986
|
+
*/
|
|
987
|
+
pageNum?: number;
|
|
988
|
+
/**
|
|
989
|
+
* The size of the requested page.
|
|
990
|
+
* @minimum 1
|
|
991
|
+
*/
|
|
992
|
+
pageSize?: number;
|
|
993
|
+
};
|
|
994
|
+
export type GetThirdPartyWearablesParams = {
|
|
995
|
+
/**
|
|
996
|
+
* Presence flag: when present with any value (even `false`), each element is extended with its wearable definition. Omit it to disable.
|
|
997
|
+
*/
|
|
998
|
+
includeDefinitions?: GetThirdPartyWearablesIncludeDefinitions;
|
|
999
|
+
/**
|
|
1000
|
+
* Only return wearables of these categories. Can be repeated.
|
|
1001
|
+
*/
|
|
1002
|
+
category?: string[];
|
|
1003
|
+
/**
|
|
1004
|
+
* Only return wearables whose name contains this text. Case-insensitive.
|
|
1005
|
+
*/
|
|
1006
|
+
name?: string;
|
|
1007
|
+
/**
|
|
1008
|
+
* Field to sort by.
|
|
1009
|
+
*/
|
|
1010
|
+
orderBy?: GetThirdPartyWearablesOrderBy;
|
|
1011
|
+
/**
|
|
1012
|
+
* Sort direction.
|
|
1013
|
+
*/
|
|
1014
|
+
direction?: GetThirdPartyWearablesDirection;
|
|
1015
|
+
/**
|
|
1016
|
+
* The number of the requested page.
|
|
1017
|
+
* @minimum 1
|
|
1018
|
+
*/
|
|
1019
|
+
pageNum?: number;
|
|
1020
|
+
/**
|
|
1021
|
+
* The size of the requested page.
|
|
1022
|
+
* @minimum 1
|
|
1023
|
+
*/
|
|
1024
|
+
pageSize?: number;
|
|
1051
1025
|
};
|
|
1052
|
-
export type
|
|
1053
|
-
|
|
1054
|
-
|
|
1026
|
+
export type GetThirdPartyWearablesIncludeDefinitions = (typeof GetThirdPartyWearablesIncludeDefinitions)[keyof typeof GetThirdPartyWearablesIncludeDefinitions];
|
|
1027
|
+
export declare const GetThirdPartyWearablesIncludeDefinitions: {
|
|
1028
|
+
readonly true: "true";
|
|
1055
1029
|
};
|
|
1056
|
-
export
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
metadata?: EntityMetadata;
|
|
1060
|
-
pointers: string[];
|
|
1061
|
-
timestamp: number;
|
|
1062
|
-
type: string;
|
|
1063
|
-
version: string;
|
|
1064
|
-
}
|
|
1065
|
-
export interface Errors {
|
|
1066
|
-
errors: string[];
|
|
1067
|
-
}
|
|
1068
|
-
export type AvailableContentItem = {
|
|
1069
|
-
available: boolean;
|
|
1070
|
-
cid: string;
|
|
1030
|
+
export type GetThirdPartyWearablesOrderBy = (typeof GetThirdPartyWearablesOrderBy)[keyof typeof GetThirdPartyWearablesOrderBy];
|
|
1031
|
+
export declare const GetThirdPartyWearablesOrderBy: {
|
|
1032
|
+
readonly name: "name";
|
|
1071
1033
|
};
|
|
1072
|
-
export type
|
|
1073
|
-
export
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
export type AuthChainItem = {
|
|
1077
|
-
payload: string;
|
|
1078
|
-
signature?: string;
|
|
1079
|
-
type: string;
|
|
1034
|
+
export type GetThirdPartyWearablesDirection = (typeof GetThirdPartyWearablesDirection)[keyof typeof GetThirdPartyWearablesDirection];
|
|
1035
|
+
export declare const GetThirdPartyWearablesDirection: {
|
|
1036
|
+
readonly ASC: "ASC";
|
|
1037
|
+
readonly DESC: "DESC";
|
|
1080
1038
|
};
|
|
1081
|
-
export type
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
}
|
|
1087
|
-
export type AboutLambdas = {
|
|
1088
|
-
commitHash?: string;
|
|
1089
|
-
healthy: boolean;
|
|
1090
|
-
publicUrl: string;
|
|
1091
|
-
version?: string;
|
|
1039
|
+
export type GetThirdPartyWearables200 = {
|
|
1040
|
+
elements: ThirdPartyWearable[];
|
|
1041
|
+
totalAmount: number;
|
|
1042
|
+
pageNum: number;
|
|
1043
|
+
pageSize: number;
|
|
1092
1044
|
};
|
|
1093
|
-
export type
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1045
|
+
export type GetThirdPartyCollectionParams = {
|
|
1046
|
+
/**
|
|
1047
|
+
* Presence flag: when present with any value (even `false`), each element is extended with its wearable definition. Omit it to disable.
|
|
1048
|
+
*/
|
|
1049
|
+
includeDefinitions?: GetThirdPartyCollectionIncludeDefinitions;
|
|
1050
|
+
/**
|
|
1051
|
+
* The number of the requested page.
|
|
1052
|
+
* @minimum 1
|
|
1053
|
+
*/
|
|
1054
|
+
pageNum?: number;
|
|
1055
|
+
/**
|
|
1056
|
+
* The size of the requested page.
|
|
1057
|
+
* @minimum 1
|
|
1058
|
+
*/
|
|
1059
|
+
pageSize?: number;
|
|
1099
1060
|
};
|
|
1100
|
-
export
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
comms?: AboutComms;
|
|
1104
|
-
configurations: AboutConfigurations;
|
|
1105
|
-
content: AboutContent;
|
|
1106
|
-
healthy: boolean;
|
|
1107
|
-
lambdas: AboutLambdas;
|
|
1108
|
-
}
|
|
1109
|
-
export type AboutConfigurationsSkybox = {
|
|
1110
|
-
fixedHour?: number;
|
|
1111
|
-
textures?: string[];
|
|
1061
|
+
export type GetThirdPartyCollectionIncludeDefinitions = (typeof GetThirdPartyCollectionIncludeDefinitions)[keyof typeof GetThirdPartyCollectionIncludeDefinitions];
|
|
1062
|
+
export declare const GetThirdPartyCollectionIncludeDefinitions: {
|
|
1063
|
+
readonly true: "true";
|
|
1112
1064
|
};
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
enabled: boolean;
|
|
1119
|
-
estateImage?: string;
|
|
1065
|
+
export type GetThirdPartyCollection200 = {
|
|
1066
|
+
elements: ThirdPartyWearable[];
|
|
1067
|
+
totalAmount: number;
|
|
1068
|
+
pageNum: number;
|
|
1069
|
+
pageSize: number;
|
|
1120
1070
|
};
|
|
1121
|
-
export type
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1071
|
+
export type SearchWearablesParams = {
|
|
1072
|
+
/**
|
|
1073
|
+
* Collection URN to search in. Can be repeated up to 500 times.
|
|
1074
|
+
*/
|
|
1075
|
+
collectionId?: string[];
|
|
1076
|
+
/**
|
|
1077
|
+
* Wearable URN to retrieve. Can be repeated up to 500 times.
|
|
1078
|
+
*/
|
|
1079
|
+
wearableId?: string[];
|
|
1080
|
+
/**
|
|
1081
|
+
* Text to search for in the wearables. Case-insensitive, at least 3 characters.
|
|
1082
|
+
* @minLength 3
|
|
1083
|
+
*/
|
|
1084
|
+
textSearch?: string;
|
|
1085
|
+
/**
|
|
1086
|
+
* Maximum number of wearables to return. Values that are not a number between 1 and 500 fall back to 500.
|
|
1087
|
+
* @minimum 1
|
|
1088
|
+
* @maximum 500
|
|
1089
|
+
*/
|
|
1090
|
+
limit?: number;
|
|
1091
|
+
/**
|
|
1092
|
+
* URN of the last wearable of the previous page. Only wearables with a greater URN are returned.
|
|
1093
|
+
*/
|
|
1094
|
+
lastId?: string;
|
|
1130
1095
|
};
|
|
1131
|
-
export type
|
|
1132
|
-
|
|
1133
|
-
|
|
1096
|
+
export type SearchEmotesParams = {
|
|
1097
|
+
/**
|
|
1098
|
+
* Collection URN to search in. Can be repeated up to 500 times.
|
|
1099
|
+
*/
|
|
1100
|
+
collectionId?: string[];
|
|
1101
|
+
/**
|
|
1102
|
+
* Emote URN to retrieve. Can be repeated up to 500 times.
|
|
1103
|
+
*/
|
|
1104
|
+
emoteId?: string[];
|
|
1105
|
+
/**
|
|
1106
|
+
* Text to search for in the emotes. Case-insensitive, at least 3 characters.
|
|
1107
|
+
* @minLength 3
|
|
1108
|
+
*/
|
|
1109
|
+
textSearch?: string;
|
|
1110
|
+
/**
|
|
1111
|
+
* Maximum number of emotes to return. Values that are not a number between 1 and 500 fall back to 500.
|
|
1112
|
+
* @minimum 1
|
|
1113
|
+
* @maximum 500
|
|
1114
|
+
*/
|
|
1115
|
+
limit?: number;
|
|
1116
|
+
/**
|
|
1117
|
+
* URN of the last emote of the previous page. Only emotes with a greater URN are returned.
|
|
1118
|
+
*/
|
|
1119
|
+
lastId?: string;
|
|
1134
1120
|
};
|
|
1135
|
-
export type
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1121
|
+
export type GetWearablesByOwnerParams = {
|
|
1122
|
+
/**
|
|
1123
|
+
* Third party collection URN. Only the third party part of the URN (the first five segments) is used.
|
|
1124
|
+
*/
|
|
1125
|
+
collectionId?: string;
|
|
1126
|
+
/**
|
|
1127
|
+
* Presence flag: when present with any value (even `false`), each element is extended with its wearable definition. Omit it to disable.
|
|
1128
|
+
*/
|
|
1129
|
+
includeDefinitions?: GetWearablesByOwnerIncludeDefinitions;
|
|
1140
1130
|
};
|
|
1141
|
-
export type
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
right?: number;
|
|
1145
|
-
top?: number;
|
|
1131
|
+
export type GetWearablesByOwnerIncludeDefinitions = (typeof GetWearablesByOwnerIncludeDefinitions)[keyof typeof GetWearablesByOwnerIncludeDefinitions];
|
|
1132
|
+
export declare const GetWearablesByOwnerIncludeDefinitions: {
|
|
1133
|
+
readonly true: "true";
|
|
1146
1134
|
};
|
|
1147
|
-
export type
|
|
1148
|
-
|
|
1149
|
-
|
|
1135
|
+
export type GetWearablesByOwner200Item = {
|
|
1136
|
+
urn: string;
|
|
1137
|
+
/** Number of tokens of this item owned by the address */
|
|
1138
|
+
amount: number;
|
|
1139
|
+
/** Present only when `includeDefinitions` is set */
|
|
1140
|
+
definition?: WearableDefinition;
|
|
1150
1141
|
};
|
|
1151
|
-
export type
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1142
|
+
export type GetEmotesByOwnerParams = {
|
|
1143
|
+
/**
|
|
1144
|
+
* Third party collection URN. Only the third party part of the URN (the first five segments) is used.
|
|
1145
|
+
*/
|
|
1146
|
+
collectionId?: string;
|
|
1147
|
+
/**
|
|
1148
|
+
* Presence flag: when present with any value (even `false`), each element is extended with its emote definition. Omit it to disable.
|
|
1149
|
+
*/
|
|
1150
|
+
includeDefinitions?: GetEmotesByOwnerIncludeDefinitions;
|
|
1156
1151
|
};
|
|
1157
|
-
export type
|
|
1158
|
-
|
|
1159
|
-
|
|
1152
|
+
export type GetEmotesByOwnerIncludeDefinitions = (typeof GetEmotesByOwnerIncludeDefinitions)[keyof typeof GetEmotesByOwnerIncludeDefinitions];
|
|
1153
|
+
export declare const GetEmotesByOwnerIncludeDefinitions: {
|
|
1154
|
+
readonly true: "true";
|
|
1160
1155
|
};
|
|
1161
|
-
export type
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1156
|
+
export type GetEmotesByOwner200Item = {
|
|
1157
|
+
urn: string;
|
|
1158
|
+
/** Number of tokens of this item owned by the address */
|
|
1159
|
+
amount: number;
|
|
1160
|
+
/** Present only when `includeDefinitions` is set */
|
|
1161
|
+
definition?: EmoteDefinition;
|
|
1167
1162
|
};
|
|
1168
|
-
export type
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
healthy: boolean;
|
|
1172
|
-
protocol: string;
|
|
1173
|
-
usersCount?: number;
|
|
1174
|
-
version?: string;
|
|
1163
|
+
export type GetNftsCollections200CollectionsItem = {
|
|
1164
|
+
id: string;
|
|
1165
|
+
name: string;
|
|
1175
1166
|
};
|
|
1176
|
-
export type
|
|
1177
|
-
|
|
1178
|
-
healthy: boolean;
|
|
1179
|
-
protocolVersion: string;
|
|
1180
|
-
publicUrl: string;
|
|
1181
|
-
userCount?: number;
|
|
1167
|
+
export type GetNftsCollections200 = {
|
|
1168
|
+
collections: GetNftsCollections200CollectionsItem[];
|
|
1182
1169
|
};
|
|
1183
1170
|
/**
|
|
1184
1171
|
* Retrieve the version and commit of the Lambdas service and its current time
|
|
1185
1172
|
* @summary Lambdas status
|
|
1186
1173
|
*/
|
|
1187
|
-
export declare const getLambdaStatus: () => import("../utils/fetcher").CustomClient<StatusLambdas>;
|
|
1174
|
+
export declare const getLambdaStatus: () => import("../utils/fetcher.js").CustomClient<StatusLambdas>;
|
|
1188
1175
|
/**
|
|
1189
1176
|
* 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.
|
|
1190
1177
|
* @summary Get Collections
|
|
1191
1178
|
*/
|
|
1192
|
-
export declare const getCollections: () => import("../utils/fetcher").CustomClient<GetCollections200>;
|
|
1179
|
+
export declare const getCollections: () => import("../utils/fetcher.js").CustomClient<GetCollections200>;
|
|
1193
1180
|
/**
|
|
1194
1181
|
* 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`.
|
|
1195
1182
|
* @summary Download thumbnail image
|
|
1196
1183
|
*/
|
|
1197
|
-
export declare const getThumbnail: (urn: string) => import("../utils/fetcher").CustomClient<Blob>;
|
|
1184
|
+
export declare const getThumbnail: (urn: string) => import("../utils/fetcher.js").CustomClient<Blob>;
|
|
1198
1185
|
/**
|
|
1199
1186
|
* Same as the GET request, without the body.
|
|
1200
1187
|
* @summary Check the thumbnail of an item
|
|
1201
1188
|
*/
|
|
1202
|
-
export declare const headThumbnail: (urn: string) => import("../utils/fetcher").CustomClient<void>;
|
|
1189
|
+
export declare const headThumbnail: (urn: string) => import("../utils/fetcher.js").CustomClient<void>;
|
|
1203
1190
|
/**
|
|
1204
1191
|
* 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`.
|
|
1205
1192
|
* @summary Download URN image
|
|
1206
1193
|
*/
|
|
1207
|
-
export declare const getImage: (urn: string) => import("../utils/fetcher").CustomClient<Blob>;
|
|
1194
|
+
export declare const getImage: (urn: string) => import("../utils/fetcher.js").CustomClient<Blob>;
|
|
1208
1195
|
/**
|
|
1209
1196
|
* Same as the GET request, without the body.
|
|
1210
1197
|
* @summary Check the image of an item
|
|
1211
1198
|
*/
|
|
1212
|
-
export declare const headImage: (urn: string) => import("../utils/fetcher").CustomClient<void>;
|
|
1199
|
+
export declare const headImage: (urn: string) => import("../utils/fetcher.js").CustomClient<void>;
|
|
1213
1200
|
/**
|
|
1214
1201
|
* 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
1202
|
* @summary Get ERC721 Entity without emission
|
|
1216
1203
|
*/
|
|
1217
|
-
export declare const getStandardErc721WithoutEmission: (chainId: string, contract: string, option: string) => import("../utils/fetcher").CustomClient<Erc721>;
|
|
1204
|
+
export declare const getStandardErc721WithoutEmission: (chainId: string, contract: string, option: string) => import("../utils/fetcher.js").CustomClient<Erc721>;
|
|
1218
1205
|
/**
|
|
1219
1206
|
* 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}`.
|
|
1220
1207
|
* @summary Get ERC721 Entity
|
|
1221
1208
|
*/
|
|
1222
|
-
export declare const getStandardErc721: (chainId: string, contract: string, option: string, emission: string) => import("../utils/fetcher").CustomClient<Erc721>;
|
|
1209
|
+
export declare const getStandardErc721: (chainId: string, contract: string, option: string, emission: string) => import("../utils/fetcher.js").CustomClient<Erc721>;
|
|
1223
1210
|
/**
|
|
1224
1211
|
* 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.
|
|
1225
1212
|
* @summary Get list of wearables for an address
|
|
1226
1213
|
*/
|
|
1227
|
-
export declare const getWearables: (address: string, params?: GetWearablesParams) => import("../utils/fetcher").CustomClient<GetWearables200>;
|
|
1214
|
+
export declare const getWearables: (address: string, params?: GetWearablesParams) => import("../utils/fetcher.js").CustomClient<GetWearables200>;
|
|
1228
1215
|
/**
|
|
1229
1216
|
* Get a paginated list of the on-chain emotes owned by the given address, grouped by item. Base emotes are not included.
|
|
1230
1217
|
* @summary Get list of emotes for an address
|
|
1231
1218
|
*/
|
|
1232
|
-
export declare const getEmotes: (address: string, params?: GetEmotesParams) => import("../utils/fetcher").CustomClient<GetEmotes200>;
|
|
1219
|
+
export declare const getEmotes: (address: string, params?: GetEmotesParams) => import("../utils/fetcher.js").CustomClient<GetEmotes200>;
|
|
1233
1220
|
/**
|
|
1234
1221
|
* Get a paginated list of the Decentraland names owned by the given address
|
|
1235
1222
|
* @summary Get list of names for an address
|
|
1236
1223
|
*/
|
|
1237
|
-
export declare const getNames: (address: string, params?: GetNamesParams) => import("../utils/fetcher").CustomClient<NamesPaginated>;
|
|
1224
|
+
export declare const getNames: (address: string, params?: GetNamesParams) => import("../utils/fetcher.js").CustomClient<NamesPaginated>;
|
|
1238
1225
|
/**
|
|
1239
1226
|
* Get a paginated list of the parcels and estates owned by the given address
|
|
1240
1227
|
* @summary Get list of lands for an address
|
|
1241
1228
|
*/
|
|
1242
|
-
export declare const getLands: (address: string, params?: GetLandsParams) => import("../utils/fetcher").CustomClient<LandsPaginated>;
|
|
1229
|
+
export declare const getLands: (address: string, params?: GetLandsParams) => import("../utils/fetcher.js").CustomClient<LandsPaginated>;
|
|
1243
1230
|
/**
|
|
1244
1231
|
* 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
1232
|
* @summary Get the parcels an address can operate
|
|
1246
1233
|
*/
|
|
1247
|
-
export declare const getLandsPermissions: (address: string, params?: GetLandsPermissionsParams) => import("../utils/fetcher").CustomClient<LandsPermissionsPaginated>;
|
|
1234
|
+
export declare const getLandsPermissions: (address: string, params?: GetLandsPermissionsParams) => import("../utils/fetcher.js").CustomClient<LandsPermissionsPaginated>;
|
|
1248
1235
|
/**
|
|
1249
1236
|
* Get the permissions an address has over a parcel, using the same rights resolution as `/lambdas/parcels/{x}/{y}/operators`
|
|
1250
1237
|
* @summary Get the permissions for a parcel
|
|
1251
1238
|
*/
|
|
1252
|
-
export declare const getParcelPermissions: (address: string, x: number, y: number) => import("../utils/fetcher").CustomClient<ParcelPermissions>;
|
|
1239
|
+
export declare const getParcelPermissions: (address: string, x: number, y: number) => import("../utils/fetcher.js").CustomClient<ParcelPermissions>;
|
|
1253
1240
|
/**
|
|
1254
1241
|
* Returns a paginated list of the third party (linked) wearables owned by the provided address, across all registered third party collections
|
|
1255
1242
|
* @summary Returns the list of third party wearables for the provided address
|
|
1256
1243
|
*/
|
|
1257
|
-
export declare const getThirdPartyWearables: (address: string, params?: GetThirdPartyWearablesParams) => import("../utils/fetcher").CustomClient<GetThirdPartyWearables200>;
|
|
1244
|
+
export declare const getThirdPartyWearables: (address: string, params?: GetThirdPartyWearablesParams) => import("../utils/fetcher.js").CustomClient<GetThirdPartyWearables200>;
|
|
1258
1245
|
/**
|
|
1259
1246
|
* Returns a paginated list of the third party (linked) wearables of the given collection owned by the provided address
|
|
1260
1247
|
* @summary Returns the list of third party wearables for the given collection
|
|
1261
1248
|
*/
|
|
1262
|
-
export declare const getThirdPartyCollection: (address: string, collectionId: string, params?: GetThirdPartyCollectionParams) => import("../utils/fetcher").CustomClient<GetThirdPartyCollection200>;
|
|
1249
|
+
export declare const getThirdPartyCollection: (address: string, collectionId: string, params?: GetThirdPartyCollectionParams) => import("../utils/fetcher.js").CustomClient<GetThirdPartyCollection200>;
|
|
1263
1250
|
/**
|
|
1264
1251
|
* 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.
|
|
1265
1252
|
* @deprecated
|
|
1266
1253
|
* @summary Search Wearables
|
|
1267
1254
|
*/
|
|
1268
|
-
export declare const searchWearables: (params?: SearchWearablesParams) => import("../utils/fetcher").CustomClient<Wearables>;
|
|
1255
|
+
export declare const searchWearables: (params?: SearchWearablesParams) => import("../utils/fetcher.js").CustomClient<Wearables>;
|
|
1269
1256
|
/**
|
|
1270
1257
|
* 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
1258
|
* @deprecated
|
|
1272
1259
|
* @summary Search Emotes
|
|
1273
1260
|
*/
|
|
1274
|
-
export declare const searchEmotes: (params?: SearchEmotesParams) => import("../utils/fetcher").CustomClient<Emotes>;
|
|
1261
|
+
export declare const searchEmotes: (params?: SearchEmotesParams) => import("../utils/fetcher.js").CustomClient<Emotes>;
|
|
1275
1262
|
/**
|
|
1276
1263
|
* 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
1264
|
* @summary Get wearables by owner
|
|
1278
1265
|
*/
|
|
1279
|
-
export declare const getWearablesByOwner: (owner: string, params?: GetWearablesByOwnerParams) => import("../utils/fetcher").CustomClient<GetWearablesByOwner200Item[]>;
|
|
1266
|
+
export declare const getWearablesByOwner: (owner: string, params?: GetWearablesByOwnerParams) => import("../utils/fetcher.js").CustomClient<GetWearablesByOwner200Item[]>;
|
|
1280
1267
|
/**
|
|
1281
1268
|
* 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
1269
|
* @summary Get emotes by owner
|
|
1283
1270
|
*/
|
|
1284
|
-
export declare const getEmotesByOwner: (owner: string, params?: GetEmotesByOwnerParams) => import("../utils/fetcher").CustomClient<GetEmotesByOwner200Item[]>;
|
|
1271
|
+
export declare const getEmotesByOwner: (owner: string, params?: GetEmotesByOwnerParams) => import("../utils/fetcher.js").CustomClient<GetEmotesByOwner200Item[]>;
|
|
1285
1272
|
/**
|
|
1286
1273
|
* Same response as `/lambdas/collections`, served under the path lamb2 uses internally
|
|
1287
1274
|
* @deprecated
|
|
1288
1275
|
* @summary Get Collections (alias)
|
|
1289
1276
|
*/
|
|
1290
|
-
export declare const getNftsCollections: () => import("../utils/fetcher").CustomClient<GetNftsCollections200>;
|
|
1277
|
+
export declare const getNftsCollections: () => import("../utils/fetcher.js").CustomClient<GetNftsCollections200>;
|
|
1291
1278
|
/**
|
|
1292
1279
|
* Returns the address that owns the given Decentraland name
|
|
1293
1280
|
* @summary Get the owner of a name
|
|
1294
1281
|
*/
|
|
1295
|
-
export declare const getNameOwner: (name: string) => import("../utils/fetcher").CustomClient<NameOwner>;
|
|
1282
|
+
export declare const getNameOwner: (name: string) => import("../utils/fetcher.js").CustomClient<NameOwner>;
|
|
1296
1283
|
/**
|
|
1297
1284
|
* Retrieve the list of Catalyst Servers
|
|
1298
1285
|
* @summary Get Catalyst Servers
|
|
1299
1286
|
*/
|
|
1300
|
-
export declare const getCatalystServers: () => import("../utils/fetcher").CustomClient<Servers>;
|
|
1287
|
+
export declare const getCatalystServers: () => import("../utils/fetcher.js").CustomClient<Servers>;
|
|
1301
1288
|
/**
|
|
1302
1289
|
* Retrieve the Point of Interest list of coordinates
|
|
1303
1290
|
* @summary Retrieve DCL Point of Interests
|
|
1304
1291
|
*/
|
|
1305
|
-
export declare const getPois: () => import("../utils/fetcher").CustomClient<Pois>;
|
|
1292
|
+
export declare const getPois: () => import("../utils/fetcher.js").CustomClient<Pois>;
|
|
1306
1293
|
/**
|
|
1307
1294
|
* 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.
|
|
1308
1295
|
* @summary Denylisted user names
|
|
1309
1296
|
*/
|
|
1310
|
-
export declare const getDenylistedUserNames: () => import("../utils/fetcher").CustomClient<DenylistedUsernames>;
|
|
1297
|
+
export declare const getDenylistedUserNames: () => import("../utils/fetcher.js").CustomClient<DenylistedUsernames>;
|
|
1311
1298
|
/**
|
|
1312
1299
|
* 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`.
|
|
1313
1300
|
* @deprecated
|
|
1314
1301
|
* @summary Validate signed message
|
|
1315
1302
|
*/
|
|
1316
|
-
export declare const validateSignature: (validateSignatureRequest: ValidateSignatureRequest) => import("../utils/fetcher").CustomClient<ValidateSignatureResponse>;
|
|
1303
|
+
export declare const validateSignature: (validateSignatureRequest: ValidateSignatureRequest) => import("../utils/fetcher.js").CustomClient<ValidateSignatureResponse>;
|
|
1317
1304
|
/**
|
|
1318
1305
|
* 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.
|
|
1319
1306
|
* @summary Get the operators for a parcel
|
|
1320
1307
|
*/
|
|
1321
|
-
export declare const getParcelOperators: (x: number, y: number) => import("../utils/fetcher").CustomClient<ParcelOperators>;
|
|
1308
|
+
export declare const getParcelOperators: (x: number, y: number) => import("../utils/fetcher.js").CustomClient<ParcelOperators>;
|
|
1322
1309
|
/**
|
|
1323
1310
|
* Returns the profiles of the Ethereum addresses in the body. Addresses without a deployed profile are omitted from the response.
|
|
1324
1311
|
* @summary Get Avatars details
|
|
1325
1312
|
*/
|
|
1326
|
-
export declare const getAvatarsDetailsByPost: (postProfiles: PostProfiles) => import("../utils/fetcher").CustomClient<Profile[]>;
|
|
1313
|
+
export declare const getAvatarsDetailsByPost: (postProfiles: PostProfiles) => import("../utils/fetcher.js").CustomClient<Profile[]>;
|
|
1327
1314
|
/**
|
|
1328
1315
|
* Given a Ethereum address of a user, return the Avatars details associated with it.
|
|
1329
1316
|
* @summary Get Avatar details
|
|
1330
1317
|
*/
|
|
1331
|
-
export declare const getAvatarDetails: (id: string) => import("../utils/fetcher").CustomClient<Profile>;
|
|
1318
|
+
export declare const getAvatarDetails: (id: string) => import("../utils/fetcher.js").CustomClient<Profile>;
|
|
1332
1319
|
/**
|
|
1333
1320
|
* Legacy alias of `/lambdas/profiles/{id}`. When the address has no deployed profile it responds 200 with `{ "avatars": [], "timestamp": 0 }` instead of 404.
|
|
1334
1321
|
* @deprecated
|
|
1335
1322
|
* @summary Get Avatar details (legacy)
|
|
1336
1323
|
*/
|
|
1337
|
-
export declare const getAvatarDetailsLegacy: (id: string) => import("../utils/fetcher").CustomClient<Profile>;
|
|
1324
|
+
export declare const getAvatarDetailsLegacy: (id: string) => import("../utils/fetcher.js").CustomClient<Profile>;
|
|
1338
1325
|
/**
|
|
1339
1326
|
* 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.
|
|
1340
1327
|
* @summary Get Outfits
|
|
1341
1328
|
*/
|
|
1342
|
-
export declare const getOutfits: (id: string) => import("../utils/fetcher").CustomClient<Entity>;
|
|
1329
|
+
export declare const getOutfits: (id: string) => import("../utils/fetcher.js").CustomClient<Entity>;
|
|
1343
1330
|
/**
|
|
1344
1331
|
* Returns the list of third party integrations and collections
|
|
1345
1332
|
* @summary Returns the list of third party integrations as well as collections
|
|
1346
1333
|
*/
|
|
1347
|
-
export declare const getThirdPartyIntegrations: () => import("../utils/fetcher").CustomClient<ThirdPartyIntegrations>;
|
|
1334
|
+
export declare const getThirdPartyIntegrations: () => import("../utils/fetcher.js").CustomClient<ThirdPartyIntegrations>;
|
|
1348
1335
|
export type GetLambdaStatusResult = NonNullable<Awaited<ReturnType<typeof getLambdaStatus>>>;
|
|
1349
1336
|
export type GetCollectionsResult = NonNullable<Awaited<ReturnType<typeof getCollections>>>;
|
|
1350
1337
|
export type GetThumbnailResult = NonNullable<Awaited<ReturnType<typeof getThumbnail>>>;
|