connected-spaces-platform.web 4.26.1 → 4.27.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 +170 -4
- package/Debug/ConnectedSpacesPlatform_WASM.wasm +0 -0
- package/Debug/ConnectedSpacesPlatform_WASM.wasm.debug.wasm +0 -0
- package/README.md +45 -2
- package/Release/ConnectedSpacesPlatform_WASM.js +1 -1
- package/Release/ConnectedSpacesPlatform_WASM.wasm +0 -0
- package/connectedspacesplatform.d.ts +233 -8
- package/connectedspacesplatform.js +702 -10
- package/connectedspacesplatform.js.map +1 -1
- package/connectedspacesplatform.ts +1370 -14
- package/package.json +1 -1
|
Binary file
|
|
@@ -925,6 +925,16 @@ export declare namespace Systems {
|
|
|
925
925
|
All = 8
|
|
926
926
|
}
|
|
927
927
|
}
|
|
928
|
+
export declare namespace Systems {
|
|
929
|
+
/**
|
|
930
|
+
* @description Data representation of User Role in Organization.
|
|
931
|
+
*/
|
|
932
|
+
enum EOrganizationRole {
|
|
933
|
+
Member = 0,
|
|
934
|
+
Administrator = 1,
|
|
935
|
+
Owner = 2
|
|
936
|
+
}
|
|
937
|
+
}
|
|
928
938
|
export declare namespace Systems {
|
|
929
939
|
/**
|
|
930
940
|
@ingroup Quota System
|
|
@@ -4581,6 +4591,11 @@ export declare namespace Systems {
|
|
|
4581
4591
|
* @return Pointer to the quota system class
|
|
4582
4592
|
*/
|
|
4583
4593
|
getQuotaSystem(): Systems.QuotaSystem;
|
|
4594
|
+
/**
|
|
4595
|
+
* @description Retrieves the Organization system.
|
|
4596
|
+
* @return Pointer to the organization system class
|
|
4597
|
+
*/
|
|
4598
|
+
getOrganizationSystem(): Systems.OrganizationSystem;
|
|
4584
4599
|
getSpaceEntitySystem(): Multiplayer.SpaceEntitySystem;
|
|
4585
4600
|
getMultiplayerConnection(): Multiplayer.MultiplayerConnection;
|
|
4586
4601
|
}
|
|
@@ -5215,6 +5230,85 @@ export declare namespace Systems {
|
|
|
5215
5230
|
set endDateTimestamp(value: string);
|
|
5216
5231
|
}
|
|
5217
5232
|
}
|
|
5233
|
+
export declare namespace Systems {
|
|
5234
|
+
/**
|
|
5235
|
+
@ingroup Organization System
|
|
5236
|
+
* @description Data representation of a User's Organization invite.
|
|
5237
|
+
*/
|
|
5238
|
+
class InviteOrganizationRoleInfo extends NativeClassWrapper implements INativeResource {
|
|
5239
|
+
/** @internal */
|
|
5240
|
+
constructor(pointer: NativePointer);
|
|
5241
|
+
static create(): InviteOrganizationRoleInfo;
|
|
5242
|
+
delete(): void;
|
|
5243
|
+
get userEmail(): string;
|
|
5244
|
+
set userEmail(value: string);
|
|
5245
|
+
get organizationRoles(): Common.Array<Systems.EOrganizationRole>;
|
|
5246
|
+
set organizationRoles(value: Common.Array<Systems.EOrganizationRole>);
|
|
5247
|
+
}
|
|
5248
|
+
}
|
|
5249
|
+
export declare namespace Systems {
|
|
5250
|
+
/**
|
|
5251
|
+
@ingroup Organization System
|
|
5252
|
+
* @description Data representation of a collection of User Organization invites.
|
|
5253
|
+
*/
|
|
5254
|
+
class InviteOrganizationRoleCollection extends NativeClassWrapper implements INativeResource {
|
|
5255
|
+
/** @internal */
|
|
5256
|
+
constructor(pointer: NativePointer);
|
|
5257
|
+
static create(): InviteOrganizationRoleCollection;
|
|
5258
|
+
delete(): void;
|
|
5259
|
+
get emailLinkUrl(): string;
|
|
5260
|
+
set emailLinkUrl(value: string);
|
|
5261
|
+
get signupUrl(): string;
|
|
5262
|
+
set signupUrl(value: string);
|
|
5263
|
+
get invitedUserRoles(): Common.Array<Systems.InviteOrganizationRoleInfo>;
|
|
5264
|
+
set invitedUserRoles(value: Common.Array<Systems.InviteOrganizationRoleInfo>);
|
|
5265
|
+
}
|
|
5266
|
+
}
|
|
5267
|
+
export declare namespace Systems {
|
|
5268
|
+
/**
|
|
5269
|
+
@ingroup Organization System
|
|
5270
|
+
* @description Data representation of a User's role within an Organization.
|
|
5271
|
+
*/
|
|
5272
|
+
class OrganizationRoleInfo extends NativeClassWrapper implements INativeResource {
|
|
5273
|
+
/** @internal */
|
|
5274
|
+
constructor(pointer: NativePointer);
|
|
5275
|
+
static create(): OrganizationRoleInfo;
|
|
5276
|
+
delete(): void;
|
|
5277
|
+
get userId(): string;
|
|
5278
|
+
set userId(value: string);
|
|
5279
|
+
get organizationRoles(): Common.Array<Systems.EOrganizationRole>;
|
|
5280
|
+
set organizationRoles(value: Common.Array<Systems.EOrganizationRole>);
|
|
5281
|
+
}
|
|
5282
|
+
}
|
|
5283
|
+
export declare namespace Systems {
|
|
5284
|
+
/**
|
|
5285
|
+
@ingroup Organization System
|
|
5286
|
+
* @description Data representation of an Organization.
|
|
5287
|
+
*/
|
|
5288
|
+
class Organization extends NativeClassWrapper implements INativeResource {
|
|
5289
|
+
/** @internal */
|
|
5290
|
+
constructor(pointer: NativePointer);
|
|
5291
|
+
static create(): Organization;
|
|
5292
|
+
static create_other(other: Systems.Organization): Organization;
|
|
5293
|
+
delete(): void;
|
|
5294
|
+
get id(): string;
|
|
5295
|
+
set id(value: string);
|
|
5296
|
+
get ownerId(): string;
|
|
5297
|
+
set ownerId(value: string);
|
|
5298
|
+
get createdAt(): string;
|
|
5299
|
+
set createdAt(value: string);
|
|
5300
|
+
get createdBy(): string;
|
|
5301
|
+
set createdBy(value: string);
|
|
5302
|
+
get name(): string;
|
|
5303
|
+
set name(value: string);
|
|
5304
|
+
get description(): string;
|
|
5305
|
+
set description(value: string);
|
|
5306
|
+
get members(): Common.Array<Systems.OrganizationRoleInfo>;
|
|
5307
|
+
set members(value: Common.Array<Systems.OrganizationRoleInfo>);
|
|
5308
|
+
get spaceCount(): number;
|
|
5309
|
+
set spaceCount(value: number);
|
|
5310
|
+
}
|
|
5311
|
+
}
|
|
5218
5312
|
export declare namespace Systems {
|
|
5219
5313
|
/**
|
|
5220
5314
|
@ingroup Quota System
|
|
@@ -5618,6 +5712,8 @@ export declare namespace Systems {
|
|
|
5618
5712
|
set userId(value: string);
|
|
5619
5713
|
get deviceId(): string;
|
|
5620
5714
|
set deviceId(value: string);
|
|
5715
|
+
get organizationIds(): Common.Array<string>;
|
|
5716
|
+
set organizationIds(value: Common.Array<string>);
|
|
5621
5717
|
}
|
|
5622
5718
|
}
|
|
5623
5719
|
export declare namespace Systems {
|
|
@@ -7118,9 +7214,10 @@ export declare namespace Multiplayer {
|
|
|
7118
7214
|
/**
|
|
7119
7215
|
@ingroup GaussianSplatSpaceComponent
|
|
7120
7216
|
* @description Data representation of a GaussianSplatSpaceComponent.
|
|
7121
|
-
* Gaussian Splatting is a technique for real-time 3D reconstruction and rendering of an object or environment using images taken from multiple
|
|
7122
|
-
* Rather than representing the object as a mesh of triangles, which has a surface but nothing inside, it is instead represented as a
|
|
7123
|
-
* comprising a point cloud of splats (like coloured dots), each of which has a position, colour (with alpha) and covariance (scale on 3
|
|
7217
|
+
* Gaussian Splatting is a technique for real-time 3D reconstruction and rendering of an object or environment using images taken from multiple
|
|
7218
|
+
* points of view. Rather than representing the object as a mesh of triangles, which has a surface but nothing inside, it is instead represented as a
|
|
7219
|
+
* volume, comprising a point cloud of splats (like coloured dots), each of which has a position, colour (with alpha) and covariance (scale on 3
|
|
7220
|
+
* axis).
|
|
7124
7221
|
*/
|
|
7125
7222
|
class GaussianSplatSpaceComponent extends Multiplayer.ComponentBase implements Multiplayer.IExternalResourceComponent, Multiplayer.IShadowCasterComponent, Multiplayer.ITransformComponent, Multiplayer.IVisibleComponent, INativeResource {
|
|
7126
7223
|
/** @internal */
|
|
@@ -7214,10 +7311,14 @@ export declare namespace Multiplayer {
|
|
|
7214
7311
|
@{
|
|
7215
7312
|
@copydoc IShadowCasterComponent::GetIsShadowCaster()
|
|
7216
7313
|
*/
|
|
7314
|
+
/** @deprecated
|
|
7315
|
+
*/
|
|
7217
7316
|
getIsShadowCaster(): boolean;
|
|
7218
7317
|
/**
|
|
7219
7318
|
@copydoc IShadowCasterComponent::SetIsShadowCaster()
|
|
7220
7319
|
*/
|
|
7320
|
+
/** @deprecated
|
|
7321
|
+
*/
|
|
7221
7322
|
setIsShadowCaster(value: boolean): void;
|
|
7222
7323
|
/**
|
|
7223
7324
|
@}
|
|
@@ -8672,6 +8773,19 @@ export declare namespace Systems {
|
|
|
8672
8773
|
delete(): void;
|
|
8673
8774
|
}
|
|
8674
8775
|
}
|
|
8776
|
+
export declare namespace Systems {
|
|
8777
|
+
class GetShopifyStoresResult extends Systems.ResultBase implements INativeResource {
|
|
8778
|
+
/** @internal */
|
|
8779
|
+
constructor(pointer: NativePointer);
|
|
8780
|
+
static fromResultBase(baseInstance: Systems.ResultBase): Systems.GetShopifyStoresResult;
|
|
8781
|
+
/**
|
|
8782
|
+
* @description Retrieves the ShopifyStoreInfo Array being stored.
|
|
8783
|
+
* @return Reference to the shopifystoreinfos
|
|
8784
|
+
*/
|
|
8785
|
+
getShopifyStores(): Common.Array<Systems.ShopifyStoreInfo>;
|
|
8786
|
+
delete(): void;
|
|
8787
|
+
}
|
|
8788
|
+
}
|
|
8675
8789
|
export declare namespace Systems {
|
|
8676
8790
|
class ValidateShopifyStoreResult extends Systems.ResultBase implements INativeResource {
|
|
8677
8791
|
/** @internal */
|
|
@@ -8726,6 +8840,12 @@ export declare namespace Systems {
|
|
|
8726
8840
|
* @param callback - Callback when asynchronous task finishes
|
|
8727
8841
|
*/
|
|
8728
8842
|
getCart(spaceId: string, cartId: string): Promise<Systems.CartInfoResult>;
|
|
8843
|
+
/**
|
|
8844
|
+
* @description Gets all shopify stores for the given user.
|
|
8845
|
+
* @param isActive - Optional bool for filtering returned stores by active status.
|
|
8846
|
+
* @param callback - Callback when asynchronous task finishes
|
|
8847
|
+
*/
|
|
8848
|
+
getShopifyStores(isActive: boolean | null): Promise<Systems.GetShopifyStoresResult>;
|
|
8729
8849
|
/**
|
|
8730
8850
|
* @description Adds a Shopify store to a space.
|
|
8731
8851
|
* @param storeName - The store name (URL) to the Shopify store. Do not include the '.shopify.com' part of the url.
|
|
@@ -8864,13 +8984,13 @@ export declare namespace Systems {
|
|
|
8864
8984
|
* existing values to be empty.
|
|
8865
8985
|
* /// @param SpaceId csp::common::String : ID of the space the event belongs to.
|
|
8866
8986
|
* @param eventId - ID of the Event to update.
|
|
8867
|
-
* @param vendor -
|
|
8868
|
-
* @param vendorEventId -
|
|
8869
|
-
* @param vendorEventUri -
|
|
8870
|
-
* @param isTicketingActive -
|
|
8987
|
+
* @param vendor - Optional enum representing the vendor that the event should be updated with.
|
|
8988
|
+
* @param vendorEventId - Optional value to update the event ID in the vendors system with.
|
|
8989
|
+
* @param vendorEventUri - Optional value to update the URI for the event in the vendors system with.
|
|
8990
|
+
* @param isTicketingActive - Optional value to update whether ticketing is currently active for this event.
|
|
8871
8991
|
* @param callback - Callback providing the TicketedEvent once created.
|
|
8872
8992
|
*/
|
|
8873
|
-
updateTicketedEvent(spaceId: string, eventId: string, vendor: Systems.EventTicketingVendor, vendorEventId: string, vendorEventUri: string, isTicketingActive: boolean): Promise<Systems.TicketedEventResult>;
|
|
8993
|
+
updateTicketedEvent(spaceId: string, eventId: string, vendor: Systems.EventTicketingVendor | null, vendorEventId: string | null, vendorEventUri: string | null, isTicketingActive: boolean | null): Promise<Systems.TicketedEventResult>;
|
|
8874
8994
|
/**
|
|
8875
8995
|
* @description Creates a ticketed event for the given space.
|
|
8876
8996
|
* @param spaceIds - IDs of the spaces to get the events for.
|
|
@@ -9001,6 +9121,103 @@ export declare namespace Systems {
|
|
|
9001
9121
|
getMaintenanceInfo(): Promise<Systems.MaintenanceInfoResult>;
|
|
9002
9122
|
}
|
|
9003
9123
|
}
|
|
9124
|
+
export declare namespace Systems {
|
|
9125
|
+
/**
|
|
9126
|
+
@ingroup Organization System
|
|
9127
|
+
* @description Data class used to contain Organization object.
|
|
9128
|
+
*/
|
|
9129
|
+
class OrganizationResult extends Systems.ResultBase implements INativeResource {
|
|
9130
|
+
/** @internal */
|
|
9131
|
+
constructor(pointer: NativePointer);
|
|
9132
|
+
static fromResultBase(baseInstance: Systems.ResultBase): Systems.OrganizationResult;
|
|
9133
|
+
/**
|
|
9134
|
+
* @description Retrieves the Organization result.
|
|
9135
|
+
* @return Organization object.
|
|
9136
|
+
*/
|
|
9137
|
+
getOrganization(): Systems.Organization;
|
|
9138
|
+
delete(): void;
|
|
9139
|
+
}
|
|
9140
|
+
}
|
|
9141
|
+
export declare namespace Systems {
|
|
9142
|
+
/**
|
|
9143
|
+
@ingroup Organization System
|
|
9144
|
+
* @description Data class used to contain a Users Organization Role Info object.
|
|
9145
|
+
*/
|
|
9146
|
+
class OrganizationRolesResult extends Systems.ResultBase implements INativeResource {
|
|
9147
|
+
/** @internal */
|
|
9148
|
+
constructor(pointer: NativePointer);
|
|
9149
|
+
static fromResultBase(baseInstance: Systems.ResultBase): Systems.OrganizationRolesResult;
|
|
9150
|
+
/**
|
|
9151
|
+
* @description Retrieves the Organization Role Info result.
|
|
9152
|
+
* @return Array of Organization Role Info objects.
|
|
9153
|
+
*/
|
|
9154
|
+
getOrganizationRoleInfo(): Common.Array<Systems.OrganizationRoleInfo>;
|
|
9155
|
+
delete(): void;
|
|
9156
|
+
}
|
|
9157
|
+
}
|
|
9158
|
+
export declare namespace Systems {
|
|
9159
|
+
/**
|
|
9160
|
+
@ingroup Quota System
|
|
9161
|
+
* @description Public facing system that allows interfacing with the Organization System.
|
|
9162
|
+
* .
|
|
9163
|
+
*/
|
|
9164
|
+
class OrganizationSystem extends Systems.SystemBase {
|
|
9165
|
+
/** @internal */
|
|
9166
|
+
constructor(pointer: NativePointer);
|
|
9167
|
+
static fromSystemBase(baseInstance: Systems.SystemBase): Systems.OrganizationSystem;
|
|
9168
|
+
/**
|
|
9169
|
+
* @description Sets a callback to be executed when a member joins an Organization.
|
|
9170
|
+
* Only one callback may be registered, calling this function again will override whatever was previously set.
|
|
9171
|
+
* @param callback - The callback to execute.
|
|
9172
|
+
*/
|
|
9173
|
+
setMemberJoinedOrganizationCallback(callback: (arg1: string) => void): void;
|
|
9174
|
+
/**
|
|
9175
|
+
* @description Invites a given email to the User's Organization.
|
|
9176
|
+
* Only a User with an Admin or Owner Organization role can invite people to the organization. If the User does not have the required role their
|
|
9177
|
+
* call will be rejected.
|
|
9178
|
+
* @param organizationId - Id of the Organization the user should be added to. If no Id is specified,
|
|
9179
|
+
* the Id of the Organization the user is currently authenticated against will be used.
|
|
9180
|
+
* @param email - Email to invite to the Organization.
|
|
9181
|
+
* @param organizationRoles - The role/s in the Organization the invited User is to have.
|
|
9182
|
+
* @param emailLinkUrl - Link that will be provided in the invite email
|
|
9183
|
+
* @param signupUrl - Destination link that will be provided in the invite email
|
|
9184
|
+
* @param callback - Callback when asynchronous task finishes.
|
|
9185
|
+
*/
|
|
9186
|
+
inviteToOrganization(organizationId: string | null, email: string, organizationRoles: Common.Array<Systems.EOrganizationRole>, emailLinkUrl: string | null, signupUrl: string | null): Promise<Systems.NullResult>;
|
|
9187
|
+
/**
|
|
9188
|
+
* @description Invites all the given emails to the User's Organization.
|
|
9189
|
+
* Only a User with an Admin or Owner Organization role can invite people to the organization. If the User does not have the required role their
|
|
9190
|
+
* call will be rejected.
|
|
9191
|
+
* @param organizationId - Id of the Organization the users should be added to. If no Id is specified,
|
|
9192
|
+
* the Id of the Organization the user is currently authenticated against will be used.
|
|
9193
|
+
* @param inviteUsers - Collection containing the EmailLinkUrl and SignupUrl as well as the emails and
|
|
9194
|
+
* Organization role/s of the Users to be invited.
|
|
9195
|
+
* @param callback - Callback when asynchronous task finishes.
|
|
9196
|
+
*/
|
|
9197
|
+
bulkInviteToOrganization(organizationId: string | null, inviteUsers: Systems.InviteOrganizationRoleCollection): Promise<Systems.NullResult>;
|
|
9198
|
+
/**
|
|
9199
|
+
* @description Retrieves the Organisation User Role information for the User Ids that have been passed in.
|
|
9200
|
+
* Only a User with an Admin or Owner Organization role can request the role information for other Organization members.
|
|
9201
|
+
* A User without these roles can only request information about their own Organization role and should pass an array containing only their own
|
|
9202
|
+
* User Id.
|
|
9203
|
+
* @param organizationId - Id of the Organization you want to get user roles for. If no Id is
|
|
9204
|
+
* specified, the Id of the Organization the user is currently authenticated against will be used.
|
|
9205
|
+
* @param userIds - Array of User Ids for which the Organization User Roles will be retrieved.
|
|
9206
|
+
* @param callback - Callback when asynchronous task finishes.
|
|
9207
|
+
*/
|
|
9208
|
+
getUserRolesInOrganization(organizationId: string | null, userIds: Common.Array<string>): Promise<Systems.OrganizationRolesResult>;
|
|
9209
|
+
/**
|
|
9210
|
+
* @description Removes a User from the Organization.
|
|
9211
|
+
* Only a User with an Admin or Owner Organization role can remove other Users from the Organization. If the user does not have the required role
|
|
9212
|
+
* their call will be rejected. Anyone can remove themselves from an Organization.
|
|
9213
|
+
* @param organizationId - Id of the Organization you want to remove a user from. If no Id is
|
|
9214
|
+
* specified, the Id of the Organization the user is currently authenticated against will be used.
|
|
9215
|
+
* @param userId - Unique ID of User.
|
|
9216
|
+
* @param callback - Callback when asynchronous task finishes.
|
|
9217
|
+
*/
|
|
9218
|
+
removeUserFromOrganization(organizationId: string | null, userId: string): Promise<Systems.NullResult>;
|
|
9219
|
+
}
|
|
9220
|
+
}
|
|
9004
9221
|
export declare namespace Systems {
|
|
9005
9222
|
/**
|
|
9006
9223
|
@ingroup Quota System
|
|
@@ -10275,8 +10492,12 @@ export declare namespace Common {
|
|
|
10275
10492
|
static ofcsp_systems_ProductMediaInfo(): Array<Systems.ProductMediaInfo>;
|
|
10276
10493
|
static ofcsp_systems_CartLine(): Array<Systems.CartLine>;
|
|
10277
10494
|
static ofcsp_systems_ProductInfo(): Array<Systems.ProductInfo>;
|
|
10495
|
+
static ofcsp_systems_ShopifyStoreInfo(): Array<Systems.ShopifyStoreInfo>;
|
|
10278
10496
|
static ofcsp_systems_TicketedEvent(): Array<Systems.TicketedEvent>;
|
|
10279
10497
|
static ofcsp_systems_MaintenanceInfo(): Array<Systems.MaintenanceInfo>;
|
|
10498
|
+
static ofcsp_systems_EOrganizationRole(): Array<Systems.EOrganizationRole>;
|
|
10499
|
+
static ofcsp_systems_InviteOrganizationRoleInfo(): Array<Systems.InviteOrganizationRoleInfo>;
|
|
10500
|
+
static ofcsp_systems_OrganizationRoleInfo(): Array<Systems.OrganizationRoleInfo>;
|
|
10280
10501
|
static ofcsp_systems_FeatureLimitInfo(): Array<Systems.FeatureLimitInfo>;
|
|
10281
10502
|
static ofcsp_systems_FeatureQuotaInfo(): Array<Systems.FeatureQuotaInfo>;
|
|
10282
10503
|
static ofcsp_systems_TierFeatures(): Array<Systems.TierFeatures>;
|
|
@@ -10311,8 +10532,12 @@ export declare namespace Common {
|
|
|
10311
10532
|
static ofcsp_systems_ProductMediaInfo_number(size: number): Array<Systems.ProductMediaInfo>;
|
|
10312
10533
|
static ofcsp_systems_CartLine_number(size: number): Array<Systems.CartLine>;
|
|
10313
10534
|
static ofcsp_systems_ProductInfo_number(size: number): Array<Systems.ProductInfo>;
|
|
10535
|
+
static ofcsp_systems_ShopifyStoreInfo_number(size: number): Array<Systems.ShopifyStoreInfo>;
|
|
10314
10536
|
static ofcsp_systems_TicketedEvent_number(size: number): Array<Systems.TicketedEvent>;
|
|
10315
10537
|
static ofcsp_systems_MaintenanceInfo_number(size: number): Array<Systems.MaintenanceInfo>;
|
|
10538
|
+
static ofcsp_systems_EOrganizationRole_number(size: number): Array<Systems.EOrganizationRole>;
|
|
10539
|
+
static ofcsp_systems_InviteOrganizationRoleInfo_number(size: number): Array<Systems.InviteOrganizationRoleInfo>;
|
|
10540
|
+
static ofcsp_systems_OrganizationRoleInfo_number(size: number): Array<Systems.OrganizationRoleInfo>;
|
|
10316
10541
|
static ofcsp_systems_FeatureLimitInfo_number(size: number): Array<Systems.FeatureLimitInfo>;
|
|
10317
10542
|
static ofcsp_systems_FeatureQuotaInfo_number(size: number): Array<Systems.FeatureQuotaInfo>;
|
|
10318
10543
|
static ofcsp_systems_TierFeatures_number(size: number): Array<Systems.TierFeatures>;
|