connected-spaces-platform.web 6.6.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.
@@ -379,8 +379,9 @@ export declare namespace Multiplayer {
379
379
  Hotspot = 26,
380
380
  CinematicCamera = 27,
381
381
  ScreenSharing = 28,
382
- spare = 29,
383
- values = 30,
382
+ AIChatbot = 29,
383
+ spare = 30,
384
+ values = 31,
384
385
  Delete = 56
385
386
  }
386
387
  }
@@ -476,6 +477,31 @@ export declare namespace Multiplayer {
476
477
  UserAgnostic = 1
477
478
  }
478
479
  }
480
+ export declare namespace Multiplayer {
481
+ /**
482
+ * @description Enumerates the list of properties that can be replicated for a AI chatbot component.
483
+ */
484
+ enum AIChatbotPropertyKeys {
485
+ Position = 0,
486
+ Voice = 1,
487
+ GuardrailAssetCollectionId = 2,
488
+ VisualState = 3,
489
+ Num = 4
490
+ }
491
+ }
492
+ export declare namespace Multiplayer {
493
+ /**
494
+ * @description Enumerates the list of potential visual states that can be replicated for a AI chatbot component.
495
+ */
496
+ enum AIChatbotVisualState {
497
+ Waiting = 0,
498
+ Listening = 1,
499
+ Thinking = 2,
500
+ Speaking = 3,
501
+ Unknown = 4,
502
+ Num = 5
503
+ }
504
+ }
479
505
  export declare namespace Multiplayer {
480
506
  /**
481
507
  * @description Enumerates the actions that can be performed on an animated model component.
@@ -3418,7 +3444,7 @@ export declare namespace Common {
3418
3444
  constructor(pointer: NativePointer);
3419
3445
  /**
3420
3446
  * @description A default ReplicatedValue will not have a valid type ("ReplicatedValueType::InvalidType"), and will have no internal value associated.
3421
- * /// Do not use this constructor unless you know what you are doing!
3447
+ * This constuctor will create the value in an invalid state. Do not use unless you know what you are doing!
3422
3448
  */
3423
3449
  static create(): ReplicatedValue;
3424
3450
  /**
@@ -3458,36 +3484,32 @@ export declare namespace Common {
3458
3484
  static create_vector4Value(vector4Value: Common.Vector4): ReplicatedValue;
3459
3485
  /**
3460
3486
  * @description Construct a ReplicatedValue based on an csp::common::Map type with a string value as the key.
3461
- * @param inMapValue - Initial value.
3462
- */
3463
- static create_mapValue(mapValue: Common.Map<string, Common.ReplicatedValue>): ReplicatedValue;
3464
- /**
3465
- * @description Copy constructor
3466
- * @param other - The value to copy.
3487
+ * @param inValue - Initial value.
3467
3488
  */
3468
- static create_other(other: Common.ReplicatedValue): ReplicatedValue;
3489
+ static create_value(value: Common.Map<string, Common.ReplicatedValue>): ReplicatedValue;
3469
3490
  /**
3470
3491
  * @description Destroys the replicated value instance.
3471
3492
  */
3472
3493
  delete(): void;
3473
3494
  /**
3474
- * @description Assignment operator overload.
3475
- * @param inValue - Other replicated value to set this one to.
3495
+ * @description Copy constructor
3496
+ * @param other - The value to copy.
3476
3497
  */
3498
+ static create_other(other: Common.ReplicatedValue): ReplicatedValue;
3477
3499
  /**
3478
- * @description Equality operator overload.
3479
- * @param replicatedValue - Other value to compare to.
3500
+ * @description Copy assignment operator overload.
3501
+ * @param inValue - Other replicated value to set from.
3480
3502
  */
3481
3503
  /**
3482
- * @description Non equality operator overload.
3483
- * @param replicatedValue - Other value to compare to.
3504
+ * @description Move assignment operator overload.
3505
+ * @param inValue - Other replicated value to move from.
3484
3506
  */
3485
3507
  /**
3486
- * @description Less than operator overload.
3508
+ * @description Equality operator overload.
3487
3509
  * @param replicatedValue - Other value to compare to.
3488
3510
  */
3489
3511
  /**
3490
- * @description Greater than operator overload.
3512
+ * @description Inequality operator overload.
3491
3513
  * @param replicatedValue - Other value to compare to.
3492
3514
  */
3493
3515
  /**
@@ -3502,8 +3524,7 @@ export declare namespace Common {
3502
3524
  setBool(value: boolean): void;
3503
3525
  /**
3504
3526
  * @description Get a bool value from this replicated value, will assert if not a bool type.
3505
- * /// Use ReplicatedValue::GetReplicatedValueType to ensure type before accessing.
3506
- * /// @return bool
3527
+ * @return Bool
3507
3528
  */
3508
3529
  getBool(): boolean;
3509
3530
  /**
@@ -3513,8 +3534,7 @@ export declare namespace Common {
3513
3534
  setFloat(value: number): void;
3514
3535
  /**
3515
3536
  * @description Get a float value from this replicated value, will assert if not a float type.
3516
- * /// Use ReplicatedValue::GetReplicatedValueType to ensure type before accessing.
3517
- * /// @return float value
3537
+ * @return Float value
3518
3538
  */
3519
3539
  getFloat(): number;
3520
3540
  /**
@@ -3524,15 +3544,13 @@ export declare namespace Common {
3524
3544
  setInt(value: bigint): void;
3525
3545
  /**
3526
3546
  * @description Get a int64 value from this replicated value, will assert if not a int64 type.
3527
- * /// Use ReplicatedValue::GetReplicatedValueType to ensure type before accessing.
3528
- * /// @return int64 value
3547
+ * @return Int64 value
3529
3548
  */
3530
3549
  getInt(): bigint;
3531
3550
  setString(value: string): void;
3532
3551
  /**
3533
3552
  * @description Get a csp::common::String& value from this replicated value, will assert if not a csp::common::String type.
3534
- * /// Use ReplicatedValue::GetReplicatedValueType to ensure type before accessing.
3535
- * /// @return csp::common::String&
3553
+ * @return Csp::common::string&
3536
3554
  */
3537
3555
  getString(): string;
3538
3556
  /**
@@ -3541,8 +3559,7 @@ export declare namespace Common {
3541
3559
  setVector2(value: Common.Vector2): void;
3542
3560
  /**
3543
3561
  * @description Get a csp::common::Vector2 value from this replicated value, will assert if not a csp::common::Vector2 type.
3544
- * /// Use ReplicatedValue::GetReplicatedValueType to ensure type before accessing.
3545
- * /// @return csp::common::Vector2
3562
+ * @return Csp::common::vector2
3546
3563
  */
3547
3564
  getVector2(): Common.Vector2;
3548
3565
  /**
@@ -3551,8 +3568,7 @@ export declare namespace Common {
3551
3568
  setVector3(value: Common.Vector3): void;
3552
3569
  /**
3553
3570
  * @description Get a csp::common::Vector3 value from this replicated value, will assert if not a csp::common::Vector3 type.
3554
- * /// Use ReplicatedValue::GetReplicatedValueType to ensure type before accessing.
3555
- * /// @return csp::common::Vector3
3571
+ * @return Csp::common::vector3
3556
3572
  */
3557
3573
  getVector3(): Common.Vector3;
3558
3574
  /**
@@ -3561,15 +3577,13 @@ export declare namespace Common {
3561
3577
  setVector4(value: Common.Vector4): void;
3562
3578
  /**
3563
3579
  * @description Get a csp::common::Vector4 value from this replicated value, will assert if not a csp::common::Vector4 type.
3564
- * /// Use ReplicatedValue::GetReplicatedValueType to ensure type before accessing.
3565
- * /// @return csp::common::Vector4
3580
+ * @return Csp::common::vector4
3566
3581
  */
3567
3582
  getVector4(): Common.Vector4;
3568
3583
  /**
3569
3584
  * @description Get a csp::common::Map value with a string value as the key.
3570
3585
  * This will assert if not a csp::common::Map type with a string value as the key.
3571
- * /// Use ReplicatedValue::GetReplicatedValueType to ensure type before accessing.
3572
- * /// @return csp::common::Map
3586
+ * @return Csp::common::map
3573
3587
  */
3574
3588
  getStringMap(): Common.Map<string, Common.ReplicatedValue>;
3575
3589
  /**
@@ -4060,7 +4074,7 @@ export declare namespace Common {
4060
4074
  * @description Set a callback for handling a log. Can be used to debug Connected Spaces Platform within a client application.
4061
4075
  * @param inLogCallback - The callback to execute when a log occurs.
4062
4076
  */
4063
- setLogCallback(callback: (arg1: string) => void): void;
4077
+ setLogCallback(callback: (arg1: Common.LogLevel, arg2: string) => void): void;
4064
4078
  /**
4065
4079
  * @description Set a callback for handling an event log. Can be used to debug Connected Spaces Platform within a client application.
4066
4080
  * @param inEventCallback - The callback to execute when an event log occurs.
@@ -5056,6 +5070,11 @@ export declare namespace Systems {
5056
5070
  * @return Pointer to the analyticssystem system class
5057
5071
  */
5058
5072
  getAnalyticsSystem(): Systems.AnalyticsSystem;
5073
+ /**
5074
+ * @description Retrieves external services proxy system.
5075
+ * @return Pointer to the external services proxy system class.
5076
+ */
5077
+ getExternalServicesProxySystem(): Systems.ExternalServiceProxySystem;
5059
5078
  getMultiplayerConnection(): Multiplayer.MultiplayerConnection;
5060
5079
  getEventBus(): Multiplayer.NetworkEventBus;
5061
5080
  }
@@ -5706,6 +5725,54 @@ export declare namespace Systems {
5706
5725
  set oAuthRedirectUrl(value: string);
5707
5726
  }
5708
5727
  }
5728
+ export declare namespace Systems {
5729
+ /**
5730
+ * *******************************************************************************************************************
5731
+ * @description Data structure used when making invocations of the external service proxy.
5732
+ */
5733
+ class ExternalServicesOperationParams extends NativeClassWrapper implements INativeResource {
5734
+ /** @internal */
5735
+ constructor(pointer: NativePointer);
5736
+ static create(): ExternalServicesOperationParams;
5737
+ delete(): void;
5738
+ get serviceName(): string;
5739
+ set serviceName(value: string);
5740
+ get operationName(): string;
5741
+ set operationName(value: string);
5742
+ get setHelp(): boolean;
5743
+ set setHelp(value: boolean);
5744
+ get parameters(): Common.Map<string, string>;
5745
+ set parameters(value: Common.Map<string, string>);
5746
+ }
5747
+ }
5748
+ export declare namespace Systems {
5749
+ /**
5750
+ * *******************************************************************************************************************
5751
+ * @description Specialised data structure that can be used to retrieve an Agora user token via the proxy service.
5752
+ */
5753
+ class AgoraUserTokenParams extends NativeClassWrapper implements INativeResource {
5754
+ /** @internal */
5755
+ constructor(pointer: NativePointer);
5756
+ static create(): AgoraUserTokenParams;
5757
+ delete(): void;
5758
+ get agoraUserId(): string;
5759
+ set agoraUserId(value: string);
5760
+ get channelName(): string;
5761
+ set channelName(value: string);
5762
+ get referenceId(): string;
5763
+ set referenceId(value: string);
5764
+ get lifespan(): number;
5765
+ set lifespan(value: number);
5766
+ get readOnly(): boolean;
5767
+ set readOnly(value: boolean);
5768
+ get shareAudio(): boolean;
5769
+ set shareAudio(value: boolean);
5770
+ get shareVideo(): boolean;
5771
+ set shareVideo(value: boolean);
5772
+ get shareScreen(): boolean;
5773
+ set shareScreen(value: boolean);
5774
+ }
5775
+ }
5709
5776
  export declare namespace Systems {
5710
5777
  /**
5711
5778
  @ingroup HotspotSequence System
@@ -6114,52 +6181,6 @@ export declare namespace Systems {
6114
6181
  set refreshExpiryTime(value: string);
6115
6182
  }
6116
6183
  }
6117
- export declare namespace Systems {
6118
- /**
6119
- * @description Data structure for an Agora user token, giving userID, referenceID, channel name and settings regarding sharing of audio/video/screenshare.
6120
- */
6121
- class AgoraUserTokenParams extends NativeClassWrapper implements INativeResource {
6122
- /** @internal */
6123
- constructor(pointer: NativePointer);
6124
- static create(): AgoraUserTokenParams;
6125
- delete(): void;
6126
- get agoraUserId(): string;
6127
- set agoraUserId(value: string);
6128
- get channelName(): string;
6129
- set channelName(value: string);
6130
- get referenceId(): string;
6131
- set referenceId(value: string);
6132
- get lifespan(): number;
6133
- set lifespan(value: number);
6134
- get readOnly(): boolean;
6135
- set readOnly(value: boolean);
6136
- get shareAudio(): boolean;
6137
- set shareAudio(value: boolean);
6138
- get shareVideo(): boolean;
6139
- set shareVideo(value: boolean);
6140
- get shareScreen(): boolean;
6141
- set shareScreen(value: boolean);
6142
- }
6143
- }
6144
- export declare namespace Systems {
6145
- /**
6146
- * @description Data structure for a custom service proxy posting, giving service name, operation name, set help and parameters
6147
- */
6148
- class TokenInfoParams extends NativeClassWrapper implements INativeResource {
6149
- /** @internal */
6150
- constructor(pointer: NativePointer);
6151
- static create(): TokenInfoParams;
6152
- delete(): void;
6153
- get serviceName(): string;
6154
- set serviceName(value: string);
6155
- get operationName(): string;
6156
- set operationName(value: string);
6157
- get setHelp(): boolean;
6158
- set setHelp(value: boolean);
6159
- get parameters(): Common.Map<string, string>;
6160
- set parameters(value: Common.Map<string, string>);
6161
- }
6162
- }
6163
6184
  export declare namespace Systems {
6164
6185
  /**
6165
6186
  * @description Data structure for overrides to the default token options
@@ -6630,6 +6651,55 @@ export declare namespace Multiplayer {
6630
6651
  delete(): void;
6631
6652
  }
6632
6653
  }
6654
+ export declare namespace Multiplayer {
6655
+ class AIChatbotSpaceComponent extends Multiplayer.ComponentBase implements Multiplayer.IPositionComponent, INativeResource {
6656
+ /** @internal */
6657
+ constructor(pointer: NativePointer);
6658
+ static fromComponentBase(baseInstance: Multiplayer.ComponentBase): Multiplayer.AIChatbotSpaceComponent;
6659
+ static create_logSystem_parent(logSystem: Common.LogSystem, parent: Multiplayer.SpaceEntity): AIChatbotSpaceComponent;
6660
+ /**
6661
+ * @description Gets the voice name of the TTS model associated with this AI chatbot.
6662
+ * @return The name of the TTS voice associated with this AI chatbot.
6663
+ */
6664
+ getVoice(): string;
6665
+ /**
6666
+ * @description Sets the voice name of the TTS model associated with this AI chatbot.
6667
+ * @param value - The name of the TTS voice associated with this AI chatbot.
6668
+ */
6669
+ setVoice(value: string): void;
6670
+ /**
6671
+ * @description Gets the ID of the guardrail asset associated with this AI chatbot.
6672
+ * @return The ID of the guardrail asset collection associated with this AI chatbot.
6673
+ */
6674
+ getGuardrailAssetCollectionId(): string;
6675
+ /**
6676
+ * @description Sets the ID of the guardrail asset associated with this AI chatbot.
6677
+ * @param value - The ID of the guardrail asset collection associated with this AI chatbot.
6678
+ */
6679
+ setGuardrailAssetCollectionId(value: string): void;
6680
+ /**
6681
+ * @description Retrieves the visual state of the AI chatbot for this component.
6682
+ * @return The visual state of the AI chatbot.
6683
+ */
6684
+ getVisualState(): Multiplayer.AIChatbotVisualState;
6685
+ /**
6686
+ * @description Sets the visual state of the AI chatbot for this component.
6687
+ * @param value - The visual state of the AI chatbot.
6688
+ */
6689
+ setVisualState(value: Multiplayer.AIChatbotVisualState): void;
6690
+ /**
6691
+ * \addtogroup IPositionComponent
6692
+ @{
6693
+ @copydoc IPositionComponent::GetPosition()
6694
+ */
6695
+ getPosition(): Common.Vector3;
6696
+ /**
6697
+ @copydoc IPositionComponent::SetPosition()
6698
+ */
6699
+ setPosition(value: Common.Vector3): void;
6700
+ delete(): void;
6701
+ }
6702
+ }
6633
6703
  export declare namespace Multiplayer {
6634
6704
  /**
6635
6705
  @ingroup AnimatedModelSpaceComponent
@@ -8257,7 +8327,7 @@ export declare namespace Multiplayer {
8257
8327
  */
8258
8328
  getFogMode(): Multiplayer.FogMode;
8259
8329
  /**
8260
- * @description Sets the type of fog currently to be used by this fog component.
8330
+ * @description Sets the type of fog to be used by this fog component.
8261
8331
  * @param value - The modality of fog to be used by this component.
8262
8332
  */
8263
8333
  setFogMode(value: Multiplayer.FogMode): void;
@@ -8297,88 +8367,81 @@ export declare namespace Multiplayer {
8297
8367
  setTransform(value: Multiplayer.SpaceTransform): void;
8298
8368
  /**
8299
8369
  @}
8300
- * @description Get start sistance
8301
- * Note: Distance from camera that the fog will start.
8302
- * Note: 0 = this property has no effect.
8303
- * @return Current start distance
8370
+ * @description Gets start distance.
8371
+ * NOTE: Distance from camera that the fog will start. 0 = this property has no effect.
8372
+ * @return Current start distance.
8304
8373
  */
8305
8374
  getStartDistance(): number;
8306
8375
  /**
8307
- * @description Set Current start distance
8308
- * Note: Distance from camera that the fog will start.
8309
- * Note: 0 = this property has no effect.
8310
- * @param value - Current start distance
8376
+ * @description Sets start distance.
8377
+ * NOTE: Distance from camera that the fog will start. 0 = this property has no effect.
8378
+ * @param value - Start distance.
8311
8379
  */
8312
8380
  setStartDistance(value: number): void;
8313
8381
  /**
8314
- * @description Get Current end distance
8315
- * Note: objects passed this distance will not be affected by fog.
8316
- * Note: 0 = this property has no effect.
8317
- * @return Current end distance
8382
+ * @description Gets end distance.
8383
+ * NOTE: Objects passed this distance will not be affected by fog. 0 = this property has no effect.
8384
+ * @return Current end distance.
8318
8385
  */
8319
8386
  getEndDistance(): number;
8320
8387
  /**
8321
- * @description Set Current end distance
8322
- * Note: objects passed this distance will not be affected by fog.
8323
- * Note: 0 = this property has no effect.
8324
- * @param value - Current end distance
8388
+ * @description Sets end distance.
8389
+ * NOTE: Objects passed this distance will not be affected by fog. 0 = this property has no effect.
8390
+ * @param value - End distance.
8325
8391
  */
8326
8392
  setEndDistance(value: number): void;
8327
8393
  /**
8328
- * @description Get fog color
8329
- * @return Current fog color
8394
+ * @description Gets fog color.
8395
+ * @return Current fog color.
8330
8396
  */
8331
8397
  getColor(): Common.Vector3;
8332
8398
  /**
8333
- * @description Set Current fog color
8334
- * @param value - Current fog color
8399
+ * @description Sets fog color.
8400
+ * @param value - Fog color.
8335
8401
  */
8336
8402
  setColor(value: Common.Vector3): void;
8337
8403
  /**
8338
- * @description Get Global density factor
8339
- * Note: Global density factor
8340
- * @return Current Global density factor
8404
+ * @description Gets global density factor.
8405
+ * @return Current global density factor.
8341
8406
  */
8342
8407
  getDensity(): number;
8343
8408
  /**
8344
- * @description Set Global density factor
8345
- * Note: Global density factor
8346
- * @param value - Global density factor
8409
+ * @description Sets global density factor.
8410
+ * @param value - Global density factor.
8347
8411
  */
8348
8412
  setDensity(value: number): void;
8349
8413
  /**
8350
- * @description Get Height density factor
8351
- * Note: Height density factor, controls how the density increases and height decreases. Smaller values make the visible transition larger.
8352
- * @return Current Height density factor
8414
+ * @description Gets Height density factor.
8415
+ * NOTE: Controls how the density increases and height decreases. Smaller values make the visible transition larger.
8416
+ * @return Current height density factor.
8353
8417
  */
8354
8418
  getHeightFalloff(): number;
8355
8419
  /**
8356
- * @description Set Height density factor
8357
- * Note: Height density factor, controls how the density increases and height decreases. Smaller values make the visible transition larger.
8358
- * @param value - Height density factor
8420
+ * @description Sets Height density factor.
8421
+ * NOTE: Controls how the density increases and height decreases. Smaller values make the visible transition larger.
8422
+ * @param value - Height density factor.
8359
8423
  */
8360
8424
  setHeightFalloff(value: number): void;
8361
8425
  /**
8362
- * @description Get Maximum opacity of the Fog.
8363
- * Maximum opacity of the Fog.
8364
- * Note: 1 = fog becomes fully opaque at a distance and replaces the scene colour completely.
8365
- * Note: 0 = fog colour will have no impact.
8366
- * @return Current Maximum opacity of the Fog
8426
+ * @description Gets maximum opacity of the fog.
8427
+ * NOTE: 1 = fog becomes fully opaque at a distance and replaces the scene colour completely. 0 = fog colour will have no impact.
8428
+ * @return Current maximum opacity.
8367
8429
  */
8368
8430
  getMaxOpacity(): number;
8369
8431
  /**
8370
- * @description Set Maximum opacity of the Fog.
8371
- * @param value - Maximum opacity of the Fog.
8432
+ * @description Sets maximum opacity of the fog.
8433
+ * NOTE: 1 = fog becomes fully opaque at a distance and replaces the scene colour completely. 0 = fog colour will have no impact.
8434
+ * @param value - Maximum opacity of the fog.
8372
8435
  */
8373
8436
  setMaxOpacity(value: number): void;
8374
8437
  /**
8375
- * @description Get Is Fog Volumetric.
8376
- * @param value - Fog Volumetric Flag
8438
+ * @description Gets IsFogVolumetric.
8439
+ * @return Current fog volumetric flag.
8377
8440
  */
8378
8441
  getIsVolumetric(): boolean;
8379
8442
  /**
8380
- * @description Set Is Fog Volumetric
8381
- * @param value - Is Fog Volumetric Flag
8443
+ * @description Sets IsFogVolumetric.
8444
+ * @param value - Fog Volumetric Flag.
8382
8445
  */
8383
8446
  setIsVolumetric(value: boolean): void;
8384
8447
  /**
@@ -10396,6 +10459,18 @@ export declare namespace Systems {
10396
10459
  delete(): void;
10397
10460
  }
10398
10461
  }
10462
+ export declare namespace Systems {
10463
+ /**
10464
+ @ingroup Asset System
10465
+ * @description Data class used to process and represent information relating to copied asset collections.
10466
+ */
10467
+ class AssetCollectionsCopyResult extends Systems.AssetCollectionsResult implements INativeResource {
10468
+ /** @internal */
10469
+ constructor(pointer: NativePointer);
10470
+ static fromAssetCollectionsResult(baseInstance: Systems.AssetCollectionsResult): Systems.AssetCollectionsCopyResult;
10471
+ delete(): void;
10472
+ }
10473
+ }
10399
10474
  export declare namespace Systems {
10400
10475
  /**
10401
10476
  @ingroup Asset System
@@ -11220,6 +11295,58 @@ export declare namespace Systems {
11220
11295
  getIsSpaceTicketed(spaceId: string): Promise<Systems.SpaceIsTicketedResult>;
11221
11296
  }
11222
11297
  }
11298
+ export declare namespace Systems {
11299
+ /**
11300
+ * @description Data class used to contain information relating to invocations via the external service proxy system.
11301
+ */
11302
+ class ExternalServiceInvocationResult extends Systems.StringResult implements INativeResource {
11303
+ /** @internal */
11304
+ constructor(pointer: NativePointer);
11305
+ static fromStringResult(baseInstance: Systems.StringResult): Systems.ExternalServiceInvocationResult;
11306
+ delete(): void;
11307
+ }
11308
+ }
11309
+ export declare namespace Systems {
11310
+ /**
11311
+ * @description A specialisation of the result data class that handles respnses from the external service proxy system.
11312
+ */
11313
+ class GetAgoraTokenResult extends Systems.ExternalServiceInvocationResult implements INativeResource {
11314
+ /** @internal */
11315
+ constructor(pointer: NativePointer);
11316
+ static fromExternalServiceInvocationResult(baseInstance: Systems.ExternalServiceInvocationResult): Systems.GetAgoraTokenResult;
11317
+ delete(): void;
11318
+ }
11319
+ }
11320
+ export declare namespace Systems {
11321
+ /**
11322
+ * *******************************************************************************************************************
11323
+ @ingroup External Service Proxy System
11324
+ * @description Public facing system that allows client applications to interact with
11325
+ * backend services acting as a proxy for some other set of services.
11326
+ * /// In situations where a CSP client application needs secure access to some other set of third-party
11327
+ * services (like AI, VOIP, ECommerce etc), this system can be particularly helpful,
11328
+ * as it enables services that CSP interfaces with to own the responsibility of distributing secure tokens to those platforms.
11329
+ */
11330
+ class ExternalServiceProxySystem extends Systems.SystemBase {
11331
+ /** @internal */
11332
+ constructor(pointer: NativePointer);
11333
+ static fromSystemBase(baseInstance: Systems.SystemBase): Systems.ExternalServiceProxySystem;
11334
+ /**
11335
+ * @description Generic function which will make a post request to the services proxy endpoint to trigger some specified operation of specified
11336
+ * service. The nature of the operation and what is returned is entirely dependent on the service and operation name provided.
11337
+ * @param params - Params to specify service, operation, set help and parameters.
11338
+ * @param callback - Callback to call when a response is received.
11339
+ */
11340
+ invokeOperation(params: Systems.ExternalServicesOperationParams): Promise<Systems.StringResult>;
11341
+ /**
11342
+ * @description Specialised utility function which executes a post call to the external services proxy, specifically to retrieve Agora user token
11343
+ * credentials. A good example for how client applications may wish to use PostServiceProxy.
11344
+ * @param params - Params to configure the User token.
11345
+ * @param callback - Callback to call when a response is received.
11346
+ */
11347
+ getAgoraUserToken(params: Systems.AgoraUserTokenParams): Promise<Systems.StringResult>;
11348
+ }
11349
+ }
11223
11350
  export declare namespace Systems {
11224
11351
  /**
11225
11352
  @ingroup GraphQL System
@@ -12933,18 +13060,6 @@ export declare namespace Systems {
12933
13060
  * @param callback - Callback to call when a response is received
12934
13061
  */
12935
13062
  ping(): Promise<Systems.NullResult>;
12936
- /**
12937
- * @description Retrieve User token from Agora
12938
- * @param params - Params to configure the User token
12939
- * @param callback - Callback to call when a response is received
12940
- */
12941
- getAgoraUserToken(params: Systems.AgoraUserTokenParams): Promise<Systems.StringResult>;
12942
- /**
12943
- * @description Post Service Proxy to perform specified operation of specified service
12944
- * @param params - Params to specify service, operation, set help and parameters
12945
- * @param callback - Callback to call when a response is received
12946
- */
12947
- postServiceProxy(params: Systems.TokenInfoParams): Promise<Systems.StringResult>;
12948
13063
  /**
12949
13064
  * @description Re-send user verification email
12950
13065
  * @param inEmail - User's email address