connected-spaces-platform.web 4.12.1 → 4.14.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 +10 -4
- package/Debug/ConnectedSpacesPlatform_WASM.wasm +0 -0
- package/Debug/ConnectedSpacesPlatform_WASM.wasm.debug.wasm +0 -0
- package/Release/ConnectedSpacesPlatform_WASM.js +1 -1
- package/Release/ConnectedSpacesPlatform_WASM.wasm +0 -0
- package/connectedspacesplatform.d.ts +12 -2
- package/connectedspacesplatform.js +53 -3
- package/connectedspacesplatform.js.map +1 -1
- package/connectedspacesplatform.ts +99 -3
- package/package.json +1 -1
- package/README.md +0 -48
|
@@ -29397,7 +29397,7 @@ export namespace Systems {
|
|
|
29397
29397
|
export namespace Systems {
|
|
29398
29398
|
/**
|
|
29399
29399
|
@ingroup Space System
|
|
29400
|
-
* @description Data representation of roles for a group of invited users and the
|
|
29400
|
+
* @description Data representation of roles for a group of invited users, the email link and the destination link to be included in the invite emails
|
|
29401
29401
|
*/
|
|
29402
29402
|
export class InviteUserRoleInfoCollection
|
|
29403
29403
|
extends NativeClassWrapper
|
|
@@ -29469,6 +29469,26 @@ export namespace Systems {
|
|
|
29469
29469
|
);
|
|
29470
29470
|
}
|
|
29471
29471
|
|
|
29472
|
+
get signupUrl(): string {
|
|
29473
|
+
let _result = Module.ccall(
|
|
29474
|
+
"csp_systems_InviteUserRoleInfoCollection__Get_SignupUrl",
|
|
29475
|
+
"string",
|
|
29476
|
+
["number"],
|
|
29477
|
+
[this.pointer],
|
|
29478
|
+
);
|
|
29479
|
+
|
|
29480
|
+
return _result;
|
|
29481
|
+
}
|
|
29482
|
+
|
|
29483
|
+
set signupUrl(value: string) {
|
|
29484
|
+
Module.ccall(
|
|
29485
|
+
"csp_systems_InviteUserRoleInfoCollection__Set_SignupUrl",
|
|
29486
|
+
"void",
|
|
29487
|
+
["number", "string"],
|
|
29488
|
+
[this.pointer, value],
|
|
29489
|
+
);
|
|
29490
|
+
}
|
|
29491
|
+
|
|
29472
29492
|
get inviteUserRoleInfos(): Common.Array<Systems.InviteUserRoleInfo> {
|
|
29473
29493
|
const _ptr = Module._malloc(8);
|
|
29474
29494
|
Module.ccall(
|
|
@@ -45402,11 +45422,13 @@ export namespace Systems {
|
|
|
45402
45422
|
var isDiscoverablePointer = 0;
|
|
45403
45423
|
if (isDiscoverable != null) {
|
|
45404
45424
|
isDiscoverablePointer = Module._malloc(4);
|
|
45425
|
+
Module.setValue(isDiscoverablePointer, isDiscoverable ? 1 : 0, "i32");
|
|
45405
45426
|
}
|
|
45406
45427
|
|
|
45407
45428
|
var requiresInvitePointer = 0;
|
|
45408
45429
|
if (requiresInvite != null) {
|
|
45409
45430
|
requiresInvitePointer = Module._malloc(4);
|
|
45431
|
+
Module.setValue(requiresInvitePointer, requiresInvite ? 1 : 0, "i32");
|
|
45410
45432
|
}
|
|
45411
45433
|
|
|
45412
45434
|
var resultsSkipPointer = 0;
|
|
@@ -45592,6 +45614,7 @@ export namespace Systems {
|
|
|
45592
45614
|
* @param isModeratorRole - If present and true sets the user's role in the space to "moderator", pass false or
|
|
45593
45615
|
* nullptr to leave role as default
|
|
45594
45616
|
* @param emailLinkUrl - Link that will be provided in the invite email
|
|
45617
|
+
* @param signupUrl - Destination link that will be provided in the invite email
|
|
45595
45618
|
* @param callback - Callback when asynchronous task finishes
|
|
45596
45619
|
*/
|
|
45597
45620
|
|
|
@@ -45600,6 +45623,7 @@ export namespace Systems {
|
|
|
45600
45623
|
email: string,
|
|
45601
45624
|
isModeratorRole: boolean | null,
|
|
45602
45625
|
emailLinkUrl: string | null,
|
|
45626
|
+
signupUrl: string | null,
|
|
45603
45627
|
): Promise<Systems.NullResult> {
|
|
45604
45628
|
var _resolve;
|
|
45605
45629
|
|
|
@@ -45628,18 +45652,29 @@ export namespace Systems {
|
|
|
45628
45652
|
var isModeratorRolePointer = 0;
|
|
45629
45653
|
if (isModeratorRole != null) {
|
|
45630
45654
|
isModeratorRolePointer = Module._malloc(4);
|
|
45655
|
+
Module.setValue(isModeratorRolePointer, isModeratorRole ? 1 : 0, "i32");
|
|
45631
45656
|
}
|
|
45632
45657
|
|
|
45633
45658
|
Module.ccall(
|
|
45634
|
-
"
|
|
45659
|
+
"csp_systems_SpaceSystem_InviteToSpace_void_StringRC_StringRC_boolRC_StringRC_StringRC_NullResultCallback",
|
|
45635
45660
|
"void",
|
|
45636
|
-
[
|
|
45661
|
+
[
|
|
45662
|
+
"number",
|
|
45663
|
+
"string",
|
|
45664
|
+
"string",
|
|
45665
|
+
"boolean",
|
|
45666
|
+
"string",
|
|
45667
|
+
"string",
|
|
45668
|
+
"number",
|
|
45669
|
+
"number",
|
|
45670
|
+
],
|
|
45637
45671
|
[
|
|
45638
45672
|
this.pointer,
|
|
45639
45673
|
spaceId,
|
|
45640
45674
|
email,
|
|
45641
45675
|
isModeratorRolePointer,
|
|
45642
45676
|
emailLinkUrl,
|
|
45677
|
+
signupUrl,
|
|
45643
45678
|
_callbackPtr,
|
|
45644
45679
|
0,
|
|
45645
45680
|
],
|
|
@@ -47159,6 +47194,7 @@ export namespace Systems {
|
|
|
47159
47194
|
var allTagsPointer = 0;
|
|
47160
47195
|
if (allTags != null) {
|
|
47161
47196
|
allTagsPointer = Module._malloc(4);
|
|
47197
|
+
Module.setValue(allTagsPointer, allTags ? 1 : 0, "i32");
|
|
47162
47198
|
}
|
|
47163
47199
|
|
|
47164
47200
|
var skipPointer = 0;
|
|
@@ -48505,6 +48541,11 @@ export namespace Systems {
|
|
|
48505
48541
|
var userHasVerifiedAgePointer = 0;
|
|
48506
48542
|
if (userHasVerifiedAge != null) {
|
|
48507
48543
|
userHasVerifiedAgePointer = Module._malloc(4);
|
|
48544
|
+
Module.setValue(
|
|
48545
|
+
userHasVerifiedAgePointer,
|
|
48546
|
+
userHasVerifiedAge ? 1 : 0,
|
|
48547
|
+
"i32",
|
|
48548
|
+
);
|
|
48508
48549
|
}
|
|
48509
48550
|
|
|
48510
48551
|
Module.ccall(
|
|
@@ -48612,6 +48653,11 @@ export namespace Systems {
|
|
|
48612
48653
|
var userHasVerifiedAgePointer = 0;
|
|
48613
48654
|
if (userHasVerifiedAge != null) {
|
|
48614
48655
|
userHasVerifiedAgePointer = Module._malloc(4);
|
|
48656
|
+
Module.setValue(
|
|
48657
|
+
userHasVerifiedAgePointer,
|
|
48658
|
+
userHasVerifiedAge ? 1 : 0,
|
|
48659
|
+
"i32",
|
|
48660
|
+
);
|
|
48615
48661
|
}
|
|
48616
48662
|
|
|
48617
48663
|
Module.ccall(
|
|
@@ -48744,6 +48790,11 @@ export namespace Systems {
|
|
|
48744
48790
|
var userHasVerifiedAgePointer = 0;
|
|
48745
48791
|
if (userHasVerifiedAge != null) {
|
|
48746
48792
|
userHasVerifiedAgePointer = Module._malloc(4);
|
|
48793
|
+
Module.setValue(
|
|
48794
|
+
userHasVerifiedAgePointer,
|
|
48795
|
+
userHasVerifiedAge ? 1 : 0,
|
|
48796
|
+
"i32",
|
|
48797
|
+
);
|
|
48747
48798
|
}
|
|
48748
48799
|
|
|
48749
48800
|
Module.ccall(
|
|
@@ -49375,6 +49426,51 @@ export namespace Systems {
|
|
|
49375
49426
|
|
|
49376
49427
|
return _promise;
|
|
49377
49428
|
}
|
|
49429
|
+
|
|
49430
|
+
/**
|
|
49431
|
+
* @description Re-send user verification email
|
|
49432
|
+
* @param inEmail - User's email address
|
|
49433
|
+
* @param inRedirectUrl - URL to redirect user to after they have registered
|
|
49434
|
+
* @param callback - Callback to call when response is received
|
|
49435
|
+
*/
|
|
49436
|
+
|
|
49437
|
+
async resendVerificationEmail(
|
|
49438
|
+
email: string,
|
|
49439
|
+
redirectUrl: string | null,
|
|
49440
|
+
): Promise<Systems.NullResult> {
|
|
49441
|
+
var _resolve;
|
|
49442
|
+
|
|
49443
|
+
var _promise = new Promise<Systems.NullResult>((_r) => {
|
|
49444
|
+
_resolve = _r;
|
|
49445
|
+
});
|
|
49446
|
+
|
|
49447
|
+
var _callbackPtr: number;
|
|
49448
|
+
var _callback = (_stateObject__: number, result) => {
|
|
49449
|
+
var _resultPtr = getNativePointer(result);
|
|
49450
|
+
var _resultInstance = new Systems.NullResult(_resultPtr);
|
|
49451
|
+
|
|
49452
|
+
if (
|
|
49453
|
+
_resultInstance.getResultCode() == Services.EResultCode.InProgress
|
|
49454
|
+
) {
|
|
49455
|
+
return;
|
|
49456
|
+
}
|
|
49457
|
+
|
|
49458
|
+
_resolve(_resultInstance);
|
|
49459
|
+
|
|
49460
|
+
Module.removeFunction(_callbackPtr);
|
|
49461
|
+
};
|
|
49462
|
+
|
|
49463
|
+
_callbackPtr = Module.addFunction(_callback, "vii");
|
|
49464
|
+
|
|
49465
|
+
Module.ccall(
|
|
49466
|
+
"csp_systems_UserSystem_ResendVerificationEmail_void_StringRC_StringRC_NullResultCallback",
|
|
49467
|
+
"void",
|
|
49468
|
+
["number", "string", "string", "number", "number"],
|
|
49469
|
+
[this.pointer, email, redirectUrl, _callbackPtr, 0],
|
|
49470
|
+
);
|
|
49471
|
+
|
|
49472
|
+
return _promise;
|
|
49473
|
+
}
|
|
49378
49474
|
}
|
|
49379
49475
|
}
|
|
49380
49476
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "connected-spaces-platform.web",
|
|
3
3
|
"displayName": "connected-spaces-platform.web",
|
|
4
|
-
"version": "4.
|
|
4
|
+
"version": "4.14.0+483",
|
|
5
5
|
"description": "This package provides the binaries required to interface with the Connected Spaces Platform API.",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"dependencies": {
|
package/README.md
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
<h1>Built from changelist ID aa790de4523567ee8ef97e1865ab08b75825e8fb</h1>
|
|
2
|
-
<h2>Summary Lists</h2>
|
|
3
|
-
</ul>
|
|
4
|
-
<h2>Revision Change Details</h2>
|
|
5
|
-
|
|
6
|
-
<table><thead><tr><th>change_id</th><th>user</th><th>description</th></thead>
|
|
7
|
-
<tbody><tr><td>affcd91</td><td>MAG-AW</td><td><strong><em>[ob-2975] fix</em></strong>: foundation shutdown process (#232) <em> <br> [OB-2975] fix: foundation Shutdown process
|
|
8
|
-
<br>
|
|
9
|
-
<br>* added initialisation check in tick to prevent tick operating when
|
|
10
|
-
<br>uninitialised (such as when shutting down)
|
|
11
|
-
<br>* added function to deregister all listeners to prevent events being
|
|
12
|
-
<br>fired after shutdown is called </em> </td></tr>
|
|
13
|
-
<tr><td>e8d1d6d</td><td>Michael K</td><td><strong><em>[ob-3012] fix</em></strong>: generate meta file for readme.md (#233) <em> </em> </td></tr>
|
|
14
|
-
<tr><td>2a7c970</td><td>Mag-JB</td><td>ob-2924 add support for premake on xcode 14.3+ (#231) <em> <br> [OB-2924] fix: Add support for xcode 14.3+
|
|
15
|
-
<br>
|
|
16
|
-
<br> [OB-2924] fix: replace wget with Curl
|
|
17
|
-
<br>
|
|
18
|
-
<br>* create file path </em> </td></tr>
|
|
19
|
-
<tr><td>05dd507</td><td>Michelle Shyr</td><td>[sol-320] add unity multiplayer example project (#228) <em> <br> [SOL-320] Add Unity multiplayer example project
|
|
20
|
-
<br>
|
|
21
|
-
<br> [SOL-320] Fix mentions of foundation to CSP
|
|
22
|
-
<br>
|
|
23
|
-
<br> [SOL-320] Add create avatar fix to basic framework example
|
|
24
|
-
<br>
|
|
25
|
-
<br> [SOL-320] replace mentions of foundation to CSP and gard against failure to get space </em> </td></tr>
|
|
26
|
-
<tr><td>286af2d</td><td>Mag-JB</td><td><strong><em>[of-1148] fix</em></strong>: parse breaking changes (#226) <em> <br> [OF-1148] fix: Parse breaking changes
|
|
27
|
-
<br>* move breaking changes to top of release notes
|
|
28
|
-
<br>* fix bug causing all tickets to be no tickets
|
|
29
|
-
<br>* stop merges from being added to misc changes
|
|
30
|
-
<br>
|
|
31
|
-
<br> [OF-1148] fix: Add suqash merge commits </em> </td></tr>
|
|
32
|
-
<tr><td>ff83508</td><td>Michael K</td><td><strong><em>[ob-3018] fix</em></strong>: replace is_integer with is_float (#230) <em> </em> </td></tr>
|
|
33
|
-
<tr><td>663b79b</td><td>MAG-AW</td><td><strong><em>[ob-2823] fix</em></strong>: add checks for codes to retries (#227) <em> <br> [OB-2823] fix: add checks for codes to retries
|
|
34
|
-
<br>
|
|
35
|
-
<br>Currently allowed codes for retry:
|
|
36
|
-
<br>429
|
|
37
|
-
<br>408
|
|
38
|
-
<br>5xx
|
|
39
|
-
</em> </td></tr>
|
|
40
|
-
<tr><td>06266e8</td><td>Michael K</td><td><strong><em>[of-815] test</em></strong>: (wrapper gen) unit test async functions <em> <br> [NT-0] refac: formatting changes in unit test gen
|
|
41
|
-
<br>
|
|
42
|
-
<br>Formats Python files using Black and JS/JSON using Prettier-ESLint.
|
|
43
|
-
<br>
|
|
44
|
-
<br> [OF-815] test: wrapper gen csp_async_result tests </em> </td></tr>
|
|
45
|
-
<tr><td>44a14e4</td><td>MAG-AW</td><td><strong><em>[ob-2824] refac</em></strong>: removed lingering comments <em> </em> </td></tr>
|
|
46
|
-
<tr><td>25d9c12</td><td>MAG-AW</td><td><strong><em>[ob-2824] fix</em></strong>: web request retries <em> </em> </td></tr>
|
|
47
|
-
<tr><td>fbbdf7b</td><td>MAG-AW</td><td><strong><em>[ob-2824] fix</em></strong>: web test updates <em> <br>fixed issues with web test urls and parameters </em> </td></tr>
|
|
48
|
-
</tbody></table>
|