dcl-catalyst-client 21.5.5 → 21.6.1

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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Generated by orval v6.17.0 🍺
2
+ * Generated by orval v6.20.0 🍺
3
3
  * Do not edit manually.
4
4
  * API Specification for the Decentraland Catalyst Server (BETA)
5
5
  * A Catalyst is a Server that runs different services. These services currently work as the backbone for Decentraland and work in a decentralized network. The current specification details the following services: <br/><br/>- Archipelago <br/>- Content Server <br/>- Lambdas Service <br/> <br/>WARNING: We are working to close the version 1.0 of the Catalyst Protocol defined by this API. So far this is what we have and it's public but we are still working on refinement and during this process we may decided to deprecate or change some of the endpoints.
@@ -35,9 +35,9 @@ export type SearchWearablesParams = {
35
35
  };
36
36
  export type GetThirdPartyCollection200 = {
37
37
  elements: ThirdPartyWearable[];
38
- totalAmount: number;
39
38
  pageNum: number;
40
39
  pageSize: number;
40
+ totalAmount: number;
41
41
  };
42
42
  export type GetThirdPartyCollectionParams = {
43
43
  /**
@@ -51,9 +51,9 @@ export type GetThirdPartyCollectionParams = {
51
51
  };
52
52
  export type GetThirdPartyWearables200 = {
53
53
  elements: ThirdPartyWearable[];
54
- totalAmount: number;
55
54
  pageNum: number;
56
55
  pageSize: number;
56
+ totalAmount: number;
57
57
  };
58
58
  export type GetThirdPartyWearablesParams = {
59
59
  /**
@@ -87,9 +87,9 @@ export type GetNamesParams = {
87
87
  };
88
88
  export type GetEmotes200 = {
89
89
  elements: Emote[];
90
- totalAmount: number;
91
90
  pageNum: number;
92
91
  pageSize: number;
92
+ totalAmount: number;
93
93
  };
94
94
  export type GetEmotesParams = {
95
95
  /**
@@ -111,9 +111,9 @@ export type GetEmotesParams = {
111
111
  };
112
112
  export type GetWearables200 = {
113
113
  elements: Wearable[];
114
- totalAmount: number;
115
114
  pageNum: number;
116
115
  pageSize: number;
116
+ totalAmount: number;
117
117
  };
118
118
  export type GetWearablesParams = {
119
119
  /**
@@ -191,14 +191,14 @@ export type GetPointerChangesParams = {
191
191
  sortingOrder?: GetPointerChangesSortingOrder;
192
192
  };
193
193
  export type GetActiveEntitiesBody = {
194
- /** Entities must be filtered by pointer XOR entityId (ids). Use this parameter if you want to retrieve an entity of the specified type with this pointer. */
195
- pointers?: string[];
196
194
  /** Entities must be filtered by pointer (pointers) XOR entityId. Use this parameter if you want to retrieve an entity of the specified type with this entityId. */
197
195
  ids?: string[];
196
+ /** Entities must be filtered by pointer XOR entityId (ids). Use this parameter if you want to retrieve an entity of the specified type with this pointer. */
197
+ pointers?: string[];
198
198
  };
199
199
  export type GetEntitiesByPointerPrefix200 = {
200
- total: number;
201
200
  entities: Entity[];
201
+ total: number;
202
202
  };
203
203
  export type GetEntitiesByPointerPrefixParams = {
204
204
  /**
@@ -215,10 +215,10 @@ export type PostEntity200 = {
215
215
  creationTimestamp: number;
216
216
  };
217
217
  export type PostEntityBody = {
218
- files?: Blob[];
219
- entityId?: string;
220
218
  authChain?: string;
219
+ entityId?: string;
221
220
  ethAddress?: string;
221
+ files?: Blob[];
222
222
  signature?: string;
223
223
  };
224
224
  export type GetAvailableContentParams = {
@@ -234,243 +234,243 @@ export type GetChallenge200 = {
234
234
  challengeText: string;
235
235
  };
236
236
  export type PeersPeersItem = {
237
- id?: string;
238
237
  address?: string;
238
+ id?: string;
239
+ lastPing?: number;
239
240
  parcel?: number[];
240
241
  position?: number[];
241
- lastPing?: number;
242
242
  };
243
243
  export interface Peers {
244
244
  ok?: boolean;
245
245
  peers?: PeersPeersItem[];
246
246
  }
247
247
  export type IslandIdPeersItem = {
248
- id?: string;
249
248
  address?: string;
249
+ id?: string;
250
+ lastPing?: number;
250
251
  parcel?: number[];
251
252
  position?: number[];
252
- lastPing?: number;
253
253
  preferedIslandId?: string;
254
254
  };
255
255
  export interface IslandId {
256
+ center?: number[];
256
257
  id?: string;
257
- peers?: IslandIdPeersItem[];
258
258
  maxPeers?: number;
259
- center?: number[];
259
+ peers?: IslandIdPeersItem[];
260
260
  radius?: number;
261
261
  }
262
262
  export type IslandsIslandsItemPeersItem = {
263
- id?: string;
264
263
  address?: string;
264
+ id?: string;
265
+ lastPing?: number;
265
266
  parcel?: number[];
266
267
  position?: number[];
267
- lastPing?: number;
268
268
  preferedIslandId?: string;
269
269
  };
270
270
  export type IslandsIslandsItem = {
271
+ center?: number[];
271
272
  id?: string;
272
- peers?: IslandsIslandsItemPeersItem[];
273
273
  maxPeers?: number;
274
- center?: number[];
274
+ peers?: IslandsIslandsItemPeersItem[];
275
275
  radius?: number;
276
276
  };
277
277
  export interface Islands {
278
- ok?: boolean;
279
278
  islands?: IslandsIslandsItem[];
279
+ ok?: boolean;
280
280
  }
281
281
  export type ThirdPartyIntegrationsDataItem = {
282
- urn: string;
283
- name?: string;
284
282
  description?: string;
283
+ name?: string;
284
+ urn: string;
285
285
  };
286
286
  export interface ThirdPartyIntegrations {
287
287
  data: ThirdPartyIntegrationsDataItem[];
288
288
  }
289
+ export type ProfileAvatarsItemAvatarSnapshots = {
290
+ body?: string;
291
+ face?: string;
292
+ face128?: string;
293
+ face256?: string;
294
+ };
295
+ export type ProfileAvatarsItemAvatar = {
296
+ bodyShape?: string;
297
+ eyes?: ProfileAvatarsItemAvatarEyes;
298
+ hair?: ProfileAvatarsItemAvatarHair;
299
+ skin?: ProfileAvatarsItemAvatarSkin;
300
+ snapshots?: ProfileAvatarsItemAvatarSnapshots;
301
+ wearables?: string[];
302
+ };
289
303
  export type ProfileAvatarsItem = {
290
- userId?: string;
291
- email?: string;
292
- name?: string;
293
- hasClaimedName?: boolean;
304
+ avatar?: ProfileAvatarsItemAvatar;
294
305
  description?: string;
306
+ email?: string;
295
307
  ethAddress?: string;
296
- version?: number;
297
- avatar?: ProfileAvatarsItemAvatar;
298
- tutorialStep?: number;
308
+ hasClaimedName?: boolean;
299
309
  interests?: string[];
310
+ name?: string;
311
+ tutorialStep?: number;
300
312
  unclaimedName?: string;
313
+ userId?: string;
314
+ version?: number;
301
315
  };
302
316
  export interface Profile {
303
317
  avatars?: ProfileAvatarsItem[];
304
318
  }
305
319
  export type ProfileAvatarsItemAvatarSkinColor = {
306
- r?: number;
307
- g?: number;
308
320
  b?: number;
321
+ g?: number;
322
+ r?: number;
309
323
  };
310
324
  export type ProfileAvatarsItemAvatarSkin = {
311
325
  color?: ProfileAvatarsItemAvatarSkinColor;
312
326
  };
313
327
  export type ProfileAvatarsItemAvatarHairColor = {
314
- r?: number;
315
- g?: number;
316
328
  b?: number;
329
+ g?: number;
330
+ r?: number;
317
331
  };
318
332
  export type ProfileAvatarsItemAvatarHair = {
319
333
  color?: ProfileAvatarsItemAvatarHairColor;
320
334
  };
321
335
  export type ProfileAvatarsItemAvatarEyesColor = {
322
- r?: number;
323
- g?: number;
324
336
  b?: number;
337
+ g?: number;
338
+ r?: number;
325
339
  };
326
340
  export type ProfileAvatarsItemAvatarEyes = {
327
341
  color?: ProfileAvatarsItemAvatarEyesColor;
328
342
  };
329
- export type ProfileAvatarsItemAvatarSnapshots = {
330
- face?: string;
331
- face128?: string;
332
- face256?: string;
333
- body?: string;
334
- };
335
- export type ProfileAvatarsItemAvatar = {
336
- bodyShape?: string;
337
- snapshots?: ProfileAvatarsItemAvatarSnapshots;
338
- eyes?: ProfileAvatarsItemAvatarEyes;
339
- hair?: ProfileAvatarsItemAvatarHair;
340
- skin?: ProfileAvatarsItemAvatarSkin;
341
- wearables?: string[];
342
- };
343
343
  export interface PostProfiles {
344
344
  ids?: string[];
345
345
  }
346
346
  export type RealmsItem = {
347
- serverName?: string;
348
- url?: string;
349
347
  layer?: string;
350
- usersCount?: number;
351
348
  maxUsers?: number;
349
+ serverName?: string;
350
+ url?: string;
352
351
  userParcels?: number[][];
352
+ usersCount?: number;
353
353
  };
354
354
  export type Realms = RealmsItem[];
355
355
  export type HotScenesItemRealmsItem = {
356
- serverName?: string;
357
- url?: string;
358
356
  layer?: string;
359
- usersCount?: number;
360
357
  maxUsers?: number;
358
+ serverName?: string;
359
+ url?: string;
361
360
  userParcels?: number[][];
361
+ usersCount?: number;
362
362
  };
363
363
  export type HotScenesItem = {
364
- id?: string;
365
- name?: string;
366
364
  baseCoords?: number[];
367
- usersTotalCount?: number;
368
- parcels?: number[][];
369
- thumbnail?: string;
370
365
  creator?: string;
371
366
  description?: string;
367
+ id?: string;
368
+ name?: string;
369
+ parcels?: number[][];
372
370
  realms?: HotScenesItemRealmsItem[];
371
+ thumbnail?: string;
372
+ usersTotalCount?: number;
373
373
  };
374
374
  export type HotScenes = HotScenesItem[];
375
375
  export type DenylistedUsernames = string[];
376
376
  export type Pois = string[];
377
377
  export type ServersItem = {
378
378
  baseUrl: string;
379
- owner: string;
380
379
  id: string;
380
+ owner: string;
381
381
  };
382
382
  export type Servers = ServersItem[];
383
- export type WearablesPagination = {
384
- limit?: number;
385
- next?: string;
386
- };
387
- export type WearablesFilters = {
388
- textSearch?: string;
389
- };
390
383
  export type WearablesWearablesItemI18nItem = {
391
384
  code?: string;
392
385
  text?: string;
393
386
  };
394
387
  export type WearablesWearablesItem = {
395
- id?: string;
396
- description?: string;
397
- image?: string;
398
- thumbnail?: string;
399
388
  collectionAddress?: string;
400
- rarity?: string;
389
+ createdAt?: number;
401
390
  data?: WearablesWearablesItemData;
391
+ description?: string;
402
392
  i18n?: WearablesWearablesItemI18nItem[];
403
- createdAt?: number;
393
+ id?: string;
394
+ image?: string;
395
+ rarity?: string;
396
+ thumbnail?: string;
404
397
  updatedAt?: number;
405
398
  };
406
399
  export interface Wearables {
407
- wearables?: WearablesWearablesItem[];
408
400
  filters?: WearablesFilters;
409
401
  pagination?: WearablesPagination;
402
+ wearables?: WearablesWearablesItem[];
410
403
  }
411
- export type WearablesWearablesItemDataRepresentationsItemContentsItem = {
412
- key?: string;
413
- url?: string;
404
+ export type WearablesWearablesItemDataRepresentationsItemOverrideReplacesItem = {
405
+ [key: string]: any;
414
406
  };
415
407
  export type WearablesWearablesItemDataRepresentationsItemOverrideHidesItem = {
416
408
  [key: string]: any;
417
409
  };
418
- export type WearablesWearablesItemDataRepresentationsItemOverrideReplacesItem = {
419
- [key: string]: any;
410
+ export type WearablesWearablesItemDataRepresentationsItemContentsItem = {
411
+ key?: string;
412
+ url?: string;
420
413
  };
421
414
  export type WearablesWearablesItemDataRepresentationsItem = {
422
415
  bodyShapes?: string[];
416
+ contents?: WearablesWearablesItemDataRepresentationsItemContentsItem[];
423
417
  mainFile?: string;
424
- overrideReplaces?: WearablesWearablesItemDataRepresentationsItemOverrideReplacesItem[];
425
418
  overrideHides?: WearablesWearablesItemDataRepresentationsItemOverrideHidesItem[];
426
- contents?: WearablesWearablesItemDataRepresentationsItemContentsItem[];
419
+ overrideReplaces?: WearablesWearablesItemDataRepresentationsItemOverrideReplacesItem[];
427
420
  };
428
421
  export type WearablesWearablesItemData = {
429
- replaces?: string[];
430
- hides?: string[];
431
- tags?: string[];
432
422
  category?: string;
423
+ hides?: string[];
424
+ replaces?: string[];
433
425
  representations?: WearablesWearablesItemDataRepresentationsItem[];
426
+ tags?: string[];
427
+ };
428
+ export type WearablesPagination = {
429
+ limit?: number;
430
+ next?: string;
431
+ };
432
+ export type WearablesFilters = {
433
+ textSearch?: string;
434
434
  };
435
435
  export type ThirdPartyWearableIndividualDataItem = {
436
436
  id?: string;
437
437
  };
438
438
  export interface ThirdPartyWearable {
439
- urn: string;
440
439
  amount?: number;
441
- name: string;
442
440
  category: string;
443
441
  entity: Entity;
444
442
  individualData?: ThirdPartyWearableIndividualDataItem[];
443
+ name: string;
444
+ urn: string;
445
445
  }
446
446
  export type LandsPaginatedElementsItem = {
447
- name?: string;
447
+ category: string;
448
448
  contractAddress: string;
449
- tokenId: string;
449
+ description?: string;
450
+ image?: string;
451
+ name?: string;
450
452
  price?: number;
451
- category: string;
453
+ tokenId: string;
452
454
  x?: string;
453
455
  y?: string;
454
- image?: string;
455
- description?: string;
456
456
  };
457
457
  export interface LandsPaginated {
458
458
  elements: LandsPaginatedElementsItem[];
459
- totalAmount: number;
460
459
  pageNum: number;
461
460
  pageSize: number;
461
+ totalAmount: number;
462
462
  }
463
463
  export type NamesPaginatedElementsItem = {
464
- name: string;
465
464
  contractAddress: string;
466
- tokenId: string;
465
+ name: string;
467
466
  price?: number;
467
+ tokenId: string;
468
468
  };
469
469
  export interface NamesPaginated {
470
470
  elements: NamesPaginatedElementsItem[];
471
- totalAmount: number;
472
471
  pageNum: number;
473
472
  pageSize: number;
473
+ totalAmount: number;
474
474
  }
475
475
  export interface LambdasError {
476
476
  error: string;
@@ -478,36 +478,36 @@ export interface LambdasError {
478
478
  }
479
479
  export type WearableIndividualDataItem = {
480
480
  id?: string;
481
+ price?: number;
481
482
  tokenId?: string;
482
483
  transferredAt?: number;
483
- price?: number;
484
484
  };
485
485
  export interface Wearable {
486
- urn: string;
487
486
  amount?: number;
488
- name: string;
489
- rarity: string;
490
487
  category: string;
491
488
  entity?: Entity;
492
489
  individualData?: WearableIndividualDataItem[];
490
+ name: string;
491
+ rarity: string;
492
+ urn: string;
493
493
  }
494
494
  export type Erc721AttributesItem = {
495
495
  trait_type?: string;
496
496
  value?: string;
497
497
  };
498
498
  export interface Erc721 {
499
- id?: string;
500
- name?: string;
499
+ attributes?: Erc721AttributesItem[];
501
500
  description?: string;
502
- language?: string;
501
+ id?: string;
503
502
  image?: string;
503
+ language?: string;
504
+ name?: string;
504
505
  thumbnail?: string;
505
- attributes?: Erc721AttributesItem[];
506
506
  }
507
507
  export interface StatusLambdas {
508
- version?: string;
509
- currentTime?: number;
510
508
  commitHash?: string;
509
+ currentTime?: number;
510
+ version?: string;
511
511
  }
512
512
  export type StatusContentSynchronizationStatusOtherServersItem = {
513
513
  address: string;
@@ -515,49 +515,49 @@ export type StatusContentSynchronizationStatusOtherServersItem = {
515
515
  lastDeploymentTimestamp: number;
516
516
  };
517
517
  export type StatusContentSynchronizationStatus = {
518
- otherServers?: StatusContentSynchronizationStatusOtherServersItem[];
519
518
  lastSyncWithDAO: number;
520
- synchronizationState: string;
521
519
  lastSyncWithOtherServers?: number;
520
+ otherServers?: StatusContentSynchronizationStatusOtherServersItem[];
521
+ synchronizationState: string;
522
522
  };
523
523
  export interface StatusContent {
524
- name?: string;
525
- version: string;
524
+ commitHash: string;
526
525
  currentTime?: number;
527
- lastImmutableTime?: number;
526
+ ethNetwork: string;
528
527
  historySize?: number;
528
+ lastImmutableTime?: number;
529
+ name?: string;
529
530
  synchronizationStatus: StatusContentSynchronizationStatus;
530
- commitHash: string;
531
- ethNetwork: string;
531
+ version: string;
532
532
  }
533
533
  export type SnapshotsItemTimeRange = {
534
- initTimestamp: number;
535
534
  endTimestamp: number;
535
+ initTimestamp: number;
536
536
  };
537
537
  export type SnapshotsItem = {
538
+ generationTimestamp: number;
538
539
  hash: string;
539
- timeRange: SnapshotsItemTimeRange;
540
- replacedSnapshotHashes?: string[];
541
540
  numberOfEntities: number;
542
- generationTimestamp: number;
541
+ replacedSnapshotHashes?: string[];
542
+ timeRange: SnapshotsItemTimeRange;
543
543
  };
544
544
  export type Snapshots = SnapshotsItem[];
545
545
  export type PointerChangesDeltasItem = {
546
- entityType: string;
546
+ authChain: AuthChain;
547
547
  entityId: string;
548
+ entityType: string;
548
549
  localTimestamp: number;
549
550
  pointers: string[];
550
- authChain: AuthChain;
551
551
  };
552
552
  export interface PointerChanges {
553
553
  deltas: PointerChangesDeltasItem[];
554
554
  }
555
555
  export type FailedDeploymentsItem = {
556
- failedDeploymentsRepo?: string;
557
- entityType: string;
558
556
  entityId: string;
559
- reason: string;
557
+ entityType: string;
560
558
  errorDescription: string;
559
+ failedDeploymentsRepo?: string;
560
+ reason: string;
561
561
  };
562
562
  export type FailedDeployments = FailedDeploymentsItem[];
563
563
  export type EntityMetadata = {
@@ -568,105 +568,108 @@ export type EntityContentItem = {
568
568
  hash: string;
569
569
  };
570
570
  export interface Entity {
571
- version: string;
572
- id: string;
573
- type: string;
574
- timestamp: number;
575
- pointers: string[];
576
571
  content: EntityContentItem[];
572
+ id: string;
577
573
  metadata?: EntityMetadata;
574
+ pointers: string[];
575
+ timestamp: number;
576
+ type: string;
577
+ version: string;
578
578
  }
579
579
  export interface Emote {
580
- urn: string;
581
580
  amount?: number;
582
581
  category: string;
583
582
  entity?: Entity;
583
+ urn: string;
584
584
  }
585
585
  export interface Errors {
586
586
  errors: string[];
587
587
  }
588
588
  export type AvailableContentItem = {
589
- cid: string;
590
589
  available: boolean;
590
+ cid: string;
591
591
  };
592
592
  export type AvailableContent = AvailableContentItem[];
593
593
  export interface Error {
594
594
  error: string;
595
595
  }
596
596
  export type AuthChainItem = {
597
- type: string;
598
597
  payload: string;
599
598
  signature?: string;
599
+ type: string;
600
600
  };
601
601
  export type AuthChain = AuthChainItem[];
602
602
  export interface AuditResponse {
603
- version: string;
604
- localTimestamp: number;
605
603
  authChain: AuthChain;
606
- overwrittenBy?: string;
607
- isDenylisted?: boolean;
608
604
  denylistedContent?: string[];
605
+ isDenylisted?: boolean;
606
+ localTimestamp: number;
607
+ overwrittenBy?: string;
608
+ version: string;
609
609
  }
610
610
  export type StatsParcelsParcelsItemParcel = {
611
611
  x?: number;
612
612
  y?: number;
613
613
  };
614
614
  export type StatsParcelsParcelsItem = {
615
- peersCount?: number;
616
615
  parcel?: StatsParcelsParcelsItemParcel;
616
+ peersCount?: number;
617
617
  };
618
618
  export interface StatsParcels {
619
619
  parcels?: StatsParcelsParcelsItem[];
620
620
  }
621
- export type AboutBff = {
622
- healthy: boolean;
623
- commitHash?: string;
624
- usersCount?: number;
625
- publicUrl: string;
626
- protocolVersion: string;
627
- };
628
621
  export type AboutLambdas = {
629
- healthy: boolean;
630
622
  commitHash?: string;
631
- version?: string;
632
- publicUrl: string;
633
- };
634
- export type AboutComms = {
635
623
  healthy: boolean;
636
- protocol: string;
637
- commitHash?: string;
638
- userCount?: string;
624
+ publicUrl: string;
625
+ version?: string;
639
626
  };
640
627
  export type AboutContent = {
641
- synchronizationStatus: string;
642
- healthy: boolean;
643
628
  commitHash?: string;
644
- version?: string;
629
+ healthy: boolean;
645
630
  publicUrl: string;
631
+ synchronizationStatus: string;
632
+ version?: string;
646
633
  };
647
634
  export interface About {
648
- healthy: boolean;
649
635
  acceptingUsers: boolean;
636
+ bff?: AboutBff;
637
+ comms?: AboutComms;
650
638
  configurations: AboutConfigurations;
651
639
  content: AboutContent;
652
- comms: AboutComms;
640
+ healthy: boolean;
653
641
  lambdas: AboutLambdas;
654
- bff?: AboutBff;
655
642
  }
656
643
  export type AboutConfigurationsSkybox = {
657
644
  fixedHour?: number;
645
+ textures?: string[];
658
646
  };
659
647
  export type AboutConfigurationsMinimap = {
660
- enabled: boolean;
661
648
  dataImage?: string;
649
+ enabled: boolean;
662
650
  estateImage?: string;
663
651
  };
664
652
  export type AboutConfigurations = {
665
- realmName?: string;
666
- networkId: number;
667
653
  globalScenesUrn: string[];
668
- scenesUrn: string[];
669
654
  minimap?: AboutConfigurationsMinimap;
655
+ networkId: number;
656
+ realmName?: string;
657
+ scenesUrn: string[];
670
658
  skybox?: AboutConfigurationsSkybox;
671
659
  };
660
+ export type AboutComms = {
661
+ adapter?: string;
662
+ commitHash?: string;
663
+ healthy: boolean;
664
+ protocol: string;
665
+ usersCount?: number;
666
+ version?: string;
667
+ };
668
+ export type AboutBff = {
669
+ commitHash?: string;
670
+ healthy: boolean;
671
+ protocolVersion: string;
672
+ publicUrl: string;
673
+ userCount?: number;
674
+ };
672
675
  //# sourceMappingURL=catalyst.schemas.d.ts.map