connected-spaces-platform.web 4.12.1 → 4.13.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 +6 -2
- package/Debug/ConnectedSpacesPlatform_WASM.wasm +0 -0
- package/Debug/ConnectedSpacesPlatform_WASM.wasm.debug.wasm +0 -0
- package/README.md +26 -12
- package/Release/ConnectedSpacesPlatform_WASM.js +1 -1
- package/Release/ConnectedSpacesPlatform_WASM.wasm +0 -0
- package/connectedspacesplatform.d.ts +5 -2
- package/connectedspacesplatform.js +21 -3
- package/connectedspacesplatform.js.map +1 -1
- package/connectedspacesplatform.ts +35 -3
- package/package.json +1 -1
|
Binary file
|
|
@@ -5270,7 +5270,7 @@ export declare namespace Systems {
|
|
|
5270
5270
|
export declare namespace Systems {
|
|
5271
5271
|
/**
|
|
5272
5272
|
@ingroup Space System
|
|
5273
|
-
* @description Data representation of roles for a group of invited users and the
|
|
5273
|
+
* @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
|
|
5274
5274
|
*/
|
|
5275
5275
|
class InviteUserRoleInfoCollection extends NativeClassWrapper implements INativeResource {
|
|
5276
5276
|
/** @internal */
|
|
@@ -5280,6 +5280,8 @@ export declare namespace Systems {
|
|
|
5280
5280
|
delete(): void;
|
|
5281
5281
|
get emailLinkUrl(): string;
|
|
5282
5282
|
set emailLinkUrl(value: string);
|
|
5283
|
+
get signupUrl(): string;
|
|
5284
|
+
set signupUrl(value: string);
|
|
5283
5285
|
get inviteUserRoleInfos(): Common.Array<Systems.InviteUserRoleInfo>;
|
|
5284
5286
|
set inviteUserRoleInfos(value: Common.Array<Systems.InviteUserRoleInfo>);
|
|
5285
5287
|
}
|
|
@@ -9328,9 +9330,10 @@ export declare namespace Systems {
|
|
|
9328
9330
|
* @param isModeratorRole - If present and true sets the user's role in the space to "moderator", pass false or
|
|
9329
9331
|
* nullptr to leave role as default
|
|
9330
9332
|
* @param emailLinkUrl - Link that will be provided in the invite email
|
|
9333
|
+
* @param signupUrl - Destination link that will be provided in the invite email
|
|
9331
9334
|
* @param callback - Callback when asynchronous task finishes
|
|
9332
9335
|
*/
|
|
9333
|
-
inviteToSpace(spaceId: string, email: string, isModeratorRole: boolean | null, emailLinkUrl: string | null): Promise<Systems.NullResult>;
|
|
9336
|
+
inviteToSpace(spaceId: string, email: string, isModeratorRole: boolean | null, emailLinkUrl: string | null, signupUrl: string | null): Promise<Systems.NullResult>;
|
|
9334
9337
|
/**
|
|
9335
9338
|
* @description Invites all the given emails to a specific space.
|
|
9336
9339
|
* @param space - Space to invite to
|
|
@@ -12996,7 +12996,7 @@ export class CSPFoundation {
|
|
|
12996
12996
|
(function (Systems) {
|
|
12997
12997
|
/**
|
|
12998
12998
|
@ingroup Space System
|
|
12999
|
-
* @description Data representation of roles for a group of invited users and the
|
|
12999
|
+
* @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
|
|
13000
13000
|
*/
|
|
13001
13001
|
class InviteUserRoleInfoCollection extends NativeClassWrapper {
|
|
13002
13002
|
/** @internal */
|
|
@@ -13028,6 +13028,13 @@ export class CSPFoundation {
|
|
|
13028
13028
|
set emailLinkUrl(value) {
|
|
13029
13029
|
Module.ccall("csp_systems_InviteUserRoleInfoCollection__Set_EmailLinkUrl", "void", ["number", "string"], [this.pointer, value]);
|
|
13030
13030
|
}
|
|
13031
|
+
get signupUrl() {
|
|
13032
|
+
let _result = Module.ccall("csp_systems_InviteUserRoleInfoCollection__Get_SignupUrl", "string", ["number"], [this.pointer]);
|
|
13033
|
+
return _result;
|
|
13034
|
+
}
|
|
13035
|
+
set signupUrl(value) {
|
|
13036
|
+
Module.ccall("csp_systems_InviteUserRoleInfoCollection__Set_SignupUrl", "void", ["number", "string"], [this.pointer, value]);
|
|
13037
|
+
}
|
|
13031
13038
|
get inviteUserRoleInfos() {
|
|
13032
13039
|
const _ptr = Module._malloc(8);
|
|
13033
13040
|
Module.ccall("csp_systems_InviteUserRoleInfoCollection__Get_InviteUserRoleInfos", "void", ["number", "number"], [_ptr, this.pointer]);
|
|
@@ -21696,9 +21703,10 @@ export class CSPFoundation {
|
|
|
21696
21703
|
* @param isModeratorRole - If present and true sets the user's role in the space to "moderator", pass false or
|
|
21697
21704
|
* nullptr to leave role as default
|
|
21698
21705
|
* @param emailLinkUrl - Link that will be provided in the invite email
|
|
21706
|
+
* @param signupUrl - Destination link that will be provided in the invite email
|
|
21699
21707
|
* @param callback - Callback when asynchronous task finishes
|
|
21700
21708
|
*/
|
|
21701
|
-
async inviteToSpace(spaceId, email, isModeratorRole, emailLinkUrl) {
|
|
21709
|
+
async inviteToSpace(spaceId, email, isModeratorRole, emailLinkUrl, signupUrl) {
|
|
21702
21710
|
var _resolve;
|
|
21703
21711
|
var _promise = new Promise((_r) => {
|
|
21704
21712
|
_resolve = _r;
|
|
@@ -21718,12 +21726,22 @@ export class CSPFoundation {
|
|
|
21718
21726
|
if (isModeratorRole != null) {
|
|
21719
21727
|
isModeratorRolePointer = Module._malloc(4);
|
|
21720
21728
|
}
|
|
21721
|
-
Module.ccall("
|
|
21729
|
+
Module.ccall("csp_systems_SpaceSystem_InviteToSpace_void_StringRC_StringRC_boolRC_StringRC_StringRC_NullResultCallback", "void", [
|
|
21730
|
+
"number",
|
|
21731
|
+
"string",
|
|
21732
|
+
"string",
|
|
21733
|
+
"boolean",
|
|
21734
|
+
"string",
|
|
21735
|
+
"string",
|
|
21736
|
+
"number",
|
|
21737
|
+
"number",
|
|
21738
|
+
], [
|
|
21722
21739
|
this.pointer,
|
|
21723
21740
|
spaceId,
|
|
21724
21741
|
email,
|
|
21725
21742
|
isModeratorRolePointer,
|
|
21726
21743
|
emailLinkUrl,
|
|
21744
|
+
signupUrl,
|
|
21727
21745
|
_callbackPtr,
|
|
21728
21746
|
0,
|
|
21729
21747
|
]);
|