connected-spaces-platform.web 4.27.1 → 4.28.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.
@@ -369,6 +369,13 @@ export declare namespace Multiplayer {
369
369
  Num = 15
370
370
  }
371
371
  }
372
+ export declare namespace Multiplayer {
373
+ enum BillboardMode {
374
+ Off = 0,
375
+ Billboard = 1,
376
+ YawLockedBillboard = 2
377
+ }
378
+ }
372
379
  export declare namespace Multiplayer {
373
380
  /**
374
381
  * @description Enumerates the list of properties that can be replicated for a button component.
@@ -570,16 +577,6 @@ export declare namespace Multiplayer {
570
577
  Num = 11
571
578
  }
572
579
  }
573
- export declare namespace Multiplayer {
574
- /**
575
- * @description The billboard mode supported by this image space component.
576
- */
577
- enum BillboardMode {
578
- Off = 0,
579
- Billboard = 1,
580
- YawLockedBillboard = 2
581
- }
582
- }
583
580
  export declare namespace Multiplayer {
584
581
  /**
585
582
  * @description The display mode supported by this image space component.
@@ -735,6 +732,26 @@ export declare namespace Multiplayer {
735
732
  Num = 10
736
733
  }
737
734
  }
735
+ export declare namespace Multiplayer {
736
+ /**
737
+ * @description Enumerates the list of properties that can be replicated for an text space component.
738
+ */
739
+ enum TextPropertyKeys {
740
+ Position = 0,
741
+ Rotation = 1,
742
+ Scale = 2,
743
+ Text = 3,
744
+ TextColor = 4,
745
+ BackgroundColor = 5,
746
+ IsBackgroundVisible = 6,
747
+ Width = 7,
748
+ Height = 8,
749
+ BillboardMode = 9,
750
+ IsVisible = 10,
751
+ IsARVisible = 11,
752
+ Num = 12
753
+ }
754
+ }
738
755
  export declare namespace Multiplayer {
739
756
  /**
740
757
  * @description Enumerates the possible playback states for a video player.
@@ -3286,7 +3303,7 @@ export declare namespace Common {
3286
3303
  */
3287
3304
  static create_boolValue(boolValue: boolean): Variant;
3288
3305
  /**
3289
- * @description Construct a Variant based on a float type.
3306
+ * @description Construct a Variant based on a double-precision float type.
3290
3307
  * @param inFloatValue - In value
3291
3308
  */
3292
3309
  static create_floatValue(floatValue: number): Variant;
@@ -3334,12 +3351,12 @@ export declare namespace Common {
3334
3351
  */
3335
3352
  getBool(): boolean;
3336
3353
  /**
3337
- * @description Sets internal variant type as a float.
3354
+ * @description Sets internal variant type as a double-precision float.
3338
3355
  */
3339
3356
  setFloat(value: number): void;
3340
3357
  /**
3341
- * @description Gets internal variant type as a float.
3342
- * @return Float
3358
+ * @description Gets internal variant type as a double-precision float.
3359
+ * @return Double
3343
3360
  */
3344
3361
  getFloat(): number;
3345
3362
  /**
@@ -4856,6 +4873,8 @@ export declare namespace Systems {
4856
4873
  set isUnique(value: boolean);
4857
4874
  get version(): string;
4858
4875
  set version(value: string);
4876
+ get organizationId(): string;
4877
+ set organizationId(value: string);
4859
4878
  }
4860
4879
  }
4861
4880
  export declare namespace Systems {
@@ -4969,6 +4988,8 @@ export declare namespace Systems {
4969
4988
  set options(value: Common.Array<Systems.VariantOptionInfo>);
4970
4989
  get unitPrice(): Systems.CurrencyInfo;
4971
4990
  set unitPrice(value: Systems.CurrencyInfo);
4991
+ get availableStock(): number;
4992
+ set availableStock(value: number);
4972
4993
  }
4973
4994
  }
4974
4995
  export declare namespace Systems {
@@ -5301,8 +5322,6 @@ export declare namespace Systems {
5301
5322
  set createdBy(value: string);
5302
5323
  get name(): string;
5303
5324
  set name(value: string);
5304
- get description(): string;
5305
- set description(value: string);
5306
5325
  get members(): Common.Array<Systems.OrganizationRoleInfo>;
5307
5326
  set members(value: Common.Array<Systems.OrganizationRoleInfo>);
5308
5327
  get spaceCount(): number;
@@ -7986,6 +8005,146 @@ export declare namespace Multiplayer {
7986
8005
  delete(): void;
7987
8006
  }
7988
8007
  }
8008
+ export declare namespace Multiplayer {
8009
+ /**
8010
+ @ingroup TextSpaceComponent
8011
+ * @description Data representation of an TextSpaceComponent.
8012
+ */
8013
+ class TextSpaceComponent extends Multiplayer.ComponentBase implements Multiplayer.ITransformComponent, Multiplayer.IVisibleComponent, INativeResource {
8014
+ /** @internal */
8015
+ constructor(pointer: NativePointer);
8016
+ static fromComponentBase(baseInstance: Multiplayer.ComponentBase): Multiplayer.TextSpaceComponent;
8017
+ /**
8018
+ * @description Constructs the text space component, and associates it with the specified Parent space entity.
8019
+ * @param parent - The Space entity that owns this component.
8020
+ */
8021
+ static create_parent(parent: Multiplayer.SpaceEntity): TextSpaceComponent;
8022
+ /**
8023
+ * @description Gets the text this text component refers to.
8024
+ * @return The text this text component refers to.
8025
+ */
8026
+ getText(): string;
8027
+ /**
8028
+ * @description Sets the text this text component refers to.
8029
+ * @param value - The text this text component refers to.
8030
+ */
8031
+ setText(value: string): void;
8032
+ /**
8033
+ * @description Gets the text color.
8034
+ * @return The text color, expected to be in RGB color space, with each value normalised between 0...1.
8035
+ */
8036
+ getTextColor(): Common.Vector3;
8037
+ /**
8038
+ * @description Sets the text color.
8039
+ * @param value - The text color, expected to be in RGB color space, with each value normalised between 0...1.
8040
+ */
8041
+ setTextColor(value: Common.Vector3): void;
8042
+ /**
8043
+ * @description Gets the background color that should be globally applied text associated with this component.
8044
+ * @return The background color, expected to be in RGB color space, with each value normalised between 0...1.
8045
+ */
8046
+ getBackgroundColor(): Common.Vector3;
8047
+ /**
8048
+ * @description Sets the background color.
8049
+ * @param value - The background color, expected to be in RGB color space, with each value normalised between 0...1.
8050
+ */
8051
+ setBackgroundColor(value: Common.Vector3): void;
8052
+ /**
8053
+ * @description Sets the background visibility.
8054
+ * @param value - The background visibility.
8055
+ */
8056
+ getIsBackgroundVisible(): boolean;
8057
+ /**
8058
+ * @description Sets the background visibility.
8059
+ * @param value - The background visibility.
8060
+ */
8061
+ setIsBackgroundVisible(value: boolean): void;
8062
+ /**
8063
+ * @description Sets the Text Width.
8064
+ * @param value - The Text Width.
8065
+ */
8066
+ getWidth(): number;
8067
+ /**
8068
+ * @description Sets the Text Width.
8069
+ * @param value - The Text Width.
8070
+ */
8071
+ setWidth(value: number): void;
8072
+ /**
8073
+ * @description Sets the Text Height.
8074
+ * @param value - The Text Height.
8075
+ */
8076
+ getHeight(): number;
8077
+ /**
8078
+ * @description Sets the Text Height.
8079
+ * @param value - The Text Height.
8080
+ */
8081
+ setHeight(value: number): void;
8082
+ /**
8083
+ * \addtogroup ITransformComponent
8084
+ @{
8085
+ @copydoc IPositionComponent::GetPosition()
8086
+ */
8087
+ getPosition(): Common.Vector3;
8088
+ /**
8089
+ @copydoc IPositionComponent::SetPosition()
8090
+ */
8091
+ setPosition(value: Common.Vector3): void;
8092
+ /**
8093
+ @copydoc IRotationComponent::GetRotation()
8094
+ */
8095
+ getRotation(): Common.Vector4;
8096
+ /**
8097
+ @copydoc IRotationComponent::SetRotation()
8098
+ */
8099
+ setRotation(value: Common.Vector4): void;
8100
+ /**
8101
+ @copydoc IScaleComponent::GetScale()
8102
+ */
8103
+ getScale(): Common.Vector3;
8104
+ /**
8105
+ @copydoc IScaleComponent::SetScale()
8106
+ */
8107
+ setScale(value: Common.Vector3): void;
8108
+ /**
8109
+ @copydoc ITransformComponent::GetTransform()
8110
+ */
8111
+ getTransform(): Multiplayer.SpaceTransform;
8112
+ /**
8113
+ @copydoc ITransformComonent::SetTransform()
8114
+ */
8115
+ setTransform(value: Multiplayer.SpaceTransform): void;
8116
+ /**
8117
+ @}
8118
+ * @description Gets the billboard mode used by this text component.
8119
+ * @return The billboard mode used by this text component.
8120
+ */
8121
+ getBillboardMode(): Multiplayer.BillboardMode;
8122
+ /**
8123
+ * @description Sets the billboard mode used by this text component.
8124
+ * @param billboardMode - The billboard mode used by this text component.
8125
+ */
8126
+ setBillboardMode(billboardMode: Multiplayer.BillboardMode): void;
8127
+ /**
8128
+ * \addtogroup IVisibleComponent
8129
+ @{
8130
+ @copydoc IVisibleComponent::GetIsVisible()
8131
+ */
8132
+ getIsVisible(): boolean;
8133
+ /**
8134
+ @copydoc IVisibleComponent::SetIsVisible()
8135
+ */
8136
+ setIsVisible(value: boolean): void;
8137
+ /**
8138
+ @copydoc IVisibleComponent::GetIsARVisible()
8139
+ */
8140
+ getIsARVisible(): boolean;
8141
+ /**
8142
+ @copydoc IVisibleComponent::SetIsARVisible()
8143
+ */
8144
+ setIsARVisible(value: boolean): void;
8145
+ delete(): void;
8146
+ }
8147
+ }
7989
8148
  export declare namespace Multiplayer {
7990
8149
  /**
7991
8150
  @ingroup VideoPlayerSpaceComponent
@@ -9171,6 +9330,49 @@ export declare namespace Systems {
9171
9330
  * @param callback - The callback to execute.
9172
9331
  */
9173
9332
  setMemberJoinedOrganizationCallback(callback: (arg1: string) => void): void;
9333
+ /**
9334
+ * @description Create a new Organization.
9335
+ * Only a User with tenant admin permissions can create an Organization.
9336
+ * If the user does not have the required permissions their call will be rejected.
9337
+ * @param organizationOwnerId - Id of the Organization owner.
9338
+ * @param organizationName - The Organization name
9339
+ * @param callback - Callback when asynchronous task finishes.
9340
+ */
9341
+ createOrganization(organizationOwnerId: string, organizationName: string): Promise<Systems.OrganizationResult>;
9342
+ /**
9343
+ * @description Retrieves Organization info for the specified Organization.
9344
+ * If this request is made by a User with an Owner or Admin Organization role, the resultant Organization object will contain an array of
9345
+ * OrganizationRoleInfo objects for each Organization member. If the request is made by a User who does not have the Owner or Admin role, the
9346
+ * resultant Organization object will contain an array with a single OrganizationRoleInfo object which represents them.
9347
+ * @param organizationId - Id of the Organization to retrieve information on. If no Id is specified,
9348
+ * the Id of the Organization the user is currently authenticated against will be used.
9349
+ * @param callback - Callback when asynchronous task finishes.
9350
+ */
9351
+ getOrganization(organizationId: string | null): Promise<Systems.OrganizationResult>;
9352
+ /**
9353
+ * @description Get the Id of the Organization the user is authenticated against.
9354
+ * @return The Id of the Organization the User belongs to.
9355
+ */
9356
+ getCurrentOrganizationId(): string;
9357
+ /**
9358
+ * @description Updates the name and/or the description of the specified Organization.
9359
+ * Only a User with an Organization Owner role can update an Organization. If the user does not have the required Organization role
9360
+ * their call will be rejected.
9361
+ * @param organizationId - Id of the Organization to update. If no Id is specified,
9362
+ * the Id of the Organization the user is currently authenticated against will be used.
9363
+ * @param name - The new Organization name
9364
+ * @param callback - Callback when asynchronous task finishes.
9365
+ */
9366
+ updateOrganization(organizationId: string | null, name: string): Promise<Systems.OrganizationResult>;
9367
+ /**
9368
+ * @description Deactivates the specified Organization.
9369
+ * This call performs a soft-delete of the Organization and will allow for Organization reactivation in the future.
9370
+ * Only A User with owner-level permissions can deactivate an Organization. If the user does not have the required role their call will be
9371
+ * rejected.
9372
+ * @param organizationId - Id of the Organization to deactivate.
9373
+ * @param callback - Callback when asynchronous task finishes.
9374
+ */
9375
+ deactivateOrganization(organizationId: string): Promise<Systems.NullResult>;
9174
9376
  /**
9175
9377
  * @description Invites a given email to the User's Organization.
9176
9378
  * 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
@@ -9565,6 +9767,8 @@ export declare namespace Systems {
9565
9767
  set moderatorIds(value: Common.Array<string>);
9566
9768
  get bannedUserIds(): Common.Array<string>;
9567
9769
  set bannedUserIds(value: Common.Array<string>);
9770
+ get organizationId(): string;
9771
+ set organizationId(value: string);
9568
9772
  }
9569
9773
  }
9570
9774
  export declare namespace Systems {