connected-spaces-platform.web 4.14.0 → 4.15.1
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 +145 -3
- 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 +250 -0
- package/connectedspacesplatform.js +701 -0
- package/connectedspacesplatform.js.map +1 -1
- package/connectedspacesplatform.ts +1342 -0
- package/package.json +1 -1
|
Binary file
|
|
@@ -848,6 +848,38 @@ export declare namespace Systems {
|
|
|
848
848
|
All = 8
|
|
849
849
|
}
|
|
850
850
|
}
|
|
851
|
+
export declare namespace Systems {
|
|
852
|
+
/**
|
|
853
|
+
@ingroup Quota System
|
|
854
|
+
* @description Data representation period of time.
|
|
855
|
+
*/
|
|
856
|
+
enum PeriodEnum {
|
|
857
|
+
Total = 0,
|
|
858
|
+
CalendarMonth = 1,
|
|
859
|
+
Hours24 = 2
|
|
860
|
+
}
|
|
861
|
+
}
|
|
862
|
+
export declare namespace Systems {
|
|
863
|
+
enum TierFeatures {
|
|
864
|
+
SpaceOwner = 0,
|
|
865
|
+
ScopeConcurrentUsers = 1,
|
|
866
|
+
ObjectCaptureUpload = 2,
|
|
867
|
+
AudioVideoUpload = 3,
|
|
868
|
+
TotalUploadSizeInKilobytes = 4,
|
|
869
|
+
Agora = 5,
|
|
870
|
+
OpenAI = 6,
|
|
871
|
+
Shopify = 7,
|
|
872
|
+
TicketedSpace = 8
|
|
873
|
+
}
|
|
874
|
+
}
|
|
875
|
+
export declare namespace Systems {
|
|
876
|
+
enum TierNames {
|
|
877
|
+
Basic = 0,
|
|
878
|
+
Premium = 1,
|
|
879
|
+
Pro = 2,
|
|
880
|
+
Enterprise = 3
|
|
881
|
+
}
|
|
882
|
+
}
|
|
851
883
|
export declare namespace Systems {
|
|
852
884
|
enum SpaceAttributes {
|
|
853
885
|
None = 0,
|
|
@@ -1453,6 +1485,8 @@ export declare class EndpointURIs extends NativeClassWrapper implements INativeR
|
|
|
1453
1485
|
set multiplayerServiceURI(value: string);
|
|
1454
1486
|
get aggregationServiceURI(): string;
|
|
1455
1487
|
set aggregationServiceURI(value: string);
|
|
1488
|
+
get trackingServiceURI(): string;
|
|
1489
|
+
set trackingServiceURI(value: string);
|
|
1456
1490
|
}
|
|
1457
1491
|
/**
|
|
1458
1492
|
* @description Holds client data used in requests for all Magnopus Serives.
|
|
@@ -4554,6 +4588,11 @@ export declare namespace Systems {
|
|
|
4554
4588
|
* @return Pointer to the ecommerce system class
|
|
4555
4589
|
*/
|
|
4556
4590
|
getECommerceSystem(): Systems.ECommerceSystem;
|
|
4591
|
+
/**
|
|
4592
|
+
* @description Retrieves the Quota system.
|
|
4593
|
+
* @return Pointer to the quota system class
|
|
4594
|
+
*/
|
|
4595
|
+
getQuotaSystem(): Systems.QuotaSystem;
|
|
4557
4596
|
}
|
|
4558
4597
|
}
|
|
4559
4598
|
export declare namespace Systems {
|
|
@@ -5122,6 +5161,66 @@ export declare namespace Systems {
|
|
|
5122
5161
|
set endDateTimestamp(value: string);
|
|
5123
5162
|
}
|
|
5124
5163
|
}
|
|
5164
|
+
export declare namespace Systems {
|
|
5165
|
+
/**
|
|
5166
|
+
@ingroup Quota System
|
|
5167
|
+
* @description Data representation of a progress of a specific feature.
|
|
5168
|
+
* Limit Value of -1 means unlimited usage
|
|
5169
|
+
*/
|
|
5170
|
+
class FeatureLimitInfo extends NativeClassWrapper implements INativeResource {
|
|
5171
|
+
/** @internal */
|
|
5172
|
+
constructor(pointer: NativePointer);
|
|
5173
|
+
static create(): FeatureLimitInfo;
|
|
5174
|
+
delete(): void;
|
|
5175
|
+
get featureName(): Systems.TierFeatures;
|
|
5176
|
+
set featureName(value: Systems.TierFeatures);
|
|
5177
|
+
get activityCount(): number;
|
|
5178
|
+
set activityCount(value: number);
|
|
5179
|
+
get limit(): number;
|
|
5180
|
+
set limit(value: number);
|
|
5181
|
+
}
|
|
5182
|
+
}
|
|
5183
|
+
export declare namespace Systems {
|
|
5184
|
+
/**
|
|
5185
|
+
@ingroup Quota System
|
|
5186
|
+
* @description Data representation of a progress of a specific feature.
|
|
5187
|
+
*/
|
|
5188
|
+
class UserTierInfo extends NativeClassWrapper implements INativeResource {
|
|
5189
|
+
/** @internal */
|
|
5190
|
+
constructor(pointer: NativePointer);
|
|
5191
|
+
static create(): UserTierInfo;
|
|
5192
|
+
delete(): void;
|
|
5193
|
+
get assignToType(): string;
|
|
5194
|
+
set assignToType(value: string);
|
|
5195
|
+
get assignToId(): string;
|
|
5196
|
+
set assignToId(value: string);
|
|
5197
|
+
get tierName(): Systems.TierNames;
|
|
5198
|
+
set tierName(value: Systems.TierNames);
|
|
5199
|
+
}
|
|
5200
|
+
}
|
|
5201
|
+
export declare namespace Systems {
|
|
5202
|
+
/**
|
|
5203
|
+
@ingroup Quota System
|
|
5204
|
+
* @description Data representation of a progress of a specific feature.
|
|
5205
|
+
* Limit Value of -1 means unlimited usage
|
|
5206
|
+
*/
|
|
5207
|
+
class FeatureQuotaInfo extends NativeClassWrapper implements INativeResource {
|
|
5208
|
+
/** @internal */
|
|
5209
|
+
constructor(pointer: NativePointer);
|
|
5210
|
+
static create(): FeatureQuotaInfo;
|
|
5211
|
+
delete(): void;
|
|
5212
|
+
get featureName(): Systems.TierFeatures;
|
|
5213
|
+
set featureName(value: Systems.TierFeatures);
|
|
5214
|
+
get tierName(): Systems.TierNames;
|
|
5215
|
+
set tierName(value: Systems.TierNames);
|
|
5216
|
+
get limit(): number;
|
|
5217
|
+
set limit(value: number);
|
|
5218
|
+
get period(): Systems.PeriodEnum;
|
|
5219
|
+
set period(value: Systems.PeriodEnum);
|
|
5220
|
+
get allowReductions(): boolean;
|
|
5221
|
+
set allowReductions(value: boolean);
|
|
5222
|
+
}
|
|
5223
|
+
}
|
|
5125
5224
|
export declare namespace Systems {
|
|
5126
5225
|
/**
|
|
5127
5226
|
* @description A JavaScript based scripting system that can be used to create advanced behaviours and interactions between entities in spaces.
|
|
@@ -8899,6 +8998,151 @@ export declare namespace Systems {
|
|
|
8899
8998
|
getMaintenanceInfo(): Promise<Systems.MaintenanceInfoResult>;
|
|
8900
8999
|
}
|
|
8901
9000
|
}
|
|
9001
|
+
export declare namespace Systems {
|
|
9002
|
+
/**
|
|
9003
|
+
@ingroup Quota System
|
|
9004
|
+
* @description Data class used to contain information when receiving an array of feature progress.
|
|
9005
|
+
*/
|
|
9006
|
+
class FeaturesLimitResult extends Services.ResultBase implements INativeResource {
|
|
9007
|
+
/** @internal */
|
|
9008
|
+
constructor(pointer: NativePointer);
|
|
9009
|
+
static fromResultBase(baseInstance: Services.ResultBase): Systems.FeaturesLimitResult;
|
|
9010
|
+
/**
|
|
9011
|
+
* @description Retrieves the feature progress result.
|
|
9012
|
+
* @return Const array of feature progress class
|
|
9013
|
+
*/
|
|
9014
|
+
getFeaturesLimitInfo(): Common.Array<Systems.FeatureLimitInfo>;
|
|
9015
|
+
delete(): void;
|
|
9016
|
+
}
|
|
9017
|
+
}
|
|
9018
|
+
export declare namespace Systems {
|
|
9019
|
+
/**
|
|
9020
|
+
@ingroup Quota System
|
|
9021
|
+
* @description Data class used to contain information when receiving an array of feature progresses.
|
|
9022
|
+
*/
|
|
9023
|
+
class FeatureLimitResult extends Services.ResultBase implements INativeResource {
|
|
9024
|
+
/** @internal */
|
|
9025
|
+
constructor(pointer: NativePointer);
|
|
9026
|
+
static fromResultBase(baseInstance: Services.ResultBase): Systems.FeatureLimitResult;
|
|
9027
|
+
/**
|
|
9028
|
+
* @description Retrieves the feature progress result.
|
|
9029
|
+
@returnFeatureProgress : const ref to feature progress class
|
|
9030
|
+
*/
|
|
9031
|
+
getFeatureLimitInfo(): Systems.FeatureLimitInfo;
|
|
9032
|
+
delete(): void;
|
|
9033
|
+
}
|
|
9034
|
+
}
|
|
9035
|
+
export declare namespace Systems {
|
|
9036
|
+
/**
|
|
9037
|
+
@ingroup Quota System
|
|
9038
|
+
* @description Data class used to contain information when receiving user tier information.
|
|
9039
|
+
*/
|
|
9040
|
+
class UserTierResult extends Services.ResultBase implements INativeResource {
|
|
9041
|
+
/** @internal */
|
|
9042
|
+
constructor(pointer: NativePointer);
|
|
9043
|
+
static fromResultBase(baseInstance: Services.ResultBase): Systems.UserTierResult;
|
|
9044
|
+
/**
|
|
9045
|
+
* @description Retrieves the user tier result.
|
|
9046
|
+
@returnFeatureProgress : const ref to user tier information class
|
|
9047
|
+
*/
|
|
9048
|
+
getUserTierInfo(): Systems.UserTierInfo;
|
|
9049
|
+
delete(): void;
|
|
9050
|
+
}
|
|
9051
|
+
}
|
|
9052
|
+
export declare namespace Systems {
|
|
9053
|
+
/**
|
|
9054
|
+
@ingroup Quota System
|
|
9055
|
+
* @description Data class used to contain information when receiving feature quota information.
|
|
9056
|
+
*/
|
|
9057
|
+
class FeatureQuotaResult extends Services.ResultBase implements INativeResource {
|
|
9058
|
+
/** @internal */
|
|
9059
|
+
constructor(pointer: NativePointer);
|
|
9060
|
+
static fromResultBase(baseInstance: Services.ResultBase): Systems.FeatureQuotaResult;
|
|
9061
|
+
/**
|
|
9062
|
+
* @description Retrieves the feature quota result.
|
|
9063
|
+
@returnFeatureProgress : const ref to feature quota class
|
|
9064
|
+
*/
|
|
9065
|
+
getFeatureQuotaInfo(): Systems.FeatureQuotaInfo;
|
|
9066
|
+
delete(): void;
|
|
9067
|
+
}
|
|
9068
|
+
}
|
|
9069
|
+
export declare namespace Systems {
|
|
9070
|
+
/**
|
|
9071
|
+
@ingroup Quota System
|
|
9072
|
+
* @description Data class used to contain information when receiving an array of feature quota information.
|
|
9073
|
+
*/
|
|
9074
|
+
class FeaturesQuotaResult extends Services.ResultBase implements INativeResource {
|
|
9075
|
+
/** @internal */
|
|
9076
|
+
constructor(pointer: NativePointer);
|
|
9077
|
+
static fromResultBase(baseInstance: Services.ResultBase): Systems.FeaturesQuotaResult;
|
|
9078
|
+
/**
|
|
9079
|
+
* @description Retrieves an array of feature quota results.
|
|
9080
|
+
@returnFeatureProgress : const ref to feature quota class
|
|
9081
|
+
*/
|
|
9082
|
+
getFeaturesQuotaInfo(): Common.Array<Systems.FeatureQuotaInfo>;
|
|
9083
|
+
delete(): void;
|
|
9084
|
+
}
|
|
9085
|
+
}
|
|
9086
|
+
export declare namespace Systems {
|
|
9087
|
+
/**
|
|
9088
|
+
@ingroup Quota System
|
|
9089
|
+
* @description Public facing system that allows interfacing with Magnopus Connect Services' Quota Server.
|
|
9090
|
+
* Offers methods for receiving Quota Queries.
|
|
9091
|
+
*/
|
|
9092
|
+
class QuotaSystem extends Systems.SystemBase {
|
|
9093
|
+
/** @internal */
|
|
9094
|
+
constructor(pointer: NativePointer);
|
|
9095
|
+
static fromSystemBase(baseInstance: Systems.SystemBase): Systems.QuotaSystem;
|
|
9096
|
+
/**
|
|
9097
|
+
* @description Get the total number of Spaces owned by the current user and their tier space limit
|
|
9098
|
+
* @param callback - Callback when asynchronous task finishes
|
|
9099
|
+
*/
|
|
9100
|
+
getTotalSpacesOwnedByUser(): Promise<Systems.FeatureLimitResult>;
|
|
9101
|
+
/**
|
|
9102
|
+
* @description Gets total number of user inside of a space and its tier user limit
|
|
9103
|
+
* @param spaceId - Id of the Space
|
|
9104
|
+
* @param callback - Callback when asynchronous task finishes
|
|
9105
|
+
*/
|
|
9106
|
+
getConcurrentUsersInSpace(spaceId: string): Promise<Systems.FeatureLimitResult>;
|
|
9107
|
+
/**
|
|
9108
|
+
* @description Get total size of all assets within a space and their tier space size limit
|
|
9109
|
+
* @param spaceId - Id of the Space
|
|
9110
|
+
* @param callback - Callback when asynchronous task finishes
|
|
9111
|
+
*/
|
|
9112
|
+
getTotalSpaceSizeInKilobytes(spaceId: string): Promise<Systems.FeatureLimitResult>;
|
|
9113
|
+
/**
|
|
9114
|
+
* @description Get Array of feature progresses for a user and their tier feature limits
|
|
9115
|
+
* @param featureNames - Array of feature names that will be retrieved
|
|
9116
|
+
* @param callback - Callback when asynchronous task finishes
|
|
9117
|
+
*/
|
|
9118
|
+
getTierFeatureProgressForUser(featureNames: Common.Array<Systems.TierFeatures>): Promise<Systems.FeaturesLimitResult>;
|
|
9119
|
+
/**
|
|
9120
|
+
* @description Get Array of feature progress for a user Space and its tier feature limits
|
|
9121
|
+
* @param spaceId - Id of the Space
|
|
9122
|
+
* @param featureNames - Array of feature names that will be retrieved
|
|
9123
|
+
* @param callback - Callback when asynchronous task finishes
|
|
9124
|
+
*/
|
|
9125
|
+
getTierFeatureProgressForSpace(spaceId: string, featureNames: Common.Array<Systems.TierFeatures>): Promise<Systems.FeaturesLimitResult>;
|
|
9126
|
+
/**
|
|
9127
|
+
* @description Get current users tier information
|
|
9128
|
+
* @param callback - Callback when asynchronous task finishes
|
|
9129
|
+
*/
|
|
9130
|
+
getCurrentUserTier(): Promise<Systems.UserTierResult>;
|
|
9131
|
+
/**
|
|
9132
|
+
* @description Get current feature quota information
|
|
9133
|
+
* @param tierName - Name of the tier
|
|
9134
|
+
* @param featureName - Name of the feature
|
|
9135
|
+
* @param callback - Callback when asynchronous task finishes
|
|
9136
|
+
*/
|
|
9137
|
+
getTierFeatureQuota(tierName: Systems.TierNames, featureName: Systems.TierFeatures): Promise<Systems.FeatureQuotaResult>;
|
|
9138
|
+
/**
|
|
9139
|
+
* @description Get current array of current feature quota information inside a tier
|
|
9140
|
+
* @param tierName - Name of the tier
|
|
9141
|
+
* @param callback - Callback when asynchronous task finishes
|
|
9142
|
+
*/
|
|
9143
|
+
getTierFeaturesQuota(tierName: Systems.TierNames): Promise<Systems.FeaturesQuotaResult>;
|
|
9144
|
+
}
|
|
9145
|
+
}
|
|
8902
9146
|
export declare namespace Systems {
|
|
8903
9147
|
/**
|
|
8904
9148
|
@ingroup Settings System
|
|
@@ -10030,6 +10274,9 @@ export declare namespace Common {
|
|
|
10030
10274
|
static ofcsp_systems_CartLine(): Array<Systems.CartLine>;
|
|
10031
10275
|
static ofcsp_systems_TicketedEvent(): Array<Systems.TicketedEvent>;
|
|
10032
10276
|
static ofcsp_systems_MaintenanceInfo(): Array<Systems.MaintenanceInfo>;
|
|
10277
|
+
static ofcsp_systems_FeatureLimitInfo(): Array<Systems.FeatureLimitInfo>;
|
|
10278
|
+
static ofcsp_systems_FeatureQuotaInfo(): Array<Systems.FeatureQuotaInfo>;
|
|
10279
|
+
static ofcsp_systems_TierFeatures(): Array<Systems.TierFeatures>;
|
|
10033
10280
|
static ofcsp_systems_Site(): Array<Systems.Site>;
|
|
10034
10281
|
static ofcsp_systems_GeoLocation(): Array<Systems.GeoLocation>;
|
|
10035
10282
|
static ofcsp_systems_Space(): Array<Systems.Space>;
|
|
@@ -10061,6 +10308,9 @@ export declare namespace Common {
|
|
|
10061
10308
|
static ofcsp_systems_CartLine_number(size: number): Array<Systems.CartLine>;
|
|
10062
10309
|
static ofcsp_systems_TicketedEvent_number(size: number): Array<Systems.TicketedEvent>;
|
|
10063
10310
|
static ofcsp_systems_MaintenanceInfo_number(size: number): Array<Systems.MaintenanceInfo>;
|
|
10311
|
+
static ofcsp_systems_FeatureLimitInfo_number(size: number): Array<Systems.FeatureLimitInfo>;
|
|
10312
|
+
static ofcsp_systems_FeatureQuotaInfo_number(size: number): Array<Systems.FeatureQuotaInfo>;
|
|
10313
|
+
static ofcsp_systems_TierFeatures_number(size: number): Array<Systems.TierFeatures>;
|
|
10064
10314
|
static ofcsp_systems_Site_number(size: number): Array<Systems.Site>;
|
|
10065
10315
|
static ofcsp_systems_GeoLocation_number(size: number): Array<Systems.GeoLocation>;
|
|
10066
10316
|
static ofcsp_systems_Space_number(size: number): Array<Systems.Space>;
|