@rtsdk/topia 0.17.0 → 0.17.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -59,6 +59,12 @@ declare enum DroppedAssetMediaType {
59
59
  NONE = "none",
60
60
  LINK = "link"
61
61
  }
62
+ declare enum DroppedAssetMediaVolumeRadius {
63
+ CLOSE = 0,
64
+ MEDIUM = 1,
65
+ FAR = 2,
66
+ EVERYWHERE = 3
67
+ }
62
68
  type DroppedAssetLinkType = {
63
69
  clickableLink: string;
64
70
  clickableLinkTitle?: string;
@@ -107,12 +113,11 @@ type ResponseType$1 = {
107
113
  };
108
114
 
109
115
  /**
110
- * @summary
111
116
  * Create an instance of Scene class with a given scene id and optional attributes and session credentials.
112
117
  *
113
- * @usage
118
+ * @example
114
119
  * ```ts
115
- * await new Scene(topia, "sceneId", {
120
+ * const scene = await new Scene(topia, "sceneId", {
116
121
  * attributes: { name: "My Scene" },
117
122
  * credentials: { interactiveNonce: "exampleNonce", assetId: "droppedAssetId", visitorId: 1, urlSlug: "exampleWorld" }
118
123
  * });
@@ -122,10 +127,9 @@ declare class Scene extends SDKController implements SceneInterface {
122
127
  readonly id: string;
123
128
  constructor(topia: Topia, id: string, options?: SceneOptionalInterface);
124
129
  /**
125
- * @summary
126
- * Retrieves scene details.
130
+ * Retrieves scene details and assigns response data to the instance.
127
131
  *
128
- * @usage
132
+ * @example
129
133
  * ```ts
130
134
  * await scene.fetchSceneById();
131
135
  * const { name } = scene;
@@ -135,12 +139,11 @@ declare class Scene extends SDKController implements SceneInterface {
135
139
  }
136
140
 
137
141
  /**
138
- * @summary
139
142
  * Create an instance of Dropped Asset class with a given dropped asset id, url slug, and optional attributes and session credentials.
140
143
  *
141
- * @usage
144
+ * @example
142
145
  * ```ts
143
- * await new DroppedAsset(topia, "1giFZb0sQ3X27L7uGyQX", "example", {
146
+ * const droppedAsset = await new DroppedAsset(topia, "1giFZb0sQ3X27L7uGyQX", "example", {
144
147
  * attributes: { text: "My Dropped Asset" },
145
148
  * credentials: { interactiveNonce: "exampleNonce", assetId: "droppedAssetId", visitorId: 1, urlSlug: "exampleWorld" }
146
149
  * });
@@ -160,10 +163,9 @@ declare class DroppedAsset extends Asset implements DroppedAssetInterface {
160
163
  urlSlug: string;
161
164
  constructor(topia: Topia, id: string, urlSlug: string, options?: DroppedAssetOptionalInterface);
162
165
  /**
163
- * @summary
164
- * Retrieves dropped asset details.
166
+ * Retrieves dropped asset details and assigns response data to the instance.
165
167
  *
166
- * @usage
168
+ * @example
167
169
  * ```ts
168
170
  * await droppedAsset.fetchDroppedAssetById();
169
171
  * const { assetName } = droppedAsset;
@@ -171,10 +173,9 @@ declare class DroppedAsset extends Asset implements DroppedAssetInterface {
171
173
  */
172
174
  fetchDroppedAssetById(): Promise<void | ResponseType$1>;
173
175
  /**
174
- * @summary
175
- * Updates dropped asset details.
176
+ * Updates dropped asset details and assigns the response data to the instance. Requires Public Key to have the `canUpdateDroppedAssets` permission.
176
177
  *
177
- * @usage
178
+ * @example
178
179
  * ```ts
179
180
  * const payload = {
180
181
  * assetScale: 1,
@@ -201,38 +202,48 @@ declare class DroppedAsset extends Asset implements DroppedAssetInterface {
201
202
  * const { assetName } = droppedAsset;
202
203
  * ```
203
204
  */
204
- updateDroppedAsset({ assetScale, clickType, clickableLink, clickableLinkTitle, clickableDisplayTextDescription, clickableDisplayTextHeadline, flipped, isInteractive, isTextTopLayer, interactivePublicKey, layer0, layer1, position, specialType, text, textColor, textSize, textWeight, textWidth, uniqueName, yOrderAdjust, }: UpdateDroppedAssetInterface): Promise<void | ResponseType$1>;
205
+ updateDroppedAsset({ assetScale, audioRadius, audioSliderVolume, clickType, clickableLink, clickableLinkTitle, clickableDisplayTextDescription, clickableDisplayTextHeadline, flipped, isInteractive, isTextTopLayer, isVideo, interactivePublicKey, layer0, layer1, mediaLink, mediaName, mediaType, portalName, position, specialType, syncUserMedia, text, textColor, textSize, textWeight, textWidth, uniqueName, yOrderAdjust, }: UpdateDroppedAssetInterface): Promise<void | ResponseType$1>;
205
206
  /**
206
- * @summary
207
- * Delete dropped asset.
207
+ * Deletes the dropped asset (removes it from the world).
208
208
  *
209
- * @usage
209
+ * @example
210
210
  * ```ts
211
211
  * await droppedAsset.deleteDroppedAsset();
212
212
  * ```
213
213
  */
214
214
  deleteDroppedAsset(): Promise<void | ResponseType$1>;
215
215
  /**
216
- * @summary
217
216
  * Retrieves the data object for a dropped asset.
218
217
  *
219
- * @usage
218
+ * @category Data Objects
219
+ *
220
+ * @example
220
221
  * ```ts
221
222
  * const dataObject = await droppedAsset.fetchDataObject();
222
223
  * ```
224
+ *
225
+ * @returns {Promise<object | ResponseType>} Returns the data object or an error response.
223
226
  */
224
227
  fetchDataObject(appPublicKey?: string, appJWT?: string): Promise<void | ResponseType$1>;
225
228
  /**
226
- * @summary
227
- * Sets the data object for a dropped asset.
229
+ * Sets the data object for a dropped asset and assigns the response data to the instance.
228
230
  *
231
+ * @remarks
229
232
  * Optionally, a lock can be provided with this request to ensure only one update happens at a time between all updates that share the same lock id
230
233
  *
231
- * @usage
234
+ * @category Data Objects
235
+ *
236
+ * @example
232
237
  * ```ts
233
- * await droppedAsset.setDataObject({
234
- * "exampleKey": "exampleValue",
235
- * });
238
+ * await droppedAsset.setDataObject(
239
+ * { resetCount: 0 },
240
+ * {
241
+ * analytics: [{ analyticName: "resets"} ],
242
+ * lock: { lockId: `${assetId}-${resetCount}-${new Date(Math.round(new Date().getTime() / 10000) * 10000)}` },
243
+ * },
244
+ * );
245
+ *
246
+ * const { resetCount } = droppedAsset.dataObject;
236
247
  * ```
237
248
  */
238
249
  setDataObject(dataObject: object, options?: {
@@ -247,16 +258,21 @@ declare class DroppedAsset extends Asset implements DroppedAssetInterface {
247
258
  };
248
259
  }): Promise<void | ResponseType$1>;
249
260
  /**
250
- * @summary
251
- * Updates the data object for a dropped asset.
261
+ * Updates the data object for a dropped asset and assigns the response data to the instance.
252
262
  *
263
+ * @remarks
253
264
  * Optionally, a lock can be provided with this request to ensure only one update happens at a time between all updates that share the same lock id
254
265
  *
255
- * @usage
266
+ * @category Data Objects
267
+ *
268
+ * @example
256
269
  * ```ts
257
270
  * await droppedAsset.updateDataObject({
258
- * "exampleKey": "exampleValue",
271
+ * [`profiles.${profileId}.itemsCollectedByUser`]: { [dateKey]: { count: 1 }, total: 1 },
272
+ * [`profileMapper.${profileId}`]: username,
259
273
  * });
274
+ *
275
+ * const { profiles } = droppedAsset.dataObject;
260
276
  * ```
261
277
  */
262
278
  updateDataObject(dataObject: object, options?: {
@@ -271,12 +287,14 @@ declare class DroppedAsset extends Asset implements DroppedAssetInterface {
271
287
  };
272
288
  }): Promise<void | ResponseType$1>;
273
289
  /**
274
- * @summary
275
290
  * Increments a specific value in the data object for a dropped asset by the amount specified. Must have valid interactive credentials from a visitor in the world.
276
291
  *
292
+ * @remarks
277
293
  * Optionally, a lock can be provided with this request to ensure only one update happens at a time between all updates that share the same lock id
278
294
  *
279
- * @usage
295
+ * @category Data Objects
296
+ *
297
+ * @example
280
298
  * ```ts
281
299
  * await droppedAsset.incrementDataObjectValue("key", 1);
282
300
  * ```
@@ -293,10 +311,9 @@ declare class DroppedAsset extends Asset implements DroppedAssetInterface {
293
311
  };
294
312
  }): Promise<void | ResponseType$1>;
295
313
  /**
296
- * @summary
297
314
  * Updates broadcast options for a dropped asset.
298
315
  *
299
- * @usage
316
+ * @example
300
317
  * ```ts
301
318
  * await droppedAsset.updateBroadcast({
302
319
  * assetBroadcast: true,
@@ -304,13 +321,14 @@ declare class DroppedAsset extends Asset implements DroppedAssetInterface {
304
321
  * broadcasterEmail: "example@email.com"
305
322
  * });
306
323
  * ```
324
+ *
325
+ * @returns {Promise<void | ResponseType>} Returns the updated dropped asset or an error.
307
326
  */
308
327
  updateBroadcast({ assetBroadcast, assetBroadcastAll, broadcasterEmail, }: UpdateBroadcastInterface): Promise<void | ResponseType$1>;
309
328
  /**
310
- * @summary
311
329
  * Updates click options for a dropped asset.
312
330
  *
313
- * @usage
331
+ * @example
314
332
  * ```ts
315
333
  * await droppedAsset.updateClickType({
316
334
  * "clickType": "portal",
@@ -325,13 +343,14 @@ declare class DroppedAsset extends Asset implements DroppedAssetInterface {
325
343
  * "portalName": "community"
326
344
  * });
327
345
  * ```
346
+ *
347
+ * @returns {Promise<void | ResponseType>} Returns the updated dropped asset or an error.
328
348
  */
329
349
  updateClickType({ clickType, clickableLink, clickableLinkTitle, clickableDisplayTextDescription, clickableDisplayTextHeadline, isForceLinkInIframe, isOpenLinkInDrawer, portalName, position, }: UpdateClickTypeInterface): Promise<void | ResponseType$1>;
330
350
  /**
331
- * @summary
332
351
  * Adds an array of links to an asset. Maximum is 20 links.
333
352
  *
334
- * @usage
353
+ * @example
335
354
  * ```ts
336
355
  * await droppedAsset.setClickableLinkMulti({
337
356
  * clickableLinks: [
@@ -350,14 +369,17 @@ declare class DroppedAsset extends Asset implements DroppedAssetInterface {
350
369
  * ],
351
370
  * });
352
371
  * ```
372
+ *
373
+ * @returns {Promise<void | ResponseType>} Returns the updated dropped asset or an error.
353
374
  */
354
375
  setClickableLinkMulti({ clickableLinks }: SetClickableLinkMultiInterface): Promise<void | ResponseType$1>;
355
376
  /**
356
- * @summary
357
377
  * Updates multiple clickable links for a dropped asset.
378
+ *
379
+ * @remarks
358
380
  * Pass in an 'existingLinkId' to edit an existing link.
359
381
  *
360
- * @usage
382
+ * @example
361
383
  * ```ts
362
384
  * await droppedAsset.updateClickableLinkMulti({
363
385
  * clickableLink: "https://example.com",
@@ -367,23 +389,25 @@ declare class DroppedAsset extends Asset implements DroppedAssetInterface {
367
389
  * existingLinkId: "abcd"
368
390
  * });
369
391
  * ```
392
+ *
393
+ * @returns {Promise<void | ResponseType>} Returns the updated dropped asset or an error.
370
394
  */
371
395
  updateClickableLinkMulti({ clickableLink, clickableLinkTitle, isForceLinkInIframe, isOpenLinkInDrawer, existingLinkId, linkSamlQueryParams, }: UpdateClickableLinkMultiInterface): Promise<void | ResponseType$1>;
372
396
  /**
373
- * @summary
374
397
  * Removes a clickable link from a dropped asset.
375
398
  *
376
- * @usage
399
+ * @example
377
400
  * ```ts
378
401
  * await droppedAsset.removeClickableLink({ linkId: "link-id" });
379
402
  * ```
403
+ *
404
+ * @returns {Promise<void | ResponseType>} Returns the updated dropped asset or an error.
380
405
  */
381
406
  removeClickableLink({ linkId }: RemoveClickableLinkInterface): Promise<void | ResponseType$1>;
382
407
  /**
383
- * @summary
384
408
  * Updates text and style of a dropped asset.
385
409
  *
386
- * @usage
410
+ * @example
387
411
  * ```ts
388
412
  * const style = {
389
413
  * "textColor": "#abc123",
@@ -394,13 +418,14 @@ declare class DroppedAsset extends Asset implements DroppedAssetInterface {
394
418
  * };
395
419
  * await droppedAsset.updateCustomTextAsset(style, "hello world");
396
420
  * ```
421
+ *
422
+ * @returns {Promise<void | ResponseType>} Returns the updated dropped asset or an error.
397
423
  */
398
424
  updateCustomTextAsset(style: object | undefined | null, text: string | null | undefined): Promise<void | ResponseType$1>;
399
425
  /**
400
- * @summary
401
426
  * Updates media options for a dropped asset.
402
427
  *
403
- * @usage
428
+ * @example
404
429
  * ```ts
405
430
  * await droppedAsset.updateMediaType({
406
431
  * "mediaType": "link",
@@ -413,23 +438,25 @@ declare class DroppedAsset extends Asset implements DroppedAssetInterface {
413
438
  * "mediaName": "string"
414
439
  * });
415
440
  * ```
441
+ *
442
+ * @returns {Promise<void | ResponseType>} Returns the updated dropped asset or an error.
416
443
  */
417
444
  updateMediaType({ audioRadius, audioSliderVolume, isVideo, mediaLink, mediaName, mediaType, portalName, syncUserMedia, }: UpdateMediaTypeInterface): Promise<void | ResponseType$1>;
418
445
  /**
419
- * @summary
420
446
  * Updates mute zone options for a dropped asset.
421
447
  *
422
- * @usage
448
+ * @example
423
449
  * ```ts
424
450
  * await droppedAsset.updateMuteZone(true);
425
451
  * ```
452
+ *
453
+ * @returns {Promise<void | ResponseType>} Returns the updated dropped asset or an error.
426
454
  */
427
455
  updateMuteZone(isMutezone: boolean): Promise<void | ResponseType$1>;
428
456
  /**
429
- * @summary
430
457
  * Updates landmark zone options for a dropped asset.
431
458
  *
432
- * @usage
459
+ * @example
433
460
  * ```ts
434
461
  * await droppedAsset.updateLandmarkZone({
435
462
  * isLandmarkZoneEnabled: true,
@@ -437,6 +464,8 @@ declare class DroppedAsset extends Asset implements DroppedAssetInterface {
437
464
  * landmarkZoneIsVisible: true,
438
465
  *});
439
466
  * ```
467
+ *
468
+ * @returns {Promise<void | ResponseType>} Returns the updated dropped asset or an error.
440
469
  */
441
470
  updateLandmarkZone({ isLandmarkZoneEnabled, landmarkZoneName, landmarkZoneIsVisible, }: {
442
471
  isLandmarkZoneEnabled: boolean;
@@ -444,30 +473,31 @@ declare class DroppedAsset extends Asset implements DroppedAssetInterface {
444
473
  landmarkZoneIsVisible?: boolean;
445
474
  }): Promise<void | ResponseType$1>;
446
475
  /**
447
- * @summary
448
476
  * Updates webhook zone options for a dropped asset.
449
477
  *
450
- * @usage
478
+ * @example
451
479
  * ```ts
452
480
  * await droppedAsset.updateWebhookZone(true);
453
481
  * ```
482
+ *
483
+ * @returns {Promise<void | ResponseType>} Returns the updated dropped asset or an error.
454
484
  */
455
485
  updateWebhookZone(isWebhookZoneEnabled: boolean): Promise<void | ResponseType$1>;
456
486
  /**
457
- * @summary
458
487
  * Moves a dropped asset to specified coordinates.
459
488
  *
460
- * @usage
489
+ * @example
461
490
  * ```ts
462
- * await droppedAsset.updatePosition(100,200);
491
+ * await droppedAsset.updatePosition(100, 200, 100);
463
492
  * ```
493
+ *
494
+ * @returns {Promise<void | ResponseType>} Returns the updated dropped asset or an error.
464
495
  */
465
496
  updatePosition(x: number, y: number, yOrderAdjust?: number): Promise<void | ResponseType$1>;
466
497
  /**
467
- * @summary
468
498
  * Updates private zone options for a dropped asset.
469
499
  *
470
- * @usage
500
+ * @example
471
501
  * ```ts
472
502
  * await droppedAsset.updatePrivateZone({
473
503
  * "isPrivateZone": false,
@@ -475,53 +505,58 @@ declare class DroppedAsset extends Asset implements DroppedAssetInterface {
475
505
  * "privateZoneUserCap": 10
476
506
  * });
477
507
  * ```
508
+ *
509
+ * @returns {Promise<void | ResponseType>} Returns the updated dropped asset or an error.
478
510
  */
479
511
  updatePrivateZone({ isPrivateZone, isPrivateZoneChatDisabled, privateZoneUserCap, }: UpdatePrivateZoneInterface): Promise<void | ResponseType$1>;
480
512
  /**
481
- * @summary
482
513
  * Updates the size of a dropped asset.
483
514
  *
484
- * @usage
515
+ * @example
485
516
  * ```ts
486
517
  * await droppedAsset.assetScale(.5);
487
518
  * ```
519
+ *
520
+ * @returns {Promise<void | ResponseType>} Returns the updated dropped asset or an error.
488
521
  */
489
522
  updateScale(assetScale: number): Promise<void | ResponseType$1>;
490
523
  /**
491
- * @summary
492
524
  * Flip an dropped asset.
493
525
  *
494
- * @usage
526
+ * @example
495
527
  * ```ts
496
528
  * await droppedAsset.flip(.5);
497
529
  * ```
530
+ *
531
+ * @returns {Promise<void | ResponseType>} Returns the updated dropped asset or an error.
498
532
  */
499
533
  flip(): Promise<void | ResponseType$1>;
500
534
  /**
501
- * @summary
502
535
  * Change or remove media embedded in a dropped asset.
503
536
  *
504
- * @usage
537
+ * @example
505
538
  * ```ts
506
539
  * await droppedAsset.updateUploadedMediaSelected("LVWyxwNxI96eLjnXWwYO");
507
540
  * ```
541
+ *
542
+ * @returns {Promise<void | ResponseType>} Returns the updated dropped asset or an error.
508
543
  */
509
544
  updateUploadedMediaSelected(mediaId: string): Promise<void | ResponseType$1>;
510
545
  /**
511
- * @summary
512
546
  * Change or remove top and bottom layers of a dropped asset.
513
547
  *
514
- * @usage
548
+ * @example
515
549
  * ```ts
516
550
  * await droppedAsset.updateWebImageLayers("","https://www.shutterstock.com/image-vector/colorful-illustration-test-word-260nw-1438324490.jpg");
517
551
  * ```
552
+ *
553
+ * @returns {Promise<void | ResponseType>} Returns the updated dropped asset or an error.
518
554
  */
519
555
  updateWebImageLayers(bottom: string, top: string): Promise<void | ResponseType$1>;
520
556
  /**
521
- * @summary
522
557
  * Add a webhook to a dropped asset
523
558
  *
524
- * @usage
559
+ * @example
525
560
  * ```ts
526
561
  * await droppedAsset.addWebhook({
527
562
  * dataObject: {},
@@ -533,6 +568,8 @@ declare class DroppedAsset extends Asset implements DroppedAssetInterface {
533
568
  * url: "https://url.com",
534
569
  * });
535
570
  * ```
571
+ *
572
+ * @returns {Promise<void | ResponseType>} Returns the new `webhookId` or an error.
536
573
  */
537
574
  addWebhook({ dataObject, description, isUniqueOnly, shouldSetClickType, shouldSetIsInteractive, title, type, url, }: {
538
575
  dataObject: object;
@@ -545,10 +582,9 @@ declare class DroppedAsset extends Asset implements DroppedAssetInterface {
545
582
  url: string;
546
583
  }): Promise<void | AxiosResponse>;
547
584
  /**
548
- * @summary
549
585
  * Set the interactive settings on a dropped asset
550
586
  *
551
- * @usage
587
+ * @example
552
588
  * ```ts
553
589
  * await droppedAsset.setInteractiveSettings({
554
590
  * isInteractive: true,
@@ -561,10 +597,9 @@ declare class DroppedAsset extends Asset implements DroppedAssetInterface {
561
597
  interactivePublicKey: string;
562
598
  }): Promise<void | ResponseType$1>;
563
599
  /**
564
- * @summary
565
600
  * Retrieve analytics for a dropped asset by day, week, month, quarter, or year
566
601
  *
567
- * @usage
602
+ * @example
568
603
  * ```ts
569
604
  * const analytics = await droppedAsset.fetchDroppedAssetAnalytics({
570
605
  * periodType: "quarter",
@@ -572,6 +607,8 @@ declare class DroppedAsset extends Asset implements DroppedAssetInterface {
572
607
  * year: 2023,
573
608
  * });
574
609
  * ```
610
+ *
611
+ * @returns {Promise<void | ResponseType>} Returns the analytics data or an error.
575
612
  */
576
613
  fetchDroppedAssetAnalytics({ periodType, dateValue, year, }: {
577
614
  periodType: "week" | "month" | "quarter" | "year";
@@ -581,12 +618,11 @@ declare class DroppedAsset extends Asset implements DroppedAssetInterface {
581
618
  }
582
619
 
583
620
  /**
584
- * @summary
585
621
  * Create an instance of World class with a given url slug and optional attributes and session credentials.
586
622
  *
587
- * @usage
623
+ * @example
588
624
  * ```ts
589
- * await new World(topia, "exampleWorld", {
625
+ * const world = await new World(topia, "exampleWorld", {
590
626
  * attributes: { name: "Example World" },
591
627
  * credentials: { interactiveNonce: "exampleNonce", assetId: "droppedAssetId", visitorId: 1, urlSlug: "exampleWorld" }
592
628
  * });
@@ -604,10 +640,9 @@ declare class World extends SDKController implements WorldInterface {
604
640
  [key: string]: DroppedAsset;
605
641
  };
606
642
  /**
607
- * @summary
608
643
  * Retrieves details of a world.
609
644
  *
610
- * @usage
645
+ * @example
611
646
  * ```ts
612
647
  * await world.fetchDetails();
613
648
  * const { name } = world;
@@ -615,10 +650,9 @@ declare class World extends SDKController implements WorldInterface {
615
650
  */
616
651
  fetchDetails(): Promise<void | ResponseType$1>;
617
652
  /**
618
- * @summary
619
653
  * Update details of a world.
620
654
  *
621
- * @usage
655
+ * @example
622
656
  * ```ts
623
657
  * await world.updateDetails({
624
658
  * controls: {
@@ -634,14 +668,15 @@ declare class World extends SDKController implements WorldInterface {
634
668
  * spawnPosition: { x: 100, y: 100 },
635
669
  * width: 2000
636
670
  * });
671
+ *
672
+ * const { name, description } = world;
637
673
  * ```
638
674
  */
639
675
  updateDetails({ controls, description, forceAuthOnLogin, height, name, spawnPosition, width, }: WorldDetailsInterface): Promise<void | ResponseType$1>;
640
676
  /**
641
- * @summary
642
677
  * Set close world settings
643
678
  *
644
- * @usage
679
+ * @example
645
680
  * ```ts
646
681
  * await world.updateCloseWorldSettings({
647
682
  * controls: {
@@ -658,16 +693,19 @@ declare class World extends SDKController implements WorldInterface {
658
693
  * width: 2000
659
694
  * });
660
695
  * ```
696
+ *
697
+ * @returns {Promise<void | ResponseType>} Returns `{ success: true }` or an error.
661
698
  */
662
699
  updateCloseWorldSettings({ closeWorldDescription, isWorldClosed, }: {
663
700
  closeWorldDescription: string;
664
701
  isWorldClosed: boolean;
665
702
  }): Promise<void | ResponseType$1>;
666
703
  /**
667
- * @summary
668
704
  * Retrieve all assets dropped in a world.
669
705
  *
670
- * @usage
706
+ * @category Dropped Assets
707
+ *
708
+ * @example
671
709
  * ```ts
672
710
  * await world.fetchDroppedAssets();
673
711
  * const assets = world.droppedAssets;
@@ -675,13 +713,16 @@ declare class World extends SDKController implements WorldInterface {
675
713
  */
676
714
  fetchDroppedAssets(): Promise<void | ResponseType$1>;
677
715
  /**
678
- * @summary
679
716
  * Retrieve all assets dropped in a world matching uniqueName.
680
717
  *
681
- * @usage
718
+ * @category Dropped Assets
719
+ *
720
+ * @example
682
721
  * ```ts
683
- * const droppedAssets = await world.fetchDroppedAssetsWithUniqueName({u niqueName: "exampleUniqueName", isPartial: true });
722
+ * const droppedAssets = await world.fetchDroppedAssetsWithUniqueName({ uniqueName: "exampleUniqueName", isPartial: true });
684
723
  * ```
724
+ *
725
+ * @returns {Promise<DroppedAsset[]>} Returns an array of DroppedAsset instances.
685
726
  */
686
727
  fetchDroppedAssetsWithUniqueName({ uniqueName, isPartial, isReversed, }: {
687
728
  uniqueName: string;
@@ -689,37 +730,30 @@ declare class World extends SDKController implements WorldInterface {
689
730
  isReversed?: boolean;
690
731
  }): Promise<DroppedAsset[]>;
691
732
  /**
692
- * @summary
693
- * Retrieve all landmark zone assets dropped in a world.
694
- *
695
- * @usage
696
- * ```ts
697
- * const zones = await world.fetchLandmarkZones("optionalLandmarkZoneName", "optionalSceneDropIdExample");
698
- * ```
699
- */
700
- fetchLandmarkZones(landmarkZoneName?: string, sceneDropId?: string): Promise<DroppedAsset[]>;
701
- /**
702
- * @summary
703
733
  * Retrieve all assets dropped in a world matching sceneDropId.
704
734
  *
705
- * @usage
735
+ * @category Dropped Assets
736
+ *
737
+ * @example
706
738
  * ```ts
707
- * await world.fetchDroppedAssetsBySceneDropId({
739
+ * const droppedAssets = await world.fetchDroppedAssetsBySceneDropId({
708
740
  * sceneDropId: "sceneDropIdExample",
709
741
  * uniqueName: "optionalUniqueNameExample",
710
742
  * });
711
- * const assets = world.droppedAssets;
712
743
  * ```
744
+ *
745
+ * @returns {Promise<DroppedAsset[]>} Returns an array of DroppedAsset instances.
713
746
  */
714
747
  fetchDroppedAssetsBySceneDropId({ sceneDropId, uniqueName, }: {
715
748
  sceneDropId: string;
716
749
  uniqueName?: string;
717
750
  }): Promise<DroppedAsset[]>;
718
751
  /**
719
- * @summary
720
752
  * Update multiple custom text dropped assets with a single style while preserving text for specified dropped assets only.
721
753
  *
722
- * @usage
754
+ * @category Dropped Assets
755
+ *
756
+ * @example
723
757
  * ```ts
724
758
  * const droppedAssetsToUpdate = [world.droppedAssets["6"], world.droppedAssets["12"]];
725
759
  * const style = {
@@ -732,37 +766,50 @@ declare class World extends SDKController implements WorldInterface {
732
766
  * await world.updateCustomText(droppedAssetsToUpdate, style);
733
767
  * ```
734
768
  *
735
- * @result
769
+ * @returns
736
770
  * Updates each DroppedAsset instance and world.droppedAssets map.
737
771
  */
738
772
  updateCustomTextDroppedAssets(droppedAssetsToUpdate: Array<DroppedAsset>, style: object): Promise<object>;
773
+ /**
774
+ * Retrieve all landmark zone assets dropped in a world.
775
+ *
776
+ * @category Dropped Assets
777
+ *
778
+ * @example
779
+ * ```ts
780
+ * const zones = await world.fetchLandmarkZones("optionalLandmarkZoneName", "optionalSceneDropIdExample");
781
+ * ```
782
+ *
783
+ * @returns {Promise<DroppedAsset[]>} Returns an array of DroppedAsset instances.
784
+ */
785
+ fetchLandmarkZones(landmarkZoneName?: string, sceneDropId?: string): Promise<DroppedAsset[]>;
739
786
  /**
740
787
  * @deprecated Use {@link fetchScenes} instead.
741
788
  *
742
- * @summary
743
789
  * Fetch a list of all scene drop ids in a world that include at least one asset with an interactivePublicKey
744
790
  *
745
- * @usage
791
+ * @example
746
792
  * ```ts
747
793
  * await world.fetchSceneDropIds();
748
794
  * ```
749
795
  *
750
- * @result
796
+ * @returns
751
797
  * ```ts
752
798
  * { sceneDropIds: [] }
753
799
  * ```
754
800
  */
755
801
  fetchSceneDropIds(): Promise<object | ResponseType$1>;
756
802
  /**
757
- * @summary
758
803
  * Fetch a list of all scene drop ids and dropped assets in a world
759
804
  *
760
- * @usage
805
+ * @category Scenes
806
+ *
807
+ * @example
761
808
  * ```ts
762
809
  * await world.fetchScenes();
763
810
  * ```
764
811
  *
765
- * @result
812
+ * @returns
766
813
  * ```ts
767
814
  * { "scenes": {
768
815
  * "sceneDropId_1": {
@@ -783,10 +830,11 @@ declare class World extends SDKController implements WorldInterface {
783
830
  */
784
831
  fetchScenes(): Promise<object | ResponseType$1>;
785
832
  /**
786
- * @summary
787
833
  * Drops a scene in a world and returns sceneDropId.
788
834
  *
789
- * @usage
835
+ * @category Scenes
836
+ *
837
+ * @example
790
838
  * ```ts
791
839
  * await world.dropScene({
792
840
  * "sceneId": "string",
@@ -798,7 +846,7 @@ declare class World extends SDKController implements WorldInterface {
798
846
  * });
799
847
  * ```
800
848
  *
801
- * @result
849
+ * @returns
802
850
  * ```ts
803
851
  * { sceneDropId: sceneId-timestamp, success: true }
804
852
  * ```
@@ -811,10 +859,11 @@ declare class World extends SDKController implements WorldInterface {
811
859
  sceneId: string;
812
860
  }): Promise<ResponseType$1>;
813
861
  /**
814
- * @summary
815
862
  * Replace the current scene of a world.
816
863
  *
817
- * @usage
864
+ * @category Scenes
865
+ *
866
+ * @example
818
867
  * ```ts
819
868
  * const droppedAssetsToUpdate = [world.droppedAssets["6"], world.droppedAssets["12"]]
820
869
  * const style = {
@@ -826,26 +875,34 @@ declare class World extends SDKController implements WorldInterface {
826
875
  * }
827
876
  * await world.replaceScene(SCENE_ID);
828
877
  * ```
878
+ *
879
+ * @returns {Promise<void | ResponseType>} Returns `{ success: true }` or an error.
829
880
  */
830
881
  replaceScene(sceneId: string): Promise<void | ResponseType$1>;
831
882
  /**
832
- * @summary
833
883
  * Get all particles available
834
884
  *
835
- * @usage
885
+ * @category Particles
886
+ *
887
+ * @example
836
888
  * ```ts
837
889
  * await world.getAllParticles();
890
+ *
891
+ * @returns {Promise<ResponseType>} Returns an array of particles or an error response.
838
892
  * ```
839
893
  */
840
894
  getAllParticles(): Promise<object | ResponseType$1>;
841
895
  /**
842
- * @summary
843
896
  * Trigger a particle effect at a position in the world
844
897
  *
845
- * @usage
898
+ * @category Particles
899
+ *
900
+ * @example
846
901
  * ```ts
847
902
  * await world.triggerParticle({ name: "Flame" });
848
903
  * ```
904
+ *
905
+ * @returns {Promise<ResponseType | string>} Returns `{ success: true }` or a message if no particleId is found.
849
906
  */
850
907
  triggerParticle({ id, name, duration, position, }: {
851
908
  id?: string;
@@ -854,14 +911,15 @@ declare class World extends SDKController implements WorldInterface {
854
911
  position?: object;
855
912
  }): Promise<ResponseType$1 | string>;
856
913
  /**
857
- * @summary
858
914
  * Add an activity to a world
859
915
  * excludeFromNotification is an array of visitorIds to exclude from the notification
860
916
  *
861
- * @usage
917
+ * @example
862
918
  * ```ts
863
919
  * await world.triggerActivity({ type: "GAME_ON", assetId: "abc123" });
864
920
  * ```
921
+ *
922
+ * @returns {Promise<ResponseType | string>} Returns the `activityId` or an error response.
865
923
  */
866
924
  triggerActivity({ type, assetId, excludeFromNotification, }: {
867
925
  type: WorldActivityType;
@@ -869,10 +927,9 @@ declare class World extends SDKController implements WorldInterface {
869
927
  excludeFromNotification?: (string | number)[];
870
928
  }): Promise<ResponseType$1 | string>;
871
929
  /**
872
- * @summary
873
930
  * Display a message via a toast to all visitors currently in a world.
874
931
  *
875
- * @usage
932
+ * @example
876
933
  * ```ts
877
934
  * await world.fireToast({
878
935
  * groupId: "custom-message",
@@ -880,13 +937,16 @@ declare class World extends SDKController implements WorldInterface {
880
937
  * text: "Thank you for participating!",
881
938
  * });
882
939
  * ```
940
+ *
941
+ * @returns {Promise<void | ResponseType>} Returns `{ success: true }` or an error.
883
942
  */
884
943
  fireToast({ groupId, title, text }: FireToastInterface): Promise<void | ResponseType$1>;
885
944
  /**
886
- * @summary
887
945
  * Retrieves the data object for a world. Must have valid interactive credentials from a visitor in the world.
888
946
  *
889
- * @usage
947
+ * @category Data Objects
948
+ *
949
+ * @example
890
950
  * ```ts
891
951
  * await world.fetchDataObject();
892
952
  * const { dataObject } = world;
@@ -894,17 +954,23 @@ declare class World extends SDKController implements WorldInterface {
894
954
  */
895
955
  fetchDataObject: (appPublicKey?: string, appJWT?: string) => Promise<void | ResponseType$1>;
896
956
  /**
897
- * @summary
898
957
  * Sets the data object for a user. Must have valid interactive credentials from a visitor in the world.
899
958
  *
959
+ * @remarks
900
960
  * Optionally, a lock can be provided with this request to ensure only one update happens at a time between all updates that share the same lock id
901
961
  *
902
- * @usage
962
+ * @category Data Objects
963
+ *
964
+ * @example
903
965
  * ```ts
904
- * await world.setDataObject({
905
- * "exampleKey": "exampleValue",
906
- * });
907
- * const { dataObject } = world;
966
+ await world.setDataObject(
967
+ {
968
+ ...defaultGameData,
969
+ keyAssetId: droppedAsset.id,
970
+ },
971
+ { lock: { lock: { lockId: `${keyAssetId}-${new Date(Math.round(new Date().getTime() / 10000) * 10000)}` }, releaseLock: true } },
972
+ );
973
+ * const { profileMapper } = world.dataObject;
908
974
  * ```
909
975
  */
910
976
  setDataObject: (dataObject: object | null | undefined, options?: {
@@ -919,17 +985,20 @@ declare class World extends SDKController implements WorldInterface {
919
985
  };
920
986
  }) => Promise<void | ResponseType$1>;
921
987
  /**
922
- * @summary
923
988
  * Updates the data object for a world. Must have valid interactive credentials from a visitor in the world.
924
989
  *
990
+ * @remarks
925
991
  * Optionally, a lock can be provided with this request to ensure only one update happens at a time between all updates that share the same lock id
926
992
  *
927
- * @usage
993
+ * @category Data Objects
994
+ *
995
+ * @example
928
996
  * ```ts
929
997
  * await world.updateDataObject({
930
- * "exampleKey": "exampleValue",
998
+ * [`keyAssets.${keyAssetId}.itemsCollectedByUser.${profileId}`]: { [dateKey]: { count: 1 }, total: 1 },
999
+ * [`profileMapper.${profileId}`]: username,
931
1000
  * });
932
- * const { dataObject } = world;
1001
+ * const { profileMapper } = world.dataObject;
933
1002
  * ```
934
1003
  */
935
1004
  updateDataObject: (dataObject: object, options?: {
@@ -944,14 +1013,16 @@ declare class World extends SDKController implements WorldInterface {
944
1013
  };
945
1014
  }) => Promise<void | ResponseType$1>;
946
1015
  /**
947
- * @summary
948
1016
  * Increments a specific value in the data object for a world by the amount specified. Must have valid interactive credentials from a visitor in the world.
949
1017
  *
1018
+ * @remarks
950
1019
  * Optionally, a lock can be provided with this request to ensure only one update happens at a time between all updates that share the same lock id
951
1020
  *
952
- * @usage
1021
+ * @category Data Objects
1022
+ *
1023
+ * @example
953
1024
  * ```ts
954
- * await world.incrementDataObjectValue("key", 1);
1025
+ * await world.incrementDataObjectValue([`keyAssets.${keyAssetId}.totalItemsCollected.count`], 1);
955
1026
  * ```
956
1027
  */
957
1028
  incrementDataObjectValue(path: string, amount: number, options?: {
@@ -966,10 +1037,11 @@ declare class World extends SDKController implements WorldInterface {
966
1037
  };
967
1038
  }): Promise<void | ResponseType$1>;
968
1039
  /**
969
- * @summary
970
1040
  * Retrieve all webhooks in a world.
971
1041
  *
972
- * @usage
1042
+ * @category Webhooks
1043
+ *
1044
+ * @example
973
1045
  * ```ts
974
1046
  * await world.fetchWebhooks();
975
1047
  * const webhooks = world.webhooks;
@@ -977,10 +1049,11 @@ declare class World extends SDKController implements WorldInterface {
977
1049
  */
978
1050
  fetchWebhooks(): Promise<void | ResponseType$1>;
979
1051
  /**
980
- * @summary
981
1052
  * Retrieve world analytics by day, week, month, quarter, or year
982
1053
  *
983
- * @usage
1054
+ * @category Analytics
1055
+ *
1056
+ * @example
984
1057
  * ```ts
985
1058
  * const analytics = await world.fetchWorldAnalytics({
986
1059
  * periodType: "week",
@@ -997,12 +1070,11 @@ declare class World extends SDKController implements WorldInterface {
997
1070
  }
998
1071
 
999
1072
  /**
1000
- * @summary
1001
1073
  * Create an instance of User class with optional session credentials.
1002
1074
  *
1003
- * @usage
1075
+ * @example
1004
1076
  * ```ts
1005
- * await new User(topia, {
1077
+ * const user = await new User(topia, {
1006
1078
  * profileId: 1,
1007
1079
  * credentials: { interactiveNonce: "exampleNonce", assetId: "droppedAssetId", visitorId: 1, urlSlug: "exampleWorld" }
1008
1080
  * });
@@ -1026,31 +1098,26 @@ declare class User extends SDKController implements UserInterface {
1026
1098
  get worlds(): {
1027
1099
  [key: string]: World;
1028
1100
  };
1029
- /**
1030
- * @summary
1031
- * Verify user has valid interactive credentials
1032
- *
1033
- * @usage
1034
- * ```ts
1035
- * await user.checkInteractiveCredentials();
1036
- * ```
1037
- */
1038
1101
  checkInteractiveCredentials(): Promise<void | ResponseType$1>;
1039
1102
  /**
1040
- * @summary
1041
1103
  * Returns all avatars owned by User
1042
1104
  *
1043
- * @usage
1105
+ * @category Avatars
1106
+ *
1107
+ * @example
1044
1108
  * ```ts
1045
1109
  * const avatars = await user.fetchAvatars();
1046
1110
  * ```
1111
+ *
1112
+ * @returns {Promise<void | ResponseType>} Returns the avatars or an error.
1047
1113
  */
1048
1114
  fetchAvatars(): Promise<void | ResponseType$1>;
1049
1115
  /**
1050
- * @summary
1051
1116
  * Add a new avatar
1052
1117
  *
1053
- * @usage
1118
+ * @category Avatars
1119
+ *
1120
+ * @example
1054
1121
  * ```ts
1055
1122
  * const animationMeta = {
1056
1123
  * "emote": { "loop": false, "x": 0, "y": 0, "hideLoop": true }
@@ -1118,10 +1185,11 @@ declare class User extends SDKController implements UserInterface {
1118
1185
  */
1119
1186
  addAvatar(formData: FormData): Promise<void | ResponseType$1>;
1120
1187
  /**
1121
- * @summary
1122
1188
  * Update avatar and sprite sheet records and upload files to existing sprite sheet and avatar storage buckets
1123
1189
  *
1124
- * @usage
1190
+ * @category Avatars
1191
+ *
1192
+ * @example
1125
1193
  * ```ts
1126
1194
  * const animationMeta = {
1127
1195
  * "emote": { "loop": false, "x": 0, "y": 0, "hideLoop": true }
@@ -1189,20 +1257,22 @@ declare class User extends SDKController implements UserInterface {
1189
1257
  */
1190
1258
  updateAvatar(avatarId: string, formData: FormData): Promise<void | ResponseType$1>;
1191
1259
  /**
1192
- * @summary
1193
1260
  * Update avatar and sprite sheet records and upload files to existing sprite sheet and avatar storage buckets
1194
1261
  *
1195
- * @usage
1262
+ * @category Avatars
1263
+ *
1264
+ * @example
1196
1265
  * ```ts
1197
1266
  * await user.deleteAvatar("exampleAvatarId");
1198
1267
  * ```
1199
1268
  */
1200
1269
  deleteAvatar(avatarId: string): Promise<void | ResponseType$1>;
1201
1270
  /**
1202
- * @summary
1203
1271
  * Returns all assets owned by User when an email address is provided.
1204
1272
  *
1205
- * @usage
1273
+ * @category Assets
1274
+ *
1275
+ * @example
1206
1276
  * ```ts
1207
1277
  * await user.fetchAssets();
1208
1278
  * const userAssets = user.assets;
@@ -1210,20 +1280,24 @@ declare class User extends SDKController implements UserInterface {
1210
1280
  */
1211
1281
  fetchAssets(): Promise<void | ResponseType$1>;
1212
1282
  /**
1213
- * @summary
1214
1283
  * Returns all platform assets.
1215
1284
  *
1216
- * @usage
1285
+ * @category Assets
1286
+ *
1287
+ * @example
1217
1288
  * ```ts
1218
1289
  * const assets = await user.fetchPlatformAssets();
1219
1290
  * ```
1291
+ *
1292
+ * @returns {Promise<object | ResponseType>} Returns the platform assets or an error response.
1220
1293
  */
1221
1294
  fetchPlatformAssets(): Promise<object | ResponseType$1>;
1222
1295
  /**
1223
- * @summary
1224
1296
  * Returns all scenes owned by User.
1225
1297
  *
1226
- * @usage
1298
+ * @category Scenes
1299
+ *
1300
+ * @example
1227
1301
  * ```ts
1228
1302
  * await user.fetchScenes();
1229
1303
  * const userScenes = user.scenes;
@@ -1231,30 +1305,28 @@ declare class User extends SDKController implements UserInterface {
1231
1305
  */
1232
1306
  fetchScenes(): Promise<void | ResponseType$1>;
1233
1307
  /**
1234
- * @summary
1235
- * Retrieves all worlds owned by user with matching API Key,
1236
- * creates a new World object for each,
1237
- * and creates new map of Worlds accessible via user.worlds.
1308
+ * Retrieves all worlds owned by user with matching API Key, creates a new World object for each, and creates new map of Worlds accessible via user.worlds.
1309
+ *
1310
+ * @category Worlds
1238
1311
  *
1239
- * @usage
1312
+ * @example
1240
1313
  * ```ts
1241
1314
  * await user.fetchWorldsByKey();
1242
1315
  * const userWorlds = user.worlds;
1243
1316
  * ```
1244
1317
  *
1245
- * @result
1318
+ * @returns
1246
1319
  * ```ts
1247
1320
  * { urlSlug: new World({ apiKey, worldArgs, urlSlug }) }
1248
1321
  * ```
1249
1322
  */
1250
1323
  fetchWorldsByKey(): Promise<void | ResponseType$1>;
1251
1324
  /**
1252
- * @summary
1253
- * Retrieves all worlds a user with matching API Key is an admin in,
1254
- * creates a new World object for each,
1255
- * and creates new map of Worlds accessible via user.adminWorlds.
1325
+ * Retrieves all worlds a user with matching API Key is an admin in, creates a new World object for each, and creates new map of Worlds accessible via user.adminWorlds.
1326
+ *
1327
+ * @category Worlds
1256
1328
  *
1257
- * @usage
1329
+ * @example
1258
1330
  * ```ts
1259
1331
  * await user.fetchAdminWorldsByKey();
1260
1332
  * const adminWorlds = user.adminWorlds;
@@ -1262,25 +1334,29 @@ declare class User extends SDKController implements UserInterface {
1262
1334
  */
1263
1335
  fetchAdminWorldsByKey(): Promise<void | ResponseType$1>;
1264
1336
  /**
1265
- * @summary
1266
1337
  * Retrieves ids of all dropped assets in all worlds with a matching interactivePublicKey.
1267
1338
  *
1268
- * @usage
1339
+ * @category Dropped Assets
1340
+ *
1341
+ * @example
1269
1342
  * ```ts
1270
1343
  * await user.fetchInteractiveWorldsByKey("interactivePublicKeyExample");
1271
1344
  * const interactiveWorlds = user.interactiveWorlds;
1272
1345
  * ```
1346
+ *
1347
+ * @returns {Promise<object | ResponseType>} Returns the `urlSlugs` of worlds where the Public Key is found or an error response.
1273
1348
  */
1274
1349
  fetchInteractiveWorldsByKey(interactivePublicKey: string): Promise<object | ResponseType$1>;
1275
1350
  /**
1276
- * @summary
1277
1351
  * Send an email
1278
1352
  *
1279
- * @usage
1353
+ * @example
1280
1354
  * ```ts
1281
1355
  * const html = `<p><b>Hello World!</b></p><p>This email is being sent from via SDK.</p>`
1282
1356
  * await user.sendEmail({ html, subject: "Example", to: "example@email.io" });
1283
1357
  * ```
1358
+ *
1359
+ * @returns {Promise<object | ResponseType>} Returns `{ success: true }` if the email is sent successfully or an error response.
1284
1360
  */
1285
1361
  sendEmail({ html, subject, to, }: {
1286
1362
  html: string;
@@ -1288,39 +1364,53 @@ declare class User extends SDKController implements UserInterface {
1288
1364
  to: string;
1289
1365
  }): Promise<object | ResponseType$1>;
1290
1366
  /**
1291
- * @summary
1292
1367
  * Get expressions
1293
1368
  *
1294
- * @usage
1369
+ * @category Expressions
1370
+ *
1371
+ * @example
1295
1372
  * ```ts
1296
1373
  * await user.getExpressions({ getUnlockablesOnly: true, });
1297
1374
  * ```
1375
+ *
1376
+ * @returns {Promise<ResponseType>} Returns an array of expressions or an error response.
1298
1377
  */
1299
1378
  getExpressions({ name, getUnlockablesOnly, }: {
1300
1379
  name?: string;
1301
1380
  getUnlockablesOnly?: boolean;
1302
1381
  }): Promise<ResponseType$1>;
1303
1382
  /**
1304
- * @summary
1305
1383
  * Retrieves the data object for a user.
1306
1384
  *
1307
- * @usage
1385
+ * @category Data Objects
1386
+ *
1387
+ * @example
1308
1388
  * ```ts
1309
1389
  * const dataObject = await user.fetchDataObject();
1310
1390
  * ```
1391
+ *
1392
+ * @returns {Promise<object | ResponseType>} Returns the data object or an error response.
1311
1393
  */
1312
1394
  fetchDataObject(appPublicKey?: string, appJWT?: string): Promise<void | ResponseType$1>;
1313
1395
  /**
1314
- * @summary
1315
1396
  * Sets the data object for a user.
1316
1397
  *
1398
+ * @remarks
1317
1399
  * Optionally, a lock can be provided with this request to ensure only one update happens at a time between all updates that share the same lock id
1318
1400
  *
1319
- * @usage
1401
+ * @category Data Objects
1402
+ *
1403
+ * @example
1320
1404
  * ```ts
1321
- * await user.setDataObject({
1322
- * "exampleKey": "exampleValue",
1323
- * });
1405
+ * await user.setDataObject(
1406
+ * { itemsCollected: 0 },
1407
+ * {
1408
+ * analytics: [{ analyticName: "resets"} ],
1409
+ * lock: { lockId: `${assetId}-${itemsCollected}-${new Date(Math.round(new Date().getTime() / 10000) * 10000)}` },
1410
+ * },
1411
+ * );
1412
+ *
1413
+ * const { itemsCollected } = user.dataObject;
1324
1414
  * ```
1325
1415
  */
1326
1416
  setDataObject(dataObject: object | null | undefined, options?: {
@@ -1335,16 +1425,22 @@ declare class User extends SDKController implements UserInterface {
1335
1425
  };
1336
1426
  }): Promise<void | ResponseType$1>;
1337
1427
  /**
1338
- * @summary
1339
1428
  * Updates the data object for a user.
1340
1429
  *
1430
+ * @remarks
1341
1431
  * Optionally, a lock can be provided with this request to ensure only one update happens at a time between all updates that share the same lock id
1342
1432
  *
1343
- * @usage
1433
+ * @category Data Objects
1434
+ *
1435
+ * @example
1344
1436
  * ```ts
1437
+ * const theme = "exampleTheme";
1438
+ *
1345
1439
  * await user.updateDataObject({
1346
- * "exampleKey": "exampleValue",
1440
+ * [`${theme}.itemsCollectedByUser`]: { [dateKey]: { count: 1 }, total: 1 },
1347
1441
  * });
1442
+ *
1443
+ * const { exampleTheme } = user.dataObject;
1348
1444
  * ```
1349
1445
  */
1350
1446
  updateDataObject(dataObject: object, options?: {
@@ -1359,12 +1455,14 @@ declare class User extends SDKController implements UserInterface {
1359
1455
  };
1360
1456
  }): Promise<void | ResponseType$1>;
1361
1457
  /**
1362
- * @summary
1363
1458
  * Increments a specific value in the data object for a user by the amount specified. Must have valid interactive credentials from a visitor in the world.
1364
1459
  *
1460
+ * @remarks
1365
1461
  * Optionally, a lock can be provided with this request to ensure only one update happens at a time between all updates that share the same lock id
1366
1462
  *
1367
- * @usage
1463
+ * @category Data Objects
1464
+ *
1465
+ * @example
1368
1466
  * ```ts
1369
1467
  * await user.incrementDataObjectValue("key", 1);
1370
1468
  * ```
@@ -1383,12 +1481,11 @@ declare class User extends SDKController implements UserInterface {
1383
1481
  }
1384
1482
 
1385
1483
  /**
1386
- * @summary
1387
1484
  * Create an instance of Visitor class with a given id and optional attributes and session credentials.
1388
1485
  *
1389
- * @usage
1486
+ * @example
1390
1487
  * ```ts
1391
- * await new Visitor(topia, id, urlSlug, { attributes: { moveTo: { x: 0, y: 0 } }, credentials: { interactiveNonce: "exampleNonce", assetId: "droppedAssetId", visitorId: 1, urlSlug: "exampleWorld" } });
1488
+ * const visitor = await new Visitor(topia, id, urlSlug, { attributes: { moveTo: { x: 0, y: 0 } }, credentials: { interactiveNonce: "exampleNonce", assetId: "droppedAssetId", visitorId: 1, urlSlug: "exampleWorld" } });
1392
1489
  * ```
1393
1490
  */
1394
1491
  declare class Visitor extends User implements VisitorInterface {
@@ -1397,23 +1494,21 @@ declare class Visitor extends User implements VisitorInterface {
1397
1494
  user?: User;
1398
1495
  constructor(topia: Topia, id: number, urlSlug: string, options?: VisitorOptionalInterface);
1399
1496
  /**
1400
- * @summary
1401
1497
  * Get a single visitor from a world
1402
1498
  *
1403
- * @usage
1499
+ * @example
1404
1500
  * ```ts
1405
1501
  * await visitor.fetchVisitor();
1406
1502
  * ```
1407
1503
  *
1408
- * @result
1504
+ * @returns
1409
1505
  * Returns details for a visitor in a world by id and urlSlug
1410
1506
  */
1411
1507
  fetchVisitor(): Promise<void | ResponseType$1>;
1412
1508
  /**
1413
- * @summary
1414
1509
  * Teleport or walk a visitor currently in a world to a single set of coordinates.
1415
1510
  *
1416
- * @usage
1511
+ * @example
1417
1512
  * ```ts
1418
1513
  * await visitor.moveVisitor({
1419
1514
  * shouldTeleportVisitor: true,
@@ -1422,15 +1517,14 @@ declare class Visitor extends User implements VisitorInterface {
1422
1517
  * });
1423
1518
  * ```
1424
1519
  *
1425
- * @result
1426
- * Updates each Visitor instance and world.visitors map.
1520
+ * @returns
1521
+ * Returns `{ success: true }` if the visitor was moved successfully.
1427
1522
  */
1428
1523
  moveVisitor({ shouldTeleportVisitor, x, y }: MoveVisitorInterface): Promise<void | ResponseType$1>;
1429
1524
  /**
1430
- * @summary
1431
1525
  * Display a message via a toast to a visitor currently in a world.
1432
1526
  *
1433
- * @usage
1527
+ * @example
1434
1528
  * ```ts
1435
1529
  * await visitor.fireToast({
1436
1530
  * groupId: "custom-message",
@@ -1438,13 +1532,16 @@ declare class Visitor extends User implements VisitorInterface {
1438
1532
  * text: "Thank you for participating!",
1439
1533
  * });
1440
1534
  * ```
1535
+ *
1536
+ * @returns {Promise<void | ResponseType>} Returns `{ success: true }` or an error.
1441
1537
  */
1442
1538
  fireToast({ groupId, title, text }: FireToastInterface): Promise<void | ResponseType$1>;
1443
1539
  /**
1444
- * @summary
1445
1540
  * Open an iframe in a drawer or modal for a visitor currently in a world.
1446
1541
  *
1447
- * @usage
1542
+ * @category iframes
1543
+ *
1544
+ * @example
1448
1545
  * ```ts
1449
1546
  * await visitor.openIframe({
1450
1547
  * droppedAssetId: "droppedAssetId",
@@ -1453,83 +1550,103 @@ declare class Visitor extends User implements VisitorInterface {
1453
1550
  * title: "Hello World",
1454
1551
  * });
1455
1552
  * ```
1553
+ *
1554
+ * @returns {Promise<void | ResponseType>} Returns `{ success: true }` or an error.
1456
1555
  */
1457
1556
  openIframe({ droppedAssetId, link, shouldOpenInDrawer, title, }: OpenIframeInterface): Promise<void | ResponseType$1>;
1458
1557
  /**
1459
- * @summary
1460
1558
  * Reload an iframe for a visitor currently in a world.
1461
1559
  *
1462
- * @usage
1560
+ * @category iframes
1561
+ *
1562
+ * @example
1463
1563
  * ```ts
1464
1564
  * await visitor.reloadIframe("droppedAssetId");
1465
1565
  * ```
1566
+ *
1567
+ * @returns {Promise<void | ResponseType>} Returns `{ success: true }` or an error.
1466
1568
  */
1467
1569
  reloadIframe(droppedAssetId: string): Promise<void | ResponseType$1>;
1468
1570
  /**
1469
- * @summary
1470
1571
  * Close an iframe for a visitor currently in a world.
1471
1572
  *
1472
- * @usage
1573
+ * @category iframes
1574
+ *
1575
+ * @example
1473
1576
  * ```ts
1474
1577
  * await visitor.closeIframe("droppedAssetId");
1475
1578
  * ```
1579
+ *
1580
+ * @returns {Promise<void | ResponseType>} Returns `{ success: true }` or an error.
1476
1581
  */
1477
1582
  closeIframe(droppedAssetId: string): Promise<void | ResponseType$1>;
1478
1583
  /**
1479
- * @summary
1480
1584
  * Mute and turn video off for a visitor currently in a world.
1481
1585
  *
1482
- * @usage
1586
+ * @example
1483
1587
  * ```ts
1484
1588
  * await visitor.turnAVOff();
1485
1589
  * ```
1590
+ *
1591
+ * @returns {Promise<void | ResponseType>} Returns `{ success: true }` or an error.
1486
1592
  */
1487
1593
  turnAVOff(): Promise<void | ResponseType$1>;
1488
1594
  /**
1489
- * @summary
1490
1595
  * Get expressions
1491
1596
  *
1492
- * @usage
1597
+ * @category Expressions
1598
+ *
1599
+ * @example
1493
1600
  * ```ts
1494
1601
  * await visitor.getExpressions({ getUnlockablesOnly: true, });
1495
1602
  * ```
1603
+ * @returns {Promise<ResponseType>} Returns an array of expressions or an error response.
1496
1604
  */
1497
1605
  getExpressions({ name, getUnlockablesOnly, }: {
1498
1606
  name?: string;
1499
1607
  getUnlockablesOnly?: boolean;
1500
1608
  }): Promise<ResponseType$1>;
1501
1609
  /**
1502
- * @summary
1503
1610
  * Grant expression to a visitor by id or name.
1504
1611
  *
1505
- * @usage
1612
+ * @category Expressions
1613
+ *
1614
+ * @example
1506
1615
  * ```ts
1507
1616
  * await visitor.grantExpression({ id: "exampleExpressionId" });
1508
1617
  * await visitor.grantExpression({ name: "exampleExpressionName" });
1509
1618
  * ```
1619
+ *
1620
+ * @returns {Promise<ResponseType>} Returns `{ success: true }` if the expression was granted successfully or an error response.
1510
1621
  */
1511
1622
  grantExpression({ id, name }: {
1512
1623
  id?: string;
1513
1624
  name?: string;
1514
1625
  }): Promise<ResponseType$1>;
1515
1626
  /**
1516
- * @summary
1517
1627
  * Get all particles available
1518
1628
  *
1519
- * @usage
1629
+ * @category Particle Effects
1630
+ *
1631
+ * @example
1520
1632
  * ```ts
1521
1633
  * await visitor.getAllParticles();
1522
1634
  * ```
1635
+ *
1636
+ * @returns {Promise<ResponseType>} Returns an array of particles or an error response.
1523
1637
  */
1524
1638
  getAllParticles(): Promise<ResponseType$1>;
1525
1639
  /**
1526
- * @summary
1527
1640
  * Trigger a particle effect on a visitor
1528
1641
  *
1529
- * @usage
1642
+ * @category Particle Effects
1643
+ *
1644
+ * @example
1530
1645
  * ```ts
1531
1646
  * await visitor.triggerParticle({ name: "Flame" });
1532
1647
  * ```
1648
+ *
1649
+ * @returns {Promise<ResponseType | string>} Returns `{ success: true }` or a message if no particleId is found.
1533
1650
  */
1534
1651
  triggerParticle({ id, name, duration, }: {
1535
1652
  id?: string;
@@ -1537,26 +1654,37 @@ declare class Visitor extends User implements VisitorInterface {
1537
1654
  duration?: number;
1538
1655
  }): Promise<ResponseType$1 | string>;
1539
1656
  /**
1540
- * @summary
1541
1657
  * Retrieves the data object for a visitor.
1542
1658
  *
1543
- * @usage
1659
+ * @category Data Objects
1660
+ *
1661
+ * @example
1544
1662
  * ```ts
1545
1663
  * const dataObject = await visitor.fetchDataObject();
1546
1664
  * ```
1665
+ *
1666
+ * @returns {Promise<object | ResponseType>} Returns the data object or an error response.
1547
1667
  */
1548
1668
  fetchDataObject(appPublicKey?: string, appJWT?: string): Promise<void | ResponseType$1>;
1549
1669
  /**
1550
- * @summary
1551
1670
  * Sets the data object for a visitor.
1552
1671
  *
1672
+ * @remarks
1553
1673
  * Optionally, a lock can be provided with this request to ensure only one update happens at a time between all updates that share the same lock id
1554
1674
  *
1555
- * @usage
1675
+ * @category Data Objects
1676
+ *
1677
+ * @example
1556
1678
  * ```ts
1557
- * await visitor.setDataObject({
1558
- * "exampleKey": "exampleValue",
1559
- * });
1679
+ * await visitor.setDataObject(
1680
+ * { itemsCollected: 0 },
1681
+ * {
1682
+ * analytics: [{ analyticName: "resets"} ],
1683
+ * lock: { lockId: `${assetId}-${itemsCollected}-${new Date(Math.round(new Date().getTime() / 10000) * 10000)}` },
1684
+ * },
1685
+ * );
1686
+ *
1687
+ * const { itemsCollected } = visitor.dataObject;
1560
1688
  * ```
1561
1689
  */
1562
1690
  setDataObject(dataObject: object | null | undefined, options?: {
@@ -1571,16 +1699,22 @@ declare class Visitor extends User implements VisitorInterface {
1571
1699
  };
1572
1700
  }): Promise<void | ResponseType$1>;
1573
1701
  /**
1574
- * @summary
1575
1702
  * Updates the data object for a visitor.
1576
1703
  *
1704
+ * @remarks
1577
1705
  * Optionally, a lock can be provided with this request to ensure only one update happens at a time between all updates that share the same lock id
1578
1706
  *
1579
- * @usage
1707
+ * @category Data Objects
1708
+ *
1709
+ * @example
1580
1710
  * ```ts
1711
+ * const theme = "exampleTheme";
1712
+ *
1581
1713
  * await visitor.updateDataObject({
1582
- * "exampleKey": "exampleValue",
1714
+ * [`${theme}.itemsCollectedByUser`]: { [dateKey]: { count: 1 }, total: 1 },
1583
1715
  * });
1716
+ *
1717
+ * const { exampleTheme } = visitor.dataObject;
1584
1718
  * ```
1585
1719
  */
1586
1720
  updateDataObject(dataObject: object, options?: {
@@ -1595,12 +1729,14 @@ declare class Visitor extends User implements VisitorInterface {
1595
1729
  };
1596
1730
  }): Promise<void | ResponseType$1>;
1597
1731
  /**
1598
- * @summary
1599
1732
  * Increments a specific value in the data object for a visitor by the amount specified. Must have valid interactive credentials from a visitor in the world.
1600
1733
  *
1734
+ * @remarks
1601
1735
  * Optionally, a lock can be provided with this request to ensure only one update happens at a time between all updates that share the same lock id
1602
1736
  *
1603
- * @usage
1737
+ * @category Data Objects
1738
+ *
1739
+ * @example
1604
1740
  * ```ts
1605
1741
  * await visitor.incrementDataObjectValue("key", 1);
1606
1742
  * ```
@@ -1617,20 +1753,18 @@ declare class Visitor extends User implements VisitorInterface {
1617
1753
  };
1618
1754
  }): Promise<void | ResponseType$1>;
1619
1755
  /**
1620
- * @summary
1621
1756
  * Update analytics for a given public key. Must have valid interactive credentials from a visitor in the world.
1622
1757
  *
1623
- * @usage
1758
+ * @example
1624
1759
  * ```ts
1625
1760
  * await visitor.updatePublicKeyAnalytics([{ analyticName: "joins", profileId, uniqueKey: profileId, urlSlug }]);
1626
1761
  * ```
1627
1762
  */
1628
1763
  updatePublicKeyAnalytics(analytics?: AnalyticType[]): Promise<void | ResponseType$1>;
1629
1764
  /**
1630
- * @summary
1631
1765
  * Setup signal to visitor
1632
1766
  *
1633
- * @usage
1767
+ * @example
1634
1768
  * ```ts
1635
1769
  * await visitor.sendSignalToVisitor(iceServers);
1636
1770
  * ```
@@ -1745,7 +1879,7 @@ interface DroppedAssetInterface extends AssetInterface {
1745
1879
  assetId?: string;
1746
1880
  assetScale?: number | null;
1747
1881
  assetPodium?: boolean | null;
1748
- audioRadius?: number | null;
1882
+ audioRadius?: DroppedAssetMediaVolumeRadius | number | null;
1749
1883
  assetBroadcastAll?: boolean | null;
1750
1884
  assetPrivateConversation?: boolean | null;
1751
1885
  assetPrivateZoneChannelDisabled?: boolean | null;
@@ -1753,6 +1887,7 @@ interface DroppedAssetInterface extends AssetInterface {
1753
1887
  audioSliderVolume?: number | null;
1754
1888
  bottomLayerURL?: string | null;
1755
1889
  broadcasterEmail?: string | null;
1890
+ clickableLinks?: Array<DroppedAssetClickType> | null;
1756
1891
  clickType?: string | null;
1757
1892
  clickableLink?: string | null;
1758
1893
  clickableLinkTitle?: string | null;
@@ -1824,6 +1959,8 @@ interface UpdateBroadcastInterface {
1824
1959
  }
1825
1960
  interface UpdateDroppedAssetInterface {
1826
1961
  assetScale?: number;
1962
+ audioRadius?: DroppedAssetMediaVolumeRadius | number;
1963
+ audioSliderVolume?: number;
1827
1964
  clickType?: DroppedAssetClickType;
1828
1965
  clickableLink?: string;
1829
1966
  clickableLinkTitle?: string;
@@ -1832,14 +1969,20 @@ interface UpdateDroppedAssetInterface {
1832
1969
  flipped?: boolean;
1833
1970
  isInteractive?: boolean;
1834
1971
  isTextTopLayer?: boolean;
1972
+ isVideo?: boolean;
1835
1973
  interactivePublicKey?: string;
1836
1974
  layer0?: string;
1837
1975
  layer1?: string;
1976
+ mediaLink?: string;
1977
+ mediaName?: string;
1978
+ mediaType?: DroppedAssetMediaType;
1838
1979
  position?: {
1839
1980
  x: number;
1840
1981
  y: number;
1841
1982
  };
1983
+ portalName?: string;
1842
1984
  specialType?: string;
1985
+ syncUserMedia?: boolean;
1843
1986
  text?: string | null;
1844
1987
  textColor?: string | null;
1845
1988
  textSize?: number | null;
@@ -1877,7 +2020,7 @@ interface RemoveClickableLinkInterface {
1877
2020
  linkId: string;
1878
2021
  }
1879
2022
  interface UpdateMediaTypeInterface {
1880
- audioRadius: number;
2023
+ audioRadius: DroppedAssetMediaVolumeRadius | number;
1881
2024
  audioSliderVolume: number;
1882
2025
  isVideo: boolean;
1883
2026
  mediaLink: string;
@@ -2109,10 +2252,9 @@ interface WorldWebhooksInterface {
2109
2252
  }
2110
2253
 
2111
2254
  /**
2112
- * @summary
2113
2255
  * Create a single instance of Topia axios used for all calls to the public API in all classes
2114
2256
  *
2115
- * @usage
2257
+ * @example
2116
2258
  * ```ts
2117
2259
  * const topia = await new Topia({
2118
2260
  * apiDomain: "api.topia.io",
@@ -2141,10 +2283,9 @@ declare class Topia implements TopiaInterface {
2141
2283
  }
2142
2284
 
2143
2285
  /**
2144
- * @summary
2145
2286
  * Create an instance of SDKController class with credentials.
2146
2287
  *
2147
- * @usage
2288
+ * @example
2148
2289
  * ```ts
2149
2290
  * const credentials = {
2150
2291
  * assetId: "exampleAsset",
@@ -2189,12 +2330,11 @@ declare abstract class SDKController implements SDKInterface {
2189
2330
  }
2190
2331
 
2191
2332
  /**
2192
- * @summary
2193
2333
  * Create an instance of Asset class with a given asset id and optional attributes and session credentials.
2194
2334
  *
2195
- * @usage
2335
+ * @example
2196
2336
  * ```ts
2197
- * await new Asset(topia, "id", {
2337
+ * const asset = await new Asset(topia, "id", {
2198
2338
  * attributes: { assetName: "My Asset", isPublic: false },
2199
2339
  * credentials: { interactiveNonce: "exampleNonce", assetId: "droppedAssetId", visitorId: 1, urlSlug: "exampleWorld" }
2200
2340
  * });
@@ -2204,21 +2344,21 @@ declare class Asset extends SDKController implements AssetInterface {
2204
2344
  readonly id?: string;
2205
2345
  constructor(topia: Topia, id: string, options?: AssetOptionalInterface);
2206
2346
  /**
2207
- * @summary
2208
- * Retrieves platform asset details.
2347
+ * Retrieves platform asset details and assigns response data to the instance.
2209
2348
  *
2210
- * @usage
2349
+ * @example
2211
2350
  * ```ts
2212
2351
  * await asset.fetchAssetById();
2213
2352
  * const { assetName } = asset;
2214
2353
  * ```
2354
+ *
2355
+ * @returns {Promise<object | ResponseType>} Returns the asset details or an error response.
2215
2356
  */
2216
2357
  fetchAssetById(): Promise<object | ResponseType$1>;
2217
2358
  /**
2218
- * @summary
2219
2359
  * Updates platform asset details.
2220
2360
  *
2221
- * @usage
2361
+ * @example
2222
2362
  * ```ts
2223
2363
  * await asset.updateAsset({
2224
2364
  * assetName: "exampleAsset",
@@ -2244,12 +2384,11 @@ declare class Asset extends SDKController implements AssetInterface {
2244
2384
  }
2245
2385
 
2246
2386
  /**
2247
- * @summary
2248
2387
  * Create an instance of Ecosystem class with optional session credentials
2249
2388
  *
2250
- * @usage
2389
+ * @example
2251
2390
  * ```ts
2252
- * await new Ecosystem(topia, {
2391
+ * const ecosystem =await new Ecosystem(topia, {
2253
2392
  * credentials: { interactiveNonce: "exampleNonce", assetId: "droppedAssetId", visitorId: 1, urlSlug: "exampleWorld" }
2254
2393
  * });
2255
2394
  * ```
@@ -2258,27 +2397,35 @@ declare class Ecosystem extends SDKController {
2258
2397
  dataObject?: object | null | undefined;
2259
2398
  constructor(topia: Topia, options?: EcosystemOptionalInterface);
2260
2399
  /**
2261
- * @summary
2262
2400
  * Retrieves the data object for a Topia ecosystem. Requires canUpdateEcosystemDataObjects permission to be set to true for the public key.
2263
2401
  *
2264
- * @usage
2402
+ * @category Data Objects
2403
+ *
2404
+ * @example
2265
2405
  * ```ts
2266
2406
  * const dataObject = await ecosystem.fetchDataObject("exampleAppPublicKey", "exampleAppPublicKeyJWT");
2267
2407
  * ```
2408
+ *
2409
+ * @returns {Promise<object | ResponseType>} Returns the data object or an error response.
2268
2410
  */
2269
2411
  fetchDataObject(appPublicKey?: string, appJWT?: string): Promise<void | ResponseType$1>;
2270
2412
  /**
2271
- * @summary
2272
2413
  * Sets the data object for a Topia ecosystem.
2273
2414
  *
2415
+ * @remarks
2416
+ * This method also allows you to set a data object on behalf of another Public Key. It requires `canUpdateEcosystemDataObjects` permission to be set to true for the Public Key.
2417
+ *
2274
2418
  * Optionally, a lock can be provided with this request to ensure only one update happens at a time between all updates that share the same lock id
2275
2419
  *
2276
- * @usage
2420
+ * @category Data Objects
2421
+ *
2422
+ * @example
2277
2423
  * ```ts
2278
2424
  * await ecosystem.setDataObject({ "exampleKey": "exampleValue" }, {
2279
2425
  * sharedAppPublicKey: "exampleAppPublicKey",
2280
2426
  * sharedAppJWT: "exampleAppPublicKeyJWT",}
2281
2427
  * });
2428
+ * const { exampleKey } = ecosystem.dataObject;
2282
2429
  * ```
2283
2430
  */
2284
2431
  setDataObject(dataObject: object | null | undefined, options?: {
@@ -2293,17 +2440,28 @@ declare class Ecosystem extends SDKController {
2293
2440
  };
2294
2441
  }): Promise<void | ResponseType$1>;
2295
2442
  /**
2296
- * @summary
2297
2443
  * Updates the data object for a Topia ecosystem.
2298
2444
  *
2445
+ * @remarks
2446
+ * This method also allows you to update a data object on behalf of another Public Key. It requires `canUpdateEcosystemDataObjects` permission to be set to true for the Public Key.
2447
+ *
2299
2448
  * Optionally, a lock can be provided with this request to ensure only one update happens at a time between all updates that share the same lock id
2300
2449
  *
2301
- * @usage
2450
+ * @category Data Objects
2451
+ *
2452
+ * @example
2302
2453
  * ```ts
2303
- * await ecosystem.updateDataObject({ "exampleKey": "exampleValue" }, {
2304
- * sharedAppPublicKey: "exampleAppPublicKey",
2305
- * sharedAppJWT: "exampleAppPublicKeyJWT",}
2454
+ * await ecosystem.updateDataObject({
2455
+ * [`profiles.${profileId}.itemsCollectedByUser`]: { [dateKey]: { count: 1 }, total: 1 },
2456
+ * [`profileMapper.${profileId}`]: username,
2457
+ * }, {
2458
+ * sharedAppPublicKey: "exampleAppPublicKey",
2459
+ * sharedAppJWT: "exampleAppPublicKeyJWT",
2460
+ * analytics: [{ analyticName: "itemCollected", profileId, uniqueKey: profileId, urlSlug } ],
2461
+ * lock: { lockId: `${assetId}-${resetCount}-${new Date(Math.round(new Date().getTime() / 10000) * 10000)}` },
2462
+ * }
2306
2463
  * });
2464
+ * const { exampleKey } = ecosystem.dataObject;
2307
2465
  * ```
2308
2466
  */
2309
2467
  updateDataObject(dataObject: object, options?: {
@@ -2318,12 +2476,16 @@ declare class Ecosystem extends SDKController {
2318
2476
  };
2319
2477
  }): Promise<void | ResponseType$1>;
2320
2478
  /**
2321
- * @summary
2322
2479
  * Increments a specific value in the data object for a Topia ecosystem by the amount specified. Must have valid interactive credentials from a visitor in the world.
2323
2480
  *
2481
+ * @remarks
2482
+ * This method also allows you to increment a data object value on behalf of another Public Key. It requires `canUpdateEcosystemDataObjects` permission to be set to true for the Public Key.
2483
+ *
2324
2484
  * Optionally, a lock can be provided with this request to ensure only one update happens at a time between all updates that share the same lock id
2325
2485
  *
2326
- * @usage
2486
+ * @category Data Objects
2487
+ *
2488
+ * @example
2327
2489
  * ```ts
2328
2490
  * await ecosystem.incrementDataObjectValue("key", 1, {
2329
2491
  * sharedAppPublicKey: "exampleAppPublicKey",
@@ -2345,12 +2507,11 @@ declare class Ecosystem extends SDKController {
2345
2507
  }
2346
2508
 
2347
2509
  /**
2348
- * @summary
2349
2510
  * Create an instance of WebRTCConnector class with optional session credentials.
2350
2511
  *
2351
- * @usage
2512
+ * @example
2352
2513
  * ```ts
2353
- * await new WebRTCConnector(topia, {
2514
+ * const webRTC = await new WebRTCConnector(topia, {
2354
2515
  * credentials: { interactiveNonce: "exampleNonce", assetId: "droppedAssetId", visitorId: 1, urlSlug: "exampleWorld" }
2355
2516
  * });
2356
2517
  * ```
@@ -2360,10 +2521,9 @@ declare class WebRTCConnector extends SDKController implements WebRTCConnectorIn
2360
2521
  urlSlug: string;
2361
2522
  constructor(topia: Topia, urlSlug: string, options?: WebRTCConnectorOptionalInterface);
2362
2523
  /**
2363
- * @summary
2364
2524
  * Get twilio
2365
2525
  *
2366
- * @usage
2526
+ * @example
2367
2527
  * ```ts
2368
2528
  * await webRTCConnector.getTwilioConfig();
2369
2529
  * ```
@@ -2372,14 +2532,14 @@ declare class WebRTCConnector extends SDKController implements WebRTCConnectorIn
2372
2532
  }
2373
2533
 
2374
2534
  /**
2375
- * @summary
2376
2535
  * Create an instance of WorldActivity class with a given url slug and optional attributes and session credentials.
2377
2536
  *
2537
+ * @remarks
2378
2538
  * This class is responsible for all activity of a specified world including editing dropped assets, moving current visitors, etc.
2379
2539
  *
2380
- * @usage
2540
+ * @example
2381
2541
  * ```ts
2382
- * await new WorldActivity(topia, "exampleWorld", {
2542
+ * const activity = await new WorldActivity(topia, "exampleWorld", {
2383
2543
  * attributes: { name: "Example World" },
2384
2544
  * credentials: { interactiveNonce: "exampleNonce", assetId: "droppedAssetId", visitorId: 1, urlSlug: "exampleWorld" }
2385
2545
  * });
@@ -2394,25 +2554,31 @@ declare class WorldActivity extends SDKController {
2394
2554
  };
2395
2555
  private fetchVisitors;
2396
2556
  /**
2397
- * @summary
2398
2557
  * Retrieve all visitors currently in a world.
2399
2558
  *
2400
- * @usage
2559
+ * @category Visitors
2560
+ *
2561
+ * @example
2401
2562
  * ```ts
2402
2563
  * const visitors = await worldActivity.currentVisitors("exampleLandmarkZoneId", true);
2403
2564
  * ```
2565
+ *
2566
+ * @returns {Promise<void | ResponseType>} Returns the an object containing current visitors keyed by visitorId or an error.
2404
2567
  */
2405
2568
  currentVisitors(shouldIncludeAdminPermissions?: boolean): Promise<{
2406
2569
  [key: string]: Visitor;
2407
2570
  }>;
2408
2571
  /**
2409
- * @summary
2410
2572
  * Retrieve all visitors currently in a Landmark Zone.
2411
2573
  *
2412
- * @usage
2574
+ * @category Visitors
2575
+ *
2576
+ * @example
2413
2577
  * ```ts
2414
2578
  * const visitors = await worldActivity.fetchVisitorsInZone({ droppedAssetId: "exampleDroppedAssetId" });
2415
2579
  * ```
2580
+ *
2581
+ * @returns {Promise<void | ResponseType>} Returns the an object containing current visitors keyed by visitorId or an error.
2416
2582
  */
2417
2583
  fetchVisitorsInZone({ droppedAssetId, shouldIncludeAdminPermissions, }: {
2418
2584
  droppedAssetId?: string;
@@ -2421,12 +2587,15 @@ declare class WorldActivity extends SDKController {
2421
2587
  [key: string]: Visitor;
2422
2588
  }>;
2423
2589
  /**
2424
- * @summary
2425
2590
  * Move all visitors currently in a world to a single set of coordinates.
2591
+ *
2592
+ * @remarks
2426
2593
  * Optionally refetch visitors, teleport or walk visitors to new location,
2427
2594
  * and scatter visitors by any number so that they don't all move to the exact same location.
2428
2595
  *
2429
- * @usage
2596
+ * @category Visitors
2597
+ *
2598
+ * @example
2430
2599
  * ```ts
2431
2600
  * await worldActivity.moveAllVisitors({
2432
2601
  * shouldFetchVisitors: true,
@@ -2437,15 +2606,16 @@ declare class WorldActivity extends SDKController {
2437
2606
  * });
2438
2607
  * ```
2439
2608
  *
2440
- * @result
2609
+ * @returns
2441
2610
  * Updates each Visitor instance and worldActivity.visitors map.
2442
2611
  */
2443
2612
  moveAllVisitors({ shouldFetchVisitors, shouldTeleportVisitors, scatterVisitorsBy, x, y, }: MoveAllVisitorsInterface): Promise<(void | ResponseType$1)[] | undefined>;
2444
2613
  /**
2445
- * @summary
2446
2614
  * Teleport or walk a list of visitors currently in a world to various coordinates.
2447
2615
  *
2448
- * @usage
2616
+ * @category Visitors
2617
+ *
2618
+ * @example
2449
2619
  * ```ts
2450
2620
  * const visitorsToMove = [
2451
2621
  * {
@@ -2463,14 +2633,14 @@ declare class WorldActivity extends SDKController {
2463
2633
  * await worldActivity.moveVisitors(visitorsToMove);
2464
2634
  * ```
2465
2635
  *
2466
- * @result
2636
+ * @returns
2467
2637
  * Updates each Visitor instance and worldActivity.visitors map.
2468
2638
  */
2469
2639
  moveVisitors(visitorsToMove: VisitorsToMoveArrayType): Promise<(void | ResponseType$1)[]>;
2470
2640
  }
2471
2641
 
2472
2642
  /**
2473
- * @usage
2643
+ * @example
2474
2644
  * ```ts
2475
2645
  * const Asset = new AssetFactory(myTopiaInstance);
2476
2646
  * ```
@@ -2478,20 +2648,20 @@ declare class WorldActivity extends SDKController {
2478
2648
  declare class AssetFactory extends SDKController {
2479
2649
  constructor(topia: Topia);
2480
2650
  /**
2481
- * @summary
2482
2651
  * Instantiate a new instance of Asset class.
2483
2652
  *
2484
- * @usage
2653
+ * @example
2485
2654
  * ```
2486
2655
  * const assetInstance = await Asset.create(id, { credentials: { interactiveNonce, interactivePublicKey, assetId, urlSlug, visitorId } });
2487
2656
  * ```
2657
+ *
2658
+ * @returns {Asset} Returns a new Asset object with the asset id.
2488
2659
  */
2489
2660
  create(id: string, options?: AssetOptionalInterface): Asset;
2490
2661
  /**
2491
- * @summary
2492
2662
  * Upload a new Asset and return a new instance of Asset class.
2493
2663
  *
2494
- * @usage
2664
+ * @example
2495
2665
  * ```
2496
2666
  * const assetPayload = {
2497
2667
  * assetName: "exampleAssetName"
@@ -2503,12 +2673,14 @@ declare class AssetFactory extends SDKController {
2503
2673
  * }
2504
2674
  * const asset = await Asset.upload(assetPayload, apiKey);
2505
2675
  * ```
2676
+ *
2677
+ * @returns {AssetType} Returns a new Asset object with the asset details.
2506
2678
  */
2507
2679
  upload(assetPayload: AssetType, apiKey: string): Promise<Asset>;
2508
2680
  }
2509
2681
 
2510
2682
  /**
2511
- * @usage
2683
+ * @example
2512
2684
  * ```ts
2513
2685
  * const DroppedAsset = new DroppedAssetFactory(myTopiaInstance);
2514
2686
  * ```
@@ -2516,43 +2688,45 @@ declare class AssetFactory extends SDKController {
2516
2688
  declare class DroppedAssetFactory extends SDKController {
2517
2689
  constructor(topia: Topia);
2518
2690
  /**
2519
- * @summary
2520
2691
  * Instantiate a new instance of DroppedAsset class.
2521
2692
  *
2522
- * @usage
2693
+ * @example
2523
2694
  * ```
2524
2695
  * const droppedAssetInstance = await DroppedAsset.create(assetId, urlSlug, { credentials: { interactiveNonce, interactivePublicKey, assetId, urlSlug, visitorId } });
2525
2696
  * ```
2697
+ *
2698
+ * @returns {DroppedAsset} Returns a new DroppedAsset object.
2526
2699
  */
2527
2700
  create(id: string, urlSlug: string, options?: DroppedAssetOptionalInterface): DroppedAsset;
2528
2701
  /**
2529
- * @summary
2530
2702
  * Instantiate a new instance of DroppedAsset class and retrieve all properties.
2531
2703
  *
2532
- * @usage
2704
+ * @example
2533
2705
  * ```
2534
2706
  * const droppedAssetInstance = await DroppedAsset.get(assetId, urlSlug, { credentials: { interactiveNonce, interactivePublicKey, assetId, urlSlug, visitorId } });
2535
2707
  * ```
2708
+ *
2709
+ * @returns {Promise<DroppedAsset>} Returns a new DroppedAsset object with all properties.
2536
2710
  */
2537
2711
  get(id: string, urlSlug: string, options?: DroppedAssetOptionalInterface): Promise<DroppedAsset>;
2538
2712
  /**
2539
- * @summary
2540
2713
  * Searches dropped assets within a world by a provide `uniqueName`. If a single match is found, a new instance of DroppedAsset class is returned all properties.
2541
2714
  *
2542
- * @usage
2715
+ * @remarks
2716
+ * This method leverages the handleGetDroppedAssetByUniqueName endpoint in the Public API and assumes there is exactly one dropped asset with matching uniqueName for the given urlSlug.
2717
+ *
2718
+ * @example
2543
2719
  * ```
2544
2720
  * const droppedAssetInstance = await DroppedAsset.getWithUniqueName("exampleUniqueName", urlSlug, interactiveSecret, credentials);
2545
2721
  * ```
2546
2722
  *
2547
- * @notes
2548
- * This method leverages the handleGetDroppedAssetByUniqueName endpoint in the Public API and assumes there is exactly one dropped asset with matching uniqueName for the given urlSlug.
2723
+ * @returns {Promise<DroppedAsset>} Returns a new DroppedAsset object with all properties.
2549
2724
  */
2550
2725
  getWithUniqueName(uniqueName: string, urlSlug: string, interactiveSecret: string, credentials: InteractiveCredentials): Promise<DroppedAsset>;
2551
2726
  /**
2552
- * @summary
2553
2727
  * Drops an asset in a world and returns a new instance of DroppedAsset class with all properties.
2554
2728
  *
2555
- * @usage
2729
+ * @example
2556
2730
  * ```
2557
2731
  * const assetInstance = await Asset.create(id, { credentials: { interactiveNonce, interactivePublicKey, assetId, urlSlug, visitorId } });
2558
2732
  * const droppedAssetInstance = await DroppedAsset.get(assetInstance, {
@@ -2567,6 +2741,8 @@ declare class DroppedAssetFactory extends SDKController {
2567
2741
  urlSlug,
2568
2742
  });
2569
2743
  * ```
2744
+ *
2745
+ * @returns {Promise<DroppedAsset>} Returns a new DroppedAsset object with all properties.
2570
2746
  */
2571
2747
  drop(asset: Asset, { assetScale, clickType, clickableDisplayTextDescription, clickableDisplayTextHeadline, clickableLink, clickableLinkTitle, flipped, interactivePublicKey, isInteractive, isForceLinkInIframe, isOpenLinkInDrawer, isTextTopLayer, layer0, layer1, position: { x, y }, sceneDropId, text, textColor, textFontFamily, textSize, textWeight, textWidth, uniqueName, urlSlug, yOrderAdjust, }: {
2572
2748
  assetScale?: number;
@@ -2601,7 +2777,7 @@ declare class DroppedAssetFactory extends SDKController {
2601
2777
  }
2602
2778
 
2603
2779
  /**
2604
- * @usage
2780
+ * @example
2605
2781
  * ```ts
2606
2782
  * const Ecosystem = new EcosystemFactory(myTopiaInstance);
2607
2783
  * ```
@@ -2610,19 +2786,20 @@ declare class EcosystemFactory {
2610
2786
  topia: Topia;
2611
2787
  constructor(topia: Topia);
2612
2788
  /**
2613
- * @summary
2614
2789
  * Instantiate a new instance of Ecosystem class.
2615
2790
  *
2616
- * @usage
2791
+ * @example
2617
2792
  * ```
2618
2793
  * const ecosystemInstance = await Ecosystem.create({ credentials: { interactiveNonce, interactivePublicKey, assetId, urlSlug, visitorId }});
2619
2794
  * ```
2795
+ *
2796
+ * @returns {Ecosystem} Returns a new Ecosystem object.
2620
2797
  */
2621
2798
  create(options?: EcosystemOptionalInterface): Ecosystem;
2622
2799
  }
2623
2800
 
2624
2801
  /**
2625
- * @usage
2802
+ * @example
2626
2803
  * ```ts
2627
2804
  * const Scene = new SceneFactory(myTopiaInstance);
2628
2805
  * ```
@@ -2631,29 +2808,31 @@ declare class SceneFactory {
2631
2808
  topia: Topia;
2632
2809
  constructor(topia: Topia);
2633
2810
  /**
2634
- * @summary
2635
2811
  * Instantiate a new instance of Scene class.
2636
2812
  *
2637
- * @usage
2813
+ * @example
2638
2814
  * ```
2639
2815
  * const sceneInstance = await Scene.create(id, { credentials: { interactiveNonce, interactivePublicKey, assetId, urlSlug, visitorId } });
2640
2816
  * ```
2817
+ *
2818
+ * @returns {Scene} Returns a new Scene object.
2641
2819
  */
2642
2820
  create(id: string, options?: SceneOptionalInterface): Scene;
2643
2821
  /**
2644
- * @summary
2645
2822
  * Instantiate a new instance of Scene class and retrieve all properties.
2646
2823
  *
2647
- * @usage
2824
+ * @example
2648
2825
  * ```
2649
2826
  * const sceneInstance = await Scene.get(id, { credentials: { interactiveNonce, interactivePublicKey, assetId, urlSlug, visitorId } });
2650
2827
  * ```
2828
+ *
2829
+ * @returns {Promise<Scene>} Returns a new Scene object with all properties.
2651
2830
  */
2652
2831
  get(id: string, options?: SceneOptionalInterface): Promise<Scene>;
2653
2832
  }
2654
2833
 
2655
2834
  /**
2656
- * @usage
2835
+ * @example
2657
2836
  * ```ts
2658
2837
  * const User = new UserFactory(myTopiaInstance);
2659
2838
  * ```
@@ -2662,19 +2841,20 @@ declare class UserFactory {
2662
2841
  topia: Topia;
2663
2842
  constructor(topia: Topia);
2664
2843
  /**
2665
- * @summary
2666
2844
  * Instantiate a new instance of User class.
2667
2845
  *
2668
- * @usage
2846
+ * @example
2669
2847
  * ```
2670
2848
  * const userInstance = await User.create({ credentials: { interactiveNonce, interactivePublicKey, assetId, urlSlug, visitorId } });
2671
2849
  * ```
2850
+ *
2851
+ * @returns {User} Returns a new User object.
2672
2852
  */
2673
2853
  create(options?: UserOptionalInterface): User;
2674
2854
  }
2675
2855
 
2676
2856
  /**
2677
- * @usage
2857
+ * @example
2678
2858
  * ```ts
2679
2859
  * const Visitor = new VisitorFactory(myTopiaInstance);
2680
2860
  * ```
@@ -2683,29 +2863,31 @@ declare class VisitorFactory {
2683
2863
  topia: Topia;
2684
2864
  constructor(topia: Topia);
2685
2865
  /**
2686
- * @summary
2687
2866
  * Instantiate a new instance of Visitor class.
2688
2867
  *
2689
- * @usage
2868
+ * @example
2690
2869
  * ```
2691
2870
  * const visitorInstance = await Visitor.create(id, urlSlug, { credentials: { interactiveNonce, interactivePublicKey, assetId, urlSlug, visitorId } });
2692
2871
  * ```
2872
+ *
2873
+ * @returns {Visitor} Returns a new Visitor object.
2693
2874
  */
2694
2875
  create(id: number, urlSlug: string, options?: VisitorOptionalInterface): Visitor;
2695
2876
  /**
2696
- * @summary
2697
2877
  * Instantiate a new instance of Visitor class and retrieve all properties.
2698
2878
  *
2699
- * @usage
2879
+ * @example
2700
2880
  * ```
2701
2881
  * const visitorInstance = await Visitor.get(id, urlSlug, { credentials: { interactiveNonce, interactivePublicKey, assetId, urlSlug, visitorId } });
2702
2882
  * ```
2883
+ *
2884
+ * @returns {Promise<Visitor>} Returns a new Visitor object with all properties.
2703
2885
  */
2704
2886
  get(id: number, urlSlug: string, options?: VisitorOptionalInterface): Promise<Visitor>;
2705
2887
  }
2706
2888
 
2707
2889
  /**
2708
- * @usage
2890
+ * @example
2709
2891
  * ```ts
2710
2892
  * const WebRTCConnector = new WebRTCConnectorFactory(myTopiaInstance);
2711
2893
  * ```
@@ -2714,19 +2896,20 @@ declare class WebRTCConnectorFactory {
2714
2896
  topia: Topia;
2715
2897
  constructor(topia: Topia);
2716
2898
  /**
2717
- * @summary
2718
2899
  * Instantiate a new instance of WebRTCConnector class.
2719
2900
  *
2720
- * @usage
2901
+ * @example
2721
2902
  * ```
2722
2903
  * const webRTCInstance = await WebRTCConnector.create({ credentials: { interactiveNonce, interactivePublicKey, assetId, urlSlug, visitorId }, twilioConfig: {} });
2723
2904
  * ```
2905
+ *
2906
+ * @returns {WebRTCConnector} Returns a new WebRTCConnector object.
2724
2907
  */
2725
2908
  create(urlSlug: string, options?: WebRTCConnectorOptionalInterface): WebRTCConnector;
2726
2909
  }
2727
2910
 
2728
2911
  /**
2729
- * @usage
2912
+ * @example
2730
2913
  * ```ts
2731
2914
  * const WorldActivity = new WorldActivityFactory(myTopiaInstance);
2732
2915
  * ```
@@ -2735,19 +2918,20 @@ declare class WorldActivityFactory {
2735
2918
  topia: Topia;
2736
2919
  constructor(topia: Topia);
2737
2920
  /**
2738
- * @summary
2739
2921
  * Instantiate a new instance of WorldActivity class.
2740
2922
  *
2741
- * @usage
2923
+ * @example
2742
2924
  * ```
2743
2925
  * const worldActivityInstance = await WorldActivity.create(urlSlug, { credentials: { interactiveNonce, interactivePublicKey, assetId, urlSlug, visitorId } });
2744
2926
  * ```
2927
+ *
2928
+ * @returns {WorldActivity} Returns a new WorldActivity object.
2745
2929
  */
2746
2930
  create(urlSlug: string, options?: WorldOptionalInterface): WorldActivity;
2747
2931
  }
2748
2932
 
2749
2933
  /**
2750
- * @usage
2934
+ * @example
2751
2935
  * ```ts
2752
2936
  * const World = new WorldFactory(myTopiaInstance);
2753
2937
  * ```
@@ -2755,23 +2939,25 @@ declare class WorldActivityFactory {
2755
2939
  declare class WorldFactory extends SDKController {
2756
2940
  constructor(topia: Topia);
2757
2941
  /**
2758
- * @summary
2759
2942
  * Instantiate a new instance of World class.
2760
2943
  *
2761
- * @usage
2944
+ * @example
2762
2945
  * ```
2763
2946
  * const worldInstance = await World.create(urlSlug, { credentials: { interactiveNonce, interactivePublicKey, assetId, urlSlug, visitorId } });
2764
2947
  * ```
2948
+ *
2949
+ * @returns {World} Returns a new World object.
2765
2950
  */
2766
2951
  create(urlSlug: string, options?: WorldOptionalInterface): World;
2767
2952
  /**
2768
- * @summary
2769
2953
  * Deletes an array of Dropped Assets from within a world and returns success: true
2770
2954
  *
2771
- * @usage
2955
+ * @example
2772
2956
  * ```
2773
2957
  * await World.deleteDroppedAssets(urlSlug, ["exampleDroppedAssetId1", "exampleDroppedAssetId2"], interactiveSecret, credentials);
2774
2958
  * ```
2959
+ *
2960
+ * @returns {Promise<{ success: boolean }>} Returns `{ success: true }` or an error.
2775
2961
  */
2776
2962
  deleteDroppedAssets(urlSlug: string, droppedAssetIds: string[], interactiveSecret: string, credentials: {
2777
2963
  apiKey?: string;
@@ -2783,4 +2969,4 @@ declare class WorldFactory extends SDKController {
2783
2969
  }>;
2784
2970
  }
2785
2971
 
2786
- export { AnalyticType, AnimationMetaType, Asset, AssetFactory, AssetInterface, AssetOptionalInterface, AssetOptions, AssetType, DroppedAsset, DroppedAssetClickType, DroppedAssetFactory, DroppedAssetInterface, DroppedAssetLinkType, DroppedAssetMediaType, DroppedAssetOptionalInterface, DroppedAssetOptions, Ecosystem, EcosystemFactory, EcosystemInterface, EcosystemOptionalInterface, FireToastInterface, FrameType, InteractiveCredentials, MoveAllVisitorsInterface, MoveVisitorInterface, OpenIframeInterface, RemoveClickableLinkInterface, ResponseType$1 as ResponseType, SDKController, SDKInterface, Scene, SceneFactory, SceneInterface, SceneOptionalInterface, SetClickableLinkMultiInterface, Topia, TopiaInterface, UpdateBroadcastInterface, UpdateClickTypeInterface, UpdateClickableLinkMultiInterface, UpdateDroppedAssetInterface, UpdateMediaTypeInterface, UpdatePrivateZoneInterface, User, UserFactory, UserInterface, UserOptionalInterface, UserOptions, Visitor, VisitorFactory, VisitorInterface, VisitorOptionalInterface, VisitorOptions, VisitorType, VisitorsToMoveArrayType, VisitorsToMoveType, WebRTCConnector, WebRTCConnectorFactory, WebRTCConnectorInterface, WebRTCConnectorOptionalInterface, WebhookInterface, World, WorldActivity, WorldActivityFactory, WorldActivityOptionalInterface, WorldActivityType, WorldDetailsInterface, WorldFactory, WorldInterface, WorldOptionalInterface, WorldOptions, WorldWebhooksInterface };
2972
+ export { AnalyticType, AnimationMetaType, Asset, AssetFactory, AssetInterface, AssetOptionalInterface, AssetOptions, AssetType, DroppedAsset, DroppedAssetClickType, DroppedAssetFactory, DroppedAssetInterface, DroppedAssetLinkType, DroppedAssetMediaType, DroppedAssetMediaVolumeRadius, DroppedAssetOptionalInterface, DroppedAssetOptions, Ecosystem, EcosystemFactory, EcosystemInterface, EcosystemOptionalInterface, FireToastInterface, FrameType, InteractiveCredentials, MoveAllVisitorsInterface, MoveVisitorInterface, OpenIframeInterface, RemoveClickableLinkInterface, ResponseType$1 as ResponseType, SDKController, SDKInterface, Scene, SceneFactory, SceneInterface, SceneOptionalInterface, SetClickableLinkMultiInterface, Topia, TopiaInterface, UpdateBroadcastInterface, UpdateClickTypeInterface, UpdateClickableLinkMultiInterface, UpdateDroppedAssetInterface, UpdateMediaTypeInterface, UpdatePrivateZoneInterface, User, UserFactory, UserInterface, UserOptionalInterface, UserOptions, Visitor, VisitorFactory, VisitorInterface, VisitorOptionalInterface, VisitorOptions, VisitorType, VisitorsToMoveArrayType, VisitorsToMoveType, WebRTCConnector, WebRTCConnectorFactory, WebRTCConnectorInterface, WebRTCConnectorOptionalInterface, WebhookInterface, World, WorldActivity, WorldActivityFactory, WorldActivityOptionalInterface, WorldActivityType, WorldDetailsInterface, WorldFactory, WorldInterface, WorldOptionalInterface, WorldOptions, WorldWebhooksInterface };