connected-spaces-platform.web 5.9.4 → 5.11.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.
@@ -856,14 +856,6 @@ function csp_systems_LogLevelFactory(
856
856
  }
857
857
  ProxyClassFactories["csp_systems_LogLevel"] = csp_systems_LogLevelFactory;
858
858
 
859
- function csp_systems_EOrganizationRoleFactory(
860
- nativePointer: NativePointer,
861
- ): Systems.EOrganizationRole {
862
- return nativePointer.pointer as Systems.EOrganizationRole;
863
- }
864
- ProxyClassFactories["csp_systems_EOrganizationRole"] =
865
- csp_systems_EOrganizationRoleFactory;
866
-
867
859
  function csp_systems_PeriodEnumFactory(
868
860
  nativePointer: NativePointer,
869
861
  ): Systems.PeriodEnum {
@@ -1368,38 +1360,6 @@ function csp_systems_MaintenanceInfoFactory(
1368
1360
  ProxyClassFactories["csp_systems_MaintenanceInfo"] =
1369
1361
  csp_systems_MaintenanceInfoFactory;
1370
1362
 
1371
- function csp_systems_InviteOrganizationRoleInfoFactory(
1372
- nativePointer: NativePointer,
1373
- ): NativeClassWrapper {
1374
- return new Systems.InviteOrganizationRoleInfo(nativePointer);
1375
- }
1376
- ProxyClassFactories["csp_systems_InviteOrganizationRoleInfo"] =
1377
- csp_systems_InviteOrganizationRoleInfoFactory;
1378
-
1379
- function csp_systems_InviteOrganizationRoleCollectionFactory(
1380
- nativePointer: NativePointer,
1381
- ): NativeClassWrapper {
1382
- return new Systems.InviteOrganizationRoleCollection(nativePointer);
1383
- }
1384
- ProxyClassFactories["csp_systems_InviteOrganizationRoleCollection"] =
1385
- csp_systems_InviteOrganizationRoleCollectionFactory;
1386
-
1387
- function csp_systems_OrganizationRoleInfoFactory(
1388
- nativePointer: NativePointer,
1389
- ): NativeClassWrapper {
1390
- return new Systems.OrganizationRoleInfo(nativePointer);
1391
- }
1392
- ProxyClassFactories["csp_systems_OrganizationRoleInfo"] =
1393
- csp_systems_OrganizationRoleInfoFactory;
1394
-
1395
- function csp_systems_OrganizationFactory(
1396
- nativePointer: NativePointer,
1397
- ): NativeClassWrapper {
1398
- return new Systems.Organization(nativePointer);
1399
- }
1400
- ProxyClassFactories["csp_systems_Organization"] =
1401
- csp_systems_OrganizationFactory;
1402
-
1403
1363
  function csp_systems_FeatureLimitInfoFactory(
1404
1364
  nativePointer: NativePointer,
1405
1365
  ): NativeClassWrapper {
@@ -2116,30 +2076,6 @@ function csp_systems_MaintenanceSystemFactory(
2116
2076
  ProxyClassFactories["csp_systems_MaintenanceSystem"] =
2117
2077
  csp_systems_MaintenanceSystemFactory;
2118
2078
 
2119
- function csp_systems_OrganizationResultFactory(
2120
- nativePointer: NativePointer,
2121
- ): NativeClassWrapper {
2122
- return new Systems.OrganizationResult(nativePointer);
2123
- }
2124
- ProxyClassFactories["csp_systems_OrganizationResult"] =
2125
- csp_systems_OrganizationResultFactory;
2126
-
2127
- function csp_systems_OrganizationRolesResultFactory(
2128
- nativePointer: NativePointer,
2129
- ): NativeClassWrapper {
2130
- return new Systems.OrganizationRolesResult(nativePointer);
2131
- }
2132
- ProxyClassFactories["csp_systems_OrganizationRolesResult"] =
2133
- csp_systems_OrganizationRolesResultFactory;
2134
-
2135
- function csp_systems_OrganizationSystemFactory(
2136
- nativePointer: NativePointer,
2137
- ): NativeClassWrapper {
2138
- return new Systems.OrganizationSystem(nativePointer);
2139
- }
2140
- ProxyClassFactories["csp_systems_OrganizationSystem"] =
2141
- csp_systems_OrganizationSystemFactory;
2142
-
2143
2079
  function csp_systems_FeaturesLimitResultFactory(
2144
2080
  nativePointer: NativePointer,
2145
2081
  ): NativeClassWrapper {
@@ -2707,42 +2643,6 @@ function csp_common_Array_csp_systems_MaintenanceInfoFactory(
2707
2643
  ProxyClassFactories["csp_common_Array_csp_systems_MaintenanceInfo"] =
2708
2644
  csp_common_Array_csp_systems_MaintenanceInfoFactory;
2709
2645
 
2710
- function csp_common_Array_csp_systems_EOrganizationRoleFactory(
2711
- nativePointer: NativePointer,
2712
- ): NativeClassWrapper {
2713
- return new Common.Array<Systems.EOrganizationRole>(
2714
- nativePointer,
2715
- csp_systems_EOrganizationRoleFactory,
2716
- "csp_systems_EOrganizationRole",
2717
- );
2718
- }
2719
- ProxyClassFactories["csp_common_Array_csp_systems_EOrganizationRole"] =
2720
- csp_common_Array_csp_systems_EOrganizationRoleFactory;
2721
-
2722
- function csp_common_Array_csp_systems_InviteOrganizationRoleInfoFactory(
2723
- nativePointer: NativePointer,
2724
- ): NativeClassWrapper {
2725
- return new Common.Array<Systems.InviteOrganizationRoleInfo>(
2726
- nativePointer,
2727
- csp_systems_InviteOrganizationRoleInfoFactory,
2728
- "csp_systems_InviteOrganizationRoleInfo",
2729
- );
2730
- }
2731
- ProxyClassFactories["csp_common_Array_csp_systems_InviteOrganizationRoleInfo"] =
2732
- csp_common_Array_csp_systems_InviteOrganizationRoleInfoFactory;
2733
-
2734
- function csp_common_Array_csp_systems_OrganizationRoleInfoFactory(
2735
- nativePointer: NativePointer,
2736
- ): NativeClassWrapper {
2737
- return new Common.Array<Systems.OrganizationRoleInfo>(
2738
- nativePointer,
2739
- csp_systems_OrganizationRoleInfoFactory,
2740
- "csp_systems_OrganizationRoleInfo",
2741
- );
2742
- }
2743
- ProxyClassFactories["csp_common_Array_csp_systems_OrganizationRoleInfo"] =
2744
- csp_common_Array_csp_systems_OrganizationRoleInfoFactory;
2745
-
2746
2646
  function csp_common_Array_csp_systems_FeatureLimitInfoFactory(
2747
2647
  nativePointer: NativePointer,
2748
2648
  ): NativeClassWrapper {
@@ -4117,17 +4017,6 @@ export namespace Systems {
4117
4017
  }
4118
4018
  }
4119
4019
 
4120
- export namespace Systems {
4121
- /**
4122
- * @description Data representation of User Role in Organization.
4123
- */
4124
- export enum EOrganizationRole {
4125
- Member,
4126
- Administrator,
4127
- Owner,
4128
- }
4129
- }
4130
-
4131
4020
  export namespace Systems {
4132
4021
  /**
4133
4022
  @ingroup Quota System
@@ -26291,26 +26180,6 @@ export namespace Systems {
26291
26180
  return _nPtr;
26292
26181
  }
26293
26182
 
26294
- /**
26295
- * @description Retrieves the Organization system.
26296
- * @return Pointer to the organization system class
26297
- */
26298
-
26299
- getOrganizationSystem(): Systems.OrganizationSystem {
26300
- var _ret = Module._malloc(8);
26301
-
26302
- Module.ccall(
26303
- "csp_systems_SystemsManager_GetOrganizationSystem_OrganizationSystemP",
26304
- "void",
26305
- ["number", "number"],
26306
- [_ret, this.pointer],
26307
- );
26308
- var _nPtr = new Systems.OrganizationSystem(getNativePointer(_ret));
26309
- Module._free(_ret);
26310
-
26311
- return _nPtr;
26312
- }
26313
-
26314
26183
  /**
26315
26184
  * @description Retrieves the Sequence system.
26316
26185
  * @return Pointer to the sequence system class
@@ -27732,26 +27601,6 @@ export namespace Systems {
27732
27601
  [this.pointer, value],
27733
27602
  );
27734
27603
  }
27735
-
27736
- get organizationId(): string {
27737
- let _result = Module.ccall(
27738
- "csp_systems_AssetCollection__Get_OrganizationId",
27739
- "string",
27740
- ["number"],
27741
- [this.pointer],
27742
- );
27743
-
27744
- return _result;
27745
- }
27746
-
27747
- set organizationId(value: string) {
27748
- Module.ccall(
27749
- "csp_systems_AssetCollection__Set_OrganizationId",
27750
- "void",
27751
- ["number", "string"],
27752
- [this.pointer, value],
27753
- );
27754
- }
27755
27604
  }
27756
27605
  }
27757
27606
 
@@ -30419,488 +30268,6 @@ export namespace Systems {
30419
30268
  }
30420
30269
  }
30421
30270
 
30422
- export namespace Systems {
30423
- /**
30424
- @ingroup Organization System
30425
- * @description Data representation of a User's Organization invite.
30426
- */
30427
- export class InviteOrganizationRoleInfo
30428
- extends NativeClassWrapper
30429
- implements INativeResource
30430
- {
30431
- /** @internal */
30432
- constructor(pointer: NativePointer) {
30433
- super(pointer);
30434
- }
30435
-
30436
- static create(): InviteOrganizationRoleInfo {
30437
- var _ptr = Module._malloc(8);
30438
- Module.ccall(
30439
- "csp_systems_InviteOrganizationRoleInfo_Ctor",
30440
- "void",
30441
- ["number"],
30442
- [_ptr],
30443
- );
30444
- var _nPtr = getNativePointer(_ptr);
30445
-
30446
- return new InviteOrganizationRoleInfo(_nPtr);
30447
- }
30448
-
30449
- delete(): void {
30450
- if (this.ownsPointer && !this.disposed) {
30451
- Module.ccall(
30452
- "csp_systems_InviteOrganizationRoleInfo_Dtor",
30453
- "void",
30454
- ["number"],
30455
- [this.pointer],
30456
- );
30457
-
30458
- this.disposed = true;
30459
- }
30460
- }
30461
-
30462
- get userEmail(): string {
30463
- let _result = Module.ccall(
30464
- "csp_systems_InviteOrganizationRoleInfo__Get_UserEmail",
30465
- "string",
30466
- ["number"],
30467
- [this.pointer],
30468
- );
30469
-
30470
- return _result;
30471
- }
30472
-
30473
- set userEmail(value: string) {
30474
- Module.ccall(
30475
- "csp_systems_InviteOrganizationRoleInfo__Set_UserEmail",
30476
- "void",
30477
- ["number", "string"],
30478
- [this.pointer, value],
30479
- );
30480
- }
30481
-
30482
- get organizationRoles(): Common.Array<Systems.EOrganizationRole> {
30483
- const _ptr = Module._malloc(8);
30484
- Module.ccall(
30485
- "csp_systems_InviteOrganizationRoleInfo__Get_OrganizationRoles",
30486
- "void",
30487
- ["number", "number"],
30488
- [_ptr, this.pointer],
30489
- );
30490
-
30491
- const _nPtr = getNativePointer(_ptr);
30492
- return new Common.Array<Systems.EOrganizationRole>(
30493
- _nPtr,
30494
- csp_systems_EOrganizationRoleFactory,
30495
- "csp_systems_EOrganizationRole",
30496
- );
30497
- }
30498
-
30499
- set organizationRoles(value: Common.Array<Systems.EOrganizationRole>) {
30500
- Module.ccall(
30501
- "csp_systems_InviteOrganizationRoleInfo__Set_OrganizationRoles",
30502
- "void",
30503
- ["number", "number"],
30504
- [this.pointer, value.pointer],
30505
- );
30506
- }
30507
- }
30508
- }
30509
-
30510
- export namespace Systems {
30511
- /**
30512
- @ingroup Organization System
30513
- * @description Data representation of a collection of User Organization invites.
30514
- */
30515
- export class InviteOrganizationRoleCollection
30516
- extends NativeClassWrapper
30517
- implements INativeResource
30518
- {
30519
- /** @internal */
30520
- constructor(pointer: NativePointer) {
30521
- super(pointer);
30522
- }
30523
-
30524
- static create(): InviteOrganizationRoleCollection {
30525
- var _ptr = Module._malloc(8);
30526
- Module.ccall(
30527
- "csp_systems_InviteOrganizationRoleCollection_Ctor",
30528
- "void",
30529
- ["number"],
30530
- [_ptr],
30531
- );
30532
- var _nPtr = getNativePointer(_ptr);
30533
-
30534
- return new InviteOrganizationRoleCollection(_nPtr);
30535
- }
30536
-
30537
- delete(): void {
30538
- if (this.ownsPointer && !this.disposed) {
30539
- Module.ccall(
30540
- "csp_systems_InviteOrganizationRoleCollection_Dtor",
30541
- "void",
30542
- ["number"],
30543
- [this.pointer],
30544
- );
30545
-
30546
- this.disposed = true;
30547
- }
30548
- }
30549
-
30550
- get emailLinkUrl(): string {
30551
- let _result = Module.ccall(
30552
- "csp_systems_InviteOrganizationRoleCollection__Get_EmailLinkUrl",
30553
- "string",
30554
- ["number"],
30555
- [this.pointer],
30556
- );
30557
-
30558
- return _result;
30559
- }
30560
-
30561
- set emailLinkUrl(value: string) {
30562
- Module.ccall(
30563
- "csp_systems_InviteOrganizationRoleCollection__Set_EmailLinkUrl",
30564
- "void",
30565
- ["number", "string"],
30566
- [this.pointer, value],
30567
- );
30568
- }
30569
-
30570
- get signupUrl(): string {
30571
- let _result = Module.ccall(
30572
- "csp_systems_InviteOrganizationRoleCollection__Get_SignupUrl",
30573
- "string",
30574
- ["number"],
30575
- [this.pointer],
30576
- );
30577
-
30578
- return _result;
30579
- }
30580
-
30581
- set signupUrl(value: string) {
30582
- Module.ccall(
30583
- "csp_systems_InviteOrganizationRoleCollection__Set_SignupUrl",
30584
- "void",
30585
- ["number", "string"],
30586
- [this.pointer, value],
30587
- );
30588
- }
30589
-
30590
- get invitedUserRoles(): Common.Array<Systems.InviteOrganizationRoleInfo> {
30591
- const _ptr = Module._malloc(8);
30592
- Module.ccall(
30593
- "csp_systems_InviteOrganizationRoleCollection__Get_InvitedUserRoles",
30594
- "void",
30595
- ["number", "number"],
30596
- [_ptr, this.pointer],
30597
- );
30598
-
30599
- const _nPtr = getNativePointer(_ptr);
30600
- return new Common.Array<Systems.InviteOrganizationRoleInfo>(
30601
- _nPtr,
30602
- csp_systems_InviteOrganizationRoleInfoFactory,
30603
- "csp_systems_InviteOrganizationRoleInfo",
30604
- );
30605
- }
30606
-
30607
- set invitedUserRoles(
30608
- value: Common.Array<Systems.InviteOrganizationRoleInfo>,
30609
- ) {
30610
- Module.ccall(
30611
- "csp_systems_InviteOrganizationRoleCollection__Set_InvitedUserRoles",
30612
- "void",
30613
- ["number", "number"],
30614
- [this.pointer, value.pointer],
30615
- );
30616
- }
30617
- }
30618
- }
30619
-
30620
- export namespace Systems {
30621
- /**
30622
- @ingroup Organization System
30623
- * @description Data representation of a User's role within an Organization.
30624
- */
30625
- export class OrganizationRoleInfo
30626
- extends NativeClassWrapper
30627
- implements INativeResource
30628
- {
30629
- /** @internal */
30630
- constructor(pointer: NativePointer) {
30631
- super(pointer);
30632
- }
30633
-
30634
- static create(): OrganizationRoleInfo {
30635
- var _ptr = Module._malloc(8);
30636
- Module.ccall(
30637
- "csp_systems_OrganizationRoleInfo_Ctor",
30638
- "void",
30639
- ["number"],
30640
- [_ptr],
30641
- );
30642
- var _nPtr = getNativePointer(_ptr);
30643
-
30644
- return new OrganizationRoleInfo(_nPtr);
30645
- }
30646
-
30647
- delete(): void {
30648
- if (this.ownsPointer && !this.disposed) {
30649
- Module.ccall(
30650
- "csp_systems_OrganizationRoleInfo_Dtor",
30651
- "void",
30652
- ["number"],
30653
- [this.pointer],
30654
- );
30655
-
30656
- this.disposed = true;
30657
- }
30658
- }
30659
-
30660
- get userId(): string {
30661
- let _result = Module.ccall(
30662
- "csp_systems_OrganizationRoleInfo__Get_UserId",
30663
- "string",
30664
- ["number"],
30665
- [this.pointer],
30666
- );
30667
-
30668
- return _result;
30669
- }
30670
-
30671
- set userId(value: string) {
30672
- Module.ccall(
30673
- "csp_systems_OrganizationRoleInfo__Set_UserId",
30674
- "void",
30675
- ["number", "string"],
30676
- [this.pointer, value],
30677
- );
30678
- }
30679
-
30680
- get organizationRoles(): Common.Array<Systems.EOrganizationRole> {
30681
- const _ptr = Module._malloc(8);
30682
- Module.ccall(
30683
- "csp_systems_OrganizationRoleInfo__Get_OrganizationRoles",
30684
- "void",
30685
- ["number", "number"],
30686
- [_ptr, this.pointer],
30687
- );
30688
-
30689
- const _nPtr = getNativePointer(_ptr);
30690
- return new Common.Array<Systems.EOrganizationRole>(
30691
- _nPtr,
30692
- csp_systems_EOrganizationRoleFactory,
30693
- "csp_systems_EOrganizationRole",
30694
- );
30695
- }
30696
-
30697
- set organizationRoles(value: Common.Array<Systems.EOrganizationRole>) {
30698
- Module.ccall(
30699
- "csp_systems_OrganizationRoleInfo__Set_OrganizationRoles",
30700
- "void",
30701
- ["number", "number"],
30702
- [this.pointer, value.pointer],
30703
- );
30704
- }
30705
- }
30706
- }
30707
-
30708
- export namespace Systems {
30709
- /**
30710
- @ingroup Organization System
30711
- * @description Data representation of an Organization.
30712
- */
30713
- export class Organization
30714
- extends NativeClassWrapper
30715
- implements INativeResource
30716
- {
30717
- /** @internal */
30718
- constructor(pointer: NativePointer) {
30719
- super(pointer);
30720
- }
30721
-
30722
- static create(): Organization {
30723
- var _ptr = Module._malloc(8);
30724
- Module.ccall("csp_systems_Organization_Ctor", "void", ["number"], [_ptr]);
30725
- var _nPtr = getNativePointer(_ptr);
30726
-
30727
- return new Organization(_nPtr);
30728
- }
30729
-
30730
- static create_other(other: Systems.Organization): Organization {
30731
- var _ptr = Module._malloc(8);
30732
- Module.ccall(
30733
- "csp_systems_Organization_Ctor_OrganizationRC",
30734
- "void",
30735
- ["number", "number"],
30736
- [_ptr, other.pointer],
30737
- );
30738
- var _nPtr = getNativePointer(_ptr);
30739
-
30740
- return new Organization(_nPtr);
30741
- }
30742
-
30743
- delete(): void {
30744
- if (this.ownsPointer && !this.disposed) {
30745
- Module.ccall(
30746
- "csp_systems_Organization_Dtor",
30747
- "void",
30748
- ["number"],
30749
- [this.pointer],
30750
- );
30751
-
30752
- this.disposed = true;
30753
- }
30754
- }
30755
-
30756
- get id(): string {
30757
- let _result = Module.ccall(
30758
- "csp_systems_Organization__Get_Id",
30759
- "string",
30760
- ["number"],
30761
- [this.pointer],
30762
- );
30763
-
30764
- return _result;
30765
- }
30766
-
30767
- set id(value: string) {
30768
- Module.ccall(
30769
- "csp_systems_Organization__Set_Id",
30770
- "void",
30771
- ["number", "string"],
30772
- [this.pointer, value],
30773
- );
30774
- }
30775
-
30776
- get ownerId(): string {
30777
- let _result = Module.ccall(
30778
- "csp_systems_Organization__Get_OwnerId",
30779
- "string",
30780
- ["number"],
30781
- [this.pointer],
30782
- );
30783
-
30784
- return _result;
30785
- }
30786
-
30787
- set ownerId(value: string) {
30788
- Module.ccall(
30789
- "csp_systems_Organization__Set_OwnerId",
30790
- "void",
30791
- ["number", "string"],
30792
- [this.pointer, value],
30793
- );
30794
- }
30795
-
30796
- get createdAt(): string {
30797
- let _result = Module.ccall(
30798
- "csp_systems_Organization__Get_CreatedAt",
30799
- "string",
30800
- ["number"],
30801
- [this.pointer],
30802
- );
30803
-
30804
- return _result;
30805
- }
30806
-
30807
- set createdAt(value: string) {
30808
- Module.ccall(
30809
- "csp_systems_Organization__Set_CreatedAt",
30810
- "void",
30811
- ["number", "string"],
30812
- [this.pointer, value],
30813
- );
30814
- }
30815
-
30816
- get createdBy(): string {
30817
- let _result = Module.ccall(
30818
- "csp_systems_Organization__Get_CreatedBy",
30819
- "string",
30820
- ["number"],
30821
- [this.pointer],
30822
- );
30823
-
30824
- return _result;
30825
- }
30826
-
30827
- set createdBy(value: string) {
30828
- Module.ccall(
30829
- "csp_systems_Organization__Set_CreatedBy",
30830
- "void",
30831
- ["number", "string"],
30832
- [this.pointer, value],
30833
- );
30834
- }
30835
-
30836
- get name(): string {
30837
- let _result = Module.ccall(
30838
- "csp_systems_Organization__Get_Name",
30839
- "string",
30840
- ["number"],
30841
- [this.pointer],
30842
- );
30843
-
30844
- return _result;
30845
- }
30846
-
30847
- set name(value: string) {
30848
- Module.ccall(
30849
- "csp_systems_Organization__Set_Name",
30850
- "void",
30851
- ["number", "string"],
30852
- [this.pointer, value],
30853
- );
30854
- }
30855
-
30856
- get members(): Common.Array<Systems.OrganizationRoleInfo> {
30857
- const _ptr = Module._malloc(8);
30858
- Module.ccall(
30859
- "csp_systems_Organization__Get_Members",
30860
- "void",
30861
- ["number", "number"],
30862
- [_ptr, this.pointer],
30863
- );
30864
-
30865
- const _nPtr = getNativePointer(_ptr);
30866
- return new Common.Array<Systems.OrganizationRoleInfo>(
30867
- _nPtr,
30868
- csp_systems_OrganizationRoleInfoFactory,
30869
- "csp_systems_OrganizationRoleInfo",
30870
- );
30871
- }
30872
-
30873
- set members(value: Common.Array<Systems.OrganizationRoleInfo>) {
30874
- Module.ccall(
30875
- "csp_systems_Organization__Set_Members",
30876
- "void",
30877
- ["number", "number"],
30878
- [this.pointer, value.pointer],
30879
- );
30880
- }
30881
-
30882
- get spaceCount(): number {
30883
- let _result = Module.ccall(
30884
- "csp_systems_Organization__Get_SpaceCount",
30885
- "number",
30886
- ["number"],
30887
- [this.pointer],
30888
- );
30889
-
30890
- return _result;
30891
- }
30892
-
30893
- set spaceCount(value: number) {
30894
- Module.ccall(
30895
- "csp_systems_Organization__Set_SpaceCount",
30896
- "void",
30897
- ["number", "number"],
30898
- [this.pointer, value],
30899
- );
30900
- }
30901
- }
30902
- }
30903
-
30904
30271
  export namespace Systems {
30905
30272
  /**
30906
30273
  @ingroup Quota System
@@ -31810,6 +31177,28 @@ export namespace Systems {
31810
31177
  [this.pointer, value],
31811
31178
  );
31812
31179
  }
31180
+
31181
+ get tags(): Common.Array<string> {
31182
+ const _ptr = Module._malloc(8);
31183
+ Module.ccall(
31184
+ "csp_systems_BasicSpace__Get_Tags",
31185
+ "void",
31186
+ ["number", "number"],
31187
+ [_ptr, this.pointer],
31188
+ );
31189
+
31190
+ const _nPtr = getNativePointer(_ptr);
31191
+ return new Common.Array<string>(_nPtr, StringFactory, "String");
31192
+ }
31193
+
31194
+ set tags(value: Common.Array<string>) {
31195
+ Module.ccall(
31196
+ "csp_systems_BasicSpace__Set_Tags",
31197
+ "void",
31198
+ ["number", "number"],
31199
+ [this.pointer, value.pointer],
31200
+ );
31201
+ }
31813
31202
  }
31814
31203
  }
31815
31204
 
@@ -33558,28 +32947,6 @@ export namespace Systems {
33558
32947
  [this.pointer, value],
33559
32948
  );
33560
32949
  }
33561
-
33562
- get organizationIds(): Common.Array<string> {
33563
- const _ptr = Module._malloc(8);
33564
- Module.ccall(
33565
- "csp_systems_LoginState__Get_OrganizationIds",
33566
- "void",
33567
- ["number", "number"],
33568
- [_ptr, this.pointer],
33569
- );
33570
-
33571
- const _nPtr = getNativePointer(_ptr);
33572
- return new Common.Array<string>(_nPtr, StringFactory, "String");
33573
- }
33574
-
33575
- set organizationIds(value: Common.Array<string>) {
33576
- Module.ccall(
33577
- "csp_systems_LoginState__Set_OrganizationIds",
33578
- "void",
33579
- ["number", "number"],
33580
- [this.pointer, value.pointer],
33581
- );
33582
- }
33583
32950
  }
33584
32951
  }
33585
32952
 
@@ -34019,26 +33386,6 @@ export namespace Systems {
34019
33386
  [this.pointer, value],
34020
33387
  );
34021
33388
  }
34022
-
34023
- get lastPlatform(): string {
34024
- let _result = Module.ccall(
34025
- "csp_systems_BasicProfile__Get_LastPlatform",
34026
- "string",
34027
- ["number"],
34028
- [this.pointer],
34029
- );
34030
-
34031
- return _result;
34032
- }
34033
-
34034
- set lastPlatform(value: string) {
34035
- Module.ccall(
34036
- "csp_systems_BasicProfile__Set_LastPlatform",
34037
- "void",
34038
- ["number", "string"],
34039
- [this.pointer, value],
34040
- );
34041
- }
34042
33389
  }
34043
33390
  }
34044
33391
 
@@ -49942,822 +49289,232 @@ export namespace Systems {
49942
49289
  _callbackPtr = Module.addFunction(_callback, "vii");
49943
49290
 
49944
49291
  Module.ccall(
49945
- "csp_systems_HotspotSequenceSystem_RemoveItemFromGroups_void_StringRC_NullResultCallback",
49946
- "void",
49947
- ["number", "string", "number", "number"],
49948
- [this.pointer, itemName, _callbackPtr, 0],
49949
- );
49950
-
49951
- return _promise;
49952
- }
49953
-
49954
- /**
49955
- * @description Sets a callback to be fired when a hotspot sequence is changed.
49956
- * @param callback - Callback to receive data for the hotspot sequence that has been changed.
49957
- */
49958
- setHotspotSequenceChangedCallback(
49959
- callback: (arg1: Multiplayer.SequenceHotspotChangedParams) => void,
49960
- ) {
49961
- var _callback = (_stateObject__: number, arg1) => {
49962
- var _arg1 = new Multiplayer.SequenceHotspotChangedParams(
49963
- getNativePointer(arg1),
49964
- );
49965
-
49966
- callback(_arg1);
49967
- };
49968
-
49969
- var _callbackPtr = Module.addFunction(_callback, "vii");
49970
-
49971
- Module.ccall(
49972
- "csp_systems_HotspotSequenceSystem_SetHotspotSequenceChangedCallback_void_HotspotSequenceChangedCallbackHandler",
49973
- "void",
49974
- ["number", "number", "number"],
49975
- [this.pointer, _callbackPtr, 0],
49976
- );
49977
- }
49978
-
49979
- /**
49980
- * @description Registers the system to listen for the named event.
49981
- */
49982
-
49983
- registerSystemCallback(): void {
49984
- Module.ccall(
49985
- "csp_systems_HotspotSequenceSystem_RegisterSystemCallback_void",
49986
- "void",
49987
- ["number"],
49988
- [this.pointer],
49989
- );
49990
- }
49991
-
49992
- /**
49993
- * @description Deregisters the system from listening for the named event.
49994
- */
49995
-
49996
- deregisterSystemCallback(): void {
49997
- Module.ccall(
49998
- "csp_systems_HotspotSequenceSystem_DeregisterSystemCallback_void",
49999
- "void",
50000
- ["number"],
50001
- [this.pointer],
50002
- );
50003
- }
50004
- }
50005
- }
50006
-
50007
- export namespace Systems {
50008
- /**
50009
- @ingroup CSPFoundation
50010
- * @description Data class used to contain information when a Response is received from Maintenance Window Server
50011
- */
50012
- export class MaintenanceInfoResult
50013
- extends Systems.ResultBase
50014
- implements INativeResource
50015
- {
50016
- /** @internal */
50017
- constructor(pointer: NativePointer) {
50018
- super(pointer);
50019
- }
50020
-
50021
- static fromResultBase(
50022
- baseInstance: Systems.ResultBase,
50023
- ): Systems.MaintenanceInfoResult {
50024
- const nativeClassWrapper = baseInstance as unknown as NativeClassWrapper;
50025
- return new Systems.MaintenanceInfoResult(
50026
- new NativePointer(
50027
- nativeClassWrapper.pointer,
50028
- nativeClassWrapper.ownsPointer,
50029
- ),
50030
- );
50031
- }
50032
-
50033
- /**
50034
- * @description Retrieves response data from the Maintenance Window Server
50035
- * @return Return all maintenance information available in date order
50036
- */
50037
-
50038
- getMaintenanceInfoResponses(): Common.Array<Systems.MaintenanceInfo> {
50039
- var _ret = Module._malloc(8);
50040
-
50041
- Module.ccall(
50042
- "csp_systems_MaintenanceInfoResult_GetMaintenanceInfoResponses_ArrayR",
50043
- "void",
50044
- ["number", "number"],
50045
- [_ret, this.pointer],
50046
- );
50047
- var _nPtr = new Common.Array<Systems.MaintenanceInfo>(
50048
- getNativePointer(_ret),
50049
- csp_systems_MaintenanceInfoFactory,
50050
- "csp_systems_MaintenanceInfo",
50051
- );
50052
- Module._free(_ret);
50053
-
50054
- return _nPtr;
50055
- }
50056
-
50057
- /**
50058
- * @description Can be used to determine if any maintenance windows were defined by the services.
50059
- * @return Will return true when `getmaintenanceinforesponses` returns a zero-sized array.
50060
- */
50061
-
50062
- hasAnyMaintenanceWindows(): boolean {
50063
- let _result = Module.ccall(
50064
- "csp_systems_MaintenanceInfoResult_HasAnyMaintenanceWindowsC_bool",
50065
- "boolean",
50066
- ["number"],
50067
- [this.pointer],
50068
- );
50069
-
50070
- return _result;
50071
- }
50072
-
50073
- /**
50074
- * @description Will return info for the future maintenance window closest to the current time, or default window info if none exist.
50075
- * @return The closest maintenance window information
50076
- */
50077
-
50078
- getLatestMaintenanceInfo(): Systems.MaintenanceInfo {
50079
- var _ret = Module._malloc(8);
50080
-
50081
- Module.ccall(
50082
- "csp_systems_MaintenanceInfoResult_GetLatestMaintenanceInfoC_MaintenanceInfoRC",
50083
- "void",
50084
- ["number", "number"],
50085
- [_ret, this.pointer],
50086
- );
50087
- var _nPtr = new Systems.MaintenanceInfo(getNativePointer(_ret));
50088
- Module._free(_ret);
50089
-
50090
- return _nPtr;
50091
- }
50092
-
50093
- /**
50094
- * @description Represents a default maintenance window object, which is used when the platform finds no future maintenance windows.
50095
- * @return What the platform considers to be a default maintenance window
50096
- */
50097
-
50098
- getDefaultMaintenanceInfo(): Systems.MaintenanceInfo {
50099
- var _ret = Module._malloc(8);
50100
-
50101
- Module.ccall(
50102
- "csp_systems_MaintenanceInfoResult_GetDefaultMaintenanceInfoC_MaintenanceInfoRC",
50103
- "void",
50104
- ["number", "number"],
50105
- [_ret, this.pointer],
50106
- );
50107
- var _nPtr = new Systems.MaintenanceInfo(getNativePointer(_ret));
50108
- Module._free(_ret);
50109
-
50110
- return _nPtr;
50111
- }
50112
-
50113
- delete(): void {
50114
- if (this.ownsPointer && !this.disposed) {
50115
- Module.ccall(
50116
- "csp_systems_MaintenanceInfoResult_Dtor",
50117
- "void",
50118
- ["number"],
50119
- [this.pointer],
50120
- );
50121
-
50122
- this.disposed = true;
50123
- }
50124
- }
50125
- }
50126
- }
50127
-
50128
- export namespace Systems {
50129
- /**
50130
- @ingroup Maintenance System
50131
- * @description Public facing system that allows interfacing with the Maintenance Window Server.
50132
- * This system can be used to query if there is currently a planned outage
50133
- * and can also be used to check for up coming maintenances outages
50134
- */
50135
- export class MaintenanceSystem extends Systems.SystemBase {
50136
- /** @internal */
50137
- constructor(pointer: NativePointer) {
50138
- super(pointer);
50139
- }
50140
-
50141
- static fromSystemBase(
50142
- baseInstance: Systems.SystemBase,
50143
- ): Systems.MaintenanceSystem {
50144
- const nativeClassWrapper = baseInstance as unknown as NativeClassWrapper;
50145
- return new Systems.MaintenanceSystem(
50146
- new NativePointer(
50147
- nativeClassWrapper.pointer,
50148
- nativeClassWrapper.ownsPointer,
50149
- ),
50150
- );
50151
- }
50152
-
50153
- /**
50154
- * @description Receives information on planned maintenances outages schedules for the future
50155
- * @param callback - Callback when asynchronous task finishes
50156
- */
50157
-
50158
- async getMaintenanceInfo(
50159
- maintenanceURL: string,
50160
- ): Promise<Systems.MaintenanceInfoResult> {
50161
- var _resolve;
50162
-
50163
- var _promise = new Promise<Systems.MaintenanceInfoResult>((_r) => {
50164
- _resolve = _r;
50165
- });
50166
-
50167
- var _callbackPtr: number;
50168
- var _callback = (_stateObject__: number, result) => {
50169
- var _resultPtr = getNativePointer(result);
50170
- var _resultInstance = new Systems.MaintenanceInfoResult(_resultPtr);
50171
-
50172
- if (_resultInstance.getResultCode() == Systems.EResultCode.InProgress) {
50173
- return;
50174
- }
50175
-
50176
- _resolve(_resultInstance);
50177
-
50178
- Module.removeFunction(_callbackPtr);
50179
- };
50180
-
50181
- _callbackPtr = Module.addFunction(_callback, "vii");
50182
-
50183
- Module.ccall(
50184
- "csp_systems_MaintenanceSystem_GetMaintenanceInfo_void_StringRC_MaintenanceInfoCallback",
50185
- "void",
50186
- ["number", "string", "number", "number"],
50187
- [this.pointer, maintenanceURL, _callbackPtr, 0],
50188
- );
50189
-
50190
- return _promise;
50191
- }
50192
- }
50193
- }
50194
-
50195
- export namespace Systems {
50196
- /**
50197
- @ingroup Organization System
50198
- * @description Data class used to contain Organization object.
50199
- */
50200
- export class OrganizationResult
50201
- extends Systems.ResultBase
50202
- implements INativeResource
50203
- {
50204
- /** @internal */
50205
- constructor(pointer: NativePointer) {
50206
- super(pointer);
50207
- }
50208
-
50209
- static fromResultBase(
50210
- baseInstance: Systems.ResultBase,
50211
- ): Systems.OrganizationResult {
50212
- const nativeClassWrapper = baseInstance as unknown as NativeClassWrapper;
50213
- return new Systems.OrganizationResult(
50214
- new NativePointer(
50215
- nativeClassWrapper.pointer,
50216
- nativeClassWrapper.ownsPointer,
50217
- ),
50218
- );
50219
- }
50220
-
50221
- /**
50222
- * @description Retrieves the Organization result.
50223
- * @return Organization object.
50224
- */
50225
-
50226
- getOrganization(): Systems.Organization {
50227
- var _ret = Module._malloc(8);
50228
-
50229
- Module.ccall(
50230
- "csp_systems_OrganizationResult_GetOrganizationC_OrganizationRC",
50231
- "void",
50232
- ["number", "number"],
50233
- [_ret, this.pointer],
50234
- );
50235
- var _nPtr = new Systems.Organization(getNativePointer(_ret));
50236
- Module._free(_ret);
50237
-
50238
- return _nPtr;
50239
- }
50240
-
50241
- delete(): void {
50242
- if (this.ownsPointer && !this.disposed) {
50243
- Module.ccall(
50244
- "csp_systems_OrganizationResult_Dtor",
50245
- "void",
50246
- ["number"],
50247
- [this.pointer],
50248
- );
50249
-
50250
- this.disposed = true;
50251
- }
50252
- }
50253
- }
50254
- }
50255
-
50256
- export namespace Systems {
50257
- /**
50258
- @ingroup Organization System
50259
- * @description Data class used to contain a Users Organization Role Info object.
50260
- */
50261
- export class OrganizationRolesResult
50262
- extends Systems.ResultBase
50263
- implements INativeResource
50264
- {
50265
- /** @internal */
50266
- constructor(pointer: NativePointer) {
50267
- super(pointer);
50268
- }
50269
-
50270
- static fromResultBase(
50271
- baseInstance: Systems.ResultBase,
50272
- ): Systems.OrganizationRolesResult {
50273
- const nativeClassWrapper = baseInstance as unknown as NativeClassWrapper;
50274
- return new Systems.OrganizationRolesResult(
50275
- new NativePointer(
50276
- nativeClassWrapper.pointer,
50277
- nativeClassWrapper.ownsPointer,
50278
- ),
50279
- );
50280
- }
50281
-
50282
- /**
50283
- * @description Retrieves the Organization Role Info result.
50284
- * @return Array of Organization Role Info objects.
50285
- */
50286
-
50287
- getOrganizationRoleInfo(): Common.Array<Systems.OrganizationRoleInfo> {
50288
- var _ret = Module._malloc(8);
50289
-
50290
- Module.ccall(
50291
- "csp_systems_OrganizationRolesResult_GetOrganizationRoleInfoC_ArrayRC",
50292
- "void",
50293
- ["number", "number"],
50294
- [_ret, this.pointer],
50295
- );
50296
- var _nPtr = new Common.Array<Systems.OrganizationRoleInfo>(
50297
- getNativePointer(_ret),
50298
- csp_systems_OrganizationRoleInfoFactory,
50299
- "csp_systems_OrganizationRoleInfo",
50300
- );
50301
- Module._free(_ret);
50302
-
50303
- return _nPtr;
50304
- }
50305
-
50306
- delete(): void {
50307
- if (this.ownsPointer && !this.disposed) {
50308
- Module.ccall(
50309
- "csp_systems_OrganizationRolesResult_Dtor",
50310
- "void",
50311
- ["number"],
50312
- [this.pointer],
50313
- );
50314
-
50315
- this.disposed = true;
50316
- }
50317
- }
50318
- }
50319
- }
50320
-
50321
- export namespace Systems {
50322
- /**
50323
- @ingroup Quota System
50324
- * @description Public facing system that allows interfacing with the Organization System.
50325
- * .
50326
- */
50327
- export class OrganizationSystem extends Systems.SystemBase {
50328
- /** @internal */
50329
- constructor(pointer: NativePointer) {
50330
- super(pointer);
50331
- }
50332
-
50333
- static fromSystemBase(
50334
- baseInstance: Systems.SystemBase,
50335
- ): Systems.OrganizationSystem {
50336
- const nativeClassWrapper = baseInstance as unknown as NativeClassWrapper;
50337
- return new Systems.OrganizationSystem(
50338
- new NativePointer(
50339
- nativeClassWrapper.pointer,
50340
- nativeClassWrapper.ownsPointer,
50341
- ),
50342
- );
50343
- }
50344
-
50345
- /**
50346
- * @description Sets a callback to be executed when a member joins an Organization.
50347
- * Only one callback may be registered, calling this function again will override whatever was previously set.
50348
- * @param callback - The callback to execute.
50349
- */
50350
- setMemberJoinedOrganizationCallback(callback: (arg1: string) => void) {
50351
- var _callback = (_stateObject__: number, arg1) => {
50352
- {
50353
- const _stringValue = Module.UTF8ToString(arg1);
50354
- free(arg1);
50355
-
50356
- arg1 = _stringValue;
50357
- }
50358
-
50359
- callback(arg1);
50360
- };
50361
-
50362
- var _callbackPtr = Module.addFunction(_callback, "vii");
50363
-
50364
- Module.ccall(
50365
- "csp_systems_OrganizationSystem_SetMemberJoinedOrganizationCallback_void_MemberJoinedOrganizationCallback",
50366
- "void",
50367
- ["number", "number", "number"],
50368
- [this.pointer, _callbackPtr, 0],
50369
- );
50370
- }
50371
-
50372
- /**
50373
- * @description Create a new Organization.
50374
- * Only a User with tenant admin permissions can create an Organization.
50375
- * If the user does not have the required permissions their call will be rejected.
50376
- * @param organizationOwnerId - Id of the Organization owner.
50377
- * @param organizationName - The Organization name
50378
- * @param callback - Callback when asynchronous task finishes.
50379
- */
50380
-
50381
- async createOrganization(
50382
- organizationOwnerId: string,
50383
- organizationName: string,
50384
- ): Promise<Systems.OrganizationResult> {
50385
- var _resolve;
50386
-
50387
- var _promise = new Promise<Systems.OrganizationResult>((_r) => {
50388
- _resolve = _r;
50389
- });
50390
-
50391
- var _callbackPtr: number;
50392
- var _callback = (_stateObject__: number, result) => {
50393
- var _resultPtr = getNativePointer(result);
50394
- var _resultInstance = new Systems.OrganizationResult(_resultPtr);
50395
-
50396
- if (_resultInstance.getResultCode() == Systems.EResultCode.InProgress) {
50397
- return;
50398
- }
50399
-
50400
- _resolve(_resultInstance);
50401
-
50402
- Module.removeFunction(_callbackPtr);
50403
- };
50404
-
50405
- _callbackPtr = Module.addFunction(_callback, "vii");
50406
-
50407
- Module.ccall(
50408
- "csp_systems_OrganizationSystem_CreateOrganization_void_StringRC_StringRC_OrganizationResultCallback",
50409
- "void",
50410
- ["number", "string", "string", "number", "number"],
50411
- [this.pointer, organizationOwnerId, organizationName, _callbackPtr, 0],
50412
- );
50413
-
50414
- return _promise;
50415
- }
50416
-
50417
- /**
50418
- * @description Retrieves Organization info for the specified Organization.
50419
- * If this request is made by a User with an Owner or Admin Organization role, the resultant Organization object will contain an array of
50420
- * OrganizationRoleInfo objects for each Organization member. If the request is made by a User who does not have the Owner or Admin role, the
50421
- * resultant Organization object will contain an array with a single OrganizationRoleInfo object which represents them.
50422
- * @param organizationId - Id of the Organization to retrieve information on. If no Id is specified,
50423
- * the Id of the Organization the user is currently authenticated against will be used.
50424
- * @param callback - Callback when asynchronous task finishes.
50425
- */
50426
-
50427
- async getOrganization(
50428
- organizationId: string | null,
50429
- ): Promise<Systems.OrganizationResult> {
50430
- var _resolve;
50431
-
50432
- var _promise = new Promise<Systems.OrganizationResult>((_r) => {
50433
- _resolve = _r;
50434
- });
50435
-
50436
- var _callbackPtr: number;
50437
- var _callback = (_stateObject__: number, result) => {
50438
- var _resultPtr = getNativePointer(result);
50439
- var _resultInstance = new Systems.OrganizationResult(_resultPtr);
50440
-
50441
- if (_resultInstance.getResultCode() == Systems.EResultCode.InProgress) {
50442
- return;
50443
- }
50444
-
50445
- _resolve(_resultInstance);
50446
-
50447
- Module.removeFunction(_callbackPtr);
50448
- };
50449
-
50450
- _callbackPtr = Module.addFunction(_callback, "vii");
50451
-
50452
- Module.ccall(
50453
- "csp_systems_OrganizationSystem_GetOrganization_void_StringRC_OrganizationResultCallback",
50454
- "void",
50455
- ["number", "string", "number", "number"],
50456
- [this.pointer, organizationId, _callbackPtr, 0],
50457
- );
50458
-
50459
- return _promise;
50460
- }
50461
-
50462
- /**
50463
- * @description Get the Id of the Organization the user is authenticated against.
50464
- * @return The Id of the Organization the User belongs to.
50465
- */
50466
-
50467
- getCurrentOrganizationId(): string {
50468
- let _result = Module.ccall(
50469
- "csp_systems_OrganizationSystem_GetCurrentOrganizationIdC_StringRC",
50470
- "number",
50471
- ["number"],
50472
- [this.pointer],
50473
- );
50474
-
50475
- const _resultString = Module.UTF8ToString(_result);
50476
- free(_result);
50477
-
50478
- _result = _resultString;
50479
-
50480
- return _result;
50481
- }
50482
-
50483
- /**
50484
- * @description Updates the name and/or the description of the specified Organization.
50485
- * Only a User with an Organization Owner role can update an Organization. If the user does not have the required Organization role
50486
- * their call will be rejected.
50487
- * @param organizationId - Id of the Organization to update. If no Id is specified,
50488
- * the Id of the Organization the user is currently authenticated against will be used.
50489
- * @param name - The new Organization name
50490
- * @param callback - Callback when asynchronous task finishes.
50491
- */
50492
-
50493
- async updateOrganization(
50494
- organizationId: string | null,
50495
- name: string,
50496
- ): Promise<Systems.OrganizationResult> {
50497
- var _resolve;
50498
-
50499
- var _promise = new Promise<Systems.OrganizationResult>((_r) => {
50500
- _resolve = _r;
50501
- });
50502
-
50503
- var _callbackPtr: number;
50504
- var _callback = (_stateObject__: number, result) => {
50505
- var _resultPtr = getNativePointer(result);
50506
- var _resultInstance = new Systems.OrganizationResult(_resultPtr);
50507
-
50508
- if (_resultInstance.getResultCode() == Systems.EResultCode.InProgress) {
50509
- return;
50510
- }
50511
-
50512
- _resolve(_resultInstance);
50513
-
50514
- Module.removeFunction(_callbackPtr);
50515
- };
50516
-
50517
- _callbackPtr = Module.addFunction(_callback, "vii");
50518
-
50519
- Module.ccall(
50520
- "csp_systems_OrganizationSystem_UpdateOrganization_void_StringRC_StringRC_OrganizationResultCallback",
50521
- "void",
50522
- ["number", "string", "string", "number", "number"],
50523
- [this.pointer, organizationId, name, _callbackPtr, 0],
50524
- );
50525
-
50526
- return _promise;
50527
- }
50528
-
50529
- /**
50530
- * @description Deactivates the specified Organization.
50531
- * This call performs a soft-delete of the Organization and will allow for Organization reactivation in the future.
50532
- * Only A User with owner-level permissions can deactivate an Organization. If the user does not have the required role their call will be
50533
- * rejected.
50534
- * @param organizationId - Id of the Organization to deactivate.
50535
- * @param callback - Callback when asynchronous task finishes.
50536
- */
50537
-
50538
- async deactivateOrganization(
50539
- organizationId: string,
50540
- ): Promise<Systems.NullResult> {
50541
- var _resolve;
50542
-
50543
- var _promise = new Promise<Systems.NullResult>((_r) => {
50544
- _resolve = _r;
50545
- });
50546
-
50547
- var _callbackPtr: number;
50548
- var _callback = (_stateObject__: number, result) => {
50549
- var _resultPtr = getNativePointer(result);
50550
- var _resultInstance = new Systems.NullResult(_resultPtr);
50551
-
50552
- if (_resultInstance.getResultCode() == Systems.EResultCode.InProgress) {
50553
- return;
50554
- }
50555
-
50556
- _resolve(_resultInstance);
50557
-
50558
- Module.removeFunction(_callbackPtr);
50559
- };
50560
-
50561
- _callbackPtr = Module.addFunction(_callback, "vii");
50562
-
50563
- Module.ccall(
50564
- "csp_systems_OrganizationSystem_DeactivateOrganization_void_StringRC_NullResultCallback",
50565
- "void",
50566
- ["number", "string", "number", "number"],
50567
- [this.pointer, organizationId, _callbackPtr, 0],
50568
- );
50569
-
50570
- return _promise;
50571
- }
50572
-
50573
- /**
50574
- * @description Invites a given email to the User's Organization.
50575
- * Only a User with an Admin or Owner Organization role can invite people to the organization. If the User does not have the required role their
50576
- * call will be rejected.
50577
- * @param organizationId - Id of the Organization the user should be added to. If no Id is specified,
50578
- * the Id of the Organization the user is currently authenticated against will be used.
50579
- * @param email - Email to invite to the Organization.
50580
- * @param organizationRoles - The role/s in the Organization the invited User is to have.
50581
- * @param emailLinkUrl - Link that will be provided in the invite email
50582
- * @param signupUrl - Destination link that will be provided in the invite email
50583
- * @param callback - Callback when asynchronous task finishes.
50584
- */
50585
-
50586
- async inviteToOrganization(
50587
- organizationId: string | null,
50588
- email: string,
50589
- organizationRoles: Common.Array<Systems.EOrganizationRole>,
50590
- emailLinkUrl: string | null,
50591
- signupUrl: string | null,
50592
- ): Promise<Systems.NullResult> {
50593
- var _resolve;
50594
-
50595
- var _promise = new Promise<Systems.NullResult>((_r) => {
50596
- _resolve = _r;
50597
- });
50598
-
50599
- var _callbackPtr: number;
50600
- var _callback = (_stateObject__: number, result) => {
50601
- var _resultPtr = getNativePointer(result);
50602
- var _resultInstance = new Systems.NullResult(_resultPtr);
50603
-
50604
- if (_resultInstance.getResultCode() == Systems.EResultCode.InProgress) {
50605
- return;
50606
- }
50607
-
50608
- _resolve(_resultInstance);
50609
-
50610
- Module.removeFunction(_callbackPtr);
50611
- };
50612
-
50613
- _callbackPtr = Module.addFunction(_callback, "vii");
50614
-
50615
- Module.ccall(
50616
- "csp_systems_OrganizationSystem_InviteToOrganization_void_StringRC_StringRC_ArrayRC_StringRC_StringRC_NullResultCallback",
50617
- "void",
50618
- [
50619
- "number",
50620
- "string",
50621
- "string",
50622
- "number",
50623
- "string",
50624
- "string",
50625
- "number",
50626
- "number",
50627
- ],
50628
- [
50629
- this.pointer,
50630
- organizationId,
50631
- email,
50632
- organizationRoles.pointer,
50633
- emailLinkUrl,
50634
- signupUrl,
50635
- _callbackPtr,
50636
- 0,
50637
- ],
50638
- );
50639
-
50640
- return _promise;
50641
- }
50642
-
50643
- /**
50644
- * @description Invites all the given emails to the User's Organization.
50645
- * Only a User with an Admin or Owner Organization role can invite people to the organization. If the User does not have the required role their
50646
- * call will be rejected.
50647
- * @param organizationId - Id of the Organization the users should be added to. If no Id is specified,
50648
- * the Id of the Organization the user is currently authenticated against will be used.
50649
- * @param inviteUsers - Collection containing the EmailLinkUrl and SignupUrl as well as the emails and
50650
- * Organization role/s of the Users to be invited.
50651
- * @param callback - Callback when asynchronous task finishes.
50652
- */
50653
-
50654
- async bulkInviteToOrganization(
50655
- organizationId: string | null,
50656
- inviteUsers: Systems.InviteOrganizationRoleCollection,
50657
- ): Promise<Systems.NullResult> {
50658
- var _resolve;
50659
-
50660
- var _promise = new Promise<Systems.NullResult>((_r) => {
50661
- _resolve = _r;
50662
- });
50663
-
50664
- var _callbackPtr: number;
50665
- var _callback = (_stateObject__: number, result) => {
50666
- var _resultPtr = getNativePointer(result);
50667
- var _resultInstance = new Systems.NullResult(_resultPtr);
50668
-
50669
- if (_resultInstance.getResultCode() == Systems.EResultCode.InProgress) {
50670
- return;
50671
- }
50672
-
50673
- _resolve(_resultInstance);
50674
-
50675
- Module.removeFunction(_callbackPtr);
50676
- };
50677
-
50678
- _callbackPtr = Module.addFunction(_callback, "vii");
50679
-
50680
- Module.ccall(
50681
- "csp_systems_OrganizationSystem_BulkInviteToOrganization_void_StringRC_InviteOrganizationRoleCollectionRC_NullResultCallback",
49292
+ "csp_systems_HotspotSequenceSystem_RemoveItemFromGroups_void_StringRC_NullResultCallback",
50682
49293
  "void",
50683
- ["number", "string", "number", "number", "number"],
50684
- [this.pointer, organizationId, inviteUsers.pointer, _callbackPtr, 0],
49294
+ ["number", "string", "number", "number"],
49295
+ [this.pointer, itemName, _callbackPtr, 0],
50685
49296
  );
50686
49297
 
50687
49298
  return _promise;
50688
49299
  }
50689
49300
 
50690
49301
  /**
50691
- * @description Retrieves the Organisation User Role information for the User Ids that have been passed in.
50692
- * Only a User with an Admin or Owner Organization role can request the role information for other Organization members.
50693
- * A User without these roles can only request information about their own Organization role and should pass an array containing only their own
50694
- * User Id.
50695
- * @param organizationId - Id of the Organization you want to get user roles for. If no Id is
50696
- * specified, the Id of the Organization the user is currently authenticated against will be used.
50697
- * @param userIds - Array of User Ids for which the Organization User Roles will be retrieved.
50698
- * @param callback - Callback when asynchronous task finishes.
49302
+ * @description Sets a callback to be fired when a hotspot sequence is changed.
49303
+ * @param callback - Callback to receive data for the hotspot sequence that has been changed.
50699
49304
  */
49305
+ setHotspotSequenceChangedCallback(
49306
+ callback: (arg1: Multiplayer.SequenceHotspotChangedParams) => void,
49307
+ ) {
49308
+ var _callback = (_stateObject__: number, arg1) => {
49309
+ var _arg1 = new Multiplayer.SequenceHotspotChangedParams(
49310
+ getNativePointer(arg1),
49311
+ );
50700
49312
 
50701
- async getUserRolesInOrganization(
50702
- organizationId: string | null,
50703
- userIds: Common.Array<string>,
50704
- ): Promise<Systems.OrganizationRolesResult> {
50705
- var _resolve;
49313
+ callback(_arg1);
49314
+ };
50706
49315
 
50707
- var _promise = new Promise<Systems.OrganizationRolesResult>((_r) => {
50708
- _resolve = _r;
50709
- });
49316
+ var _callbackPtr = Module.addFunction(_callback, "vii");
50710
49317
 
50711
- var _callbackPtr: number;
50712
- var _callback = (_stateObject__: number, result) => {
50713
- var _resultPtr = getNativePointer(result);
50714
- var _resultInstance = new Systems.OrganizationRolesResult(_resultPtr);
49318
+ Module.ccall(
49319
+ "csp_systems_HotspotSequenceSystem_SetHotspotSequenceChangedCallback_void_HotspotSequenceChangedCallbackHandler",
49320
+ "void",
49321
+ ["number", "number", "number"],
49322
+ [this.pointer, _callbackPtr, 0],
49323
+ );
49324
+ }
50715
49325
 
50716
- if (_resultInstance.getResultCode() == Systems.EResultCode.InProgress) {
50717
- return;
50718
- }
49326
+ /**
49327
+ * @description Registers the system to listen for the named event.
49328
+ */
50719
49329
 
50720
- _resolve(_resultInstance);
49330
+ registerSystemCallback(): void {
49331
+ Module.ccall(
49332
+ "csp_systems_HotspotSequenceSystem_RegisterSystemCallback_void",
49333
+ "void",
49334
+ ["number"],
49335
+ [this.pointer],
49336
+ );
49337
+ }
50721
49338
 
50722
- Module.removeFunction(_callbackPtr);
50723
- };
49339
+ /**
49340
+ * @description Deregisters the system from listening for the named event.
49341
+ */
50724
49342
 
50725
- _callbackPtr = Module.addFunction(_callback, "vii");
49343
+ deregisterSystemCallback(): void {
49344
+ Module.ccall(
49345
+ "csp_systems_HotspotSequenceSystem_DeregisterSystemCallback_void",
49346
+ "void",
49347
+ ["number"],
49348
+ [this.pointer],
49349
+ );
49350
+ }
49351
+ }
49352
+ }
49353
+
49354
+ export namespace Systems {
49355
+ /**
49356
+ @ingroup CSPFoundation
49357
+ * @description Data class used to contain information when a Response is received from Maintenance Window Server
49358
+ */
49359
+ export class MaintenanceInfoResult
49360
+ extends Systems.ResultBase
49361
+ implements INativeResource
49362
+ {
49363
+ /** @internal */
49364
+ constructor(pointer: NativePointer) {
49365
+ super(pointer);
49366
+ }
49367
+
49368
+ static fromResultBase(
49369
+ baseInstance: Systems.ResultBase,
49370
+ ): Systems.MaintenanceInfoResult {
49371
+ const nativeClassWrapper = baseInstance as unknown as NativeClassWrapper;
49372
+ return new Systems.MaintenanceInfoResult(
49373
+ new NativePointer(
49374
+ nativeClassWrapper.pointer,
49375
+ nativeClassWrapper.ownsPointer,
49376
+ ),
49377
+ );
49378
+ }
49379
+
49380
+ /**
49381
+ * @description Retrieves response data from the Maintenance Window Server
49382
+ * @return Return all maintenance information available in date order
49383
+ */
49384
+
49385
+ getMaintenanceInfoResponses(): Common.Array<Systems.MaintenanceInfo> {
49386
+ var _ret = Module._malloc(8);
50726
49387
 
50727
49388
  Module.ccall(
50728
- "csp_systems_OrganizationSystem_GetUserRolesInOrganization_void_StringRC_ArrayRC_OrganizationRolesResultCallback",
49389
+ "csp_systems_MaintenanceInfoResult_GetMaintenanceInfoResponses_ArrayR",
50729
49390
  "void",
50730
- ["number", "string", "number", "number", "number"],
50731
- [this.pointer, organizationId, userIds.pointer, _callbackPtr, 0],
49391
+ ["number", "number"],
49392
+ [_ret, this.pointer],
50732
49393
  );
49394
+ var _nPtr = new Common.Array<Systems.MaintenanceInfo>(
49395
+ getNativePointer(_ret),
49396
+ csp_systems_MaintenanceInfoFactory,
49397
+ "csp_systems_MaintenanceInfo",
49398
+ );
49399
+ Module._free(_ret);
50733
49400
 
50734
- return _promise;
49401
+ return _nPtr;
50735
49402
  }
50736
49403
 
50737
49404
  /**
50738
- * @description Removes a User from the Organization.
50739
- * Only a User with an Admin or Owner Organization role can remove other Users from the Organization. If the user does not have the required role
50740
- * their call will be rejected. Anyone can remove themselves from an Organization.
50741
- * @param organizationId - Id of the Organization you want to remove a user from. If no Id is
50742
- * specified, the Id of the Organization the user is currently authenticated against will be used.
50743
- * @param userId - Unique ID of User.
50744
- * @param callback - Callback when asynchronous task finishes.
49405
+ * @description Can be used to determine if any maintenance windows were defined by the services.
49406
+ * @return Will return true when `getmaintenanceinforesponses` returns a zero-sized array.
50745
49407
  */
50746
49408
 
50747
- async removeUserFromOrganization(
50748
- organizationId: string | null,
50749
- userId: string,
50750
- ): Promise<Systems.NullResult> {
49409
+ hasAnyMaintenanceWindows(): boolean {
49410
+ let _result = Module.ccall(
49411
+ "csp_systems_MaintenanceInfoResult_HasAnyMaintenanceWindowsC_bool",
49412
+ "boolean",
49413
+ ["number"],
49414
+ [this.pointer],
49415
+ );
49416
+
49417
+ return _result;
49418
+ }
49419
+
49420
+ /**
49421
+ * @description Will return info for the future maintenance window closest to the current time, or default window info if none exist.
49422
+ * @return The closest maintenance window information
49423
+ */
49424
+
49425
+ getLatestMaintenanceInfo(): Systems.MaintenanceInfo {
49426
+ var _ret = Module._malloc(8);
49427
+
49428
+ Module.ccall(
49429
+ "csp_systems_MaintenanceInfoResult_GetLatestMaintenanceInfoC_MaintenanceInfoRC",
49430
+ "void",
49431
+ ["number", "number"],
49432
+ [_ret, this.pointer],
49433
+ );
49434
+ var _nPtr = new Systems.MaintenanceInfo(getNativePointer(_ret));
49435
+ Module._free(_ret);
49436
+
49437
+ return _nPtr;
49438
+ }
49439
+
49440
+ /**
49441
+ * @description Represents a default maintenance window object, which is used when the platform finds no future maintenance windows.
49442
+ * @return What the platform considers to be a default maintenance window
49443
+ */
49444
+
49445
+ getDefaultMaintenanceInfo(): Systems.MaintenanceInfo {
49446
+ var _ret = Module._malloc(8);
49447
+
49448
+ Module.ccall(
49449
+ "csp_systems_MaintenanceInfoResult_GetDefaultMaintenanceInfoC_MaintenanceInfoRC",
49450
+ "void",
49451
+ ["number", "number"],
49452
+ [_ret, this.pointer],
49453
+ );
49454
+ var _nPtr = new Systems.MaintenanceInfo(getNativePointer(_ret));
49455
+ Module._free(_ret);
49456
+
49457
+ return _nPtr;
49458
+ }
49459
+
49460
+ delete(): void {
49461
+ if (this.ownsPointer && !this.disposed) {
49462
+ Module.ccall(
49463
+ "csp_systems_MaintenanceInfoResult_Dtor",
49464
+ "void",
49465
+ ["number"],
49466
+ [this.pointer],
49467
+ );
49468
+
49469
+ this.disposed = true;
49470
+ }
49471
+ }
49472
+ }
49473
+ }
49474
+
49475
+ export namespace Systems {
49476
+ /**
49477
+ @ingroup Maintenance System
49478
+ * @description Public facing system that allows interfacing with the Maintenance Window Server.
49479
+ * This system can be used to query if there is currently a planned outage
49480
+ * and can also be used to check for up coming maintenances outages
49481
+ */
49482
+ export class MaintenanceSystem extends Systems.SystemBase {
49483
+ /** @internal */
49484
+ constructor(pointer: NativePointer) {
49485
+ super(pointer);
49486
+ }
49487
+
49488
+ static fromSystemBase(
49489
+ baseInstance: Systems.SystemBase,
49490
+ ): Systems.MaintenanceSystem {
49491
+ const nativeClassWrapper = baseInstance as unknown as NativeClassWrapper;
49492
+ return new Systems.MaintenanceSystem(
49493
+ new NativePointer(
49494
+ nativeClassWrapper.pointer,
49495
+ nativeClassWrapper.ownsPointer,
49496
+ ),
49497
+ );
49498
+ }
49499
+
49500
+ /**
49501
+ * @description Receives information on planned maintenances outages schedules for the future
49502
+ * @param callback - Callback when asynchronous task finishes
49503
+ */
49504
+
49505
+ async getMaintenanceInfo(
49506
+ maintenanceURL: string,
49507
+ ): Promise<Systems.MaintenanceInfoResult> {
50751
49508
  var _resolve;
50752
49509
 
50753
- var _promise = new Promise<Systems.NullResult>((_r) => {
49510
+ var _promise = new Promise<Systems.MaintenanceInfoResult>((_r) => {
50754
49511
  _resolve = _r;
50755
49512
  });
50756
49513
 
50757
49514
  var _callbackPtr: number;
50758
49515
  var _callback = (_stateObject__: number, result) => {
50759
49516
  var _resultPtr = getNativePointer(result);
50760
- var _resultInstance = new Systems.NullResult(_resultPtr);
49517
+ var _resultInstance = new Systems.MaintenanceInfoResult(_resultPtr);
50761
49518
 
50762
49519
  if (_resultInstance.getResultCode() == Systems.EResultCode.InProgress) {
50763
49520
  return;
@@ -50771,10 +49528,10 @@ export namespace Systems {
50771
49528
  _callbackPtr = Module.addFunction(_callback, "vii");
50772
49529
 
50773
49530
  Module.ccall(
50774
- "csp_systems_OrganizationSystem_RemoveUserFromOrganization_void_StringRC_StringRC_NullResultCallback",
49531
+ "csp_systems_MaintenanceSystem_GetMaintenanceInfo_void_StringRC_MaintenanceInfoCallback",
50775
49532
  "void",
50776
- ["number", "string", "string", "number", "number"],
50777
- [this.pointer, organizationId, userId, _callbackPtr, 0],
49533
+ ["number", "string", "number", "number"],
49534
+ [this.pointer, maintenanceURL, _callbackPtr, 0],
50778
49535
  );
50779
49536
 
50780
49537
  return _promise;
@@ -53123,26 +51880,6 @@ export namespace Systems {
53123
51880
  [this.pointer, value.pointer],
53124
51881
  );
53125
51882
  }
53126
-
53127
- get organizationId(): string {
53128
- let _result = Module.ccall(
53129
- "csp_systems_Space__Get_OrganizationId",
53130
- "string",
53131
- ["number"],
53132
- [this.pointer],
53133
- );
53134
-
53135
- return _result;
53136
- }
53137
-
53138
- set organizationId(value: string) {
53139
- Module.ccall(
53140
- "csp_systems_Space__Set_OrganizationId",
53141
- "void",
53142
- ["number", "string"],
53143
- [this.pointer, value],
53144
- );
53145
- }
53146
51883
  }
53147
51884
  }
53148
51885
 
@@ -53484,25 +52221,6 @@ export namespace Systems {
53484
52221
  return _nPtr;
53485
52222
  }
53486
52223
 
53487
- getTags(): Common.Array<string> {
53488
- var _ret = Module._malloc(8);
53489
-
53490
- Module.ccall(
53491
- "csp_systems_SpaceMetadataResult_GetTagsC_ArrayRC",
53492
- "void",
53493
- ["number", "number"],
53494
- [_ret, this.pointer],
53495
- );
53496
- var _nPtr = new Common.Array<string>(
53497
- getNativePointer(_ret),
53498
- StringFactory,
53499
- "String",
53500
- );
53501
- Module._free(_ret);
53502
-
53503
- return _nPtr;
53504
- }
53505
-
53506
52224
  delete(): void {
53507
52225
  if (this.ownsPointer && !this.disposed) {
53508
52226
  Module.ccall(
@@ -54108,6 +52826,7 @@ export namespace Systems {
54108
52826
  * @param description - If a new description is provided it will be used to update the space
54109
52827
  * description
54110
52828
  * @param type - If a new type is provided it will be used to update the space type
52829
+ * @param tags - If new tags are provided they will be used to update the Space
54111
52830
  * @param callback - Callback when asynchronous task finishes
54112
52831
  */
54113
52832
 
@@ -54116,6 +52835,7 @@ export namespace Systems {
54116
52835
  name: string | null,
54117
52836
  description: string | null,
54118
52837
  type: Systems.SpaceAttributes | null,
52838
+ tags: Common.Array<string> | null,
54119
52839
  ): Promise<Systems.BasicSpaceResult> {
54120
52840
  var _resolve;
54121
52841
 
@@ -54146,15 +52866,25 @@ export namespace Systems {
54146
52866
  }
54147
52867
 
54148
52868
  Module.ccall(
54149
- "csp_systems_SpaceSystem_UpdateSpace_void_StringRC_StringRC_StringRC_SpaceAttributesRC_BasicSpaceResultCallback",
52869
+ "csp_systems_SpaceSystem_UpdateSpace_void_StringRC_StringRC_StringRC_SpaceAttributesRC_ArrayRC_BasicSpaceResultCallback",
54150
52870
  "void",
54151
- ["number", "string", "string", "string", "number", "number", "number"],
52871
+ [
52872
+ "number",
52873
+ "string",
52874
+ "string",
52875
+ "string",
52876
+ "number",
52877
+ "number",
52878
+ "number",
52879
+ "number",
52880
+ ],
54152
52881
  [
54153
52882
  this.pointer,
54154
52883
  spaceId,
54155
52884
  name,
54156
52885
  description,
54157
52886
  typePointer,
52887
+ tags != null ? tags.pointer : 0,
54158
52888
  _callbackPtr,
54159
52889
  0,
54160
52890
  ],
@@ -54253,6 +52983,11 @@ export namespace Systems {
54253
52983
  * @param resultsSkip - Number of result entries that will be skipped from the result. for no skip pass nullptr.
54254
52984
  * @param resultsMax - Maximum number of result entries to be retrieved. for all available result entries pass
54255
52985
  * nullptr.
52986
+ * @param mustContainTags - Array of tags that must be present in retrieved
52987
+ * spaces. For no mandatory tags pass nullptr.
52988
+ * @param mustExcludeTags - Array of tags that must not be present in retrieved
52989
+ * spaces. For no excluded tags pass nullptr.
52990
+ * @param mustIncludeAllTags - Whether all tags in @param MustContainTags must be present in retrieved spaces.
54256
52991
  * @param callback - Callback when asynchronous task finishes
54257
52992
  */
54258
52993
 
@@ -54262,6 +52997,9 @@ export namespace Systems {
54262
52997
  requiresInvite: boolean | null,
54263
52998
  resultsSkip: number | null,
54264
52999
  resultsMax: number | null,
53000
+ mustContainTags: Common.Array<string> | null,
53001
+ mustExcludeTags: Common.Array<string> | null,
53002
+ mustIncludeAllTags: boolean | null,
54265
53003
  ): Promise<Systems.BasicSpacesResult> {
54266
53004
  var _resolve;
54267
53005
 
@@ -54315,8 +53053,18 @@ export namespace Systems {
54315
53053
  Module.setValue(resultsMaxPointer, resultsMax, "i32");
54316
53054
  }
54317
53055
 
53056
+ var mustIncludeAllTagsPointer = 0;
53057
+ if (mustIncludeAllTags != null) {
53058
+ mustIncludeAllTagsPointer = Module._malloc(4);
53059
+ Module.setValue(
53060
+ mustIncludeAllTagsPointer,
53061
+ mustIncludeAllTags ? 1 : 0,
53062
+ "i32",
53063
+ );
53064
+ }
53065
+
54318
53066
  Module.ccall(
54319
- "csp_systems_SpaceSystem_GetSpacesByAttributes_void_boolRC_boolRC_boolRC_intRC_intRC_BasicSpacesResultCallback",
53067
+ "csp_systems_SpaceSystem_GetSpacesByAttributes_void_boolRC_boolRC_boolRC_intRC_intRC_ArrayRC_ArrayRC_boolRC_BasicSpacesResultCallback",
54320
53068
  "void",
54321
53069
  [
54322
53070
  "number",
@@ -54327,6 +53075,9 @@ export namespace Systems {
54327
53075
  "number",
54328
53076
  "number",
54329
53077
  "number",
53078
+ "boolean",
53079
+ "number",
53080
+ "number",
54330
53081
  ],
54331
53082
  [
54332
53083
  this.pointer,
@@ -54335,6 +53086,9 @@ export namespace Systems {
54335
53086
  requiresInvitePointer,
54336
53087
  resultsSkipPointer,
54337
53088
  resultsMaxPointer,
53089
+ mustContainTags != null ? mustContainTags.pointer : 0,
53090
+ mustExcludeTags != null ? mustExcludeTags.pointer : 0,
53091
+ mustIncludeAllTagsPointer,
54338
53092
  _callbackPtr,
54339
53093
  0,
54340
53094
  ],
@@ -54355,6 +53109,9 @@ export namespace Systems {
54355
53109
  if (resultsMaxPointer) {
54356
53110
  Module._free(resultsMaxPointer);
54357
53111
  }
53112
+ if (mustIncludeAllTagsPointer) {
53113
+ Module._free(mustIncludeAllTagsPointer);
53114
+ }
54358
53115
 
54359
53116
  return _promise;
54360
53117
  }
@@ -54984,15 +53741,12 @@ export namespace Systems {
54984
53741
  * @description Updates the Space metadata information with the new one provided
54985
53742
  * @param spaceId - ID of Space for which the metadata will be updated
54986
53743
  * @param newMetadata - New metadata information that will replace the previous one
54987
- * @param tags - Array of strings that will replace the tags on the space. If unset, the existing tags on
54988
- * the AssetCollection will be unmodified.
54989
53744
  * @param callback - Callback when asynchronous task finishes
54990
53745
  */
54991
53746
 
54992
53747
  async updateSpaceMetadata(
54993
53748
  spaceId: string,
54994
53749
  newMetadata: Common.Map<string, string>,
54995
- tags: Common.Array<string> | null,
54996
53750
  ): Promise<Systems.NullResult> {
54997
53751
  var _resolve;
54998
53752
 
@@ -55017,17 +53771,10 @@ export namespace Systems {
55017
53771
  _callbackPtr = Module.addFunction(_callback, "vii");
55018
53772
 
55019
53773
  Module.ccall(
55020
- "csp_systems_SpaceSystem_UpdateSpaceMetadata_void_StringRC_MapRC_ArrayRC_NullResultCallback",
53774
+ "csp_systems_SpaceSystem_UpdateSpaceMetadata_void_StringRC_MapRC_NullResultCallback",
55021
53775
  "void",
55022
- ["number", "string", "number", "number", "number", "number"],
55023
- [
55024
- this.pointer,
55025
- spaceId,
55026
- newMetadata.pointer,
55027
- tags != null ? tags.pointer : 0,
55028
- _callbackPtr,
55029
- 0,
55030
- ],
53776
+ ["number", "string", "number", "number", "number"],
53777
+ [this.pointer, spaceId, newMetadata.pointer, _callbackPtr, 0],
55031
53778
  );
55032
53779
 
55033
53780
  return _promise;
@@ -57307,12 +56054,14 @@ export namespace Systems {
57307
56054
  }
57308
56055
 
57309
56056
  /**
57310
- * @description Log in to Magnopus Connected Services services using a username-password or email-password combination.
56057
+ * @description Log in to Magnopus Connected Services services using a username-password or email-password combination.
57311
56058
  * @param userName - Csp::common::string
57312
56059
  * @param email - Csp::common::string
57313
56060
  * @param password - Csp::common::string
57314
56061
  * @param userHasVerifiedAge - An optional bool to specify whether or not the user has verified that they are over 18
57315
56062
  * @param callback - Callback to call when a response is received
56063
+ @pre One of either UserName or Email must not be empty.
56064
+ @pre Password must not be empty.
57316
56065
  */
57317
56066
 
57318
56067
  async login(
@@ -57376,11 +56125,12 @@ export namespace Systems {
57376
56125
  }
57377
56126
 
57378
56127
  /**
57379
- * @description Resume a previous session for the associated user ID using a refresh token
57380
- * The refresh token can be obtained after registering a callback with `SetNewLoginTokenReceivedCallback` and logging in regularly.
56128
+ * @description Resume a previous session for the associated user ID using a refresh token
56129
+ * The refresh token can be obtained after registering a callback with `SetNewLoginTokenReceivedCallback` and logging in regularly.
57381
56130
  * @param userId - User ID for the previous session
57382
56131
  * @param refreshToken - Refresh token to be used for refreshing the authentication token
57383
56132
  * @param callback - Callback when asynchronous task finishes
56133
+ @pre UserId must not be empty.
57384
56134
  */
57385
56135
 
57386
56136
  async loginWithRefreshToken(
@@ -58763,60 +57513,6 @@ export namespace Common {
58763
57513
  return _inst;
58764
57514
  }
58765
57515
 
58766
- static ofcsp_systems_EOrganizationRole(): Array<Systems.EOrganizationRole> {
58767
- var _ret = Module._malloc(8);
58768
- Module.ccall(
58769
- "csp_common_Array_Ctor_csp_systems_EOrganizationRole",
58770
- "void",
58771
- ["number"],
58772
- [_ret],
58773
- );
58774
- var _inst = new Array<Systems.EOrganizationRole>(
58775
- getNativePointer(_ret),
58776
- csp_systems_EOrganizationRoleFactory,
58777
- "csp_systems_EOrganizationRole",
58778
- );
58779
- Module._free(_ret);
58780
-
58781
- return _inst;
58782
- }
58783
-
58784
- static ofcsp_systems_InviteOrganizationRoleInfo(): Array<Systems.InviteOrganizationRoleInfo> {
58785
- var _ret = Module._malloc(8);
58786
- Module.ccall(
58787
- "csp_common_Array_Ctor_csp_systems_InviteOrganizationRoleInfo",
58788
- "void",
58789
- ["number"],
58790
- [_ret],
58791
- );
58792
- var _inst = new Array<Systems.InviteOrganizationRoleInfo>(
58793
- getNativePointer(_ret),
58794
- csp_systems_InviteOrganizationRoleInfoFactory,
58795
- "csp_systems_InviteOrganizationRoleInfo",
58796
- );
58797
- Module._free(_ret);
58798
-
58799
- return _inst;
58800
- }
58801
-
58802
- static ofcsp_systems_OrganizationRoleInfo(): Array<Systems.OrganizationRoleInfo> {
58803
- var _ret = Module._malloc(8);
58804
- Module.ccall(
58805
- "csp_common_Array_Ctor_csp_systems_OrganizationRoleInfo",
58806
- "void",
58807
- ["number"],
58808
- [_ret],
58809
- );
58810
- var _inst = new Array<Systems.OrganizationRoleInfo>(
58811
- getNativePointer(_ret),
58812
- csp_systems_OrganizationRoleInfoFactory,
58813
- "csp_systems_OrganizationRoleInfo",
58814
- );
58815
- Module._free(_ret);
58816
-
58817
- return _inst;
58818
- }
58819
-
58820
57516
  static ofcsp_systems_FeatureLimitInfo(): Array<Systems.FeatureLimitInfo> {
58821
57517
  var _ret = Module._malloc(8);
58822
57518
  Module.ccall(
@@ -59583,66 +58279,6 @@ export namespace Common {
59583
58279
  return _inst;
59584
58280
  }
59585
58281
 
59586
- static ofcsp_systems_EOrganizationRole_number(
59587
- size: number,
59588
- ): Array<Systems.EOrganizationRole> {
59589
- var _ret = Module._malloc(8);
59590
- Module.ccall(
59591
- "csp_common_Array_Conv_size_tC_csp_systems_EOrganizationRole",
59592
- "void",
59593
- ["number", "number"],
59594
- [_ret, size],
59595
- );
59596
- var _inst = new Array<Systems.EOrganizationRole>(
59597
- getNativePointer(_ret),
59598
- csp_systems_EOrganizationRoleFactory,
59599
- "csp_systems_EOrganizationRole",
59600
- );
59601
- Module._free(_ret);
59602
-
59603
- return _inst;
59604
- }
59605
-
59606
- static ofcsp_systems_InviteOrganizationRoleInfo_number(
59607
- size: number,
59608
- ): Array<Systems.InviteOrganizationRoleInfo> {
59609
- var _ret = Module._malloc(8);
59610
- Module.ccall(
59611
- "csp_common_Array_Conv_size_tC_csp_systems_InviteOrganizationRoleInfo",
59612
- "void",
59613
- ["number", "number"],
59614
- [_ret, size],
59615
- );
59616
- var _inst = new Array<Systems.InviteOrganizationRoleInfo>(
59617
- getNativePointer(_ret),
59618
- csp_systems_InviteOrganizationRoleInfoFactory,
59619
- "csp_systems_InviteOrganizationRoleInfo",
59620
- );
59621
- Module._free(_ret);
59622
-
59623
- return _inst;
59624
- }
59625
-
59626
- static ofcsp_systems_OrganizationRoleInfo_number(
59627
- size: number,
59628
- ): Array<Systems.OrganizationRoleInfo> {
59629
- var _ret = Module._malloc(8);
59630
- Module.ccall(
59631
- "csp_common_Array_Conv_size_tC_csp_systems_OrganizationRoleInfo",
59632
- "void",
59633
- ["number", "number"],
59634
- [_ret, size],
59635
- );
59636
- var _inst = new Array<Systems.OrganizationRoleInfo>(
59637
- getNativePointer(_ret),
59638
- csp_systems_OrganizationRoleInfoFactory,
59639
- "csp_systems_OrganizationRoleInfo",
59640
- );
59641
- Module._free(_ret);
59642
-
59643
- return _inst;
59644
- }
59645
-
59646
58282
  static ofcsp_systems_FeatureLimitInfo_number(
59647
58283
  size: number,
59648
58284
  ): Array<Systems.FeatureLimitInfo> {