connected-spaces-platform.web 4.15.2 → 4.16.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.
@@ -733,13 +733,13 @@ function csp_services_EResultCodeFactory(
733
733
  ProxyClassFactories["csp_services_EResultCode"] =
734
734
  csp_services_EResultCodeFactory;
735
735
 
736
- function csp_services_EResultBaseFailureReasonFactory(
736
+ function csp_services_ERequestFailureReasonFactory(
737
737
  nativePointer: NativePointer
738
- ): Services.EResultBaseFailureReason {
739
- return nativePointer.pointer as Services.EResultBaseFailureReason;
738
+ ): Services.ERequestFailureReason {
739
+ return nativePointer.pointer as Services.ERequestFailureReason;
740
740
  }
741
- ProxyClassFactories["csp_services_EResultBaseFailureReason"] =
742
- csp_services_EResultBaseFailureReasonFactory;
741
+ ProxyClassFactories["csp_services_ERequestFailureReason"] =
742
+ csp_services_ERequestFailureReasonFactory;
743
743
 
744
744
  function csp_systems_EAssetTypeFactory(
745
745
  nativePointer: NativePointer
@@ -848,14 +848,6 @@ function csp_systems_ELoginStateFactory(
848
848
  }
849
849
  ProxyClassFactories["csp_systems_ELoginState"] = csp_systems_ELoginStateFactory;
850
850
 
851
- function csp_systems_ELoginStateResultFailureReasonFactory(
852
- nativePointer: NativePointer
853
- ): Systems.ELoginStateResultFailureReason {
854
- return nativePointer.pointer as Systems.ELoginStateResultFailureReason;
855
- }
856
- ProxyClassFactories["csp_systems_ELoginStateResultFailureReason"] =
857
- csp_systems_ELoginStateResultFailureReasonFactory;
858
-
859
851
  function csp_systems_EThirdPartyAuthenticationProvidersFactory(
860
852
  nativePointer: NativePointer
861
853
  ): Systems.EThirdPartyAuthenticationProviders {
@@ -3389,9 +3381,42 @@ export namespace Services {
3389
3381
  }
3390
3382
 
3391
3383
  export namespace Services {
3392
- export enum EResultBaseFailureReason {
3384
+ export enum ERequestFailureReason {
3393
3385
  Unknown = -1,
3394
3386
  None = 0,
3387
+ AddUserToSpaceDenied,
3388
+ UserSpaceAccessDenied,
3389
+ UserSpaceBannedAccessDenied,
3390
+ UserSpaceFullAccessDenied,
3391
+ UserSpaceInviteExpired,
3392
+ SpacePublicNameDuplicate,
3393
+ UserMaxSpaceLimitReached,
3394
+ UserAccountLocked,
3395
+ UserMissingPassword,
3396
+ UserUnverifiedEmail,
3397
+ UserBannedFromSpace,
3398
+ UserInvalidEmailDomain,
3399
+ UserInvalidThirdPartyAuth,
3400
+ UserAgeNotVerified,
3401
+ UserGuestLoginDisallowed,
3402
+ UserAgoraLimitReached,
3403
+ UserOpenAILimitReached,
3404
+ UserTicketedSpacesLimitReached,
3405
+ UserSpaceConcurrentUsersLimitReached,
3406
+ PrototypeReservedKeysNotAllowed,
3407
+ AssetInvalidFileContents,
3408
+ AssetInvalidFileType,
3409
+ AssetAudioVideoLimitReached,
3410
+ AssetObjectCaptureLimitReached,
3411
+ AssetTotalUploadSizeLimitReached,
3412
+ TicketUnknownNumber,
3413
+ TicketEmailMismatch,
3414
+ TicketVendorOAuthFailure,
3415
+ TicketOAuthTokenInvalid,
3416
+ TicketAlreadyApplied,
3417
+ ShopifyConnectionBroken,
3418
+ ShopifyInvalidStoreName,
3419
+ UserShopifyLimitReached,
3395
3420
  }
3396
3421
  }
3397
3422
 
@@ -3472,9 +3497,10 @@ export namespace Systems {
3472
3497
  * @description Data representation period of time.
3473
3498
  */
3474
3499
  export enum PeriodEnum {
3475
- Total,
3500
+ Total = 0,
3476
3501
  CalendarMonth,
3477
3502
  Hours24,
3503
+ Invalid,
3478
3504
  }
3479
3505
  }
3480
3506
 
@@ -3489,6 +3515,7 @@ export namespace Systems {
3489
3515
  OpenAI,
3490
3516
  Shopify,
3491
3517
  TicketedSpace,
3518
+ Invalid,
3492
3519
  }
3493
3520
  }
3494
3521
 
@@ -3498,6 +3525,7 @@ export namespace Systems {
3498
3525
  Premium,
3499
3526
  Pro,
3500
3527
  Enterprise,
3528
+ Invalid,
3501
3529
  }
3502
3530
  }
3503
3531
 
@@ -3545,14 +3573,6 @@ export namespace Systems {
3545
3573
  }
3546
3574
  }
3547
3575
 
3548
- export namespace Systems {
3549
- export enum ELoginStateResultFailureReason {
3550
- Unknown = -1,
3551
- None = 0,
3552
- AgeNotVerified,
3553
- }
3554
- }
3555
-
3556
3576
  export namespace Systems {
3557
3577
  /**
3558
3578
  * @description FDN supported Authentication Providers, the ones that can be used are the ones above Num
@@ -25234,9 +25254,9 @@ export namespace Services {
25234
25254
  * @return Int
25235
25255
  */
25236
25256
 
25237
- getFailureReason(): number {
25257
+ getFailureReason(): Services.ERequestFailureReason {
25238
25258
  let _result = Module.ccall(
25239
- "csp_services_ResultBase_GetFailureReasonC_int",
25259
+ "csp_services_ResultBase_GetFailureReasonC_ERequestFailureReason",
25240
25260
  "number",
25241
25261
  ["number"],
25242
25262
  [this.pointer]
@@ -40658,27 +40678,6 @@ export namespace Systems {
40658
40678
  return _result;
40659
40679
  }
40660
40680
 
40661
- /**
40662
- * @description Retrieves the Error Code if the asset upload is unsuccessful.
40663
- * @return Error code of the failed asset upload.
40664
- */
40665
-
40666
- getXErrorCode(): string {
40667
- let _result = Module.ccall(
40668
- "csp_systems_UriResult_GetXErrorCode_StringR",
40669
- "number",
40670
- ["number"],
40671
- [this.pointer]
40672
- );
40673
-
40674
- const _resultString = Module.UTF8ToString(_result);
40675
- free(_result);
40676
-
40677
- _result = _resultString;
40678
-
40679
- return _result;
40680
- }
40681
-
40682
40681
  delete(): void {
40683
40682
  if (this.ownsPointer && !this.disposed) {
40684
40683
  Module.ccall(
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.15.2+488",
4
+ "version": "4.16.0+489",
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": {