connected-spaces-platform.web 6.7.0 → 6.8.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.
@@ -365,6 +365,16 @@ function csp_multiplayer_LockTypeFactory(nativePointer) {
365
365
  }
366
366
  ProxyClassFactories["csp_multiplayer_LockType"] =
367
367
  csp_multiplayer_LockTypeFactory;
368
+ function csp_multiplayer_AIChatbotPropertyKeysFactory(nativePointer) {
369
+ return nativePointer.pointer;
370
+ }
371
+ ProxyClassFactories["csp_multiplayer_AIChatbotPropertyKeys"] =
372
+ csp_multiplayer_AIChatbotPropertyKeysFactory;
373
+ function csp_multiplayer_AIChatbotVisualStateFactory(nativePointer) {
374
+ return nativePointer.pointer;
375
+ }
376
+ ProxyClassFactories["csp_multiplayer_AIChatbotVisualState"] =
377
+ csp_multiplayer_AIChatbotVisualStateFactory;
368
378
  function csp_multiplayer_AnimatedModelActionsFactory(nativePointer) {
369
379
  return nativePointer.pointer;
370
380
  }
@@ -956,6 +966,16 @@ function csp_systems_TicketedEventVendorAuthInfoFactory(nativePointer) {
956
966
  }
957
967
  ProxyClassFactories["csp_systems_TicketedEventVendorAuthInfo"] =
958
968
  csp_systems_TicketedEventVendorAuthInfoFactory;
969
+ function csp_systems_ExternalServicesOperationParamsFactory(nativePointer) {
970
+ return new Systems.ExternalServicesOperationParams(nativePointer);
971
+ }
972
+ ProxyClassFactories["csp_systems_ExternalServicesOperationParams"] =
973
+ csp_systems_ExternalServicesOperationParamsFactory;
974
+ function csp_systems_AgoraUserTokenParamsFactory(nativePointer) {
975
+ return new Systems.AgoraUserTokenParams(nativePointer);
976
+ }
977
+ ProxyClassFactories["csp_systems_AgoraUserTokenParams"] =
978
+ csp_systems_AgoraUserTokenParamsFactory;
959
979
  function csp_systems_HotspotGroupFactory(nativePointer) {
960
980
  return new Systems.HotspotGroup(nativePointer);
961
981
  }
@@ -1045,16 +1065,6 @@ function csp_systems_LoginTokenInfoFactory(nativePointer) {
1045
1065
  }
1046
1066
  ProxyClassFactories["csp_systems_LoginTokenInfo"] =
1047
1067
  csp_systems_LoginTokenInfoFactory;
1048
- function csp_systems_AgoraUserTokenParamsFactory(nativePointer) {
1049
- return new Systems.AgoraUserTokenParams(nativePointer);
1050
- }
1051
- ProxyClassFactories["csp_systems_AgoraUserTokenParams"] =
1052
- csp_systems_AgoraUserTokenParamsFactory;
1053
- function csp_systems_TokenInfoParamsFactory(nativePointer) {
1054
- return new Systems.TokenInfoParams(nativePointer);
1055
- }
1056
- ProxyClassFactories["csp_systems_TokenInfoParams"] =
1057
- csp_systems_TokenInfoParamsFactory;
1058
1068
  function csp_systems_TokenOptionsFactory(nativePointer) {
1059
1069
  return new Systems.TokenOptions(nativePointer);
1060
1070
  }
@@ -1104,6 +1114,11 @@ function csp_multiplayer_OnlineRealtimeEngineFactory(nativePointer) {
1104
1114
  }
1105
1115
  ProxyClassFactories["csp_multiplayer_OnlineRealtimeEngine"] =
1106
1116
  csp_multiplayer_OnlineRealtimeEngineFactory;
1117
+ function csp_multiplayer_AIChatbotSpaceComponentFactory(nativePointer) {
1118
+ return new Multiplayer.AIChatbotSpaceComponent(nativePointer);
1119
+ }
1120
+ ProxyClassFactories["csp_multiplayer_AIChatbotSpaceComponent"] =
1121
+ csp_multiplayer_AIChatbotSpaceComponentFactory;
1107
1122
  function csp_multiplayer_AnimatedModelSpaceComponentFactory(nativePointer) {
1108
1123
  return new Multiplayer.AnimatedModelSpaceComponent(nativePointer);
1109
1124
  }
@@ -1331,6 +1346,11 @@ function csp_systems_AssetCollectionCountResultFactory(nativePointer) {
1331
1346
  }
1332
1347
  ProxyClassFactories["csp_systems_AssetCollectionCountResult"] =
1333
1348
  csp_systems_AssetCollectionCountResultFactory;
1349
+ function csp_systems_AssetCollectionsCopyResultFactory(nativePointer) {
1350
+ return new Systems.AssetCollectionsCopyResult(nativePointer);
1351
+ }
1352
+ ProxyClassFactories["csp_systems_AssetCollectionsCopyResult"] =
1353
+ csp_systems_AssetCollectionsCopyResultFactory;
1334
1354
  function csp_systems_AssetSystemFactory(nativePointer) {
1335
1355
  return new Systems.AssetSystem(nativePointer);
1336
1356
  }
@@ -1425,6 +1445,21 @@ function csp_systems_EventTicketingSystemFactory(nativePointer) {
1425
1445
  }
1426
1446
  ProxyClassFactories["csp_systems_EventTicketingSystem"] =
1427
1447
  csp_systems_EventTicketingSystemFactory;
1448
+ function csp_systems_ExternalServiceInvocationResultFactory(nativePointer) {
1449
+ return new Systems.ExternalServiceInvocationResult(nativePointer);
1450
+ }
1451
+ ProxyClassFactories["csp_systems_ExternalServiceInvocationResult"] =
1452
+ csp_systems_ExternalServiceInvocationResultFactory;
1453
+ function csp_systems_GetAgoraTokenResultFactory(nativePointer) {
1454
+ return new Systems.GetAgoraTokenResult(nativePointer);
1455
+ }
1456
+ ProxyClassFactories["csp_systems_GetAgoraTokenResult"] =
1457
+ csp_systems_GetAgoraTokenResultFactory;
1458
+ function csp_systems_ExternalServiceProxySystemFactory(nativePointer) {
1459
+ return new Systems.ExternalServiceProxySystem(nativePointer);
1460
+ }
1461
+ ProxyClassFactories["csp_systems_ExternalServiceProxySystem"] =
1462
+ csp_systems_ExternalServiceProxySystemFactory;
1428
1463
  function csp_systems_GraphQLResultFactory(nativePointer) {
1429
1464
  return new Systems.GraphQLResult(nativePointer);
1430
1465
  }
@@ -2273,9 +2308,10 @@ export var Systems;
2273
2308
  ComponentType[ComponentType["Hotspot"] = 26] = "Hotspot";
2274
2309
  ComponentType[ComponentType["CinematicCamera"] = 27] = "CinematicCamera";
2275
2310
  ComponentType[ComponentType["ScreenSharing"] = 28] = "ScreenSharing";
2311
+ ComponentType[ComponentType["AIChatbot"] = 29] = "AIChatbot";
2276
2312
  //,
2277
- ComponentType[ComponentType["spare"] = 29] = "spare";
2278
- ComponentType[ComponentType["values"] = 30] = "values";
2313
+ ComponentType[ComponentType["spare"] = 30] = "spare";
2314
+ ComponentType[ComponentType["values"] = 31] = "values";
2279
2315
  ComponentType[ComponentType["Delete"] = 56] = "Delete";
2280
2316
  })(ComponentType = Multiplayer.ComponentType || (Multiplayer.ComponentType = {}));
2281
2317
  })(Multiplayer || (Multiplayer = {}));
@@ -2377,6 +2413,33 @@ export var Systems;
2377
2413
  LockType[LockType["UserAgnostic"] = 1] = "UserAgnostic";
2378
2414
  })(LockType = Multiplayer.LockType || (Multiplayer.LockType = {}));
2379
2415
  })(Multiplayer || (Multiplayer = {}));
2416
+ (function (Multiplayer) {
2417
+ /**
2418
+ * @description Enumerates the list of properties that can be replicated for a AI chatbot component.
2419
+ */
2420
+ let AIChatbotPropertyKeys;
2421
+ (function (AIChatbotPropertyKeys) {
2422
+ AIChatbotPropertyKeys[AIChatbotPropertyKeys["Position"] = 0] = "Position";
2423
+ AIChatbotPropertyKeys[AIChatbotPropertyKeys["Voice"] = 1] = "Voice";
2424
+ AIChatbotPropertyKeys[AIChatbotPropertyKeys["GuardrailAssetCollectionId"] = 2] = "GuardrailAssetCollectionId";
2425
+ AIChatbotPropertyKeys[AIChatbotPropertyKeys["VisualState"] = 3] = "VisualState";
2426
+ AIChatbotPropertyKeys[AIChatbotPropertyKeys["Num"] = 4] = "Num";
2427
+ })(AIChatbotPropertyKeys = Multiplayer.AIChatbotPropertyKeys || (Multiplayer.AIChatbotPropertyKeys = {}));
2428
+ })(Multiplayer || (Multiplayer = {}));
2429
+ (function (Multiplayer) {
2430
+ /**
2431
+ * @description Enumerates the list of potential visual states that can be replicated for a AI chatbot component.
2432
+ */
2433
+ let AIChatbotVisualState;
2434
+ (function (AIChatbotVisualState) {
2435
+ AIChatbotVisualState[AIChatbotVisualState["Waiting"] = 0] = "Waiting";
2436
+ AIChatbotVisualState[AIChatbotVisualState["Listening"] = 1] = "Listening";
2437
+ AIChatbotVisualState[AIChatbotVisualState["Thinking"] = 2] = "Thinking";
2438
+ AIChatbotVisualState[AIChatbotVisualState["Speaking"] = 3] = "Speaking";
2439
+ AIChatbotVisualState[AIChatbotVisualState["Unknown"] = 4] = "Unknown";
2440
+ AIChatbotVisualState[AIChatbotVisualState["Num"] = 5] = "Num";
2441
+ })(AIChatbotVisualState = Multiplayer.AIChatbotVisualState || (Multiplayer.AIChatbotVisualState = {}));
2442
+ })(Multiplayer || (Multiplayer = {}));
2380
2443
  (function (Multiplayer) {
2381
2444
  /**
2382
2445
  * @description Enumerates the actions that can be performed on an animated model component.
@@ -9397,6 +9460,36 @@ export class CSPFoundation {
9397
9460
  this.disposed = true;
9398
9461
  }
9399
9462
  }
9463
+ /**
9464
+ * @description Copy constructor
9465
+ * @param other - The value to copy.
9466
+ */
9467
+ static create_other(other) {
9468
+ var _ptr = Module._malloc(8);
9469
+ Module.ccall("csp_common_ReplicatedValue_Ctor_ReplicatedValueRC", "void", ["number", "number"], [_ptr, other.pointer]);
9470
+ var _nPtr = getNativePointer(_ptr);
9471
+ return new ReplicatedValue(_nPtr);
9472
+ }
9473
+ /**
9474
+ * @description Copy assignment operator overload.
9475
+ * @param inValue - Other replicated value to set from.
9476
+ */
9477
+ // operator=
9478
+ /**
9479
+ * @description Move assignment operator overload.
9480
+ * @param inValue - Other replicated value to move from.
9481
+ */
9482
+ // operator=
9483
+ /**
9484
+ * @description Equality operator overload.
9485
+ * @param replicatedValue - Other value to compare to.
9486
+ */
9487
+ // operator==
9488
+ /**
9489
+ * @description Inequality operator overload.
9490
+ * @param replicatedValue - Other value to compare to.
9491
+ */
9492
+ // operator!=
9400
9493
  /**
9401
9494
  * @description Gets the type of replicated value.
9402
9495
  * @return Enum representing all supported replication base types.
@@ -10573,15 +10666,15 @@ export class CSPFoundation {
10573
10666
  * @param inLogCallback - The callback to execute when a log occurs.
10574
10667
  */
10575
10668
  setLogCallback(callback) {
10576
- var _callback = (_stateObject__, arg1) => {
10669
+ var _callback = (_stateObject__, arg1, arg2) => {
10577
10670
  {
10578
- const _stringValue = Module.UTF8ToString(arg1);
10579
- free(arg1);
10580
- arg1 = _stringValue;
10671
+ const _stringValue = Module.UTF8ToString(arg2);
10672
+ free(arg2);
10673
+ arg2 = _stringValue;
10581
10674
  }
10582
- callback(arg1);
10675
+ callback(arg1, arg2);
10583
10676
  };
10584
- var _callbackPtr = Module.addFunction(_callback, "vii");
10677
+ var _callbackPtr = Module.addFunction(_callback, "viii");
10585
10678
  Module.ccall("csp_common_LogSystem_SetLogCallback_void_LogCallbackHandler", "void", ["number", "number", "number"], [this.pointer, _callbackPtr, 0]);
10586
10679
  }
10587
10680
  /**
@@ -12670,6 +12763,17 @@ export class CSPFoundation {
12670
12763
  Module._free(_ret);
12671
12764
  return _nPtr;
12672
12765
  }
12766
+ /**
12767
+ * @description Retrieves external services proxy system.
12768
+ * @return Pointer to the external services proxy system class.
12769
+ */
12770
+ getExternalServicesProxySystem() {
12771
+ var _ret = Module._malloc(8);
12772
+ Module.ccall("csp_systems_SystemsManager_GetExternalServicesProxySystem_ExternalServiceProxySystemP", "void", ["number", "number"], [_ret, this.pointer]);
12773
+ var _nPtr = new Systems.ExternalServiceProxySystem(getNativePointer(_ret));
12774
+ Module._free(_ret);
12775
+ return _nPtr;
12776
+ }
12673
12777
  getMultiplayerConnection() {
12674
12778
  var _ret = Module._malloc(8);
12675
12779
  Module.ccall("csp_systems_SystemsManager_GetMultiplayerConnection_MultiplayerConnectionP", "void", ["number", "number"], [_ret, this.pointer]);
@@ -14264,6 +14368,142 @@ export class CSPFoundation {
14264
14368
  }
14265
14369
  Systems.TicketedEventVendorAuthInfo = TicketedEventVendorAuthInfo;
14266
14370
  })(Systems || (Systems = {}));
14371
+ (function (Systems) {
14372
+ /**
14373
+ * *******************************************************************************************************************
14374
+ * @description Data structure used when making invocations of the external service proxy.
14375
+ */
14376
+ class ExternalServicesOperationParams extends NativeClassWrapper {
14377
+ /** @internal */
14378
+ constructor(pointer) {
14379
+ super(pointer);
14380
+ }
14381
+ static create() {
14382
+ var _ptr = Module._malloc(8);
14383
+ Module.ccall("csp_systems_ExternalServicesOperationParams_Ctor", "void", ["number"], [_ptr]);
14384
+ var _nPtr = getNativePointer(_ptr);
14385
+ return new ExternalServicesOperationParams(_nPtr);
14386
+ }
14387
+ delete() {
14388
+ if (this.ownsPointer && !this.disposed) {
14389
+ Module.ccall("csp_systems_ExternalServicesOperationParams_Dtor", "void", ["number"], [this.pointer]);
14390
+ this.disposed = true;
14391
+ }
14392
+ }
14393
+ get serviceName() {
14394
+ let _result = Module.ccall("csp_systems_ExternalServicesOperationParams__Get_ServiceName", "string", ["number"], [this.pointer]);
14395
+ return _result;
14396
+ }
14397
+ set serviceName(value) {
14398
+ Module.ccall("csp_systems_ExternalServicesOperationParams__Set_ServiceName", "void", ["number", "string"], [this.pointer, value]);
14399
+ }
14400
+ get operationName() {
14401
+ let _result = Module.ccall("csp_systems_ExternalServicesOperationParams__Get_OperationName", "string", ["number"], [this.pointer]);
14402
+ return _result;
14403
+ }
14404
+ set operationName(value) {
14405
+ Module.ccall("csp_systems_ExternalServicesOperationParams__Set_OperationName", "void", ["number", "string"], [this.pointer, value]);
14406
+ }
14407
+ get setHelp() {
14408
+ let _result = Module.ccall("csp_systems_ExternalServicesOperationParams__Get_SetHelp", "boolean", ["number"], [this.pointer]);
14409
+ return _result;
14410
+ }
14411
+ set setHelp(value) {
14412
+ Module.ccall("csp_systems_ExternalServicesOperationParams__Set_SetHelp", "void", ["number", "boolean"], [this.pointer, value]);
14413
+ }
14414
+ get parameters() {
14415
+ const _ptr = Module._malloc(8);
14416
+ Module.ccall("csp_systems_ExternalServicesOperationParams__Get_Parameters", "void", ["number", "number"], [_ptr, this.pointer]);
14417
+ const _nPtr = getNativePointer(_ptr);
14418
+ return new Common.Map(_nPtr, StringFactory, "String", StringFactory, "String");
14419
+ }
14420
+ set parameters(value) {
14421
+ Module.ccall("csp_systems_ExternalServicesOperationParams__Set_Parameters", "void", ["number", "number"], [this.pointer, value.pointer]);
14422
+ }
14423
+ }
14424
+ Systems.ExternalServicesOperationParams = ExternalServicesOperationParams;
14425
+ })(Systems || (Systems = {}));
14426
+ (function (Systems) {
14427
+ /**
14428
+ * *******************************************************************************************************************
14429
+ * @description Specialised data structure that can be used to retrieve an Agora user token via the proxy service.
14430
+ */
14431
+ class AgoraUserTokenParams extends NativeClassWrapper {
14432
+ /** @internal */
14433
+ constructor(pointer) {
14434
+ super(pointer);
14435
+ }
14436
+ static create() {
14437
+ var _ptr = Module._malloc(8);
14438
+ Module.ccall("csp_systems_AgoraUserTokenParams_Ctor", "void", ["number"], [_ptr]);
14439
+ var _nPtr = getNativePointer(_ptr);
14440
+ return new AgoraUserTokenParams(_nPtr);
14441
+ }
14442
+ delete() {
14443
+ if (this.ownsPointer && !this.disposed) {
14444
+ Module.ccall("csp_systems_AgoraUserTokenParams_Dtor", "void", ["number"], [this.pointer]);
14445
+ this.disposed = true;
14446
+ }
14447
+ }
14448
+ get agoraUserId() {
14449
+ let _result = Module.ccall("csp_systems_AgoraUserTokenParams__Get_AgoraUserId", "string", ["number"], [this.pointer]);
14450
+ return _result;
14451
+ }
14452
+ set agoraUserId(value) {
14453
+ Module.ccall("csp_systems_AgoraUserTokenParams__Set_AgoraUserId", "void", ["number", "string"], [this.pointer, value]);
14454
+ }
14455
+ get channelName() {
14456
+ let _result = Module.ccall("csp_systems_AgoraUserTokenParams__Get_ChannelName", "string", ["number"], [this.pointer]);
14457
+ return _result;
14458
+ }
14459
+ set channelName(value) {
14460
+ Module.ccall("csp_systems_AgoraUserTokenParams__Set_ChannelName", "void", ["number", "string"], [this.pointer, value]);
14461
+ }
14462
+ get referenceId() {
14463
+ let _result = Module.ccall("csp_systems_AgoraUserTokenParams__Get_ReferenceId", "string", ["number"], [this.pointer]);
14464
+ return _result;
14465
+ }
14466
+ set referenceId(value) {
14467
+ Module.ccall("csp_systems_AgoraUserTokenParams__Set_ReferenceId", "void", ["number", "string"], [this.pointer, value]);
14468
+ }
14469
+ get lifespan() {
14470
+ let _result = Module.ccall("csp_systems_AgoraUserTokenParams__Get_Lifespan", "number", ["number"], [this.pointer]);
14471
+ return _result;
14472
+ }
14473
+ set lifespan(value) {
14474
+ Module.ccall("csp_systems_AgoraUserTokenParams__Set_Lifespan", "void", ["number", "number"], [this.pointer, value]);
14475
+ }
14476
+ get readOnly() {
14477
+ let _result = Module.ccall("csp_systems_AgoraUserTokenParams__Get_ReadOnly", "boolean", ["number"], [this.pointer]);
14478
+ return _result;
14479
+ }
14480
+ set readOnly(value) {
14481
+ Module.ccall("csp_systems_AgoraUserTokenParams__Set_ReadOnly", "void", ["number", "boolean"], [this.pointer, value]);
14482
+ }
14483
+ get shareAudio() {
14484
+ let _result = Module.ccall("csp_systems_AgoraUserTokenParams__Get_ShareAudio", "boolean", ["number"], [this.pointer]);
14485
+ return _result;
14486
+ }
14487
+ set shareAudio(value) {
14488
+ Module.ccall("csp_systems_AgoraUserTokenParams__Set_ShareAudio", "void", ["number", "boolean"], [this.pointer, value]);
14489
+ }
14490
+ get shareVideo() {
14491
+ let _result = Module.ccall("csp_systems_AgoraUserTokenParams__Get_ShareVideo", "boolean", ["number"], [this.pointer]);
14492
+ return _result;
14493
+ }
14494
+ set shareVideo(value) {
14495
+ Module.ccall("csp_systems_AgoraUserTokenParams__Set_ShareVideo", "void", ["number", "boolean"], [this.pointer, value]);
14496
+ }
14497
+ get shareScreen() {
14498
+ let _result = Module.ccall("csp_systems_AgoraUserTokenParams__Get_ShareScreen", "boolean", ["number"], [this.pointer]);
14499
+ return _result;
14500
+ }
14501
+ set shareScreen(value) {
14502
+ Module.ccall("csp_systems_AgoraUserTokenParams__Set_ShareScreen", "void", ["number", "boolean"], [this.pointer, value]);
14503
+ }
14504
+ }
14505
+ Systems.AgoraUserTokenParams = AgoraUserTokenParams;
14506
+ })(Systems || (Systems = {}));
14267
14507
  (function (Systems) {
14268
14508
  /**
14269
14509
  @ingroup HotspotSequence System
@@ -15426,140 +15666,6 @@ export class CSPFoundation {
15426
15666
  }
15427
15667
  Systems.LoginTokenInfo = LoginTokenInfo;
15428
15668
  })(Systems || (Systems = {}));
15429
- (function (Systems) {
15430
- /**
15431
- * @description Data structure for an Agora user token, giving userID, referenceID, channel name and settings regarding sharing of audio/video/screenshare.
15432
- */
15433
- class AgoraUserTokenParams extends NativeClassWrapper {
15434
- /** @internal */
15435
- constructor(pointer) {
15436
- super(pointer);
15437
- }
15438
- static create() {
15439
- var _ptr = Module._malloc(8);
15440
- Module.ccall("csp_systems_AgoraUserTokenParams_Ctor", "void", ["number"], [_ptr]);
15441
- var _nPtr = getNativePointer(_ptr);
15442
- return new AgoraUserTokenParams(_nPtr);
15443
- }
15444
- delete() {
15445
- if (this.ownsPointer && !this.disposed) {
15446
- Module.ccall("csp_systems_AgoraUserTokenParams_Dtor", "void", ["number"], [this.pointer]);
15447
- this.disposed = true;
15448
- }
15449
- }
15450
- get agoraUserId() {
15451
- let _result = Module.ccall("csp_systems_AgoraUserTokenParams__Get_AgoraUserId", "string", ["number"], [this.pointer]);
15452
- return _result;
15453
- }
15454
- set agoraUserId(value) {
15455
- Module.ccall("csp_systems_AgoraUserTokenParams__Set_AgoraUserId", "void", ["number", "string"], [this.pointer, value]);
15456
- }
15457
- get channelName() {
15458
- let _result = Module.ccall("csp_systems_AgoraUserTokenParams__Get_ChannelName", "string", ["number"], [this.pointer]);
15459
- return _result;
15460
- }
15461
- set channelName(value) {
15462
- Module.ccall("csp_systems_AgoraUserTokenParams__Set_ChannelName", "void", ["number", "string"], [this.pointer, value]);
15463
- }
15464
- get referenceId() {
15465
- let _result = Module.ccall("csp_systems_AgoraUserTokenParams__Get_ReferenceId", "string", ["number"], [this.pointer]);
15466
- return _result;
15467
- }
15468
- set referenceId(value) {
15469
- Module.ccall("csp_systems_AgoraUserTokenParams__Set_ReferenceId", "void", ["number", "string"], [this.pointer, value]);
15470
- }
15471
- get lifespan() {
15472
- let _result = Module.ccall("csp_systems_AgoraUserTokenParams__Get_Lifespan", "number", ["number"], [this.pointer]);
15473
- return _result;
15474
- }
15475
- set lifespan(value) {
15476
- Module.ccall("csp_systems_AgoraUserTokenParams__Set_Lifespan", "void", ["number", "number"], [this.pointer, value]);
15477
- }
15478
- get readOnly() {
15479
- let _result = Module.ccall("csp_systems_AgoraUserTokenParams__Get_ReadOnly", "boolean", ["number"], [this.pointer]);
15480
- return _result;
15481
- }
15482
- set readOnly(value) {
15483
- Module.ccall("csp_systems_AgoraUserTokenParams__Set_ReadOnly", "void", ["number", "boolean"], [this.pointer, value]);
15484
- }
15485
- get shareAudio() {
15486
- let _result = Module.ccall("csp_systems_AgoraUserTokenParams__Get_ShareAudio", "boolean", ["number"], [this.pointer]);
15487
- return _result;
15488
- }
15489
- set shareAudio(value) {
15490
- Module.ccall("csp_systems_AgoraUserTokenParams__Set_ShareAudio", "void", ["number", "boolean"], [this.pointer, value]);
15491
- }
15492
- get shareVideo() {
15493
- let _result = Module.ccall("csp_systems_AgoraUserTokenParams__Get_ShareVideo", "boolean", ["number"], [this.pointer]);
15494
- return _result;
15495
- }
15496
- set shareVideo(value) {
15497
- Module.ccall("csp_systems_AgoraUserTokenParams__Set_ShareVideo", "void", ["number", "boolean"], [this.pointer, value]);
15498
- }
15499
- get shareScreen() {
15500
- let _result = Module.ccall("csp_systems_AgoraUserTokenParams__Get_ShareScreen", "boolean", ["number"], [this.pointer]);
15501
- return _result;
15502
- }
15503
- set shareScreen(value) {
15504
- Module.ccall("csp_systems_AgoraUserTokenParams__Set_ShareScreen", "void", ["number", "boolean"], [this.pointer, value]);
15505
- }
15506
- }
15507
- Systems.AgoraUserTokenParams = AgoraUserTokenParams;
15508
- })(Systems || (Systems = {}));
15509
- (function (Systems) {
15510
- /**
15511
- * @description Data structure for a custom service proxy posting, giving service name, operation name, set help and parameters
15512
- */
15513
- class TokenInfoParams extends NativeClassWrapper {
15514
- /** @internal */
15515
- constructor(pointer) {
15516
- super(pointer);
15517
- }
15518
- static create() {
15519
- var _ptr = Module._malloc(8);
15520
- Module.ccall("csp_systems_TokenInfoParams_Ctor", "void", ["number"], [_ptr]);
15521
- var _nPtr = getNativePointer(_ptr);
15522
- return new TokenInfoParams(_nPtr);
15523
- }
15524
- delete() {
15525
- if (this.ownsPointer && !this.disposed) {
15526
- Module.ccall("csp_systems_TokenInfoParams_Dtor", "void", ["number"], [this.pointer]);
15527
- this.disposed = true;
15528
- }
15529
- }
15530
- get serviceName() {
15531
- let _result = Module.ccall("csp_systems_TokenInfoParams__Get_ServiceName", "string", ["number"], [this.pointer]);
15532
- return _result;
15533
- }
15534
- set serviceName(value) {
15535
- Module.ccall("csp_systems_TokenInfoParams__Set_ServiceName", "void", ["number", "string"], [this.pointer, value]);
15536
- }
15537
- get operationName() {
15538
- let _result = Module.ccall("csp_systems_TokenInfoParams__Get_OperationName", "string", ["number"], [this.pointer]);
15539
- return _result;
15540
- }
15541
- set operationName(value) {
15542
- Module.ccall("csp_systems_TokenInfoParams__Set_OperationName", "void", ["number", "string"], [this.pointer, value]);
15543
- }
15544
- get setHelp() {
15545
- let _result = Module.ccall("csp_systems_TokenInfoParams__Get_SetHelp", "boolean", ["number"], [this.pointer]);
15546
- return _result;
15547
- }
15548
- set setHelp(value) {
15549
- Module.ccall("csp_systems_TokenInfoParams__Set_SetHelp", "void", ["number", "boolean"], [this.pointer, value]);
15550
- }
15551
- get parameters() {
15552
- const _ptr = Module._malloc(8);
15553
- Module.ccall("csp_systems_TokenInfoParams__Get_Parameters", "void", ["number", "number"], [_ptr, this.pointer]);
15554
- const _nPtr = getNativePointer(_ptr);
15555
- return new Common.Map(_nPtr, StringFactory, "String", StringFactory, "String");
15556
- }
15557
- set parameters(value) {
15558
- Module.ccall("csp_systems_TokenInfoParams__Set_Parameters", "void", ["number", "number"], [this.pointer, value.pointer]);
15559
- }
15560
- }
15561
- Systems.TokenInfoParams = TokenInfoParams;
15562
- })(Systems || (Systems = {}));
15563
15669
  (function (Systems) {
15564
15670
  /**
15565
15671
  * @description Data structure for overrides to the default token options
@@ -16692,6 +16798,100 @@ export class CSPFoundation {
16692
16798
  }
16693
16799
  Multiplayer.OnlineRealtimeEngine = OnlineRealtimeEngine;
16694
16800
  })(Multiplayer || (Multiplayer = {}));
16801
+ (function (Multiplayer) {
16802
+ class AIChatbotSpaceComponent extends Multiplayer.ComponentBase {
16803
+ /** @internal */
16804
+ constructor(pointer) {
16805
+ super(pointer);
16806
+ }
16807
+ static fromComponentBase(baseInstance) {
16808
+ const nativeClassWrapper = baseInstance;
16809
+ return new Multiplayer.AIChatbotSpaceComponent(new NativePointer(nativeClassWrapper.pointer, nativeClassWrapper.ownsPointer));
16810
+ }
16811
+ static create_logSystem_parent(logSystem, parent) {
16812
+ var _ptr = Module._malloc(8);
16813
+ Module.ccall("csp_multiplayer_AIChatbotSpaceComponent_Ctor_LogSystemP_SpaceEntityP", "void", ["number", "number", "number"], [_ptr, logSystem.pointer, parent.pointer]);
16814
+ var _nPtr = getNativePointer(_ptr);
16815
+ return new AIChatbotSpaceComponent(_nPtr);
16816
+ }
16817
+ /**
16818
+ * @description Gets the voice name of the TTS model associated with this AI chatbot.
16819
+ * @return The name of the TTS voice associated with this AI chatbot.
16820
+ */
16821
+ getVoice() {
16822
+ let _result = Module.ccall("csp_multiplayer_AIChatbotSpaceComponent_GetVoiceC_StringRC", "number", ["number"], [this.pointer]);
16823
+ const _resultString = Module.UTF8ToString(_result);
16824
+ free(_result);
16825
+ _result = _resultString;
16826
+ return _result;
16827
+ }
16828
+ /**
16829
+ * @description Sets the voice name of the TTS model associated with this AI chatbot.
16830
+ * @param value - The name of the TTS voice associated with this AI chatbot.
16831
+ */
16832
+ setVoice(value) {
16833
+ Module.ccall("csp_multiplayer_AIChatbotSpaceComponent_SetVoice_void_StringRC", "void", ["number", "string"], [this.pointer, value]);
16834
+ }
16835
+ /**
16836
+ * @description Gets the ID of the guardrail asset associated with this AI chatbot.
16837
+ * @return The ID of the guardrail asset collection associated with this AI chatbot.
16838
+ */
16839
+ getGuardrailAssetCollectionId() {
16840
+ let _result = Module.ccall("csp_multiplayer_AIChatbotSpaceComponent_GetGuardrailAssetCollectionIdC_StringRC", "number", ["number"], [this.pointer]);
16841
+ const _resultString = Module.UTF8ToString(_result);
16842
+ free(_result);
16843
+ _result = _resultString;
16844
+ return _result;
16845
+ }
16846
+ /**
16847
+ * @description Sets the ID of the guardrail asset associated with this AI chatbot.
16848
+ * @param value - The ID of the guardrail asset collection associated with this AI chatbot.
16849
+ */
16850
+ setGuardrailAssetCollectionId(value) {
16851
+ Module.ccall("csp_multiplayer_AIChatbotSpaceComponent_SetGuardrailAssetCollectionId_void_StringRC", "void", ["number", "string"], [this.pointer, value]);
16852
+ }
16853
+ /**
16854
+ * @description Retrieves the visual state of the AI chatbot for this component.
16855
+ * @return The visual state of the AI chatbot.
16856
+ */
16857
+ getVisualState() {
16858
+ let _result = Module.ccall("csp_multiplayer_AIChatbotSpaceComponent_GetVisualStateC_AIChatbotVisualState", "number", ["number"], [this.pointer]);
16859
+ return _result;
16860
+ }
16861
+ /**
16862
+ * @description Sets the visual state of the AI chatbot for this component.
16863
+ * @param value - The visual state of the AI chatbot.
16864
+ */
16865
+ setVisualState(value) {
16866
+ Module.ccall("csp_multiplayer_AIChatbotSpaceComponent_SetVisualState_void_AIChatbotVisualState", "void", ["number", "number"], [this.pointer, value]);
16867
+ }
16868
+ /**
16869
+ * \addtogroup IPositionComponent
16870
+ @{
16871
+ @copydoc IPositionComponent::GetPosition()
16872
+ */
16873
+ getPosition() {
16874
+ var _ret = Module._malloc(8);
16875
+ Module.ccall("csp_multiplayer_AIChatbotSpaceComponent_GetPositionC_Vector3RC", "void", ["number", "number"], [_ret, this.pointer]);
16876
+ var _nPtr = new Common.Vector3(getNativePointer(_ret));
16877
+ Module._free(_ret);
16878
+ return _nPtr;
16879
+ }
16880
+ /**
16881
+ @copydoc IPositionComponent::SetPosition()
16882
+ */
16883
+ setPosition(value) {
16884
+ Module.ccall("csp_multiplayer_AIChatbotSpaceComponent_SetPosition_void_Vector3RC", "void", ["number", "number"], [this.pointer, value.pointer]);
16885
+ }
16886
+ delete() {
16887
+ if (this.ownsPointer && !this.disposed) {
16888
+ Module.ccall("csp_multiplayer_AIChatbotSpaceComponent_Dtor", "void", ["number"], [this.pointer]);
16889
+ this.disposed = true;
16890
+ }
16891
+ }
16892
+ }
16893
+ Multiplayer.AIChatbotSpaceComponent = AIChatbotSpaceComponent;
16894
+ })(Multiplayer || (Multiplayer = {}));
16695
16895
  (function (Multiplayer) {
16696
16896
  /**
16697
16897
  @ingroup AnimatedModelSpaceComponent
@@ -19687,7 +19887,7 @@ export class CSPFoundation {
19687
19887
  return _result;
19688
19888
  }
19689
19889
  /**
19690
- * @description Sets the type of fog currently to be used by this fog component.
19890
+ * @description Sets the type of fog to be used by this fog component.
19691
19891
  * @param value - The modality of fog to be used by this component.
19692
19892
  */
19693
19893
  setFogMode(value) {
@@ -19761,20 +19961,18 @@ export class CSPFoundation {
19761
19961
  }
19762
19962
  /**
19763
19963
  @}
19764
- * @description Get start sistance
19765
- * Note: Distance from camera that the fog will start.
19766
- * Note: 0 = this property has no effect.
19767
- * @return Current start distance
19964
+ * @description Gets start distance.
19965
+ * NOTE: Distance from camera that the fog will start. 0 = this property has no effect.
19966
+ * @return Current start distance.
19768
19967
  */
19769
19968
  getStartDistance() {
19770
19969
  let _result = Module.ccall("csp_multiplayer_FogSpaceComponent_GetStartDistanceC_float", "number", ["number"], [this.pointer]);
19771
19970
  return _result;
19772
19971
  }
19773
19972
  /**
19774
- * @description Set Current start distance
19775
- * Note: Distance from camera that the fog will start.
19776
- * Note: 0 = this property has no effect.
19777
- * @param value - Current start distance
19973
+ * @description Sets start distance.
19974
+ * NOTE: Distance from camera that the fog will start. 0 = this property has no effect.
19975
+ * @param value - Start distance.
19778
19976
  */
19779
19977
  setStartDistance(value) {
19780
19978
  assert(value >= Limits.FLOAT_MIN);
@@ -19782,20 +19980,18 @@ export class CSPFoundation {
19782
19980
  Module.ccall("csp_multiplayer_FogSpaceComponent_SetStartDistance_void_float", "void", ["number", "number"], [this.pointer, value]);
19783
19981
  }
19784
19982
  /**
19785
- * @description Get Current end distance
19786
- * Note: objects passed this distance will not be affected by fog.
19787
- * Note: 0 = this property has no effect.
19788
- * @return Current end distance
19983
+ * @description Gets end distance.
19984
+ * NOTE: Objects passed this distance will not be affected by fog. 0 = this property has no effect.
19985
+ * @return Current end distance.
19789
19986
  */
19790
19987
  getEndDistance() {
19791
19988
  let _result = Module.ccall("csp_multiplayer_FogSpaceComponent_GetEndDistanceC_float", "number", ["number"], [this.pointer]);
19792
19989
  return _result;
19793
19990
  }
19794
19991
  /**
19795
- * @description Set Current end distance
19796
- * Note: objects passed this distance will not be affected by fog.
19797
- * Note: 0 = this property has no effect.
19798
- * @param value - Current end distance
19992
+ * @description Sets end distance.
19993
+ * NOTE: Objects passed this distance will not be affected by fog. 0 = this property has no effect.
19994
+ * @param value - End distance.
19799
19995
  */
19800
19996
  setEndDistance(value) {
19801
19997
  assert(value >= Limits.FLOAT_MIN);
@@ -19803,8 +19999,8 @@ export class CSPFoundation {
19803
19999
  Module.ccall("csp_multiplayer_FogSpaceComponent_SetEndDistance_void_float", "void", ["number", "number"], [this.pointer, value]);
19804
20000
  }
19805
20001
  /**
19806
- * @description Get fog color
19807
- * @return Current fog color
20002
+ * @description Gets fog color.
20003
+ * @return Current fog color.
19808
20004
  */
19809
20005
  getColor() {
19810
20006
  var _ret = Module._malloc(8);
@@ -19814,25 +20010,23 @@ export class CSPFoundation {
19814
20010
  return _nPtr;
19815
20011
  }
19816
20012
  /**
19817
- * @description Set Current fog color
19818
- * @param value - Current fog color
20013
+ * @description Sets fog color.
20014
+ * @param value - Fog color.
19819
20015
  */
19820
20016
  setColor(value) {
19821
20017
  Module.ccall("csp_multiplayer_FogSpaceComponent_SetColor_void_Vector3RC", "void", ["number", "number"], [this.pointer, value.pointer]);
19822
20018
  }
19823
20019
  /**
19824
- * @description Get Global density factor
19825
- * Note: Global density factor
19826
- * @return Current Global density factor
20020
+ * @description Gets global density factor.
20021
+ * @return Current global density factor.
19827
20022
  */
19828
20023
  getDensity() {
19829
20024
  let _result = Module.ccall("csp_multiplayer_FogSpaceComponent_GetDensityC_float", "number", ["number"], [this.pointer]);
19830
20025
  return _result;
19831
20026
  }
19832
20027
  /**
19833
- * @description Set Global density factor
19834
- * Note: Global density factor
19835
- * @param value - Global density factor
20028
+ * @description Sets global density factor.
20029
+ * @param value - Global density factor.
19836
20030
  */
19837
20031
  setDensity(value) {
19838
20032
  assert(value >= Limits.FLOAT_MIN);
@@ -19840,18 +20034,18 @@ export class CSPFoundation {
19840
20034
  Module.ccall("csp_multiplayer_FogSpaceComponent_SetDensity_void_float", "void", ["number", "number"], [this.pointer, value]);
19841
20035
  }
19842
20036
  /**
19843
- * @description Get Height density factor
19844
- * Note: Height density factor, controls how the density increases and height decreases. Smaller values make the visible transition larger.
19845
- * @return Current Height density factor
20037
+ * @description Gets Height density factor.
20038
+ * NOTE: Controls how the density increases and height decreases. Smaller values make the visible transition larger.
20039
+ * @return Current height density factor.
19846
20040
  */
19847
20041
  getHeightFalloff() {
19848
20042
  let _result = Module.ccall("csp_multiplayer_FogSpaceComponent_GetHeightFalloffC_float", "number", ["number"], [this.pointer]);
19849
20043
  return _result;
19850
20044
  }
19851
20045
  /**
19852
- * @description Set Height density factor
19853
- * Note: Height density factor, controls how the density increases and height decreases. Smaller values make the visible transition larger.
19854
- * @param value - Height density factor
20046
+ * @description Sets Height density factor.
20047
+ * NOTE: Controls how the density increases and height decreases. Smaller values make the visible transition larger.
20048
+ * @param value - Height density factor.
19855
20049
  */
19856
20050
  setHeightFalloff(value) {
19857
20051
  assert(value >= Limits.FLOAT_MIN);
@@ -19859,19 +20053,18 @@ export class CSPFoundation {
19859
20053
  Module.ccall("csp_multiplayer_FogSpaceComponent_SetHeightFalloff_void_float", "void", ["number", "number"], [this.pointer, value]);
19860
20054
  }
19861
20055
  /**
19862
- * @description Get Maximum opacity of the Fog.
19863
- * Maximum opacity of the Fog.
19864
- * Note: 1 = fog becomes fully opaque at a distance and replaces the scene colour completely.
19865
- * Note: 0 = fog colour will have no impact.
19866
- * @return Current Maximum opacity of the Fog
20056
+ * @description Gets maximum opacity of the fog.
20057
+ * NOTE: 1 = fog becomes fully opaque at a distance and replaces the scene colour completely. 0 = fog colour will have no impact.
20058
+ * @return Current maximum opacity.
19867
20059
  */
19868
20060
  getMaxOpacity() {
19869
20061
  let _result = Module.ccall("csp_multiplayer_FogSpaceComponent_GetMaxOpacityC_float", "number", ["number"], [this.pointer]);
19870
20062
  return _result;
19871
20063
  }
19872
20064
  /**
19873
- * @description Set Maximum opacity of the Fog.
19874
- * @param value - Maximum opacity of the Fog.
20065
+ * @description Sets maximum opacity of the fog.
20066
+ * NOTE: 1 = fog becomes fully opaque at a distance and replaces the scene colour completely. 0 = fog colour will have no impact.
20067
+ * @param value - Maximum opacity of the fog.
19875
20068
  */
19876
20069
  setMaxOpacity(value) {
19877
20070
  assert(value >= Limits.FLOAT_MIN);
@@ -19879,16 +20072,16 @@ export class CSPFoundation {
19879
20072
  Module.ccall("csp_multiplayer_FogSpaceComponent_SetMaxOpacity_void_float", "void", ["number", "number"], [this.pointer, value]);
19880
20073
  }
19881
20074
  /**
19882
- * @description Get Is Fog Volumetric.
19883
- * @param value - Fog Volumetric Flag
20075
+ * @description Gets IsFogVolumetric.
20076
+ * @return Current fog volumetric flag.
19884
20077
  */
19885
20078
  getIsVolumetric() {
19886
20079
  let _result = Module.ccall("csp_multiplayer_FogSpaceComponent_GetIsVolumetricC_bool", "boolean", ["number"], [this.pointer]);
19887
20080
  return _result;
19888
20081
  }
19889
20082
  /**
19890
- * @description Set Is Fog Volumetric
19891
- * @param value - Is Fog Volumetric Flag
20083
+ * @description Sets IsFogVolumetric.
20084
+ * @param value - Fog Volumetric Flag.
19892
20085
  */
19893
20086
  setIsVolumetric(value) {
19894
20087
  Module.ccall("csp_multiplayer_FogSpaceComponent_SetIsVolumetric_void_bool", "void", ["number", "boolean"], [this.pointer, value]);
@@ -23511,6 +23704,29 @@ export class CSPFoundation {
23511
23704
  }
23512
23705
  Systems.AssetCollectionCountResult = AssetCollectionCountResult;
23513
23706
  })(Systems || (Systems = {}));
23707
+ (function (Systems) {
23708
+ /**
23709
+ @ingroup Asset System
23710
+ * @description Data class used to process and represent information relating to copied asset collections.
23711
+ */
23712
+ class AssetCollectionsCopyResult extends Systems.AssetCollectionsResult {
23713
+ /** @internal */
23714
+ constructor(pointer) {
23715
+ super(pointer);
23716
+ }
23717
+ static fromAssetCollectionsResult(baseInstance) {
23718
+ const nativeClassWrapper = baseInstance;
23719
+ return new Systems.AssetCollectionsCopyResult(new NativePointer(nativeClassWrapper.pointer, nativeClassWrapper.ownsPointer));
23720
+ }
23721
+ delete() {
23722
+ if (this.ownsPointer && !this.disposed) {
23723
+ Module.ccall("csp_systems_AssetCollectionsCopyResult_Dtor", "void", ["number"], [this.pointer]);
23724
+ this.disposed = true;
23725
+ }
23726
+ }
23727
+ }
23728
+ Systems.AssetCollectionsCopyResult = AssetCollectionsCopyResult;
23729
+ })(Systems || (Systems = {}));
23514
23730
  (function (Systems) {
23515
23731
  /**
23516
23732
  @ingroup Asset System
@@ -25841,6 +26057,122 @@ export class CSPFoundation {
25841
26057
  }
25842
26058
  Systems.EventTicketingSystem = EventTicketingSystem;
25843
26059
  })(Systems || (Systems = {}));
26060
+ (function (Systems) {
26061
+ /**
26062
+ * @description Data class used to contain information relating to invocations via the external service proxy system.
26063
+ */
26064
+ class ExternalServiceInvocationResult extends Systems.StringResult {
26065
+ /** @internal */
26066
+ constructor(pointer) {
26067
+ super(pointer);
26068
+ }
26069
+ static fromStringResult(baseInstance) {
26070
+ const nativeClassWrapper = baseInstance;
26071
+ return new Systems.ExternalServiceInvocationResult(new NativePointer(nativeClassWrapper.pointer, nativeClassWrapper.ownsPointer));
26072
+ }
26073
+ delete() {
26074
+ if (this.ownsPointer && !this.disposed) {
26075
+ Module.ccall("csp_systems_ExternalServiceInvocationResult_Dtor", "void", ["number"], [this.pointer]);
26076
+ this.disposed = true;
26077
+ }
26078
+ }
26079
+ }
26080
+ Systems.ExternalServiceInvocationResult = ExternalServiceInvocationResult;
26081
+ })(Systems || (Systems = {}));
26082
+ (function (Systems) {
26083
+ /**
26084
+ * @description A specialisation of the result data class that handles respnses from the external service proxy system.
26085
+ */
26086
+ class GetAgoraTokenResult extends Systems.ExternalServiceInvocationResult {
26087
+ /** @internal */
26088
+ constructor(pointer) {
26089
+ super(pointer);
26090
+ }
26091
+ static fromExternalServiceInvocationResult(baseInstance) {
26092
+ const nativeClassWrapper = baseInstance;
26093
+ return new Systems.GetAgoraTokenResult(new NativePointer(nativeClassWrapper.pointer, nativeClassWrapper.ownsPointer));
26094
+ }
26095
+ delete() {
26096
+ if (this.ownsPointer && !this.disposed) {
26097
+ Module.ccall("csp_systems_GetAgoraTokenResult_Dtor", "void", ["number"], [this.pointer]);
26098
+ this.disposed = true;
26099
+ }
26100
+ }
26101
+ }
26102
+ Systems.GetAgoraTokenResult = GetAgoraTokenResult;
26103
+ })(Systems || (Systems = {}));
26104
+ (function (Systems) {
26105
+ /**
26106
+ * *******************************************************************************************************************
26107
+ @ingroup External Service Proxy System
26108
+ * @description Public facing system that allows client applications to interact with
26109
+ * backend services acting as a proxy for some other set of services.
26110
+ * /// In situations where a CSP client application needs secure access to some other set of third-party
26111
+ * services (like AI, VOIP, ECommerce etc), this system can be particularly helpful,
26112
+ * as it enables services that CSP interfaces with to own the responsibility of distributing secure tokens to those platforms.
26113
+ */
26114
+ class ExternalServiceProxySystem extends Systems.SystemBase {
26115
+ /** @internal */
26116
+ constructor(pointer) {
26117
+ super(pointer);
26118
+ }
26119
+ static fromSystemBase(baseInstance) {
26120
+ const nativeClassWrapper = baseInstance;
26121
+ return new Systems.ExternalServiceProxySystem(new NativePointer(nativeClassWrapper.pointer, nativeClassWrapper.ownsPointer));
26122
+ }
26123
+ /**
26124
+ * @description Generic function which will make a post request to the services proxy endpoint to trigger some specified operation of specified
26125
+ * service. The nature of the operation and what is returned is entirely dependent on the service and operation name provided.
26126
+ * @param params - Params to specify service, operation, set help and parameters.
26127
+ * @param callback - Callback to call when a response is received.
26128
+ */
26129
+ async invokeOperation(params) {
26130
+ var _resolve;
26131
+ var _promise = new Promise((_r) => {
26132
+ _resolve = _r;
26133
+ });
26134
+ var _callbackPtr;
26135
+ var _callback = (_stateObject__, result) => {
26136
+ var _resultPtr = getNativePointer(result);
26137
+ var _resultInstance = new Systems.StringResult(_resultPtr);
26138
+ if (_resultInstance.getResultCode() == Systems.EResultCode.InProgress) {
26139
+ return;
26140
+ }
26141
+ _resolve(_resultInstance);
26142
+ Module.removeFunction(_callbackPtr);
26143
+ };
26144
+ _callbackPtr = Module.addFunction(_callback, "vii");
26145
+ Module.ccall("csp_systems_ExternalServiceProxySystem_InvokeOperation_void_ExternalServicesOperationParamsRC_StringResultCallback", "void", ["number", "number", "number", "number"], [this.pointer, params.pointer, _callbackPtr, 0]);
26146
+ return _promise;
26147
+ }
26148
+ /**
26149
+ * @description Specialised utility function which executes a post call to the external services proxy, specifically to retrieve Agora user token
26150
+ * credentials. A good example for how client applications may wish to use PostServiceProxy.
26151
+ * @param params - Params to configure the User token.
26152
+ * @param callback - Callback to call when a response is received.
26153
+ */
26154
+ async getAgoraUserToken(params) {
26155
+ var _resolve;
26156
+ var _promise = new Promise((_r) => {
26157
+ _resolve = _r;
26158
+ });
26159
+ var _callbackPtr;
26160
+ var _callback = (_stateObject__, result) => {
26161
+ var _resultPtr = getNativePointer(result);
26162
+ var _resultInstance = new Systems.StringResult(_resultPtr);
26163
+ if (_resultInstance.getResultCode() == Systems.EResultCode.InProgress) {
26164
+ return;
26165
+ }
26166
+ _resolve(_resultInstance);
26167
+ Module.removeFunction(_callbackPtr);
26168
+ };
26169
+ _callbackPtr = Module.addFunction(_callback, "vii");
26170
+ Module.ccall("csp_systems_ExternalServiceProxySystem_GetAgoraUserToken_void_AgoraUserTokenParamsRC_StringResultCallback", "void", ["number", "number", "number", "number"], [this.pointer, params.pointer, _callbackPtr, 0]);
26171
+ return _promise;
26172
+ }
26173
+ }
26174
+ Systems.ExternalServiceProxySystem = ExternalServiceProxySystem;
26175
+ })(Systems || (Systems = {}));
25844
26176
  (function (Systems) {
25845
26177
  /**
25846
26178
  @ingroup GraphQL System
@@ -31000,54 +31332,6 @@ export class CSPFoundation {
31000
31332
  Module.ccall("csp_systems_UserSystem_Ping_void_NullResultCallback", "void", ["number", "number", "number"], [this.pointer, _callbackPtr, 0]);
31001
31333
  return _promise;
31002
31334
  }
31003
- /**
31004
- * @description Retrieve User token from Agora
31005
- * @param params - Params to configure the User token
31006
- * @param callback - Callback to call when a response is received
31007
- */
31008
- async getAgoraUserToken(params) {
31009
- var _resolve;
31010
- var _promise = new Promise((_r) => {
31011
- _resolve = _r;
31012
- });
31013
- var _callbackPtr;
31014
- var _callback = (_stateObject__, result) => {
31015
- var _resultPtr = getNativePointer(result);
31016
- var _resultInstance = new Systems.StringResult(_resultPtr);
31017
- if (_resultInstance.getResultCode() == Systems.EResultCode.InProgress) {
31018
- return;
31019
- }
31020
- _resolve(_resultInstance);
31021
- Module.removeFunction(_callbackPtr);
31022
- };
31023
- _callbackPtr = Module.addFunction(_callback, "vii");
31024
- Module.ccall("csp_systems_UserSystem_GetAgoraUserToken_void_AgoraUserTokenParamsRC_StringResultCallback", "void", ["number", "number", "number", "number"], [this.pointer, params.pointer, _callbackPtr, 0]);
31025
- return _promise;
31026
- }
31027
- /**
31028
- * @description Post Service Proxy to perform specified operation of specified service
31029
- * @param params - Params to specify service, operation, set help and parameters
31030
- * @param callback - Callback to call when a response is received
31031
- */
31032
- async postServiceProxy(params) {
31033
- var _resolve;
31034
- var _promise = new Promise((_r) => {
31035
- _resolve = _r;
31036
- });
31037
- var _callbackPtr;
31038
- var _callback = (_stateObject__, result) => {
31039
- var _resultPtr = getNativePointer(result);
31040
- var _resultInstance = new Systems.StringResult(_resultPtr);
31041
- if (_resultInstance.getResultCode() == Systems.EResultCode.InProgress) {
31042
- return;
31043
- }
31044
- _resolve(_resultInstance);
31045
- Module.removeFunction(_callbackPtr);
31046
- };
31047
- _callbackPtr = Module.addFunction(_callback, "vii");
31048
- Module.ccall("csp_systems_UserSystem_PostServiceProxy_void_TokenInfoParamsRC_StringResultCallback", "void", ["number", "number", "number", "number"], [this.pointer, params.pointer, _callbackPtr, 0]);
31049
- return _promise;
31050
- }
31051
31335
  /**
31052
31336
  * @description Re-send user verification email
31053
31337
  * @param inEmail - User's email address