connected-spaces-platform.web 5.9.2 → 5.10.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
 
@@ -49942,822 +49309,232 @@ export namespace Systems {
49942
49309
  _callbackPtr = Module.addFunction(_callback, "vii");
49943
49310
 
49944
49311
  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",
49312
+ "csp_systems_HotspotSequenceSystem_RemoveItemFromGroups_void_StringRC_NullResultCallback",
50682
49313
  "void",
50683
- ["number", "string", "number", "number", "number"],
50684
- [this.pointer, organizationId, inviteUsers.pointer, _callbackPtr, 0],
49314
+ ["number", "string", "number", "number"],
49315
+ [this.pointer, itemName, _callbackPtr, 0],
50685
49316
  );
50686
49317
 
50687
49318
  return _promise;
50688
49319
  }
50689
49320
 
50690
49321
  /**
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.
49322
+ * @description Sets a callback to be fired when a hotspot sequence is changed.
49323
+ * @param callback - Callback to receive data for the hotspot sequence that has been changed.
50699
49324
  */
49325
+ setHotspotSequenceChangedCallback(
49326
+ callback: (arg1: Multiplayer.SequenceHotspotChangedParams) => void,
49327
+ ) {
49328
+ var _callback = (_stateObject__: number, arg1) => {
49329
+ var _arg1 = new Multiplayer.SequenceHotspotChangedParams(
49330
+ getNativePointer(arg1),
49331
+ );
50700
49332
 
50701
- async getUserRolesInOrganization(
50702
- organizationId: string | null,
50703
- userIds: Common.Array<string>,
50704
- ): Promise<Systems.OrganizationRolesResult> {
50705
- var _resolve;
49333
+ callback(_arg1);
49334
+ };
50706
49335
 
50707
- var _promise = new Promise<Systems.OrganizationRolesResult>((_r) => {
50708
- _resolve = _r;
50709
- });
49336
+ var _callbackPtr = Module.addFunction(_callback, "vii");
50710
49337
 
50711
- var _callbackPtr: number;
50712
- var _callback = (_stateObject__: number, result) => {
50713
- var _resultPtr = getNativePointer(result);
50714
- var _resultInstance = new Systems.OrganizationRolesResult(_resultPtr);
49338
+ Module.ccall(
49339
+ "csp_systems_HotspotSequenceSystem_SetHotspotSequenceChangedCallback_void_HotspotSequenceChangedCallbackHandler",
49340
+ "void",
49341
+ ["number", "number", "number"],
49342
+ [this.pointer, _callbackPtr, 0],
49343
+ );
49344
+ }
50715
49345
 
50716
- if (_resultInstance.getResultCode() == Systems.EResultCode.InProgress) {
50717
- return;
50718
- }
49346
+ /**
49347
+ * @description Registers the system to listen for the named event.
49348
+ */
50719
49349
 
50720
- _resolve(_resultInstance);
49350
+ registerSystemCallback(): void {
49351
+ Module.ccall(
49352
+ "csp_systems_HotspotSequenceSystem_RegisterSystemCallback_void",
49353
+ "void",
49354
+ ["number"],
49355
+ [this.pointer],
49356
+ );
49357
+ }
50721
49358
 
50722
- Module.removeFunction(_callbackPtr);
50723
- };
49359
+ /**
49360
+ * @description Deregisters the system from listening for the named event.
49361
+ */
50724
49362
 
50725
- _callbackPtr = Module.addFunction(_callback, "vii");
49363
+ deregisterSystemCallback(): void {
49364
+ Module.ccall(
49365
+ "csp_systems_HotspotSequenceSystem_DeregisterSystemCallback_void",
49366
+ "void",
49367
+ ["number"],
49368
+ [this.pointer],
49369
+ );
49370
+ }
49371
+ }
49372
+ }
49373
+
49374
+ export namespace Systems {
49375
+ /**
49376
+ @ingroup CSPFoundation
49377
+ * @description Data class used to contain information when a Response is received from Maintenance Window Server
49378
+ */
49379
+ export class MaintenanceInfoResult
49380
+ extends Systems.ResultBase
49381
+ implements INativeResource
49382
+ {
49383
+ /** @internal */
49384
+ constructor(pointer: NativePointer) {
49385
+ super(pointer);
49386
+ }
49387
+
49388
+ static fromResultBase(
49389
+ baseInstance: Systems.ResultBase,
49390
+ ): Systems.MaintenanceInfoResult {
49391
+ const nativeClassWrapper = baseInstance as unknown as NativeClassWrapper;
49392
+ return new Systems.MaintenanceInfoResult(
49393
+ new NativePointer(
49394
+ nativeClassWrapper.pointer,
49395
+ nativeClassWrapper.ownsPointer,
49396
+ ),
49397
+ );
49398
+ }
49399
+
49400
+ /**
49401
+ * @description Retrieves response data from the Maintenance Window Server
49402
+ * @return Return all maintenance information available in date order
49403
+ */
49404
+
49405
+ getMaintenanceInfoResponses(): Common.Array<Systems.MaintenanceInfo> {
49406
+ var _ret = Module._malloc(8);
50726
49407
 
50727
49408
  Module.ccall(
50728
- "csp_systems_OrganizationSystem_GetUserRolesInOrganization_void_StringRC_ArrayRC_OrganizationRolesResultCallback",
49409
+ "csp_systems_MaintenanceInfoResult_GetMaintenanceInfoResponses_ArrayR",
50729
49410
  "void",
50730
- ["number", "string", "number", "number", "number"],
50731
- [this.pointer, organizationId, userIds.pointer, _callbackPtr, 0],
49411
+ ["number", "number"],
49412
+ [_ret, this.pointer],
50732
49413
  );
49414
+ var _nPtr = new Common.Array<Systems.MaintenanceInfo>(
49415
+ getNativePointer(_ret),
49416
+ csp_systems_MaintenanceInfoFactory,
49417
+ "csp_systems_MaintenanceInfo",
49418
+ );
49419
+ Module._free(_ret);
50733
49420
 
50734
- return _promise;
49421
+ return _nPtr;
50735
49422
  }
50736
49423
 
50737
49424
  /**
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.
49425
+ * @description Can be used to determine if any maintenance windows were defined by the services.
49426
+ * @return Will return true when `getmaintenanceinforesponses` returns a zero-sized array.
50745
49427
  */
50746
49428
 
50747
- async removeUserFromOrganization(
50748
- organizationId: string | null,
50749
- userId: string,
50750
- ): Promise<Systems.NullResult> {
49429
+ hasAnyMaintenanceWindows(): boolean {
49430
+ let _result = Module.ccall(
49431
+ "csp_systems_MaintenanceInfoResult_HasAnyMaintenanceWindowsC_bool",
49432
+ "boolean",
49433
+ ["number"],
49434
+ [this.pointer],
49435
+ );
49436
+
49437
+ return _result;
49438
+ }
49439
+
49440
+ /**
49441
+ * @description Will return info for the future maintenance window closest to the current time, or default window info if none exist.
49442
+ * @return The closest maintenance window information
49443
+ */
49444
+
49445
+ getLatestMaintenanceInfo(): Systems.MaintenanceInfo {
49446
+ var _ret = Module._malloc(8);
49447
+
49448
+ Module.ccall(
49449
+ "csp_systems_MaintenanceInfoResult_GetLatestMaintenanceInfoC_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
+ /**
49461
+ * @description Represents a default maintenance window object, which is used when the platform finds no future maintenance windows.
49462
+ * @return What the platform considers to be a default maintenance window
49463
+ */
49464
+
49465
+ getDefaultMaintenanceInfo(): Systems.MaintenanceInfo {
49466
+ var _ret = Module._malloc(8);
49467
+
49468
+ Module.ccall(
49469
+ "csp_systems_MaintenanceInfoResult_GetDefaultMaintenanceInfoC_MaintenanceInfoRC",
49470
+ "void",
49471
+ ["number", "number"],
49472
+ [_ret, this.pointer],
49473
+ );
49474
+ var _nPtr = new Systems.MaintenanceInfo(getNativePointer(_ret));
49475
+ Module._free(_ret);
49476
+
49477
+ return _nPtr;
49478
+ }
49479
+
49480
+ delete(): void {
49481
+ if (this.ownsPointer && !this.disposed) {
49482
+ Module.ccall(
49483
+ "csp_systems_MaintenanceInfoResult_Dtor",
49484
+ "void",
49485
+ ["number"],
49486
+ [this.pointer],
49487
+ );
49488
+
49489
+ this.disposed = true;
49490
+ }
49491
+ }
49492
+ }
49493
+ }
49494
+
49495
+ export namespace Systems {
49496
+ /**
49497
+ @ingroup Maintenance System
49498
+ * @description Public facing system that allows interfacing with the Maintenance Window Server.
49499
+ * This system can be used to query if there is currently a planned outage
49500
+ * and can also be used to check for up coming maintenances outages
49501
+ */
49502
+ export class MaintenanceSystem extends Systems.SystemBase {
49503
+ /** @internal */
49504
+ constructor(pointer: NativePointer) {
49505
+ super(pointer);
49506
+ }
49507
+
49508
+ static fromSystemBase(
49509
+ baseInstance: Systems.SystemBase,
49510
+ ): Systems.MaintenanceSystem {
49511
+ const nativeClassWrapper = baseInstance as unknown as NativeClassWrapper;
49512
+ return new Systems.MaintenanceSystem(
49513
+ new NativePointer(
49514
+ nativeClassWrapper.pointer,
49515
+ nativeClassWrapper.ownsPointer,
49516
+ ),
49517
+ );
49518
+ }
49519
+
49520
+ /**
49521
+ * @description Receives information on planned maintenances outages schedules for the future
49522
+ * @param callback - Callback when asynchronous task finishes
49523
+ */
49524
+
49525
+ async getMaintenanceInfo(
49526
+ maintenanceURL: string,
49527
+ ): Promise<Systems.MaintenanceInfoResult> {
50751
49528
  var _resolve;
50752
49529
 
50753
- var _promise = new Promise<Systems.NullResult>((_r) => {
49530
+ var _promise = new Promise<Systems.MaintenanceInfoResult>((_r) => {
50754
49531
  _resolve = _r;
50755
49532
  });
50756
49533
 
50757
49534
  var _callbackPtr: number;
50758
49535
  var _callback = (_stateObject__: number, result) => {
50759
49536
  var _resultPtr = getNativePointer(result);
50760
- var _resultInstance = new Systems.NullResult(_resultPtr);
49537
+ var _resultInstance = new Systems.MaintenanceInfoResult(_resultPtr);
50761
49538
 
50762
49539
  if (_resultInstance.getResultCode() == Systems.EResultCode.InProgress) {
50763
49540
  return;
@@ -50771,10 +49548,10 @@ export namespace Systems {
50771
49548
  _callbackPtr = Module.addFunction(_callback, "vii");
50772
49549
 
50773
49550
  Module.ccall(
50774
- "csp_systems_OrganizationSystem_RemoveUserFromOrganization_void_StringRC_StringRC_NullResultCallback",
49551
+ "csp_systems_MaintenanceSystem_GetMaintenanceInfo_void_StringRC_MaintenanceInfoCallback",
50775
49552
  "void",
50776
- ["number", "string", "string", "number", "number"],
50777
- [this.pointer, organizationId, userId, _callbackPtr, 0],
49553
+ ["number", "string", "number", "number"],
49554
+ [this.pointer, maintenanceURL, _callbackPtr, 0],
50778
49555
  );
50779
49556
 
50780
49557
  return _promise;
@@ -53123,26 +51900,6 @@ export namespace Systems {
53123
51900
  [this.pointer, value.pointer],
53124
51901
  );
53125
51902
  }
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
51903
  }
53147
51904
  }
53148
51905
 
@@ -53484,25 +52241,6 @@ export namespace Systems {
53484
52241
  return _nPtr;
53485
52242
  }
53486
52243
 
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
52244
  delete(): void {
53507
52245
  if (this.ownsPointer && !this.disposed) {
53508
52246
  Module.ccall(
@@ -54108,6 +52846,7 @@ export namespace Systems {
54108
52846
  * @param description - If a new description is provided it will be used to update the space
54109
52847
  * description
54110
52848
  * @param type - If a new type is provided it will be used to update the space type
52849
+ * @param tags - If new tags are provided they will be used to update the Space
54111
52850
  * @param callback - Callback when asynchronous task finishes
54112
52851
  */
54113
52852
 
@@ -54116,6 +52855,7 @@ export namespace Systems {
54116
52855
  name: string | null,
54117
52856
  description: string | null,
54118
52857
  type: Systems.SpaceAttributes | null,
52858
+ tags: Common.Array<string> | null,
54119
52859
  ): Promise<Systems.BasicSpaceResult> {
54120
52860
  var _resolve;
54121
52861
 
@@ -54146,15 +52886,25 @@ export namespace Systems {
54146
52886
  }
54147
52887
 
54148
52888
  Module.ccall(
54149
- "csp_systems_SpaceSystem_UpdateSpace_void_StringRC_StringRC_StringRC_SpaceAttributesRC_BasicSpaceResultCallback",
52889
+ "csp_systems_SpaceSystem_UpdateSpace_void_StringRC_StringRC_StringRC_SpaceAttributesRC_ArrayRC_BasicSpaceResultCallback",
54150
52890
  "void",
54151
- ["number", "string", "string", "string", "number", "number", "number"],
52891
+ [
52892
+ "number",
52893
+ "string",
52894
+ "string",
52895
+ "string",
52896
+ "number",
52897
+ "number",
52898
+ "number",
52899
+ "number",
52900
+ ],
54152
52901
  [
54153
52902
  this.pointer,
54154
52903
  spaceId,
54155
52904
  name,
54156
52905
  description,
54157
52906
  typePointer,
52907
+ tags != null ? tags.pointer : 0,
54158
52908
  _callbackPtr,
54159
52909
  0,
54160
52910
  ],
@@ -54253,6 +53003,11 @@ export namespace Systems {
54253
53003
  * @param resultsSkip - Number of result entries that will be skipped from the result. for no skip pass nullptr.
54254
53004
  * @param resultsMax - Maximum number of result entries to be retrieved. for all available result entries pass
54255
53005
  * nullptr.
53006
+ * @param mustContainTags - Array of tags that must be present in retrieved
53007
+ * spaces. For no mandatory tags pass nullptr.
53008
+ * @param mustExcludeTags - Array of tags that must not be present in retrieved
53009
+ * spaces. For no excluded tags pass nullptr.
53010
+ * @param mustIncludeAllTags - Whether all tags in @param MustContainTags must be present in retrieved spaces.
54256
53011
  * @param callback - Callback when asynchronous task finishes
54257
53012
  */
54258
53013
 
@@ -54262,6 +53017,9 @@ export namespace Systems {
54262
53017
  requiresInvite: boolean | null,
54263
53018
  resultsSkip: number | null,
54264
53019
  resultsMax: number | null,
53020
+ mustContainTags: Common.Array<string> | null,
53021
+ mustExcludeTags: Common.Array<string> | null,
53022
+ mustIncludeAllTags: boolean | null,
54265
53023
  ): Promise<Systems.BasicSpacesResult> {
54266
53024
  var _resolve;
54267
53025
 
@@ -54315,8 +53073,18 @@ export namespace Systems {
54315
53073
  Module.setValue(resultsMaxPointer, resultsMax, "i32");
54316
53074
  }
54317
53075
 
53076
+ var mustIncludeAllTagsPointer = 0;
53077
+ if (mustIncludeAllTags != null) {
53078
+ mustIncludeAllTagsPointer = Module._malloc(4);
53079
+ Module.setValue(
53080
+ mustIncludeAllTagsPointer,
53081
+ mustIncludeAllTags ? 1 : 0,
53082
+ "i32",
53083
+ );
53084
+ }
53085
+
54318
53086
  Module.ccall(
54319
- "csp_systems_SpaceSystem_GetSpacesByAttributes_void_boolRC_boolRC_boolRC_intRC_intRC_BasicSpacesResultCallback",
53087
+ "csp_systems_SpaceSystem_GetSpacesByAttributes_void_boolRC_boolRC_boolRC_intRC_intRC_ArrayRC_ArrayRC_boolRC_BasicSpacesResultCallback",
54320
53088
  "void",
54321
53089
  [
54322
53090
  "number",
@@ -54327,6 +53095,9 @@ export namespace Systems {
54327
53095
  "number",
54328
53096
  "number",
54329
53097
  "number",
53098
+ "boolean",
53099
+ "number",
53100
+ "number",
54330
53101
  ],
54331
53102
  [
54332
53103
  this.pointer,
@@ -54335,6 +53106,9 @@ export namespace Systems {
54335
53106
  requiresInvitePointer,
54336
53107
  resultsSkipPointer,
54337
53108
  resultsMaxPointer,
53109
+ mustContainTags != null ? mustContainTags.pointer : 0,
53110
+ mustExcludeTags != null ? mustExcludeTags.pointer : 0,
53111
+ mustIncludeAllTagsPointer,
54338
53112
  _callbackPtr,
54339
53113
  0,
54340
53114
  ],
@@ -54355,6 +53129,9 @@ export namespace Systems {
54355
53129
  if (resultsMaxPointer) {
54356
53130
  Module._free(resultsMaxPointer);
54357
53131
  }
53132
+ if (mustIncludeAllTagsPointer) {
53133
+ Module._free(mustIncludeAllTagsPointer);
53134
+ }
54358
53135
 
54359
53136
  return _promise;
54360
53137
  }
@@ -54984,15 +53761,12 @@ export namespace Systems {
54984
53761
  * @description Updates the Space metadata information with the new one provided
54985
53762
  * @param spaceId - ID of Space for which the metadata will be updated
54986
53763
  * @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
53764
  * @param callback - Callback when asynchronous task finishes
54990
53765
  */
54991
53766
 
54992
53767
  async updateSpaceMetadata(
54993
53768
  spaceId: string,
54994
53769
  newMetadata: Common.Map<string, string>,
54995
- tags: Common.Array<string> | null,
54996
53770
  ): Promise<Systems.NullResult> {
54997
53771
  var _resolve;
54998
53772
 
@@ -55017,17 +53791,10 @@ export namespace Systems {
55017
53791
  _callbackPtr = Module.addFunction(_callback, "vii");
55018
53792
 
55019
53793
  Module.ccall(
55020
- "csp_systems_SpaceSystem_UpdateSpaceMetadata_void_StringRC_MapRC_ArrayRC_NullResultCallback",
53794
+ "csp_systems_SpaceSystem_UpdateSpaceMetadata_void_StringRC_MapRC_NullResultCallback",
55021
53795
  "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
- ],
53796
+ ["number", "string", "number", "number", "number"],
53797
+ [this.pointer, spaceId, newMetadata.pointer, _callbackPtr, 0],
55031
53798
  );
55032
53799
 
55033
53800
  return _promise;
@@ -58763,60 +57530,6 @@ export namespace Common {
58763
57530
  return _inst;
58764
57531
  }
58765
57532
 
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
57533
  static ofcsp_systems_FeatureLimitInfo(): Array<Systems.FeatureLimitInfo> {
58821
57534
  var _ret = Module._malloc(8);
58822
57535
  Module.ccall(
@@ -59583,66 +58296,6 @@ export namespace Common {
59583
58296
  return _inst;
59584
58297
  }
59585
58298
 
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
58299
  static ofcsp_systems_FeatureLimitInfo_number(
59647
58300
  size: number,
59648
58301
  ): Array<Systems.FeatureLimitInfo> {