connected-spaces-platform.web 4.26.1 → 4.27.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.
@@ -802,6 +802,14 @@ function csp_systems_LogLevelFactory(
802
802
  }
803
803
  ProxyClassFactories["csp_systems_LogLevel"] = csp_systems_LogLevelFactory;
804
804
 
805
+ function csp_systems_EOrganizationRoleFactory(
806
+ nativePointer: NativePointer,
807
+ ): Systems.EOrganizationRole {
808
+ return nativePointer.pointer as Systems.EOrganizationRole;
809
+ }
810
+ ProxyClassFactories["csp_systems_EOrganizationRole"] =
811
+ csp_systems_EOrganizationRoleFactory;
812
+
805
813
  function csp_systems_PeriodEnumFactory(
806
814
  nativePointer: NativePointer,
807
815
  ): Systems.PeriodEnum {
@@ -1253,6 +1261,38 @@ function csp_systems_MaintenanceInfoFactory(
1253
1261
  ProxyClassFactories["csp_systems_MaintenanceInfo"] =
1254
1262
  csp_systems_MaintenanceInfoFactory;
1255
1263
 
1264
+ function csp_systems_InviteOrganizationRoleInfoFactory(
1265
+ nativePointer: NativePointer,
1266
+ ): NativeClassWrapper {
1267
+ return new Systems.InviteOrganizationRoleInfo(nativePointer);
1268
+ }
1269
+ ProxyClassFactories["csp_systems_InviteOrganizationRoleInfo"] =
1270
+ csp_systems_InviteOrganizationRoleInfoFactory;
1271
+
1272
+ function csp_systems_InviteOrganizationRoleCollectionFactory(
1273
+ nativePointer: NativePointer,
1274
+ ): NativeClassWrapper {
1275
+ return new Systems.InviteOrganizationRoleCollection(nativePointer);
1276
+ }
1277
+ ProxyClassFactories["csp_systems_InviteOrganizationRoleCollection"] =
1278
+ csp_systems_InviteOrganizationRoleCollectionFactory;
1279
+
1280
+ function csp_systems_OrganizationRoleInfoFactory(
1281
+ nativePointer: NativePointer,
1282
+ ): NativeClassWrapper {
1283
+ return new Systems.OrganizationRoleInfo(nativePointer);
1284
+ }
1285
+ ProxyClassFactories["csp_systems_OrganizationRoleInfo"] =
1286
+ csp_systems_OrganizationRoleInfoFactory;
1287
+
1288
+ function csp_systems_OrganizationFactory(
1289
+ nativePointer: NativePointer,
1290
+ ): NativeClassWrapper {
1291
+ return new Systems.Organization(nativePointer);
1292
+ }
1293
+ ProxyClassFactories["csp_systems_Organization"] =
1294
+ csp_systems_OrganizationFactory;
1295
+
1256
1296
  function csp_systems_FeatureLimitInfoFactory(
1257
1297
  nativePointer: NativePointer,
1258
1298
  ): NativeClassWrapper {
@@ -1778,6 +1818,14 @@ function csp_systems_AddShopifyStoreResultFactory(
1778
1818
  ProxyClassFactories["csp_systems_AddShopifyStoreResult"] =
1779
1819
  csp_systems_AddShopifyStoreResultFactory;
1780
1820
 
1821
+ function csp_systems_GetShopifyStoresResultFactory(
1822
+ nativePointer: NativePointer,
1823
+ ): NativeClassWrapper {
1824
+ return new Systems.GetShopifyStoresResult(nativePointer);
1825
+ }
1826
+ ProxyClassFactories["csp_systems_GetShopifyStoresResult"] =
1827
+ csp_systems_GetShopifyStoresResultFactory;
1828
+
1781
1829
  function csp_systems_ValidateShopifyStoreResultFactory(
1782
1830
  nativePointer: NativePointer,
1783
1831
  ): NativeClassWrapper {
@@ -1874,6 +1922,30 @@ function csp_systems_MaintenanceSystemFactory(
1874
1922
  ProxyClassFactories["csp_systems_MaintenanceSystem"] =
1875
1923
  csp_systems_MaintenanceSystemFactory;
1876
1924
 
1925
+ function csp_systems_OrganizationResultFactory(
1926
+ nativePointer: NativePointer,
1927
+ ): NativeClassWrapper {
1928
+ return new Systems.OrganizationResult(nativePointer);
1929
+ }
1930
+ ProxyClassFactories["csp_systems_OrganizationResult"] =
1931
+ csp_systems_OrganizationResultFactory;
1932
+
1933
+ function csp_systems_OrganizationRolesResultFactory(
1934
+ nativePointer: NativePointer,
1935
+ ): NativeClassWrapper {
1936
+ return new Systems.OrganizationRolesResult(nativePointer);
1937
+ }
1938
+ ProxyClassFactories["csp_systems_OrganizationRolesResult"] =
1939
+ csp_systems_OrganizationRolesResultFactory;
1940
+
1941
+ function csp_systems_OrganizationSystemFactory(
1942
+ nativePointer: NativePointer,
1943
+ ): NativeClassWrapper {
1944
+ return new Systems.OrganizationSystem(nativePointer);
1945
+ }
1946
+ ProxyClassFactories["csp_systems_OrganizationSystem"] =
1947
+ csp_systems_OrganizationSystemFactory;
1948
+
1877
1949
  function csp_systems_FeaturesLimitResultFactory(
1878
1950
  nativePointer: NativePointer,
1879
1951
  ): NativeClassWrapper {
@@ -2349,6 +2421,18 @@ function csp_common_Array_csp_systems_ProductInfoFactory(
2349
2421
  ProxyClassFactories["csp_common_Array_csp_systems_ProductInfo"] =
2350
2422
  csp_common_Array_csp_systems_ProductInfoFactory;
2351
2423
 
2424
+ function csp_common_Array_csp_systems_ShopifyStoreInfoFactory(
2425
+ nativePointer: NativePointer,
2426
+ ): NativeClassWrapper {
2427
+ return new Common.Array<Systems.ShopifyStoreInfo>(
2428
+ nativePointer,
2429
+ csp_systems_ShopifyStoreInfoFactory,
2430
+ "csp_systems_ShopifyStoreInfo",
2431
+ );
2432
+ }
2433
+ ProxyClassFactories["csp_common_Array_csp_systems_ShopifyStoreInfo"] =
2434
+ csp_common_Array_csp_systems_ShopifyStoreInfoFactory;
2435
+
2352
2436
  function csp_common_Array_csp_systems_TicketedEventFactory(
2353
2437
  nativePointer: NativePointer,
2354
2438
  ): NativeClassWrapper {
@@ -2373,6 +2457,42 @@ function csp_common_Array_csp_systems_MaintenanceInfoFactory(
2373
2457
  ProxyClassFactories["csp_common_Array_csp_systems_MaintenanceInfo"] =
2374
2458
  csp_common_Array_csp_systems_MaintenanceInfoFactory;
2375
2459
 
2460
+ function csp_common_Array_csp_systems_EOrganizationRoleFactory(
2461
+ nativePointer: NativePointer,
2462
+ ): NativeClassWrapper {
2463
+ return new Common.Array<Systems.EOrganizationRole>(
2464
+ nativePointer,
2465
+ csp_systems_EOrganizationRoleFactory,
2466
+ "csp_systems_EOrganizationRole",
2467
+ );
2468
+ }
2469
+ ProxyClassFactories["csp_common_Array_csp_systems_EOrganizationRole"] =
2470
+ csp_common_Array_csp_systems_EOrganizationRoleFactory;
2471
+
2472
+ function csp_common_Array_csp_systems_InviteOrganizationRoleInfoFactory(
2473
+ nativePointer: NativePointer,
2474
+ ): NativeClassWrapper {
2475
+ return new Common.Array<Systems.InviteOrganizationRoleInfo>(
2476
+ nativePointer,
2477
+ csp_systems_InviteOrganizationRoleInfoFactory,
2478
+ "csp_systems_InviteOrganizationRoleInfo",
2479
+ );
2480
+ }
2481
+ ProxyClassFactories["csp_common_Array_csp_systems_InviteOrganizationRoleInfo"] =
2482
+ csp_common_Array_csp_systems_InviteOrganizationRoleInfoFactory;
2483
+
2484
+ function csp_common_Array_csp_systems_OrganizationRoleInfoFactory(
2485
+ nativePointer: NativePointer,
2486
+ ): NativeClassWrapper {
2487
+ return new Common.Array<Systems.OrganizationRoleInfo>(
2488
+ nativePointer,
2489
+ csp_systems_OrganizationRoleInfoFactory,
2490
+ "csp_systems_OrganizationRoleInfo",
2491
+ );
2492
+ }
2493
+ ProxyClassFactories["csp_common_Array_csp_systems_OrganizationRoleInfo"] =
2494
+ csp_common_Array_csp_systems_OrganizationRoleInfoFactory;
2495
+
2376
2496
  function csp_common_Array_csp_systems_FeatureLimitInfoFactory(
2377
2497
  nativePointer: NativePointer,
2378
2498
  ): NativeClassWrapper {
@@ -3568,6 +3688,17 @@ export namespace Systems {
3568
3688
  }
3569
3689
  }
3570
3690
 
3691
+ export namespace Systems {
3692
+ /**
3693
+ * @description Data representation of User Role in Organization.
3694
+ */
3695
+ export enum EOrganizationRole {
3696
+ Member,
3697
+ Administrator,
3698
+ Owner,
3699
+ }
3700
+ }
3701
+
3571
3702
  export namespace Systems {
3572
3703
  /**
3573
3704
  @ingroup Quota System
@@ -25268,6 +25399,26 @@ export namespace Systems {
25268
25399
  return _nPtr;
25269
25400
  }
25270
25401
 
25402
+ /**
25403
+ * @description Retrieves the Organization system.
25404
+ * @return Pointer to the organization system class
25405
+ */
25406
+
25407
+ getOrganizationSystem(): Systems.OrganizationSystem {
25408
+ var _ret = Module._malloc(8);
25409
+
25410
+ Module.ccall(
25411
+ "csp_systems_SystemsManager_GetOrganizationSystem_OrganizationSystemP",
25412
+ "void",
25413
+ ["number", "number"],
25414
+ [_ret, this.pointer],
25415
+ );
25416
+ var _nPtr = new Systems.OrganizationSystem(getNativePointer(_ret));
25417
+ Module._free(_ret);
25418
+
25419
+ return _nPtr;
25420
+ }
25421
+
25271
25422
  getSpaceEntitySystem(): Multiplayer.SpaceEntitySystem {
25272
25423
  var _ret = Module._malloc(8);
25273
25424
 
@@ -28752,6 +28903,508 @@ export namespace Systems {
28752
28903
  }
28753
28904
  }
28754
28905
 
28906
+ export namespace Systems {
28907
+ /**
28908
+ @ingroup Organization System
28909
+ * @description Data representation of a User's Organization invite.
28910
+ */
28911
+ export class InviteOrganizationRoleInfo
28912
+ extends NativeClassWrapper
28913
+ implements INativeResource
28914
+ {
28915
+ /** @internal */
28916
+ constructor(pointer: NativePointer) {
28917
+ super(pointer);
28918
+ }
28919
+
28920
+ static create(): InviteOrganizationRoleInfo {
28921
+ var _ptr = Module._malloc(8);
28922
+ Module.ccall(
28923
+ "csp_systems_InviteOrganizationRoleInfo_Ctor",
28924
+ "void",
28925
+ ["number"],
28926
+ [_ptr],
28927
+ );
28928
+ var _nPtr = getNativePointer(_ptr);
28929
+
28930
+ return new InviteOrganizationRoleInfo(_nPtr);
28931
+ }
28932
+
28933
+ delete(): void {
28934
+ if (this.ownsPointer && !this.disposed) {
28935
+ Module.ccall(
28936
+ "csp_systems_InviteOrganizationRoleInfo_Dtor",
28937
+ "void",
28938
+ ["number"],
28939
+ [this.pointer],
28940
+ );
28941
+
28942
+ this.disposed = true;
28943
+ }
28944
+ }
28945
+
28946
+ get userEmail(): string {
28947
+ let _result = Module.ccall(
28948
+ "csp_systems_InviteOrganizationRoleInfo__Get_UserEmail",
28949
+ "string",
28950
+ ["number"],
28951
+ [this.pointer],
28952
+ );
28953
+
28954
+ return _result;
28955
+ }
28956
+
28957
+ set userEmail(value: string) {
28958
+ Module.ccall(
28959
+ "csp_systems_InviteOrganizationRoleInfo__Set_UserEmail",
28960
+ "void",
28961
+ ["number", "string"],
28962
+ [this.pointer, value],
28963
+ );
28964
+ }
28965
+
28966
+ get organizationRoles(): Common.Array<Systems.EOrganizationRole> {
28967
+ const _ptr = Module._malloc(8);
28968
+ Module.ccall(
28969
+ "csp_systems_InviteOrganizationRoleInfo__Get_OrganizationRoles",
28970
+ "void",
28971
+ ["number", "number"],
28972
+ [_ptr, this.pointer],
28973
+ );
28974
+
28975
+ const _nPtr = getNativePointer(_ptr);
28976
+ return new Common.Array<Systems.EOrganizationRole>(
28977
+ _nPtr,
28978
+ csp_systems_EOrganizationRoleFactory,
28979
+ "csp_systems_EOrganizationRole",
28980
+ );
28981
+ }
28982
+
28983
+ set organizationRoles(value: Common.Array<Systems.EOrganizationRole>) {
28984
+ Module.ccall(
28985
+ "csp_systems_InviteOrganizationRoleInfo__Set_OrganizationRoles",
28986
+ "void",
28987
+ ["number", "number"],
28988
+ [this.pointer, value.pointer],
28989
+ );
28990
+ }
28991
+ }
28992
+ }
28993
+
28994
+ export namespace Systems {
28995
+ /**
28996
+ @ingroup Organization System
28997
+ * @description Data representation of a collection of User Organization invites.
28998
+ */
28999
+ export class InviteOrganizationRoleCollection
29000
+ extends NativeClassWrapper
29001
+ implements INativeResource
29002
+ {
29003
+ /** @internal */
29004
+ constructor(pointer: NativePointer) {
29005
+ super(pointer);
29006
+ }
29007
+
29008
+ static create(): InviteOrganizationRoleCollection {
29009
+ var _ptr = Module._malloc(8);
29010
+ Module.ccall(
29011
+ "csp_systems_InviteOrganizationRoleCollection_Ctor",
29012
+ "void",
29013
+ ["number"],
29014
+ [_ptr],
29015
+ );
29016
+ var _nPtr = getNativePointer(_ptr);
29017
+
29018
+ return new InviteOrganizationRoleCollection(_nPtr);
29019
+ }
29020
+
29021
+ delete(): void {
29022
+ if (this.ownsPointer && !this.disposed) {
29023
+ Module.ccall(
29024
+ "csp_systems_InviteOrganizationRoleCollection_Dtor",
29025
+ "void",
29026
+ ["number"],
29027
+ [this.pointer],
29028
+ );
29029
+
29030
+ this.disposed = true;
29031
+ }
29032
+ }
29033
+
29034
+ get emailLinkUrl(): string {
29035
+ let _result = Module.ccall(
29036
+ "csp_systems_InviteOrganizationRoleCollection__Get_EmailLinkUrl",
29037
+ "string",
29038
+ ["number"],
29039
+ [this.pointer],
29040
+ );
29041
+
29042
+ return _result;
29043
+ }
29044
+
29045
+ set emailLinkUrl(value: string) {
29046
+ Module.ccall(
29047
+ "csp_systems_InviteOrganizationRoleCollection__Set_EmailLinkUrl",
29048
+ "void",
29049
+ ["number", "string"],
29050
+ [this.pointer, value],
29051
+ );
29052
+ }
29053
+
29054
+ get signupUrl(): string {
29055
+ let _result = Module.ccall(
29056
+ "csp_systems_InviteOrganizationRoleCollection__Get_SignupUrl",
29057
+ "string",
29058
+ ["number"],
29059
+ [this.pointer],
29060
+ );
29061
+
29062
+ return _result;
29063
+ }
29064
+
29065
+ set signupUrl(value: string) {
29066
+ Module.ccall(
29067
+ "csp_systems_InviteOrganizationRoleCollection__Set_SignupUrl",
29068
+ "void",
29069
+ ["number", "string"],
29070
+ [this.pointer, value],
29071
+ );
29072
+ }
29073
+
29074
+ get invitedUserRoles(): Common.Array<Systems.InviteOrganizationRoleInfo> {
29075
+ const _ptr = Module._malloc(8);
29076
+ Module.ccall(
29077
+ "csp_systems_InviteOrganizationRoleCollection__Get_InvitedUserRoles",
29078
+ "void",
29079
+ ["number", "number"],
29080
+ [_ptr, this.pointer],
29081
+ );
29082
+
29083
+ const _nPtr = getNativePointer(_ptr);
29084
+ return new Common.Array<Systems.InviteOrganizationRoleInfo>(
29085
+ _nPtr,
29086
+ csp_systems_InviteOrganizationRoleInfoFactory,
29087
+ "csp_systems_InviteOrganizationRoleInfo",
29088
+ );
29089
+ }
29090
+
29091
+ set invitedUserRoles(
29092
+ value: Common.Array<Systems.InviteOrganizationRoleInfo>,
29093
+ ) {
29094
+ Module.ccall(
29095
+ "csp_systems_InviteOrganizationRoleCollection__Set_InvitedUserRoles",
29096
+ "void",
29097
+ ["number", "number"],
29098
+ [this.pointer, value.pointer],
29099
+ );
29100
+ }
29101
+ }
29102
+ }
29103
+
29104
+ export namespace Systems {
29105
+ /**
29106
+ @ingroup Organization System
29107
+ * @description Data representation of a User's role within an Organization.
29108
+ */
29109
+ export class OrganizationRoleInfo
29110
+ extends NativeClassWrapper
29111
+ implements INativeResource
29112
+ {
29113
+ /** @internal */
29114
+ constructor(pointer: NativePointer) {
29115
+ super(pointer);
29116
+ }
29117
+
29118
+ static create(): OrganizationRoleInfo {
29119
+ var _ptr = Module._malloc(8);
29120
+ Module.ccall(
29121
+ "csp_systems_OrganizationRoleInfo_Ctor",
29122
+ "void",
29123
+ ["number"],
29124
+ [_ptr],
29125
+ );
29126
+ var _nPtr = getNativePointer(_ptr);
29127
+
29128
+ return new OrganizationRoleInfo(_nPtr);
29129
+ }
29130
+
29131
+ delete(): void {
29132
+ if (this.ownsPointer && !this.disposed) {
29133
+ Module.ccall(
29134
+ "csp_systems_OrganizationRoleInfo_Dtor",
29135
+ "void",
29136
+ ["number"],
29137
+ [this.pointer],
29138
+ );
29139
+
29140
+ this.disposed = true;
29141
+ }
29142
+ }
29143
+
29144
+ get userId(): string {
29145
+ let _result = Module.ccall(
29146
+ "csp_systems_OrganizationRoleInfo__Get_UserId",
29147
+ "string",
29148
+ ["number"],
29149
+ [this.pointer],
29150
+ );
29151
+
29152
+ return _result;
29153
+ }
29154
+
29155
+ set userId(value: string) {
29156
+ Module.ccall(
29157
+ "csp_systems_OrganizationRoleInfo__Set_UserId",
29158
+ "void",
29159
+ ["number", "string"],
29160
+ [this.pointer, value],
29161
+ );
29162
+ }
29163
+
29164
+ get organizationRoles(): Common.Array<Systems.EOrganizationRole> {
29165
+ const _ptr = Module._malloc(8);
29166
+ Module.ccall(
29167
+ "csp_systems_OrganizationRoleInfo__Get_OrganizationRoles",
29168
+ "void",
29169
+ ["number", "number"],
29170
+ [_ptr, this.pointer],
29171
+ );
29172
+
29173
+ const _nPtr = getNativePointer(_ptr);
29174
+ return new Common.Array<Systems.EOrganizationRole>(
29175
+ _nPtr,
29176
+ csp_systems_EOrganizationRoleFactory,
29177
+ "csp_systems_EOrganizationRole",
29178
+ );
29179
+ }
29180
+
29181
+ set organizationRoles(value: Common.Array<Systems.EOrganizationRole>) {
29182
+ Module.ccall(
29183
+ "csp_systems_OrganizationRoleInfo__Set_OrganizationRoles",
29184
+ "void",
29185
+ ["number", "number"],
29186
+ [this.pointer, value.pointer],
29187
+ );
29188
+ }
29189
+ }
29190
+ }
29191
+
29192
+ export namespace Systems {
29193
+ /**
29194
+ @ingroup Organization System
29195
+ * @description Data representation of an Organization.
29196
+ */
29197
+ export class Organization
29198
+ extends NativeClassWrapper
29199
+ implements INativeResource
29200
+ {
29201
+ /** @internal */
29202
+ constructor(pointer: NativePointer) {
29203
+ super(pointer);
29204
+ }
29205
+
29206
+ static create(): Organization {
29207
+ var _ptr = Module._malloc(8);
29208
+ Module.ccall("csp_systems_Organization_Ctor", "void", ["number"], [_ptr]);
29209
+ var _nPtr = getNativePointer(_ptr);
29210
+
29211
+ return new Organization(_nPtr);
29212
+ }
29213
+
29214
+ static create_other(other: Systems.Organization): Organization {
29215
+ var _ptr = Module._malloc(8);
29216
+ Module.ccall(
29217
+ "csp_systems_Organization_Ctor_OrganizationRC",
29218
+ "void",
29219
+ ["number", "number"],
29220
+ [_ptr, other.pointer],
29221
+ );
29222
+ var _nPtr = getNativePointer(_ptr);
29223
+
29224
+ return new Organization(_nPtr);
29225
+ }
29226
+
29227
+ delete(): void {
29228
+ if (this.ownsPointer && !this.disposed) {
29229
+ Module.ccall(
29230
+ "csp_systems_Organization_Dtor",
29231
+ "void",
29232
+ ["number"],
29233
+ [this.pointer],
29234
+ );
29235
+
29236
+ this.disposed = true;
29237
+ }
29238
+ }
29239
+
29240
+ get id(): string {
29241
+ let _result = Module.ccall(
29242
+ "csp_systems_Organization__Get_Id",
29243
+ "string",
29244
+ ["number"],
29245
+ [this.pointer],
29246
+ );
29247
+
29248
+ return _result;
29249
+ }
29250
+
29251
+ set id(value: string) {
29252
+ Module.ccall(
29253
+ "csp_systems_Organization__Set_Id",
29254
+ "void",
29255
+ ["number", "string"],
29256
+ [this.pointer, value],
29257
+ );
29258
+ }
29259
+
29260
+ get ownerId(): string {
29261
+ let _result = Module.ccall(
29262
+ "csp_systems_Organization__Get_OwnerId",
29263
+ "string",
29264
+ ["number"],
29265
+ [this.pointer],
29266
+ );
29267
+
29268
+ return _result;
29269
+ }
29270
+
29271
+ set ownerId(value: string) {
29272
+ Module.ccall(
29273
+ "csp_systems_Organization__Set_OwnerId",
29274
+ "void",
29275
+ ["number", "string"],
29276
+ [this.pointer, value],
29277
+ );
29278
+ }
29279
+
29280
+ get createdAt(): string {
29281
+ let _result = Module.ccall(
29282
+ "csp_systems_Organization__Get_CreatedAt",
29283
+ "string",
29284
+ ["number"],
29285
+ [this.pointer],
29286
+ );
29287
+
29288
+ return _result;
29289
+ }
29290
+
29291
+ set createdAt(value: string) {
29292
+ Module.ccall(
29293
+ "csp_systems_Organization__Set_CreatedAt",
29294
+ "void",
29295
+ ["number", "string"],
29296
+ [this.pointer, value],
29297
+ );
29298
+ }
29299
+
29300
+ get createdBy(): string {
29301
+ let _result = Module.ccall(
29302
+ "csp_systems_Organization__Get_CreatedBy",
29303
+ "string",
29304
+ ["number"],
29305
+ [this.pointer],
29306
+ );
29307
+
29308
+ return _result;
29309
+ }
29310
+
29311
+ set createdBy(value: string) {
29312
+ Module.ccall(
29313
+ "csp_systems_Organization__Set_CreatedBy",
29314
+ "void",
29315
+ ["number", "string"],
29316
+ [this.pointer, value],
29317
+ );
29318
+ }
29319
+
29320
+ get name(): string {
29321
+ let _result = Module.ccall(
29322
+ "csp_systems_Organization__Get_Name",
29323
+ "string",
29324
+ ["number"],
29325
+ [this.pointer],
29326
+ );
29327
+
29328
+ return _result;
29329
+ }
29330
+
29331
+ set name(value: string) {
29332
+ Module.ccall(
29333
+ "csp_systems_Organization__Set_Name",
29334
+ "void",
29335
+ ["number", "string"],
29336
+ [this.pointer, value],
29337
+ );
29338
+ }
29339
+
29340
+ get description(): string {
29341
+ let _result = Module.ccall(
29342
+ "csp_systems_Organization__Get_Description",
29343
+ "string",
29344
+ ["number"],
29345
+ [this.pointer],
29346
+ );
29347
+
29348
+ return _result;
29349
+ }
29350
+
29351
+ set description(value: string) {
29352
+ Module.ccall(
29353
+ "csp_systems_Organization__Set_Description",
29354
+ "void",
29355
+ ["number", "string"],
29356
+ [this.pointer, value],
29357
+ );
29358
+ }
29359
+
29360
+ get members(): Common.Array<Systems.OrganizationRoleInfo> {
29361
+ const _ptr = Module._malloc(8);
29362
+ Module.ccall(
29363
+ "csp_systems_Organization__Get_Members",
29364
+ "void",
29365
+ ["number", "number"],
29366
+ [_ptr, this.pointer],
29367
+ );
29368
+
29369
+ const _nPtr = getNativePointer(_ptr);
29370
+ return new Common.Array<Systems.OrganizationRoleInfo>(
29371
+ _nPtr,
29372
+ csp_systems_OrganizationRoleInfoFactory,
29373
+ "csp_systems_OrganizationRoleInfo",
29374
+ );
29375
+ }
29376
+
29377
+ set members(value: Common.Array<Systems.OrganizationRoleInfo>) {
29378
+ Module.ccall(
29379
+ "csp_systems_Organization__Set_Members",
29380
+ "void",
29381
+ ["number", "number"],
29382
+ [this.pointer, value.pointer],
29383
+ );
29384
+ }
29385
+
29386
+ get spaceCount(): number {
29387
+ let _result = Module.ccall(
29388
+ "csp_systems_Organization__Get_SpaceCount",
29389
+ "number",
29390
+ ["number"],
29391
+ [this.pointer],
29392
+ );
29393
+
29394
+ return _result;
29395
+ }
29396
+
29397
+ set spaceCount(value: number) {
29398
+ Module.ccall(
29399
+ "csp_systems_Organization__Set_SpaceCount",
29400
+ "void",
29401
+ ["number", "number"],
29402
+ [this.pointer, value],
29403
+ );
29404
+ }
29405
+ }
29406
+ }
29407
+
28755
29408
  export namespace Systems {
28756
29409
  /**
28757
29410
  @ingroup Quota System
@@ -31245,6 +31898,28 @@ export namespace Systems {
31245
31898
  [this.pointer, value],
31246
31899
  );
31247
31900
  }
31901
+
31902
+ get organizationIds(): Common.Array<string> {
31903
+ const _ptr = Module._malloc(8);
31904
+ Module.ccall(
31905
+ "csp_systems_LoginState__Get_OrganizationIds",
31906
+ "void",
31907
+ ["number", "number"],
31908
+ [_ptr, this.pointer],
31909
+ );
31910
+
31911
+ const _nPtr = getNativePointer(_ptr);
31912
+ return new Common.Array<string>(_nPtr, StringFactory, "String");
31913
+ }
31914
+
31915
+ set organizationIds(value: Common.Array<string>) {
31916
+ Module.ccall(
31917
+ "csp_systems_LoginState__Set_OrganizationIds",
31918
+ "void",
31919
+ ["number", "number"],
31920
+ [this.pointer, value.pointer],
31921
+ );
31922
+ }
31248
31923
  }
31249
31924
  }
31250
31925
 
@@ -36613,9 +37288,10 @@ export namespace Multiplayer {
36613
37288
  /**
36614
37289
  @ingroup GaussianSplatSpaceComponent
36615
37290
  * @description Data representation of a GaussianSplatSpaceComponent.
36616
- * Gaussian Splatting is a technique for real-time 3D reconstruction and rendering of an object or environment using images taken from multiple points of view.
36617
- * Rather than representing the object as a mesh of triangles, which has a surface but nothing inside, it is instead represented as a volume,
36618
- * comprising a point cloud of splats (like coloured dots), each of which has a position, colour (with alpha) and covariance (scale on 3 axis).
37291
+ * Gaussian Splatting is a technique for real-time 3D reconstruction and rendering of an object or environment using images taken from multiple
37292
+ * points of view. Rather than representing the object as a mesh of triangles, which has a surface but nothing inside, it is instead represented as a
37293
+ * volume, comprising a point cloud of splats (like coloured dots), each of which has a position, colour (with alpha) and covariance (scale on 3
37294
+ * axis).
36619
37295
  */
36620
37296
  export class GaussianSplatSpaceComponent
36621
37297
  extends Multiplayer.ComponentBase
@@ -36930,6 +37606,8 @@ export namespace Multiplayer {
36930
37606
  @{
36931
37607
  @copydoc IShadowCasterComponent::GetIsShadowCaster()
36932
37608
  */
37609
+ /** @deprecated
37610
+ */
36933
37611
 
36934
37612
  getIsShadowCaster(): boolean {
36935
37613
  let _result = Module.ccall(
@@ -36945,6 +37623,8 @@ export namespace Multiplayer {
36945
37623
  /**
36946
37624
  @copydoc IShadowCasterComponent::SetIsShadowCaster()
36947
37625
  */
37626
+ /** @deprecated
37627
+ */
36948
37628
 
36949
37629
  setIsShadowCaster(value: boolean): void {
36950
37630
  Module.ccall(
@@ -42664,6 +43344,67 @@ export namespace Systems {
42664
43344
  }
42665
43345
  }
42666
43346
 
43347
+ export namespace Systems {
43348
+ export class GetShopifyStoresResult
43349
+ extends Systems.ResultBase
43350
+ implements INativeResource
43351
+ {
43352
+ /** @internal */
43353
+ constructor(pointer: NativePointer) {
43354
+ super(pointer);
43355
+ }
43356
+
43357
+ static fromResultBase(
43358
+ baseInstance: Systems.ResultBase,
43359
+ ): Systems.GetShopifyStoresResult {
43360
+ const nativeClassWrapper = baseInstance as unknown as NativeClassWrapper;
43361
+ return new Systems.GetShopifyStoresResult(
43362
+ new NativePointer(
43363
+ nativeClassWrapper.pointer,
43364
+ nativeClassWrapper.ownsPointer,
43365
+ ),
43366
+ );
43367
+ }
43368
+
43369
+ /**
43370
+ * @description Retrieves the ShopifyStoreInfo Array being stored.
43371
+ * @return Reference to the shopifystoreinfos
43372
+ */
43373
+
43374
+ getShopifyStores(): Common.Array<Systems.ShopifyStoreInfo> {
43375
+ var _ret = Module._malloc(8);
43376
+
43377
+ Module.ccall(
43378
+ "csp_systems_GetShopifyStoresResult_GetShopifyStoresC_ArrayRC",
43379
+ "void",
43380
+ ["number", "number"],
43381
+ [_ret, this.pointer],
43382
+ );
43383
+ var _nPtr = new Common.Array<Systems.ShopifyStoreInfo>(
43384
+ getNativePointer(_ret),
43385
+ csp_systems_ShopifyStoreInfoFactory,
43386
+ "csp_systems_ShopifyStoreInfo",
43387
+ );
43388
+ Module._free(_ret);
43389
+
43390
+ return _nPtr;
43391
+ }
43392
+
43393
+ delete(): void {
43394
+ if (this.ownsPointer && !this.disposed) {
43395
+ Module.ccall(
43396
+ "csp_systems_GetShopifyStoresResult_Dtor",
43397
+ "void",
43398
+ ["number"],
43399
+ [this.pointer],
43400
+ );
43401
+
43402
+ this.disposed = true;
43403
+ }
43404
+ }
43405
+ }
43406
+ }
43407
+
42667
43408
  export namespace Systems {
42668
43409
  export class ValidateShopifyStoreResult
42669
43410
  extends Systems.ResultBase
@@ -42958,6 +43699,57 @@ export namespace Systems {
42958
43699
  return _promise;
42959
43700
  }
42960
43701
 
43702
+ /**
43703
+ * @description Gets all shopify stores for the given user.
43704
+ * @param isActive - Optional bool for filtering returned stores by active status.
43705
+ * @param callback - Callback when asynchronous task finishes
43706
+ */
43707
+
43708
+ async getShopifyStores(
43709
+ isActive: boolean | null,
43710
+ ): Promise<Systems.GetShopifyStoresResult> {
43711
+ var _resolve;
43712
+
43713
+ var _promise = new Promise<Systems.GetShopifyStoresResult>((_r) => {
43714
+ _resolve = _r;
43715
+ });
43716
+
43717
+ var _callbackPtr: number;
43718
+ var _callback = (_stateObject__: number, result) => {
43719
+ var _resultPtr = getNativePointer(result);
43720
+ var _resultInstance = new Systems.GetShopifyStoresResult(_resultPtr);
43721
+
43722
+ if (_resultInstance.getResultCode() == Systems.EResultCode.InProgress) {
43723
+ return;
43724
+ }
43725
+
43726
+ _resolve(_resultInstance);
43727
+
43728
+ Module.removeFunction(_callbackPtr);
43729
+ };
43730
+
43731
+ _callbackPtr = Module.addFunction(_callback, "vii");
43732
+
43733
+ var isActivePointer = 0;
43734
+ if (isActive != null) {
43735
+ isActivePointer = Module._malloc(4);
43736
+ Module.setValue(isActivePointer, isActive ? 1 : 0, "i32");
43737
+ }
43738
+
43739
+ Module.ccall(
43740
+ "csp_systems_ECommerceSystem_GetShopifyStores_void_boolRC_GetShopifyStoresResultCallback",
43741
+ "void",
43742
+ ["number", "boolean", "number", "number"],
43743
+ [this.pointer, isActivePointer, _callbackPtr, 0],
43744
+ );
43745
+
43746
+ if (isActivePointer) {
43747
+ Module._free(isActivePointer);
43748
+ }
43749
+
43750
+ return _promise;
43751
+ }
43752
+
42961
43753
  /**
42962
43754
  * @description Adds a Shopify store to a space.
42963
43755
  * @param storeName - The store name (URL) to the Shopify store. Do not include the '.shopify.com' part of the url.
@@ -43543,20 +44335,20 @@ export namespace Systems {
43543
44335
  * existing values to be empty.
43544
44336
  * /// @param SpaceId csp::common::String : ID of the space the event belongs to.
43545
44337
  * @param eventId - ID of the Event to update.
43546
- * @param vendor - Enum representing the vendor that the event is created with.
43547
- * @param vendorEventId - Specifies the event ID in the vendors system.
43548
- * @param vendorEventUri - Specifies the URI for the event in the vendors system.
43549
- * @param isTicketingActive - Specifies whether ticketing is currently active for this event.
44338
+ * @param vendor - Optional enum representing the vendor that the event should be updated with.
44339
+ * @param vendorEventId - Optional value to update the event ID in the vendors system with.
44340
+ * @param vendorEventUri - Optional value to update the URI for the event in the vendors system with.
44341
+ * @param isTicketingActive - Optional value to update whether ticketing is currently active for this event.
43550
44342
  * @param callback - Callback providing the TicketedEvent once created.
43551
44343
  */
43552
44344
 
43553
44345
  async updateTicketedEvent(
43554
44346
  spaceId: string,
43555
44347
  eventId: string,
43556
- vendor: Systems.EventTicketingVendor,
43557
- vendorEventId: string,
43558
- vendorEventUri: string,
43559
- isTicketingActive: boolean,
44348
+ vendor: Systems.EventTicketingVendor | null,
44349
+ vendorEventId: string | null,
44350
+ vendorEventUri: string | null,
44351
+ isTicketingActive: boolean | null,
43560
44352
  ): Promise<Systems.TicketedEventResult> {
43561
44353
  var _resolve;
43562
44354
 
@@ -43580,8 +44372,24 @@ export namespace Systems {
43580
44372
 
43581
44373
  _callbackPtr = Module.addFunction(_callback, "vii");
43582
44374
 
44375
+ var vendorPointer = 0;
44376
+ if (vendor != null) {
44377
+ vendorPointer = Module._malloc(4);
44378
+ Module.setValue(vendorPointer, vendor, "i32");
44379
+ }
44380
+
44381
+ var isTicketingActivePointer = 0;
44382
+ if (isTicketingActive != null) {
44383
+ isTicketingActivePointer = Module._malloc(4);
44384
+ Module.setValue(
44385
+ isTicketingActivePointer,
44386
+ isTicketingActive ? 1 : 0,
44387
+ "i32",
44388
+ );
44389
+ }
44390
+
43583
44391
  Module.ccall(
43584
- "csp_systems_EventTicketingSystem_UpdateTicketedEvent_void_StringRC_StringRC_EventTicketingVendor_StringRC_StringRC_bool_TicketedEventResultCallback",
44392
+ "csp_systems_EventTicketingSystem_UpdateTicketedEvent_void_StringRC_StringRC_EventTicketingVendorRC_StringRC_StringRC_boolRC_TicketedEventResultCallback",
43585
44393
  "void",
43586
44394
  [
43587
44395
  "number",
@@ -43598,15 +44406,22 @@ export namespace Systems {
43598
44406
  this.pointer,
43599
44407
  spaceId,
43600
44408
  eventId,
43601
- vendor,
44409
+ vendorPointer,
43602
44410
  vendorEventId,
43603
44411
  vendorEventUri,
43604
- isTicketingActive,
44412
+ isTicketingActivePointer,
43605
44413
  _callbackPtr,
43606
44414
  0,
43607
44415
  ],
43608
44416
  );
43609
44417
 
44418
+ if (vendorPointer) {
44419
+ Module._free(vendorPointer);
44420
+ }
44421
+ if (isTicketingActivePointer) {
44422
+ Module._free(isTicketingActivePointer);
44423
+ }
44424
+
43610
44425
  return _promise;
43611
44426
  }
43612
44427
 
@@ -44224,6 +45039,395 @@ export namespace Systems {
44224
45039
  }
44225
45040
  }
44226
45041
 
45042
+ export namespace Systems {
45043
+ /**
45044
+ @ingroup Organization System
45045
+ * @description Data class used to contain Organization object.
45046
+ */
45047
+ export class OrganizationResult
45048
+ extends Systems.ResultBase
45049
+ implements INativeResource
45050
+ {
45051
+ /** @internal */
45052
+ constructor(pointer: NativePointer) {
45053
+ super(pointer);
45054
+ }
45055
+
45056
+ static fromResultBase(
45057
+ baseInstance: Systems.ResultBase,
45058
+ ): Systems.OrganizationResult {
45059
+ const nativeClassWrapper = baseInstance as unknown as NativeClassWrapper;
45060
+ return new Systems.OrganizationResult(
45061
+ new NativePointer(
45062
+ nativeClassWrapper.pointer,
45063
+ nativeClassWrapper.ownsPointer,
45064
+ ),
45065
+ );
45066
+ }
45067
+
45068
+ /**
45069
+ * @description Retrieves the Organization result.
45070
+ * @return Organization object.
45071
+ */
45072
+
45073
+ getOrganization(): Systems.Organization {
45074
+ var _ret = Module._malloc(8);
45075
+
45076
+ Module.ccall(
45077
+ "csp_systems_OrganizationResult_GetOrganizationC_OrganizationRC",
45078
+ "void",
45079
+ ["number", "number"],
45080
+ [_ret, this.pointer],
45081
+ );
45082
+ var _nPtr = new Systems.Organization(getNativePointer(_ret));
45083
+ Module._free(_ret);
45084
+
45085
+ return _nPtr;
45086
+ }
45087
+
45088
+ delete(): void {
45089
+ if (this.ownsPointer && !this.disposed) {
45090
+ Module.ccall(
45091
+ "csp_systems_OrganizationResult_Dtor",
45092
+ "void",
45093
+ ["number"],
45094
+ [this.pointer],
45095
+ );
45096
+
45097
+ this.disposed = true;
45098
+ }
45099
+ }
45100
+ }
45101
+ }
45102
+
45103
+ export namespace Systems {
45104
+ /**
45105
+ @ingroup Organization System
45106
+ * @description Data class used to contain a Users Organization Role Info object.
45107
+ */
45108
+ export class OrganizationRolesResult
45109
+ extends Systems.ResultBase
45110
+ implements INativeResource
45111
+ {
45112
+ /** @internal */
45113
+ constructor(pointer: NativePointer) {
45114
+ super(pointer);
45115
+ }
45116
+
45117
+ static fromResultBase(
45118
+ baseInstance: Systems.ResultBase,
45119
+ ): Systems.OrganizationRolesResult {
45120
+ const nativeClassWrapper = baseInstance as unknown as NativeClassWrapper;
45121
+ return new Systems.OrganizationRolesResult(
45122
+ new NativePointer(
45123
+ nativeClassWrapper.pointer,
45124
+ nativeClassWrapper.ownsPointer,
45125
+ ),
45126
+ );
45127
+ }
45128
+
45129
+ /**
45130
+ * @description Retrieves the Organization Role Info result.
45131
+ * @return Array of Organization Role Info objects.
45132
+ */
45133
+
45134
+ getOrganizationRoleInfo(): Common.Array<Systems.OrganizationRoleInfo> {
45135
+ var _ret = Module._malloc(8);
45136
+
45137
+ Module.ccall(
45138
+ "csp_systems_OrganizationRolesResult_GetOrganizationRoleInfoC_ArrayRC",
45139
+ "void",
45140
+ ["number", "number"],
45141
+ [_ret, this.pointer],
45142
+ );
45143
+ var _nPtr = new Common.Array<Systems.OrganizationRoleInfo>(
45144
+ getNativePointer(_ret),
45145
+ csp_systems_OrganizationRoleInfoFactory,
45146
+ "csp_systems_OrganizationRoleInfo",
45147
+ );
45148
+ Module._free(_ret);
45149
+
45150
+ return _nPtr;
45151
+ }
45152
+
45153
+ delete(): void {
45154
+ if (this.ownsPointer && !this.disposed) {
45155
+ Module.ccall(
45156
+ "csp_systems_OrganizationRolesResult_Dtor",
45157
+ "void",
45158
+ ["number"],
45159
+ [this.pointer],
45160
+ );
45161
+
45162
+ this.disposed = true;
45163
+ }
45164
+ }
45165
+ }
45166
+ }
45167
+
45168
+ export namespace Systems {
45169
+ /**
45170
+ @ingroup Quota System
45171
+ * @description Public facing system that allows interfacing with the Organization System.
45172
+ * .
45173
+ */
45174
+ export class OrganizationSystem extends Systems.SystemBase {
45175
+ /** @internal */
45176
+ constructor(pointer: NativePointer) {
45177
+ super(pointer);
45178
+ }
45179
+
45180
+ static fromSystemBase(
45181
+ baseInstance: Systems.SystemBase,
45182
+ ): Systems.OrganizationSystem {
45183
+ const nativeClassWrapper = baseInstance as unknown as NativeClassWrapper;
45184
+ return new Systems.OrganizationSystem(
45185
+ new NativePointer(
45186
+ nativeClassWrapper.pointer,
45187
+ nativeClassWrapper.ownsPointer,
45188
+ ),
45189
+ );
45190
+ }
45191
+
45192
+ /**
45193
+ * @description Sets a callback to be executed when a member joins an Organization.
45194
+ * Only one callback may be registered, calling this function again will override whatever was previously set.
45195
+ * @param callback - The callback to execute.
45196
+ */
45197
+ setMemberJoinedOrganizationCallback(callback: (arg1: string) => void) {
45198
+ var _callback = (_stateObject__: number, arg1) => {
45199
+ {
45200
+ const _stringValue = Module.UTF8ToString(arg1);
45201
+ free(arg1);
45202
+
45203
+ arg1 = _stringValue;
45204
+ }
45205
+
45206
+ callback(arg1);
45207
+ };
45208
+
45209
+ var _callbackPtr = Module.addFunction(_callback, "vii");
45210
+
45211
+ Module.ccall(
45212
+ "csp_systems_OrganizationSystem_SetMemberJoinedOrganizationCallback_void_MemberJoinedOrganizationCallback",
45213
+ "void",
45214
+ ["number", "number", "number"],
45215
+ [this.pointer, _callbackPtr, 0],
45216
+ );
45217
+ }
45218
+
45219
+ /**
45220
+ * @description Invites a given email to the User's Organization.
45221
+ * 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
45222
+ * call will be rejected.
45223
+ * @param organizationId - Id of the Organization the user should be added to. If no Id is specified,
45224
+ * the Id of the Organization the user is currently authenticated against will be used.
45225
+ * @param email - Email to invite to the Organization.
45226
+ * @param organizationRoles - The role/s in the Organization the invited User is to have.
45227
+ * @param emailLinkUrl - Link that will be provided in the invite email
45228
+ * @param signupUrl - Destination link that will be provided in the invite email
45229
+ * @param callback - Callback when asynchronous task finishes.
45230
+ */
45231
+
45232
+ async inviteToOrganization(
45233
+ organizationId: string | null,
45234
+ email: string,
45235
+ organizationRoles: Common.Array<Systems.EOrganizationRole>,
45236
+ emailLinkUrl: string | null,
45237
+ signupUrl: string | null,
45238
+ ): Promise<Systems.NullResult> {
45239
+ var _resolve;
45240
+
45241
+ var _promise = new Promise<Systems.NullResult>((_r) => {
45242
+ _resolve = _r;
45243
+ });
45244
+
45245
+ var _callbackPtr: number;
45246
+ var _callback = (_stateObject__: number, result) => {
45247
+ var _resultPtr = getNativePointer(result);
45248
+ var _resultInstance = new Systems.NullResult(_resultPtr);
45249
+
45250
+ if (_resultInstance.getResultCode() == Systems.EResultCode.InProgress) {
45251
+ return;
45252
+ }
45253
+
45254
+ _resolve(_resultInstance);
45255
+
45256
+ Module.removeFunction(_callbackPtr);
45257
+ };
45258
+
45259
+ _callbackPtr = Module.addFunction(_callback, "vii");
45260
+
45261
+ Module.ccall(
45262
+ "csp_systems_OrganizationSystem_InviteToOrganization_void_StringRC_StringRC_ArrayRC_StringRC_StringRC_NullResultCallback",
45263
+ "void",
45264
+ [
45265
+ "number",
45266
+ "string",
45267
+ "string",
45268
+ "number",
45269
+ "string",
45270
+ "string",
45271
+ "number",
45272
+ "number",
45273
+ ],
45274
+ [
45275
+ this.pointer,
45276
+ organizationId,
45277
+ email,
45278
+ organizationRoles.pointer,
45279
+ emailLinkUrl,
45280
+ signupUrl,
45281
+ _callbackPtr,
45282
+ 0,
45283
+ ],
45284
+ );
45285
+
45286
+ return _promise;
45287
+ }
45288
+
45289
+ /**
45290
+ * @description Invites all the given emails to the User's Organization.
45291
+ * 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
45292
+ * call will be rejected.
45293
+ * @param organizationId - Id of the Organization the users should be added to. If no Id is specified,
45294
+ * the Id of the Organization the user is currently authenticated against will be used.
45295
+ * @param inviteUsers - Collection containing the EmailLinkUrl and SignupUrl as well as the emails and
45296
+ * Organization role/s of the Users to be invited.
45297
+ * @param callback - Callback when asynchronous task finishes.
45298
+ */
45299
+
45300
+ async bulkInviteToOrganization(
45301
+ organizationId: string | null,
45302
+ inviteUsers: Systems.InviteOrganizationRoleCollection,
45303
+ ): Promise<Systems.NullResult> {
45304
+ var _resolve;
45305
+
45306
+ var _promise = new Promise<Systems.NullResult>((_r) => {
45307
+ _resolve = _r;
45308
+ });
45309
+
45310
+ var _callbackPtr: number;
45311
+ var _callback = (_stateObject__: number, result) => {
45312
+ var _resultPtr = getNativePointer(result);
45313
+ var _resultInstance = new Systems.NullResult(_resultPtr);
45314
+
45315
+ if (_resultInstance.getResultCode() == Systems.EResultCode.InProgress) {
45316
+ return;
45317
+ }
45318
+
45319
+ _resolve(_resultInstance);
45320
+
45321
+ Module.removeFunction(_callbackPtr);
45322
+ };
45323
+
45324
+ _callbackPtr = Module.addFunction(_callback, "vii");
45325
+
45326
+ Module.ccall(
45327
+ "csp_systems_OrganizationSystem_BulkInviteToOrganization_void_StringRC_InviteOrganizationRoleCollectionRC_NullResultCallback",
45328
+ "void",
45329
+ ["number", "string", "number", "number", "number"],
45330
+ [this.pointer, organizationId, inviteUsers.pointer, _callbackPtr, 0],
45331
+ );
45332
+
45333
+ return _promise;
45334
+ }
45335
+
45336
+ /**
45337
+ * @description Retrieves the Organisation User Role information for the User Ids that have been passed in.
45338
+ * Only a User with an Admin or Owner Organization role can request the role information for other Organization members.
45339
+ * A User without these roles can only request information about their own Organization role and should pass an array containing only their own
45340
+ * User Id.
45341
+ * @param organizationId - Id of the Organization you want to get user roles for. If no Id is
45342
+ * specified, the Id of the Organization the user is currently authenticated against will be used.
45343
+ * @param userIds - Array of User Ids for which the Organization User Roles will be retrieved.
45344
+ * @param callback - Callback when asynchronous task finishes.
45345
+ */
45346
+
45347
+ async getUserRolesInOrganization(
45348
+ organizationId: string | null,
45349
+ userIds: Common.Array<string>,
45350
+ ): Promise<Systems.OrganizationRolesResult> {
45351
+ var _resolve;
45352
+
45353
+ var _promise = new Promise<Systems.OrganizationRolesResult>((_r) => {
45354
+ _resolve = _r;
45355
+ });
45356
+
45357
+ var _callbackPtr: number;
45358
+ var _callback = (_stateObject__: number, result) => {
45359
+ var _resultPtr = getNativePointer(result);
45360
+ var _resultInstance = new Systems.OrganizationRolesResult(_resultPtr);
45361
+
45362
+ if (_resultInstance.getResultCode() == Systems.EResultCode.InProgress) {
45363
+ return;
45364
+ }
45365
+
45366
+ _resolve(_resultInstance);
45367
+
45368
+ Module.removeFunction(_callbackPtr);
45369
+ };
45370
+
45371
+ _callbackPtr = Module.addFunction(_callback, "vii");
45372
+
45373
+ Module.ccall(
45374
+ "csp_systems_OrganizationSystem_GetUserRolesInOrganization_void_StringRC_ArrayRC_OrganizationRolesResultCallback",
45375
+ "void",
45376
+ ["number", "string", "number", "number", "number"],
45377
+ [this.pointer, organizationId, userIds.pointer, _callbackPtr, 0],
45378
+ );
45379
+
45380
+ return _promise;
45381
+ }
45382
+
45383
+ /**
45384
+ * @description Removes a User from the Organization.
45385
+ * 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
45386
+ * their call will be rejected. Anyone can remove themselves from an Organization.
45387
+ * @param organizationId - Id of the Organization you want to remove a user from. If no Id is
45388
+ * specified, the Id of the Organization the user is currently authenticated against will be used.
45389
+ * @param userId - Unique ID of User.
45390
+ * @param callback - Callback when asynchronous task finishes.
45391
+ */
45392
+
45393
+ async removeUserFromOrganization(
45394
+ organizationId: string | null,
45395
+ userId: string,
45396
+ ): Promise<Systems.NullResult> {
45397
+ var _resolve;
45398
+
45399
+ var _promise = new Promise<Systems.NullResult>((_r) => {
45400
+ _resolve = _r;
45401
+ });
45402
+
45403
+ var _callbackPtr: number;
45404
+ var _callback = (_stateObject__: number, result) => {
45405
+ var _resultPtr = getNativePointer(result);
45406
+ var _resultInstance = new Systems.NullResult(_resultPtr);
45407
+
45408
+ if (_resultInstance.getResultCode() == Systems.EResultCode.InProgress) {
45409
+ return;
45410
+ }
45411
+
45412
+ _resolve(_resultInstance);
45413
+
45414
+ Module.removeFunction(_callbackPtr);
45415
+ };
45416
+
45417
+ _callbackPtr = Module.addFunction(_callback, "vii");
45418
+
45419
+ Module.ccall(
45420
+ "csp_systems_OrganizationSystem_RemoveUserFromOrganization_void_StringRC_StringRC_NullResultCallback",
45421
+ "void",
45422
+ ["number", "string", "string", "number", "number"],
45423
+ [this.pointer, organizationId, userId, _callbackPtr, 0],
45424
+ );
45425
+
45426
+ return _promise;
45427
+ }
45428
+ }
45429
+ }
45430
+
44227
45431
  export namespace Systems {
44228
45432
  /**
44229
45433
  @ingroup Quota System
@@ -51172,6 +52376,24 @@ export namespace Common {
51172
52376
  return _inst;
51173
52377
  }
51174
52378
 
52379
+ static ofcsp_systems_ShopifyStoreInfo(): Array<Systems.ShopifyStoreInfo> {
52380
+ var _ret = Module._malloc(8);
52381
+ Module.ccall(
52382
+ "csp_common_Array_Ctor_csp_systems_ShopifyStoreInfo",
52383
+ "void",
52384
+ ["number"],
52385
+ [_ret],
52386
+ );
52387
+ var _inst = new Array<Systems.ShopifyStoreInfo>(
52388
+ getNativePointer(_ret),
52389
+ csp_systems_ShopifyStoreInfoFactory,
52390
+ "csp_systems_ShopifyStoreInfo",
52391
+ );
52392
+ Module._free(_ret);
52393
+
52394
+ return _inst;
52395
+ }
52396
+
51175
52397
  static ofcsp_systems_TicketedEvent(): Array<Systems.TicketedEvent> {
51176
52398
  var _ret = Module._malloc(8);
51177
52399
  Module.ccall(
@@ -51208,6 +52430,60 @@ export namespace Common {
51208
52430
  return _inst;
51209
52431
  }
51210
52432
 
52433
+ static ofcsp_systems_EOrganizationRole(): Array<Systems.EOrganizationRole> {
52434
+ var _ret = Module._malloc(8);
52435
+ Module.ccall(
52436
+ "csp_common_Array_Ctor_csp_systems_EOrganizationRole",
52437
+ "void",
52438
+ ["number"],
52439
+ [_ret],
52440
+ );
52441
+ var _inst = new Array<Systems.EOrganizationRole>(
52442
+ getNativePointer(_ret),
52443
+ csp_systems_EOrganizationRoleFactory,
52444
+ "csp_systems_EOrganizationRole",
52445
+ );
52446
+ Module._free(_ret);
52447
+
52448
+ return _inst;
52449
+ }
52450
+
52451
+ static ofcsp_systems_InviteOrganizationRoleInfo(): Array<Systems.InviteOrganizationRoleInfo> {
52452
+ var _ret = Module._malloc(8);
52453
+ Module.ccall(
52454
+ "csp_common_Array_Ctor_csp_systems_InviteOrganizationRoleInfo",
52455
+ "void",
52456
+ ["number"],
52457
+ [_ret],
52458
+ );
52459
+ var _inst = new Array<Systems.InviteOrganizationRoleInfo>(
52460
+ getNativePointer(_ret),
52461
+ csp_systems_InviteOrganizationRoleInfoFactory,
52462
+ "csp_systems_InviteOrganizationRoleInfo",
52463
+ );
52464
+ Module._free(_ret);
52465
+
52466
+ return _inst;
52467
+ }
52468
+
52469
+ static ofcsp_systems_OrganizationRoleInfo(): Array<Systems.OrganizationRoleInfo> {
52470
+ var _ret = Module._malloc(8);
52471
+ Module.ccall(
52472
+ "csp_common_Array_Ctor_csp_systems_OrganizationRoleInfo",
52473
+ "void",
52474
+ ["number"],
52475
+ [_ret],
52476
+ );
52477
+ var _inst = new Array<Systems.OrganizationRoleInfo>(
52478
+ getNativePointer(_ret),
52479
+ csp_systems_OrganizationRoleInfoFactory,
52480
+ "csp_systems_OrganizationRoleInfo",
52481
+ );
52482
+ Module._free(_ret);
52483
+
52484
+ return _inst;
52485
+ }
52486
+
51211
52487
  static ofcsp_systems_FeatureLimitInfo(): Array<Systems.FeatureLimitInfo> {
51212
52488
  var _ret = Module._malloc(8);
51213
52489
  Module.ccall(
@@ -51838,6 +53114,26 @@ export namespace Common {
51838
53114
  return _inst;
51839
53115
  }
51840
53116
 
53117
+ static ofcsp_systems_ShopifyStoreInfo_number(
53118
+ size: number,
53119
+ ): Array<Systems.ShopifyStoreInfo> {
53120
+ var _ret = Module._malloc(8);
53121
+ Module.ccall(
53122
+ "csp_common_Array_Conv_size_tC_csp_systems_ShopifyStoreInfo",
53123
+ "void",
53124
+ ["number", "number"],
53125
+ [_ret, size],
53126
+ );
53127
+ var _inst = new Array<Systems.ShopifyStoreInfo>(
53128
+ getNativePointer(_ret),
53129
+ csp_systems_ShopifyStoreInfoFactory,
53130
+ "csp_systems_ShopifyStoreInfo",
53131
+ );
53132
+ Module._free(_ret);
53133
+
53134
+ return _inst;
53135
+ }
53136
+
51841
53137
  static ofcsp_systems_TicketedEvent_number(
51842
53138
  size: number,
51843
53139
  ): Array<Systems.TicketedEvent> {
@@ -51878,6 +53174,66 @@ export namespace Common {
51878
53174
  return _inst;
51879
53175
  }
51880
53176
 
53177
+ static ofcsp_systems_EOrganizationRole_number(
53178
+ size: number,
53179
+ ): Array<Systems.EOrganizationRole> {
53180
+ var _ret = Module._malloc(8);
53181
+ Module.ccall(
53182
+ "csp_common_Array_Conv_size_tC_csp_systems_EOrganizationRole",
53183
+ "void",
53184
+ ["number", "number"],
53185
+ [_ret, size],
53186
+ );
53187
+ var _inst = new Array<Systems.EOrganizationRole>(
53188
+ getNativePointer(_ret),
53189
+ csp_systems_EOrganizationRoleFactory,
53190
+ "csp_systems_EOrganizationRole",
53191
+ );
53192
+ Module._free(_ret);
53193
+
53194
+ return _inst;
53195
+ }
53196
+
53197
+ static ofcsp_systems_InviteOrganizationRoleInfo_number(
53198
+ size: number,
53199
+ ): Array<Systems.InviteOrganizationRoleInfo> {
53200
+ var _ret = Module._malloc(8);
53201
+ Module.ccall(
53202
+ "csp_common_Array_Conv_size_tC_csp_systems_InviteOrganizationRoleInfo",
53203
+ "void",
53204
+ ["number", "number"],
53205
+ [_ret, size],
53206
+ );
53207
+ var _inst = new Array<Systems.InviteOrganizationRoleInfo>(
53208
+ getNativePointer(_ret),
53209
+ csp_systems_InviteOrganizationRoleInfoFactory,
53210
+ "csp_systems_InviteOrganizationRoleInfo",
53211
+ );
53212
+ Module._free(_ret);
53213
+
53214
+ return _inst;
53215
+ }
53216
+
53217
+ static ofcsp_systems_OrganizationRoleInfo_number(
53218
+ size: number,
53219
+ ): Array<Systems.OrganizationRoleInfo> {
53220
+ var _ret = Module._malloc(8);
53221
+ Module.ccall(
53222
+ "csp_common_Array_Conv_size_tC_csp_systems_OrganizationRoleInfo",
53223
+ "void",
53224
+ ["number", "number"],
53225
+ [_ret, size],
53226
+ );
53227
+ var _inst = new Array<Systems.OrganizationRoleInfo>(
53228
+ getNativePointer(_ret),
53229
+ csp_systems_OrganizationRoleInfoFactory,
53230
+ "csp_systems_OrganizationRoleInfo",
53231
+ );
53232
+ Module._free(_ret);
53233
+
53234
+ return _inst;
53235
+ }
53236
+
51881
53237
  static ofcsp_systems_FeatureLimitInfo_number(
51882
53238
  size: number,
51883
53239
  ): Array<Systems.FeatureLimitInfo> {