connected-spaces-platform.web 6.7.0 → 6.9.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 -67
- 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 +255 -119
- package/connectedspacesplatform.js +563 -297
- package/connectedspacesplatform.js.map +1 -1
- package/connectedspacesplatform.ts +963 -517
- 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
|
}
|
|
@@ -434,9 +435,8 @@ export declare namespace Multiplayer {
|
|
|
434
435
|
UPDATE_FLAGS_COMPONENTS = 16,
|
|
435
436
|
UPDATE_FLAGS_SELECTION_ID = 32,
|
|
436
437
|
UPDATE_FLAGS_THIRD_PARTY_REF = 64,
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
UPDATE_FLAGS_LOCK_TYPE = 512
|
|
438
|
+
UPDATE_FLAGS_PARENT = 128,
|
|
439
|
+
UPDATE_FLAGS_LOCK_TYPE = 256
|
|
440
440
|
}
|
|
441
441
|
}
|
|
442
442
|
export declare namespace Multiplayer {
|
|
@@ -476,6 +476,31 @@ export declare namespace Multiplayer {
|
|
|
476
476
|
UserAgnostic = 1
|
|
477
477
|
}
|
|
478
478
|
}
|
|
479
|
+
export declare namespace Multiplayer {
|
|
480
|
+
/**
|
|
481
|
+
* @description Enumerates the list of properties that can be replicated for a AI chatbot component.
|
|
482
|
+
*/
|
|
483
|
+
enum AIChatbotPropertyKeys {
|
|
484
|
+
Position = 0,
|
|
485
|
+
Voice = 1,
|
|
486
|
+
GuardrailAssetCollectionId = 2,
|
|
487
|
+
VisualState = 3,
|
|
488
|
+
Num = 4
|
|
489
|
+
}
|
|
490
|
+
}
|
|
491
|
+
export declare namespace Multiplayer {
|
|
492
|
+
/**
|
|
493
|
+
* @description Enumerates the list of potential visual states that can be replicated for a AI chatbot component.
|
|
494
|
+
*/
|
|
495
|
+
enum AIChatbotVisualState {
|
|
496
|
+
Waiting = 0,
|
|
497
|
+
Listening = 1,
|
|
498
|
+
Thinking = 2,
|
|
499
|
+
Speaking = 3,
|
|
500
|
+
Unknown = 4,
|
|
501
|
+
Num = 5
|
|
502
|
+
}
|
|
503
|
+
}
|
|
479
504
|
export declare namespace Multiplayer {
|
|
480
505
|
/**
|
|
481
506
|
* @description Enumerates the actions that can be performed on an animated model component.
|
|
@@ -3465,6 +3490,27 @@ export declare namespace Common {
|
|
|
3465
3490
|
* @description Destroys the replicated value instance.
|
|
3466
3491
|
*/
|
|
3467
3492
|
delete(): void;
|
|
3493
|
+
/**
|
|
3494
|
+
* @description Copy constructor
|
|
3495
|
+
* @param other - The value to copy.
|
|
3496
|
+
*/
|
|
3497
|
+
static create_other(other: Common.ReplicatedValue): ReplicatedValue;
|
|
3498
|
+
/**
|
|
3499
|
+
* @description Copy assignment operator overload.
|
|
3500
|
+
* @param inValue - Other replicated value to set from.
|
|
3501
|
+
*/
|
|
3502
|
+
/**
|
|
3503
|
+
* @description Move assignment operator overload.
|
|
3504
|
+
* @param inValue - Other replicated value to move from.
|
|
3505
|
+
*/
|
|
3506
|
+
/**
|
|
3507
|
+
* @description Equality operator overload.
|
|
3508
|
+
* @param replicatedValue - Other value to compare to.
|
|
3509
|
+
*/
|
|
3510
|
+
/**
|
|
3511
|
+
* @description Inequality operator overload.
|
|
3512
|
+
* @param replicatedValue - Other value to compare to.
|
|
3513
|
+
*/
|
|
3468
3514
|
/**
|
|
3469
3515
|
* @description Gets the type of replicated value.
|
|
3470
3516
|
* @return Enum representing all supported replication base types.
|
|
@@ -4027,7 +4073,7 @@ export declare namespace Common {
|
|
|
4027
4073
|
* @description Set a callback for handling a log. Can be used to debug Connected Spaces Platform within a client application.
|
|
4028
4074
|
* @param inLogCallback - The callback to execute when a log occurs.
|
|
4029
4075
|
*/
|
|
4030
|
-
setLogCallback(callback: (arg1: string) => void): void;
|
|
4076
|
+
setLogCallback(callback: (arg1: Common.LogLevel, arg2: string) => void): void;
|
|
4031
4077
|
/**
|
|
4032
4078
|
* @description Set a callback for handling an event log. Can be used to debug Connected Spaces Platform within a client application.
|
|
4033
4079
|
* @param inEventCallback - The callback to execute when an event log occurs.
|
|
@@ -4432,17 +4478,6 @@ export declare namespace Multiplayer {
|
|
|
4432
4478
|
* @return Whether a new value was set, may fail if not modifiable, or if a dirty property is already set to this value.
|
|
4433
4479
|
*/
|
|
4434
4480
|
setThirdPartyRef(thirdPartyRef: string): boolean;
|
|
4435
|
-
/**
|
|
4436
|
-
* @description Get the third party platform type of this entity.
|
|
4437
|
-
* @return A string representing third party platform type set for this entity.
|
|
4438
|
-
*/
|
|
4439
|
-
getThirdPartyPlatformType(): Systems.EThirdPartyPlatform;
|
|
4440
|
-
/**
|
|
4441
|
-
* @description Set third party platform type for this entity.
|
|
4442
|
-
* @param inThirdPartyPlatformType - The third party platform type to set.
|
|
4443
|
-
* @return Whether a new value was set, may fail if not modifiable, or if a dirty property is already set to this value.
|
|
4444
|
-
*/
|
|
4445
|
-
setThirdPartyPlatformType(thirdPartyPlatformType: Systems.EThirdPartyPlatform): boolean;
|
|
4446
4481
|
/**
|
|
4447
4482
|
* @description Get the type of the Entity.
|
|
4448
4483
|
* @return The SpaceEntityType enum value.
|
|
@@ -5023,6 +5058,11 @@ export declare namespace Systems {
|
|
|
5023
5058
|
* @return Pointer to the analyticssystem system class
|
|
5024
5059
|
*/
|
|
5025
5060
|
getAnalyticsSystem(): Systems.AnalyticsSystem;
|
|
5061
|
+
/**
|
|
5062
|
+
* @description Retrieves external services proxy system.
|
|
5063
|
+
* @return Pointer to the external services proxy system class.
|
|
5064
|
+
*/
|
|
5065
|
+
getExternalServicesProxySystem(): Systems.ExternalServiceProxySystem;
|
|
5026
5066
|
getMultiplayerConnection(): Multiplayer.MultiplayerConnection;
|
|
5027
5067
|
getEventBus(): Multiplayer.NetworkEventBus;
|
|
5028
5068
|
}
|
|
@@ -5673,6 +5713,54 @@ export declare namespace Systems {
|
|
|
5673
5713
|
set oAuthRedirectUrl(value: string);
|
|
5674
5714
|
}
|
|
5675
5715
|
}
|
|
5716
|
+
export declare namespace Systems {
|
|
5717
|
+
/**
|
|
5718
|
+
* *******************************************************************************************************************
|
|
5719
|
+
* @description Data structure used when making invocations of the external service proxy.
|
|
5720
|
+
*/
|
|
5721
|
+
class ExternalServicesOperationParams extends NativeClassWrapper implements INativeResource {
|
|
5722
|
+
/** @internal */
|
|
5723
|
+
constructor(pointer: NativePointer);
|
|
5724
|
+
static create(): ExternalServicesOperationParams;
|
|
5725
|
+
delete(): void;
|
|
5726
|
+
get serviceName(): string;
|
|
5727
|
+
set serviceName(value: string);
|
|
5728
|
+
get operationName(): string;
|
|
5729
|
+
set operationName(value: string);
|
|
5730
|
+
get setHelp(): boolean;
|
|
5731
|
+
set setHelp(value: boolean);
|
|
5732
|
+
get parameters(): Common.Map<string, string>;
|
|
5733
|
+
set parameters(value: Common.Map<string, string>);
|
|
5734
|
+
}
|
|
5735
|
+
}
|
|
5736
|
+
export declare namespace Systems {
|
|
5737
|
+
/**
|
|
5738
|
+
* *******************************************************************************************************************
|
|
5739
|
+
* @description Specialised data structure that can be used to retrieve an Agora user token via the proxy service.
|
|
5740
|
+
*/
|
|
5741
|
+
class AgoraUserTokenParams extends NativeClassWrapper implements INativeResource {
|
|
5742
|
+
/** @internal */
|
|
5743
|
+
constructor(pointer: NativePointer);
|
|
5744
|
+
static create(): AgoraUserTokenParams;
|
|
5745
|
+
delete(): void;
|
|
5746
|
+
get agoraUserId(): string;
|
|
5747
|
+
set agoraUserId(value: string);
|
|
5748
|
+
get channelName(): string;
|
|
5749
|
+
set channelName(value: string);
|
|
5750
|
+
get referenceId(): string;
|
|
5751
|
+
set referenceId(value: string);
|
|
5752
|
+
get lifespan(): number;
|
|
5753
|
+
set lifespan(value: number);
|
|
5754
|
+
get readOnly(): boolean;
|
|
5755
|
+
set readOnly(value: boolean);
|
|
5756
|
+
get shareAudio(): boolean;
|
|
5757
|
+
set shareAudio(value: boolean);
|
|
5758
|
+
get shareVideo(): boolean;
|
|
5759
|
+
set shareVideo(value: boolean);
|
|
5760
|
+
get shareScreen(): boolean;
|
|
5761
|
+
set shareScreen(value: boolean);
|
|
5762
|
+
}
|
|
5763
|
+
}
|
|
5676
5764
|
export declare namespace Systems {
|
|
5677
5765
|
/**
|
|
5678
5766
|
@ingroup HotspotSequence System
|
|
@@ -6081,52 +6169,6 @@ export declare namespace Systems {
|
|
|
6081
6169
|
set refreshExpiryTime(value: string);
|
|
6082
6170
|
}
|
|
6083
6171
|
}
|
|
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
6172
|
export declare namespace Systems {
|
|
6131
6173
|
/**
|
|
6132
6174
|
* @description Data structure for overrides to the default token options
|
|
@@ -6597,6 +6639,55 @@ export declare namespace Multiplayer {
|
|
|
6597
6639
|
delete(): void;
|
|
6598
6640
|
}
|
|
6599
6641
|
}
|
|
6642
|
+
export declare namespace Multiplayer {
|
|
6643
|
+
class AIChatbotSpaceComponent extends Multiplayer.ComponentBase implements Multiplayer.IPositionComponent, INativeResource {
|
|
6644
|
+
/** @internal */
|
|
6645
|
+
constructor(pointer: NativePointer);
|
|
6646
|
+
static fromComponentBase(baseInstance: Multiplayer.ComponentBase): Multiplayer.AIChatbotSpaceComponent;
|
|
6647
|
+
static create_logSystem_parent(logSystem: Common.LogSystem, parent: Multiplayer.SpaceEntity): AIChatbotSpaceComponent;
|
|
6648
|
+
/**
|
|
6649
|
+
* @description Gets the voice name of the TTS model associated with this AI chatbot.
|
|
6650
|
+
* @return The name of the TTS voice associated with this AI chatbot.
|
|
6651
|
+
*/
|
|
6652
|
+
getVoice(): string;
|
|
6653
|
+
/**
|
|
6654
|
+
* @description Sets the voice name of the TTS model associated with this AI chatbot.
|
|
6655
|
+
* @param value - The name of the TTS voice associated with this AI chatbot.
|
|
6656
|
+
*/
|
|
6657
|
+
setVoice(value: string): void;
|
|
6658
|
+
/**
|
|
6659
|
+
* @description Gets the ID of the guardrail asset associated with this AI chatbot.
|
|
6660
|
+
* @return The ID of the guardrail asset collection associated with this AI chatbot.
|
|
6661
|
+
*/
|
|
6662
|
+
getGuardrailAssetCollectionId(): string;
|
|
6663
|
+
/**
|
|
6664
|
+
* @description Sets the ID of the guardrail asset associated with this AI chatbot.
|
|
6665
|
+
* @param value - The ID of the guardrail asset collection associated with this AI chatbot.
|
|
6666
|
+
*/
|
|
6667
|
+
setGuardrailAssetCollectionId(value: string): void;
|
|
6668
|
+
/**
|
|
6669
|
+
* @description Retrieves the visual state of the AI chatbot for this component.
|
|
6670
|
+
* @return The visual state of the AI chatbot.
|
|
6671
|
+
*/
|
|
6672
|
+
getVisualState(): Multiplayer.AIChatbotVisualState;
|
|
6673
|
+
/**
|
|
6674
|
+
* @description Sets the visual state of the AI chatbot for this component.
|
|
6675
|
+
* @param value - The visual state of the AI chatbot.
|
|
6676
|
+
*/
|
|
6677
|
+
setVisualState(value: Multiplayer.AIChatbotVisualState): void;
|
|
6678
|
+
/**
|
|
6679
|
+
* \addtogroup IPositionComponent
|
|
6680
|
+
@{
|
|
6681
|
+
@copydoc IPositionComponent::GetPosition()
|
|
6682
|
+
*/
|
|
6683
|
+
getPosition(): Common.Vector3;
|
|
6684
|
+
/**
|
|
6685
|
+
@copydoc IPositionComponent::SetPosition()
|
|
6686
|
+
*/
|
|
6687
|
+
setPosition(value: Common.Vector3): void;
|
|
6688
|
+
delete(): void;
|
|
6689
|
+
}
|
|
6690
|
+
}
|
|
6600
6691
|
export declare namespace Multiplayer {
|
|
6601
6692
|
/**
|
|
6602
6693
|
@ingroup AnimatedModelSpaceComponent
|
|
@@ -8224,7 +8315,7 @@ export declare namespace Multiplayer {
|
|
|
8224
8315
|
*/
|
|
8225
8316
|
getFogMode(): Multiplayer.FogMode;
|
|
8226
8317
|
/**
|
|
8227
|
-
* @description Sets the type of fog
|
|
8318
|
+
* @description Sets the type of fog to be used by this fog component.
|
|
8228
8319
|
* @param value - The modality of fog to be used by this component.
|
|
8229
8320
|
*/
|
|
8230
8321
|
setFogMode(value: Multiplayer.FogMode): void;
|
|
@@ -8264,88 +8355,81 @@ export declare namespace Multiplayer {
|
|
|
8264
8355
|
setTransform(value: Multiplayer.SpaceTransform): void;
|
|
8265
8356
|
/**
|
|
8266
8357
|
@}
|
|
8267
|
-
* @description
|
|
8268
|
-
*
|
|
8269
|
-
*
|
|
8270
|
-
* @return Current start distance
|
|
8358
|
+
* @description Gets start distance.
|
|
8359
|
+
* NOTE: Distance from camera that the fog will start. 0 = this property has no effect.
|
|
8360
|
+
* @return Current start distance.
|
|
8271
8361
|
*/
|
|
8272
8362
|
getStartDistance(): number;
|
|
8273
8363
|
/**
|
|
8274
|
-
* @description
|
|
8275
|
-
*
|
|
8276
|
-
*
|
|
8277
|
-
* @param value - Current start distance
|
|
8364
|
+
* @description Sets start distance.
|
|
8365
|
+
* NOTE: Distance from camera that the fog will start. 0 = this property has no effect.
|
|
8366
|
+
* @param value - Start distance.
|
|
8278
8367
|
*/
|
|
8279
8368
|
setStartDistance(value: number): void;
|
|
8280
8369
|
/**
|
|
8281
|
-
* @description
|
|
8282
|
-
*
|
|
8283
|
-
*
|
|
8284
|
-
* @return Current end distance
|
|
8370
|
+
* @description Gets end distance.
|
|
8371
|
+
* NOTE: Objects passed this distance will not be affected by fog. 0 = this property has no effect.
|
|
8372
|
+
* @return Current end distance.
|
|
8285
8373
|
*/
|
|
8286
8374
|
getEndDistance(): number;
|
|
8287
8375
|
/**
|
|
8288
|
-
* @description
|
|
8289
|
-
*
|
|
8290
|
-
*
|
|
8291
|
-
* @param value - Current end distance
|
|
8376
|
+
* @description Sets end distance.
|
|
8377
|
+
* NOTE: Objects passed this distance will not be affected by fog. 0 = this property has no effect.
|
|
8378
|
+
* @param value - End distance.
|
|
8292
8379
|
*/
|
|
8293
8380
|
setEndDistance(value: number): void;
|
|
8294
8381
|
/**
|
|
8295
|
-
* @description
|
|
8296
|
-
* @return Current fog color
|
|
8382
|
+
* @description Gets fog color.
|
|
8383
|
+
* @return Current fog color.
|
|
8297
8384
|
*/
|
|
8298
8385
|
getColor(): Common.Vector3;
|
|
8299
8386
|
/**
|
|
8300
|
-
* @description
|
|
8301
|
-
* @param value -
|
|
8387
|
+
* @description Sets fog color.
|
|
8388
|
+
* @param value - Fog color.
|
|
8302
8389
|
*/
|
|
8303
8390
|
setColor(value: Common.Vector3): void;
|
|
8304
8391
|
/**
|
|
8305
|
-
* @description
|
|
8306
|
-
*
|
|
8307
|
-
* @return Current Global density factor
|
|
8392
|
+
* @description Gets global density factor.
|
|
8393
|
+
* @return Current global density factor.
|
|
8308
8394
|
*/
|
|
8309
8395
|
getDensity(): number;
|
|
8310
8396
|
/**
|
|
8311
|
-
* @description
|
|
8312
|
-
*
|
|
8313
|
-
* @param value - Global density factor
|
|
8397
|
+
* @description Sets global density factor.
|
|
8398
|
+
* @param value - Global density factor.
|
|
8314
8399
|
*/
|
|
8315
8400
|
setDensity(value: number): void;
|
|
8316
8401
|
/**
|
|
8317
|
-
* @description
|
|
8318
|
-
*
|
|
8319
|
-
* @return Current
|
|
8402
|
+
* @description Gets Height density factor.
|
|
8403
|
+
* NOTE: Controls how the density increases and height decreases. Smaller values make the visible transition larger.
|
|
8404
|
+
* @return Current height density factor.
|
|
8320
8405
|
*/
|
|
8321
8406
|
getHeightFalloff(): number;
|
|
8322
8407
|
/**
|
|
8323
|
-
* @description
|
|
8324
|
-
*
|
|
8325
|
-
* @param value - Height density factor
|
|
8408
|
+
* @description Sets Height density factor.
|
|
8409
|
+
* NOTE: Controls how the density increases and height decreases. Smaller values make the visible transition larger.
|
|
8410
|
+
* @param value - Height density factor.
|
|
8326
8411
|
*/
|
|
8327
8412
|
setHeightFalloff(value: number): void;
|
|
8328
8413
|
/**
|
|
8329
|
-
* @description
|
|
8330
|
-
*
|
|
8331
|
-
*
|
|
8332
|
-
* Note: 0 = fog colour will have no impact.
|
|
8333
|
-
* @return Current Maximum opacity of the Fog
|
|
8414
|
+
* @description Gets maximum opacity of the fog.
|
|
8415
|
+
* NOTE: 1 = fog becomes fully opaque at a distance and replaces the scene colour completely. 0 = fog colour will have no impact.
|
|
8416
|
+
* @return Current maximum opacity.
|
|
8334
8417
|
*/
|
|
8335
8418
|
getMaxOpacity(): number;
|
|
8336
8419
|
/**
|
|
8337
|
-
* @description
|
|
8338
|
-
*
|
|
8420
|
+
* @description Sets maximum opacity of the fog.
|
|
8421
|
+
* NOTE: 1 = fog becomes fully opaque at a distance and replaces the scene colour completely. 0 = fog colour will have no impact.
|
|
8422
|
+
* @param value - Maximum opacity of the fog.
|
|
8339
8423
|
*/
|
|
8340
8424
|
setMaxOpacity(value: number): void;
|
|
8341
8425
|
/**
|
|
8342
|
-
* @description
|
|
8343
|
-
* @
|
|
8426
|
+
* @description Gets IsFogVolumetric.
|
|
8427
|
+
* @return Current fog volumetric flag.
|
|
8344
8428
|
*/
|
|
8345
8429
|
getIsVolumetric(): boolean;
|
|
8346
8430
|
/**
|
|
8347
|
-
* @description
|
|
8348
|
-
* @param value -
|
|
8431
|
+
* @description Sets IsFogVolumetric.
|
|
8432
|
+
* @param value - Fog Volumetric Flag.
|
|
8349
8433
|
*/
|
|
8350
8434
|
setIsVolumetric(value: boolean): void;
|
|
8351
8435
|
/**
|
|
@@ -10363,6 +10447,18 @@ export declare namespace Systems {
|
|
|
10363
10447
|
delete(): void;
|
|
10364
10448
|
}
|
|
10365
10449
|
}
|
|
10450
|
+
export declare namespace Systems {
|
|
10451
|
+
/**
|
|
10452
|
+
@ingroup Asset System
|
|
10453
|
+
* @description Data class used to process and represent information relating to copied asset collections.
|
|
10454
|
+
*/
|
|
10455
|
+
class AssetCollectionsCopyResult extends Systems.AssetCollectionsResult implements INativeResource {
|
|
10456
|
+
/** @internal */
|
|
10457
|
+
constructor(pointer: NativePointer);
|
|
10458
|
+
static fromAssetCollectionsResult(baseInstance: Systems.AssetCollectionsResult): Systems.AssetCollectionsCopyResult;
|
|
10459
|
+
delete(): void;
|
|
10460
|
+
}
|
|
10461
|
+
}
|
|
10366
10462
|
export declare namespace Systems {
|
|
10367
10463
|
/**
|
|
10368
10464
|
@ingroup Asset System
|
|
@@ -11187,6 +11283,58 @@ export declare namespace Systems {
|
|
|
11187
11283
|
getIsSpaceTicketed(spaceId: string): Promise<Systems.SpaceIsTicketedResult>;
|
|
11188
11284
|
}
|
|
11189
11285
|
}
|
|
11286
|
+
export declare namespace Systems {
|
|
11287
|
+
/**
|
|
11288
|
+
* @description Data class used to contain information relating to invocations via the external service proxy system.
|
|
11289
|
+
*/
|
|
11290
|
+
class ExternalServiceInvocationResult extends Systems.StringResult implements INativeResource {
|
|
11291
|
+
/** @internal */
|
|
11292
|
+
constructor(pointer: NativePointer);
|
|
11293
|
+
static fromStringResult(baseInstance: Systems.StringResult): Systems.ExternalServiceInvocationResult;
|
|
11294
|
+
delete(): void;
|
|
11295
|
+
}
|
|
11296
|
+
}
|
|
11297
|
+
export declare namespace Systems {
|
|
11298
|
+
/**
|
|
11299
|
+
* @description A specialisation of the result data class that handles respnses from the external service proxy system.
|
|
11300
|
+
*/
|
|
11301
|
+
class GetAgoraTokenResult extends Systems.ExternalServiceInvocationResult implements INativeResource {
|
|
11302
|
+
/** @internal */
|
|
11303
|
+
constructor(pointer: NativePointer);
|
|
11304
|
+
static fromExternalServiceInvocationResult(baseInstance: Systems.ExternalServiceInvocationResult): Systems.GetAgoraTokenResult;
|
|
11305
|
+
delete(): void;
|
|
11306
|
+
}
|
|
11307
|
+
}
|
|
11308
|
+
export declare namespace Systems {
|
|
11309
|
+
/**
|
|
11310
|
+
* *******************************************************************************************************************
|
|
11311
|
+
@ingroup External Service Proxy System
|
|
11312
|
+
* @description Public facing system that allows client applications to interact with
|
|
11313
|
+
* backend services acting as a proxy for some other set of services.
|
|
11314
|
+
* /// In situations where a CSP client application needs secure access to some other set of third-party
|
|
11315
|
+
* services (like AI, VOIP, ECommerce etc), this system can be particularly helpful,
|
|
11316
|
+
* as it enables services that CSP interfaces with to own the responsibility of distributing secure tokens to those platforms.
|
|
11317
|
+
*/
|
|
11318
|
+
class ExternalServiceProxySystem extends Systems.SystemBase {
|
|
11319
|
+
/** @internal */
|
|
11320
|
+
constructor(pointer: NativePointer);
|
|
11321
|
+
static fromSystemBase(baseInstance: Systems.SystemBase): Systems.ExternalServiceProxySystem;
|
|
11322
|
+
/**
|
|
11323
|
+
* @description Generic function which will make a post request to the services proxy endpoint to trigger some specified operation of specified
|
|
11324
|
+
* service. The nature of the operation and what is returned is entirely dependent on the service and operation name provided.
|
|
11325
|
+
* @param params - Params to specify service, operation, set help and parameters.
|
|
11326
|
+
* @param callback - Callback to call when a response is received.
|
|
11327
|
+
*/
|
|
11328
|
+
invokeOperation(params: Systems.ExternalServicesOperationParams): Promise<Systems.StringResult>;
|
|
11329
|
+
/**
|
|
11330
|
+
* @description Specialised utility function which executes a post call to the external services proxy, specifically to retrieve Agora user token
|
|
11331
|
+
* credentials. A good example for how client applications may wish to use PostServiceProxy.
|
|
11332
|
+
* @param params - Params to configure the User token.
|
|
11333
|
+
* @param callback - Callback to call when a response is received.
|
|
11334
|
+
*/
|
|
11335
|
+
getAgoraUserToken(params: Systems.AgoraUserTokenParams): Promise<Systems.StringResult>;
|
|
11336
|
+
}
|
|
11337
|
+
}
|
|
11190
11338
|
export declare namespace Systems {
|
|
11191
11339
|
/**
|
|
11192
11340
|
@ingroup GraphQL System
|
|
@@ -12900,18 +13048,6 @@ export declare namespace Systems {
|
|
|
12900
13048
|
* @param callback - Callback to call when a response is received
|
|
12901
13049
|
*/
|
|
12902
13050
|
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
13051
|
/**
|
|
12916
13052
|
* @description Re-send user verification email
|
|
12917
13053
|
* @param inEmail - User's email address
|