connected-spaces-platform.web 6.26.0 → 6.28.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3357,33 +3357,33 @@ function csp_common_List_csp_common_Vector3Factory(
3357
3357
  ProxyClassFactories["csp_common_List_csp_common_Vector3"] =
3358
3358
  csp_common_List_csp_common_Vector3Factory;
3359
3359
 
3360
- function csp_common_Map_String_csp_common_ReplicatedValueFactory(
3360
+ function csp_common_Map_String_StringFactory(
3361
3361
  nativePointer: NativePointer,
3362
3362
  ): NativeClassWrapper {
3363
- return new Common.Map<string, Common.ReplicatedValue>(
3363
+ return new Common.Map<string, string>(
3364
3364
  nativePointer,
3365
3365
  StringFactory,
3366
3366
  "String",
3367
- csp_common_ReplicatedValueFactory,
3368
- "csp_common_ReplicatedValue",
3367
+ StringFactory,
3368
+ "String",
3369
3369
  );
3370
3370
  }
3371
- ProxyClassFactories["csp_common_Map_String_csp_common_ReplicatedValue"] =
3372
- csp_common_Map_String_csp_common_ReplicatedValueFactory;
3371
+ ProxyClassFactories["csp_common_Map_String_String"] =
3372
+ csp_common_Map_String_StringFactory;
3373
3373
 
3374
- function csp_common_Map_String_StringFactory(
3374
+ function csp_common_Map_String_csp_common_ReplicatedValueFactory(
3375
3375
  nativePointer: NativePointer,
3376
3376
  ): NativeClassWrapper {
3377
- return new Common.Map<string, string>(
3377
+ return new Common.Map<string, Common.ReplicatedValue>(
3378
3378
  nativePointer,
3379
3379
  StringFactory,
3380
3380
  "String",
3381
- StringFactory,
3382
- "String",
3381
+ csp_common_ReplicatedValueFactory,
3382
+ "csp_common_ReplicatedValue",
3383
3383
  );
3384
3384
  }
3385
- ProxyClassFactories["csp_common_Map_String_String"] =
3386
- csp_common_Map_String_StringFactory;
3385
+ ProxyClassFactories["csp_common_Map_String_csp_common_ReplicatedValue"] =
3386
+ csp_common_Map_String_csp_common_ReplicatedValueFactory;
3387
3387
 
3388
3388
  function csp_common_Map_UInt32_csp_common_ReplicatedValueFactory(
3389
3389
  nativePointer: NativePointer,
@@ -36301,6 +36301,74 @@ export namespace Common {
36301
36301
  [this.pointer, value],
36302
36302
  );
36303
36303
  }
36304
+
36305
+ get references(): Common.Map<string, string> {
36306
+ const _ptr = Module._malloc(8);
36307
+ Module.ccall(
36308
+ "csp_common_AsyncCallCompletedEventData__Get_References",
36309
+ "void",
36310
+ ["number", "number"],
36311
+ [_ptr, this.pointer],
36312
+ );
36313
+
36314
+ const _nPtr = getNativePointer(_ptr);
36315
+ return new Common.Map<string, string>(
36316
+ _nPtr,
36317
+ StringFactory,
36318
+ "String",
36319
+ StringFactory,
36320
+ "String",
36321
+ );
36322
+ }
36323
+
36324
+ set references(value: Common.Map<string, string>) {
36325
+ Module.ccall(
36326
+ "csp_common_AsyncCallCompletedEventData__Set_References",
36327
+ "void",
36328
+ ["number", "number"],
36329
+ [this.pointer, value.pointer],
36330
+ );
36331
+ }
36332
+
36333
+ get success(): boolean {
36334
+ let _result = Module.ccall(
36335
+ "csp_common_AsyncCallCompletedEventData__Get_Success",
36336
+ "boolean",
36337
+ ["number"],
36338
+ [this.pointer],
36339
+ );
36340
+
36341
+ return _result;
36342
+ }
36343
+
36344
+ set success(value: boolean) {
36345
+ Module.ccall(
36346
+ "csp_common_AsyncCallCompletedEventData__Set_Success",
36347
+ "void",
36348
+ ["number", "boolean"],
36349
+ [this.pointer, value],
36350
+ );
36351
+ }
36352
+
36353
+ get statusReason(): string {
36354
+ let _result = Module.ccall(
36355
+ "csp_common_AsyncCallCompletedEventData__Get_StatusReason",
36356
+ "string",
36357
+ ["number"],
36358
+ [this.pointer],
36359
+ );
36360
+
36361
+ return _result;
36362
+ }
36363
+
36364
+ set statusReason(value: string) {
36365
+ Module.ccall(
36366
+ "csp_common_AsyncCallCompletedEventData__Set_StatusReason",
36367
+ "void",
36368
+ ["number", "string"],
36369
+ [this.pointer, value],
36370
+ );
36371
+ }
36304
36372
  }
36305
36373
  }
36306
36374
 
@@ -51151,22 +51219,22 @@ export namespace Systems {
51151
51219
 
51152
51220
  /**
51153
51221
  * @description Retrieves asset collections based on the specified search criteria.
51222
+ * These parameters filter the search criteria using the intersection of the provided parameters.
51154
51223
  * Results pagination is supported through the use of ResultsSkipNumber and ResultsMaxNumber.
51155
- * @param space - Optional space to get asset collections associated with it
51156
- * @param assetCollectionParentId - Optional asset collection parent id to get asset collections associated with it
51157
- * @param assetCollectionType - Type of the asset collection
51158
- * @param assetCollectionTags - Optional array of strings representing asset collection tags
51159
- * @param assetCollectionNames - Optional array of strings representing asset
51160
- * collection names
51161
- * @param resultsSkipNumber - Optional param representing the number of result entries that will be skipped from the result. for no skip pass
51224
+ * @param assetCollectionIds - Search for asset collections with these ids.
51225
+ * @param parentId - Search for asset collections with this parent id.
51226
+ * @param names - Search for asset collections with these names.
51227
+ * @param types - Search for asset collections of these types.
51228
+ * @param tags - Search for asset collections with these user provided tags.
51229
+ * @param spaceIds - Search for asset collections associated with the provided spaces.
51230
+ * @param resultsSkipNumber - The number of result entries that will be skipped from the result. For no skip pass
51162
51231
  * nullptr.
51163
- * @param resultsMaxNumber - Optional param representing the maximum number of result entries to be retrieved. for all available result
51164
- * entries pass nullptr.
51165
- * @param callback - Callback when asynchronous task finishes
51232
+ * @param resultsMaxNumber - The maximum number of result entries to be retrieved. For all available results pass nullptr.
51233
+ * @param callback - Callback when asynchronous task finishes.
51166
51234
  */
51167
51235
 
51168
51236
  async findAssetCollections(
51169
- ids: Common.Array<string> | null,
51237
+ assetCollectionIds: Common.Array<string> | null,
51170
51238
  parentId: string | null,
51171
51239
  names: Common.Array<string> | null,
51172
51240
  types: Common.Array<Systems.EAssetCollectionType> | null,
@@ -51227,7 +51295,7 @@ export namespace Systems {
51227
51295
  ],
51228
51296
  [
51229
51297
  this.pointer,
51230
- ids != null ? ids.pointer : 0,
51298
+ assetCollectionIds != null ? assetCollectionIds.pointer : 0,
51231
51299
  parentId,
51232
51300
  names != null ? names.pointer : 0,
51233
51301
  types != null ? types.pointer : 0,
@@ -61187,11 +61255,14 @@ export namespace Systems {
61187
61255
  /**
61188
61256
  * @description Duplicate an existing space and assign it to the current user.
61189
61257
  * This is an asynchronous operation. If the user disconnects while waiting for the operation to complete it will continue unaffected. Please
61190
- * subcribe to the AsyncCallCompletedCallback via @ref SpaceSystem::SetAsyncCallCompletedCallback() to be notified when the duplication operation
61258
+ * subscribe to the AsyncCallCompletedCallback via @ref SpaceSystem::SetAsyncCallCompletedCallback() to be notified when the duplication operation
61191
61259
  * is complete. The AsyncCallCompletedEventData returned by the AsyncCallCompletedCallback will contain the following information:
61192
61260
  * - OperationName: "DuplicateSpaceAsync".
61193
- * - ReferenceId: Id of the newly duplicated Space.
61194
- * - ReferenceType: "GroupId".
61261
+ * - References: A String map containing the following key:value pairs:
61262
+ * - "OrignalSpaceId": Id of the original Space.
61263
+ * - "SpaceId": Id of the newly duplicated Space.
61264
+ * - Success: A boolean value indicating whether the duplication operation was successful.
61265
+ * - StatusReason: This will be an empty string if the operation was successful, but if the operation failed it will contain the failure status.
61195
61266
  * @param spaceId - Id of the space to duplicate.
61196
61267
  * @param newName - A unique name for the duplicated space.
61197
61268
  * @param newAttributes - Attributes to apply to the duplicated space.
@@ -66448,43 +66519,43 @@ export namespace Common {
66448
66519
  private TValueTypeFactory: ProxyClassFactory;
66449
66520
  private TValueTypeName: string;
66450
66521
 
66451
- static ofStringAndcsp_common_ReplicatedValue(): Map<
66452
- string,
66453
- Common.ReplicatedValue
66454
- > {
66522
+ static ofStringAndString(): Map<string, string> {
66455
66523
  var _ret = Module._malloc(8);
66456
66524
  Module.ccall(
66457
- "csp_common_Map_Ctor_String_csp_common_ReplicatedValue",
66525
+ "csp_common_Map_Ctor_String_String",
66458
66526
  "void",
66459
66527
  ["number"],
66460
66528
  [_ret],
66461
66529
  );
66462
- var _inst = new Map<string, Common.ReplicatedValue>(
66530
+ var _inst = new Map<string, string>(
66463
66531
  getNativePointer(_ret),
66464
66532
  StringFactory,
66465
66533
  "String",
66466
- csp_common_ReplicatedValueFactory,
66467
- "csp_common_ReplicatedValue",
66534
+ StringFactory,
66535
+ "String",
66468
66536
  );
66469
66537
  Module._free(_ret);
66470
66538
 
66471
66539
  return _inst;
66472
66540
  }
66473
66541
 
66474
- static ofStringAndString(): Map<string, string> {
66542
+ static ofStringAndcsp_common_ReplicatedValue(): Map<
66543
+ string,
66544
+ Common.ReplicatedValue
66545
+ > {
66475
66546
  var _ret = Module._malloc(8);
66476
66547
  Module.ccall(
66477
- "csp_common_Map_Ctor_String_String",
66548
+ "csp_common_Map_Ctor_String_csp_common_ReplicatedValue",
66478
66549
  "void",
66479
66550
  ["number"],
66480
66551
  [_ret],
66481
66552
  );
66482
- var _inst = new Map<string, string>(
66553
+ var _inst = new Map<string, Common.ReplicatedValue>(
66483
66554
  getNativePointer(_ret),
66484
66555
  StringFactory,
66485
66556
  "String",
66486
- StringFactory,
66487
- "String",
66557
+ csp_common_ReplicatedValueFactory,
66558
+ "csp_common_ReplicatedValue",
66488
66559
  );
66489
66560
  Module._free(_ret);
66490
66561
 
@@ -66603,44 +66674,44 @@ export namespace Common {
66603
66674
  return _inst;
66604
66675
  }
66605
66676
 
66606
- static ofStringAndcsp_common_ReplicatedValue_Map(
66607
- other: Common.Map<string, Common.ReplicatedValue>,
66608
- ): Map<string, Common.ReplicatedValue> {
66677
+ static ofStringAndString_Map(
66678
+ other: Common.Map<string, string>,
66679
+ ): Map<string, string> {
66609
66680
  var _ret = Module._malloc(8);
66610
66681
  Module.ccall(
66611
- "csp_common_Map_Ctor_MapRC_String_csp_common_ReplicatedValue",
66682
+ "csp_common_Map_Ctor_MapRC_String_String",
66612
66683
  "void",
66613
66684
  ["number", "number"],
66614
66685
  [_ret, other.pointer],
66615
66686
  );
66616
- var _inst = new Map<string, Common.ReplicatedValue>(
66687
+ var _inst = new Map<string, string>(
66617
66688
  getNativePointer(_ret),
66618
66689
  StringFactory,
66619
66690
  "String",
66620
- csp_common_ReplicatedValueFactory,
66621
- "csp_common_ReplicatedValue",
66691
+ StringFactory,
66692
+ "String",
66622
66693
  );
66623
66694
  Module._free(_ret);
66624
66695
 
66625
66696
  return _inst;
66626
66697
  }
66627
66698
 
66628
- static ofStringAndString_Map(
66629
- other: Common.Map<string, string>,
66630
- ): Map<string, string> {
66699
+ static ofStringAndcsp_common_ReplicatedValue_Map(
66700
+ other: Common.Map<string, Common.ReplicatedValue>,
66701
+ ): Map<string, Common.ReplicatedValue> {
66631
66702
  var _ret = Module._malloc(8);
66632
66703
  Module.ccall(
66633
- "csp_common_Map_Ctor_MapRC_String_String",
66704
+ "csp_common_Map_Ctor_MapRC_String_csp_common_ReplicatedValue",
66634
66705
  "void",
66635
66706
  ["number", "number"],
66636
66707
  [_ret, other.pointer],
66637
66708
  );
66638
- var _inst = new Map<string, string>(
66709
+ var _inst = new Map<string, Common.ReplicatedValue>(
66639
66710
  getNativePointer(_ret),
66640
66711
  StringFactory,
66641
66712
  "String",
66642
- StringFactory,
66643
- "String",
66713
+ csp_common_ReplicatedValueFactory,
66714
+ "csp_common_ReplicatedValue",
66644
66715
  );
66645
66716
  Module._free(_ret);
66646
66717
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "connected-spaces-platform.web",
3
3
  "displayName": "connected-spaces-platform.web",
4
- "version": "6.26.0",
4
+ "version": "6.28.0",
5
5
  "description": "This package provides the binaries required to interface with the Connected Spaces Platform API.",
6
6
  "license": "Apache-2.0",
7
7
  "dependencies": {