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.
- package/Debug/ConnectedSpacesPlatform_WASM.js +93 -63
- package/Debug/ConnectedSpacesPlatform_WASM.wasm +0 -0
- package/Debug/ConnectedSpacesPlatform_WASM.wasm.debug.wasm +0 -0
- package/README.md +1 -1
- package/Release/ConnectedSpacesPlatform_WASM.js +1 -1
- package/Release/ConnectedSpacesPlatform_WASM.wasm +0 -0
- package/connectedspacesplatform.d.ts +253 -105
- package/connectedspacesplatform.js +528 -244
- package/connectedspacesplatform.js.map +1 -1
- package/connectedspacesplatform.ts +961 -479
- package/package.json +1 -1
|
Binary file
|
|
@@ -379,8 +379,9 @@ export declare namespace Multiplayer {
|
|
|
379
379
|
Hotspot = 26,
|
|
380
380
|
CinematicCamera = 27,
|
|
381
381
|
ScreenSharing = 28,
|
|
382
|
-
|
|
383
|
-
|
|
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.
|
|
@@ -3465,6 +3491,27 @@ export declare namespace Common {
|
|
|
3465
3491
|
* @description Destroys the replicated value instance.
|
|
3466
3492
|
*/
|
|
3467
3493
|
delete(): void;
|
|
3494
|
+
/**
|
|
3495
|
+
* @description Copy constructor
|
|
3496
|
+
* @param other - The value to copy.
|
|
3497
|
+
*/
|
|
3498
|
+
static create_other(other: Common.ReplicatedValue): ReplicatedValue;
|
|
3499
|
+
/**
|
|
3500
|
+
* @description Copy assignment operator overload.
|
|
3501
|
+
* @param inValue - Other replicated value to set from.
|
|
3502
|
+
*/
|
|
3503
|
+
/**
|
|
3504
|
+
* @description Move assignment operator overload.
|
|
3505
|
+
* @param inValue - Other replicated value to move from.
|
|
3506
|
+
*/
|
|
3507
|
+
/**
|
|
3508
|
+
* @description Equality operator overload.
|
|
3509
|
+
* @param replicatedValue - Other value to compare to.
|
|
3510
|
+
*/
|
|
3511
|
+
/**
|
|
3512
|
+
* @description Inequality operator overload.
|
|
3513
|
+
* @param replicatedValue - Other value to compare to.
|
|
3514
|
+
*/
|
|
3468
3515
|
/**
|
|
3469
3516
|
* @description Gets the type of replicated value.
|
|
3470
3517
|
* @return Enum representing all supported replication base types.
|
|
@@ -4027,7 +4074,7 @@ export declare namespace Common {
|
|
|
4027
4074
|
* @description Set a callback for handling a log. Can be used to debug Connected Spaces Platform within a client application.
|
|
4028
4075
|
* @param inLogCallback - The callback to execute when a log occurs.
|
|
4029
4076
|
*/
|
|
4030
|
-
setLogCallback(callback: (arg1: string) => void): void;
|
|
4077
|
+
setLogCallback(callback: (arg1: Common.LogLevel, arg2: string) => void): void;
|
|
4031
4078
|
/**
|
|
4032
4079
|
* @description Set a callback for handling an event log. Can be used to debug Connected Spaces Platform within a client application.
|
|
4033
4080
|
* @param inEventCallback - The callback to execute when an event log occurs.
|
|
@@ -5023,6 +5070,11 @@ export declare namespace Systems {
|
|
|
5023
5070
|
* @return Pointer to the analyticssystem system class
|
|
5024
5071
|
*/
|
|
5025
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;
|
|
5026
5078
|
getMultiplayerConnection(): Multiplayer.MultiplayerConnection;
|
|
5027
5079
|
getEventBus(): Multiplayer.NetworkEventBus;
|
|
5028
5080
|
}
|
|
@@ -5673,6 +5725,54 @@ export declare namespace Systems {
|
|
|
5673
5725
|
set oAuthRedirectUrl(value: string);
|
|
5674
5726
|
}
|
|
5675
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
|
+
}
|
|
5676
5776
|
export declare namespace Systems {
|
|
5677
5777
|
/**
|
|
5678
5778
|
@ingroup HotspotSequence System
|
|
@@ -6081,52 +6181,6 @@ export declare namespace Systems {
|
|
|
6081
6181
|
set refreshExpiryTime(value: string);
|
|
6082
6182
|
}
|
|
6083
6183
|
}
|
|
6084
|
-
export declare namespace Systems {
|
|
6085
|
-
/**
|
|
6086
|
-
* @description Data structure for an Agora user token, giving userID, referenceID, channel name and settings regarding sharing of audio/video/screenshare.
|
|
6087
|
-
*/
|
|
6088
|
-
class AgoraUserTokenParams extends NativeClassWrapper implements INativeResource {
|
|
6089
|
-
/** @internal */
|
|
6090
|
-
constructor(pointer: NativePointer);
|
|
6091
|
-
static create(): AgoraUserTokenParams;
|
|
6092
|
-
delete(): void;
|
|
6093
|
-
get agoraUserId(): string;
|
|
6094
|
-
set agoraUserId(value: string);
|
|
6095
|
-
get channelName(): string;
|
|
6096
|
-
set channelName(value: string);
|
|
6097
|
-
get referenceId(): string;
|
|
6098
|
-
set referenceId(value: string);
|
|
6099
|
-
get lifespan(): number;
|
|
6100
|
-
set lifespan(value: number);
|
|
6101
|
-
get readOnly(): boolean;
|
|
6102
|
-
set readOnly(value: boolean);
|
|
6103
|
-
get shareAudio(): boolean;
|
|
6104
|
-
set shareAudio(value: boolean);
|
|
6105
|
-
get shareVideo(): boolean;
|
|
6106
|
-
set shareVideo(value: boolean);
|
|
6107
|
-
get shareScreen(): boolean;
|
|
6108
|
-
set shareScreen(value: boolean);
|
|
6109
|
-
}
|
|
6110
|
-
}
|
|
6111
|
-
export declare namespace Systems {
|
|
6112
|
-
/**
|
|
6113
|
-
* @description Data structure for a custom service proxy posting, giving service name, operation name, set help and parameters
|
|
6114
|
-
*/
|
|
6115
|
-
class TokenInfoParams extends NativeClassWrapper implements INativeResource {
|
|
6116
|
-
/** @internal */
|
|
6117
|
-
constructor(pointer: NativePointer);
|
|
6118
|
-
static create(): TokenInfoParams;
|
|
6119
|
-
delete(): void;
|
|
6120
|
-
get serviceName(): string;
|
|
6121
|
-
set serviceName(value: string);
|
|
6122
|
-
get operationName(): string;
|
|
6123
|
-
set operationName(value: string);
|
|
6124
|
-
get setHelp(): boolean;
|
|
6125
|
-
set setHelp(value: boolean);
|
|
6126
|
-
get parameters(): Common.Map<string, string>;
|
|
6127
|
-
set parameters(value: Common.Map<string, string>);
|
|
6128
|
-
}
|
|
6129
|
-
}
|
|
6130
6184
|
export declare namespace Systems {
|
|
6131
6185
|
/**
|
|
6132
6186
|
* @description Data structure for overrides to the default token options
|
|
@@ -6597,6 +6651,55 @@ export declare namespace Multiplayer {
|
|
|
6597
6651
|
delete(): void;
|
|
6598
6652
|
}
|
|
6599
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
|
+
}
|
|
6600
6703
|
export declare namespace Multiplayer {
|
|
6601
6704
|
/**
|
|
6602
6705
|
@ingroup AnimatedModelSpaceComponent
|
|
@@ -8224,7 +8327,7 @@ export declare namespace Multiplayer {
|
|
|
8224
8327
|
*/
|
|
8225
8328
|
getFogMode(): Multiplayer.FogMode;
|
|
8226
8329
|
/**
|
|
8227
|
-
* @description Sets the type of fog
|
|
8330
|
+
* @description Sets the type of fog to be used by this fog component.
|
|
8228
8331
|
* @param value - The modality of fog to be used by this component.
|
|
8229
8332
|
*/
|
|
8230
8333
|
setFogMode(value: Multiplayer.FogMode): void;
|
|
@@ -8264,88 +8367,81 @@ export declare namespace Multiplayer {
|
|
|
8264
8367
|
setTransform(value: Multiplayer.SpaceTransform): void;
|
|
8265
8368
|
/**
|
|
8266
8369
|
@}
|
|
8267
|
-
* @description
|
|
8268
|
-
*
|
|
8269
|
-
*
|
|
8270
|
-
* @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.
|
|
8271
8373
|
*/
|
|
8272
8374
|
getStartDistance(): number;
|
|
8273
8375
|
/**
|
|
8274
|
-
* @description
|
|
8275
|
-
*
|
|
8276
|
-
*
|
|
8277
|
-
* @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.
|
|
8278
8379
|
*/
|
|
8279
8380
|
setStartDistance(value: number): void;
|
|
8280
8381
|
/**
|
|
8281
|
-
* @description
|
|
8282
|
-
*
|
|
8283
|
-
*
|
|
8284
|
-
* @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.
|
|
8285
8385
|
*/
|
|
8286
8386
|
getEndDistance(): number;
|
|
8287
8387
|
/**
|
|
8288
|
-
* @description
|
|
8289
|
-
*
|
|
8290
|
-
*
|
|
8291
|
-
* @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.
|
|
8292
8391
|
*/
|
|
8293
8392
|
setEndDistance(value: number): void;
|
|
8294
8393
|
/**
|
|
8295
|
-
* @description
|
|
8296
|
-
* @return Current fog color
|
|
8394
|
+
* @description Gets fog color.
|
|
8395
|
+
* @return Current fog color.
|
|
8297
8396
|
*/
|
|
8298
8397
|
getColor(): Common.Vector3;
|
|
8299
8398
|
/**
|
|
8300
|
-
* @description
|
|
8301
|
-
* @param value -
|
|
8399
|
+
* @description Sets fog color.
|
|
8400
|
+
* @param value - Fog color.
|
|
8302
8401
|
*/
|
|
8303
8402
|
setColor(value: Common.Vector3): void;
|
|
8304
8403
|
/**
|
|
8305
|
-
* @description
|
|
8306
|
-
*
|
|
8307
|
-
* @return Current Global density factor
|
|
8404
|
+
* @description Gets global density factor.
|
|
8405
|
+
* @return Current global density factor.
|
|
8308
8406
|
*/
|
|
8309
8407
|
getDensity(): number;
|
|
8310
8408
|
/**
|
|
8311
|
-
* @description
|
|
8312
|
-
*
|
|
8313
|
-
* @param value - Global density factor
|
|
8409
|
+
* @description Sets global density factor.
|
|
8410
|
+
* @param value - Global density factor.
|
|
8314
8411
|
*/
|
|
8315
8412
|
setDensity(value: number): void;
|
|
8316
8413
|
/**
|
|
8317
|
-
* @description
|
|
8318
|
-
*
|
|
8319
|
-
* @return Current
|
|
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.
|
|
8320
8417
|
*/
|
|
8321
8418
|
getHeightFalloff(): number;
|
|
8322
8419
|
/**
|
|
8323
|
-
* @description
|
|
8324
|
-
*
|
|
8325
|
-
* @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.
|
|
8326
8423
|
*/
|
|
8327
8424
|
setHeightFalloff(value: number): void;
|
|
8328
8425
|
/**
|
|
8329
|
-
* @description
|
|
8330
|
-
*
|
|
8331
|
-
*
|
|
8332
|
-
* Note: 0 = fog colour will have no impact.
|
|
8333
|
-
* @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.
|
|
8334
8429
|
*/
|
|
8335
8430
|
getMaxOpacity(): number;
|
|
8336
8431
|
/**
|
|
8337
|
-
* @description
|
|
8338
|
-
*
|
|
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.
|
|
8339
8435
|
*/
|
|
8340
8436
|
setMaxOpacity(value: number): void;
|
|
8341
8437
|
/**
|
|
8342
|
-
* @description
|
|
8343
|
-
* @
|
|
8438
|
+
* @description Gets IsFogVolumetric.
|
|
8439
|
+
* @return Current fog volumetric flag.
|
|
8344
8440
|
*/
|
|
8345
8441
|
getIsVolumetric(): boolean;
|
|
8346
8442
|
/**
|
|
8347
|
-
* @description
|
|
8348
|
-
* @param value -
|
|
8443
|
+
* @description Sets IsFogVolumetric.
|
|
8444
|
+
* @param value - Fog Volumetric Flag.
|
|
8349
8445
|
*/
|
|
8350
8446
|
setIsVolumetric(value: boolean): void;
|
|
8351
8447
|
/**
|
|
@@ -10363,6 +10459,18 @@ export declare namespace Systems {
|
|
|
10363
10459
|
delete(): void;
|
|
10364
10460
|
}
|
|
10365
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
|
+
}
|
|
10366
10474
|
export declare namespace Systems {
|
|
10367
10475
|
/**
|
|
10368
10476
|
@ingroup Asset System
|
|
@@ -11187,6 +11295,58 @@ export declare namespace Systems {
|
|
|
11187
11295
|
getIsSpaceTicketed(spaceId: string): Promise<Systems.SpaceIsTicketedResult>;
|
|
11188
11296
|
}
|
|
11189
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
|
+
}
|
|
11190
11350
|
export declare namespace Systems {
|
|
11191
11351
|
/**
|
|
11192
11352
|
@ingroup GraphQL System
|
|
@@ -12900,18 +13060,6 @@ export declare namespace Systems {
|
|
|
12900
13060
|
* @param callback - Callback to call when a response is received
|
|
12901
13061
|
*/
|
|
12902
13062
|
ping(): Promise<Systems.NullResult>;
|
|
12903
|
-
/**
|
|
12904
|
-
* @description Retrieve User token from Agora
|
|
12905
|
-
* @param params - Params to configure the User token
|
|
12906
|
-
* @param callback - Callback to call when a response is received
|
|
12907
|
-
*/
|
|
12908
|
-
getAgoraUserToken(params: Systems.AgoraUserTokenParams): Promise<Systems.StringResult>;
|
|
12909
|
-
/**
|
|
12910
|
-
* @description Post Service Proxy to perform specified operation of specified service
|
|
12911
|
-
* @param params - Params to specify service, operation, set help and parameters
|
|
12912
|
-
* @param callback - Callback to call when a response is received
|
|
12913
|
-
*/
|
|
12914
|
-
postServiceProxy(params: Systems.TokenInfoParams): Promise<Systems.StringResult>;
|
|
12915
13063
|
/**
|
|
12916
13064
|
* @description Re-send user verification email
|
|
12917
13065
|
* @param inEmail - User's email address
|