@juhuu/sdk-ts 1.2.306 → 1.2.308

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/dist/index.d.mts CHANGED
@@ -1488,6 +1488,19 @@ type QuickView = {
1488
1488
  visibleCondition: Condition | null;
1489
1489
  };
1490
1490
  type PanelDisplay = "modal" | "dialog" | "screen";
1491
+ interface AdditionalSubscriptionItem {
1492
+ stripePriceId: string;
1493
+ quantity: number;
1494
+ }
1495
+ interface PropertyAgreement {
1496
+ isAccepted: boolean;
1497
+ currentAgreement: string | null;
1498
+ previousAgreements: string[];
1499
+ acceptedAt: Date | null;
1500
+ acceptedByUserId: string | null;
1501
+ acceptedByUserEmail: string | null;
1502
+ acceptedByUserName: string | null;
1503
+ }
1491
1504
 
1492
1505
  declare class Service {
1493
1506
  constructor(config: JUHUU.SetupConfig);
@@ -1840,6 +1853,7 @@ declare class IncidentsService extends Service {
1840
1853
  list(IncidentListParams: JUHUU.Incident.List.Params, IncidentListOptions?: JUHUU.Incident.List.Options): Promise<JUHUU.HttpResponse<JUHUU.Incident.List.Response>>;
1841
1854
  retrieve(IncidentRetrieveParams: JUHUU.Incident.Retrieve.Params, IncidentRetrieveOptions?: JUHUU.Incident.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.Incident.Retrieve.Response>>;
1842
1855
  update(IncidentUpdateParams: JUHUU.Incident.Update.Params, IncidentUpdateOptions?: JUHUU.Incident.Update.Options): Promise<JUHUU.HttpResponse<JUHUU.Incident.Update.Response>>;
1856
+ notifyAffected(IncidentNotifyAffectedParams: JUHUU.Incident.NotifyAffected.Params, IncidentNotifyAffectedOptions?: JUHUU.Incident.NotifyAffected.Options): Promise<JUHUU.HttpResponse<JUHUU.Incident.NotifyAffected.Response>>;
1843
1857
  }
1844
1858
 
1845
1859
  declare class ParameterAnomalyGroupsService extends Service {
@@ -2317,6 +2331,7 @@ declare namespace JUHUU {
2317
2331
  sessionType: Object["type"];
2318
2332
  isOffSession: boolean;
2319
2333
  userId: string;
2334
+ propertyId?: string;
2320
2335
  };
2321
2336
  type Options = JUHUU.RequestOptions;
2322
2337
  type Response = {
@@ -3469,7 +3484,7 @@ declare namespace JUHUU {
3469
3484
  export { };
3470
3485
  }
3471
3486
  namespace Property {
3472
- type Base = {
3487
+ type Object = {
3473
3488
  id: string;
3474
3489
  readonly object: "property";
3475
3490
  email: string | null;
@@ -3485,8 +3500,6 @@ declare namespace JUHUU {
3485
3500
  version: number;
3486
3501
  colorScheme: ColorScheme;
3487
3502
  contactUrl: string | null;
3488
- };
3489
- export interface Internal extends Base {
3490
3503
  type: "internal";
3491
3504
  legalName: string | null;
3492
3505
  emailSignature: string | null;
@@ -3522,33 +3535,21 @@ declare namespace JUHUU {
3522
3535
  */
3523
3536
  stripeSubscriptionId: string | null;
3524
3537
  subscriptionStatus: "manual" | "inactive" | "waitingForActivationConfirmation" | "active" | "waitingForExpiry";
3538
+ additionalSubscriptionItemArray: AdditionalSubscriptionItem[];
3525
3539
  capabilityArray: Capability[];
3526
- agreement: {
3527
- isAccepted: boolean;
3528
- currentAgreement: string | null;
3529
- previousAgreements: string[];
3530
- acceptedAt: Date | null;
3531
- acceptedByUserId: string | null;
3532
- acceptedByUserEmail: string | null;
3533
- acceptedByUserName: string | null;
3534
- };
3535
- }
3536
- export interface External extends Base {
3537
- type: "external";
3538
- }
3539
- export type Object = Internal | External;
3540
- export namespace Create {
3540
+ agreement: PropertyAgreement;
3541
+ };
3542
+ namespace Create {
3541
3543
  type Params = {
3542
3544
  userId?: string;
3543
3545
  name: string;
3544
- type?: JUHUU.Property.Object["type"];
3545
3546
  };
3546
3547
  type Options = {};
3547
3548
  type Response = {
3548
3549
  property: JUHUU.Property.Object;
3549
3550
  };
3550
3551
  }
3551
- export namespace Retrieve {
3552
+ namespace Retrieve {
3552
3553
  type Params = {
3553
3554
  propertyId: string;
3554
3555
  };
@@ -3557,14 +3558,14 @@ declare namespace JUHUU {
3557
3558
  property: JUHUU.Property.Object;
3558
3559
  };
3559
3560
  }
3560
- export namespace List {
3561
+ namespace List {
3561
3562
  type Params = {
3562
3563
  userId?: string;
3563
3564
  };
3564
3565
  type Options = JUHUU.RequestOptions;
3565
3566
  type Response = JUHUU.Property.Object[];
3566
3567
  }
3567
- export namespace RetrieveStripeConnectPortalUrl {
3568
+ namespace RetrieveStripeConnectPortalUrl {
3568
3569
  type Params = {
3569
3570
  propertyId: string;
3570
3571
  };
@@ -3573,7 +3574,7 @@ declare namespace JUHUU {
3573
3574
  url: string;
3574
3575
  };
3575
3576
  }
3576
- export namespace RetrieveStripeCustomerPortalUrl {
3577
+ namespace RetrieveStripeCustomerPortalUrl {
3577
3578
  type Params = {
3578
3579
  propertyId: string;
3579
3580
  };
@@ -3582,7 +3583,7 @@ declare namespace JUHUU {
3582
3583
  url: string;
3583
3584
  };
3584
3585
  }
3585
- export namespace RetrieveStripeSubscriptionStartUrl {
3586
+ namespace RetrieveStripeSubscriptionStartUrl {
3586
3587
  type Params = {
3587
3588
  propertyId: string;
3588
3589
  };
@@ -3591,7 +3592,7 @@ declare namespace JUHUU {
3591
3592
  url: string;
3592
3593
  };
3593
3594
  }
3594
- export namespace EnableCapability {
3595
+ namespace EnableCapability {
3595
3596
  type Params = {
3596
3597
  propertyId: string;
3597
3598
  capabilityType: Capability["type"];
@@ -3602,7 +3603,7 @@ declare namespace JUHUU {
3602
3603
  property: JUHUU.Property.Object;
3603
3604
  };
3604
3605
  }
3605
- export namespace AcceptLatestAgreement {
3606
+ namespace AcceptLatestAgreement {
3606
3607
  type Params = {
3607
3608
  propertyId: string;
3608
3609
  };
@@ -3611,7 +3612,7 @@ declare namespace JUHUU {
3611
3612
  property: JUHUU.Property.Object;
3612
3613
  };
3613
3614
  }
3614
- export namespace Update {
3615
+ namespace Update {
3615
3616
  type Params = {
3616
3617
  propertyId: string;
3617
3618
  name?: string;
@@ -3636,7 +3637,7 @@ declare namespace JUHUU {
3636
3637
  property: JUHUU.Property.Object;
3637
3638
  };
3638
3639
  }
3639
- export namespace Onboarding {
3640
+ namespace Onboarding {
3640
3641
  type Params = {
3641
3642
  logo: string;
3642
3643
  primaryColor: string;
@@ -3649,14 +3650,13 @@ declare namespace JUHUU {
3649
3650
  property: JUHUU.Property.Object;
3650
3651
  };
3651
3652
  }
3652
- export namespace Delete {
3653
+ namespace Delete {
3653
3654
  type Params = {
3654
3655
  propertyId: string;
3655
3656
  };
3656
3657
  type Options = JUHUU.RequestOptions;
3657
3658
  type Response = JUHUU.Property.Object;
3658
3659
  }
3659
- export { };
3660
3660
  }
3661
3661
  namespace Point {
3662
3662
  type Base = {
@@ -4477,6 +4477,8 @@ declare namespace JUHUU {
4477
4477
  description: string;
4478
4478
  imageUrlArray: string[];
4479
4479
  incidentTemplateId: string | null;
4480
+ responsiblesNotified: boolean;
4481
+ affectedNotified: boolean;
4480
4482
  };
4481
4483
  export interface Location extends Base {
4482
4484
  type: "location";
@@ -4551,6 +4553,16 @@ declare namespace JUHUU {
4551
4553
  incident: JUHUU.Incident.Object;
4552
4554
  };
4553
4555
  }
4556
+ export namespace NotifyAffected {
4557
+ type Params = {
4558
+ incidentId: string;
4559
+ message: string;
4560
+ };
4561
+ type Options = JUHUU.RequestOptions;
4562
+ type Response = {
4563
+ incident: JUHUU.Incident.Object;
4564
+ };
4565
+ }
4554
4566
  export { };
4555
4567
  }
4556
4568
  namespace IncidentTemplate {
@@ -4643,6 +4655,7 @@ declare namespace JUHUU {
4643
4655
  }
4644
4656
  export interface Number extends Base {
4645
4657
  type: "number";
4658
+ unit: Unit | null;
4646
4659
  currentValue: number;
4647
4660
  }
4648
4661
  export interface Enum extends Base {
@@ -4760,6 +4773,7 @@ declare namespace JUHUU {
4760
4773
  featureReference: string;
4761
4774
  shapValues: [number, number, number] | null;
4762
4775
  isOutlier: boolean;
4776
+ unit: Unit | null;
4763
4777
  }>;
4764
4778
  anomalyDescription: string | null;
4765
4779
  };
@@ -4806,7 +4820,10 @@ declare namespace JUHUU {
4806
4820
  parameterAnomalyGroupId: string;
4807
4821
  parameterAnomalyGroupTrackerId?: string;
4808
4822
  name?: string;
4809
- featureReferenceParameterIdArray?: JUHUU.ParameterAnomalyGroup.Object["featureReferenceParameterIdArray"];
4823
+ featureReferenceParameterIdArray?: Array<{
4824
+ parameterId: string;
4825
+ featureReference: string;
4826
+ }>;
4810
4827
  };
4811
4828
  type Options = JUHUU.RequestOptions;
4812
4829
  type Response = {
@@ -4920,6 +4937,7 @@ declare namespace JUHUU {
4920
4937
  }
4921
4938
  export interface Number extends Base {
4922
4939
  type: "number";
4940
+ unit: Unit | null;
4923
4941
  currentValue: number;
4924
4942
  }
4925
4943
  export interface Enum extends Base {
@@ -6694,4 +6712,4 @@ declare namespace JUHUU {
6694
6712
  }
6695
6713
  }
6696
6714
 
6697
- export { type AccessControlListElement, type Address, type ApiKeyScope, type ApiKeyStatus, type AutoRenewMode, type BaseBlock, type BenefitCardCopyBlock, type BenefitCardCopyBlockInputs, type BenefitCardListBlock, type BenefitCardListBlockInputs, type BenefitCardRetrieveBlock, type BenefitCardRetrieveBlockInputs, type BenefitCardUpdateBlock, type BenefitCardUpdateBlockInputs, type BlockExecutor, type BusinessType, type Capability, type Category, type Circumstance, type Color, type ColorScheme, type Command, type Condition, ConditionType, type ConstBooleanBlock, type ConstNumberBlock, type ConstTextBlock, type ControlEdgeConnection, type CountryCode, CountryCodeArray, type CurrencyCode, CurrencyCodeArray, type CustomClaims, type DataEdgeConnection, type DeepNullable, type DevicePermission, type DeviceRetrieveBlock, type DeviceRetrieveBlockInputs, type DeviceStatus, type DeviceType, type DeviceUpdateBlock, type DeviceUpdateBlockInputs, type EndCustomBlock, type Environment, type EnvironmentSettings, type ExtractType, type FlowBlock, type FlowBlockInput, type FlowControlEdge, type FlowDataEdge, type FlowEdge, type FlowExecuteBlock, type FlowExecuteBlockInputs, type FlowExecutionEnvironment, type FlowLog, type FlowStatus, type Frontend, type GeneralSettings, type GeoPoint, type GraphNode, type HttpDeleteBlock, type HttpDeleteBlockInputs, type HttpGetBlock, type HttpGetBlockInputs, type HttpPatchBlock, type HttpPostBlock, type HttpPostBlockInputs, type HttpPutBlock, type HttpPutBlockInputs, type HttpsPatchBlockInputs, type IfBlock, type IncidentCreateBlock, type IncidentCreateBlockInputs, type IncidentRetrieveBlock, type IncidentRetrieveBlockInputs, JUHUU, type JsonLogic, Juhuu, type KitStatus, type LanguageCode, LanguageCodeArray, Layout, type LayoutBlock, type License, type LicenseTariffIdMap, type LinkType, type LocaleString, type LocationRetrieveBlock, type LocationRetrieveBlockInputs, type LocationUpdateBlock, type LocationUpdateBlockInputs, type MapConstructBlock, type MapConstructBlockInputs, type MapDestructureBlock, type MapDestructureBlockInputs, type MapFilter, type MathAddBlock, type MathAddBlockInputs, type MathDivideBlock, type MathDivideBlockInputs, type MathMultiplyBlock, type MathMultiplyBlockInputs, type MathSubtractBlock, type MathSubtractBlockInputs, type Modality, type MqttSendBlock, type MqttSendBlockInputs, Offer, type OfferTime, type PanelDisplay, type ParamDefinition, type ParamType, type ParameterRetrieveBlock, type ParameterRetrieveBlockInputs, type ParameterUpdateBlock, type ParameterUpdateBlockInputs, type Party, type PaymentMethod, type PaymentReason, type PaymentRefundReason, type PaymentRefundStatus, type PaymentServiceProvider, type PaymentStatus, type PayoutSettings, type PayoutStatus, type PermissionTypes, type Person, type Platform, type PlatformString, type PostingRow, type PropertyRetrieveBlock, type PropertyRetrieveBlockInputs, type PropertyUpdateBlock, type PropertyUpdateBlockInputs, type ProximityStrategy, type Purpose, type PushToken, type QuickAction, type QuickView, ReadonlyCategoryArray, ReadonlyModalityArray, ReadonlySectorArray, type RefundStatus, type Sector, type SessionCannotTerminateReason, type SessionRetrieveBlock, type SessionRetrieveBlockInputs, type SessionSettings, type SessionStatus, type SessionTerminateBlock, type SessionTerminateBlockInputs, type SessionTerminatedByType, type SessionType, Settings, type SimStatus, type StarRating, type StartCustomBlock, type StartLocationUpdateBlock, type StartParameterUpdateBlock, type StartQuickActionLocationBlock, type StartSessionUpdateBlock, type SwitchBlock, type SystemLogBlock, type SystemLogBlockInputs, type TarifType, type TaxCode, type TextMatchBlock, type TextMatchBlockInputs, type TimeZone, type UiNavigateScreenBlock, type UiNavigateScreenBlockInputs, type Unit, type UserCreateBlock, type UserCreateBlockInputs, type UserGroup, type UserRetrieveBlock, type UserRetrieveBlockInputs, type UserType, type Utilization, type VariableGetBlock, type VariableGetBlockInputs, type VariableSetBlock, type VariableSetBlockInputs, type VeloBrushDeviceDocumentUserManualStep, type Viewport, type ViewportPolygon, type VisualPriority, type hexColor };
6715
+ export { type AccessControlListElement, type AdditionalSubscriptionItem, type Address, type ApiKeyScope, type ApiKeyStatus, type AutoRenewMode, type BaseBlock, type BenefitCardCopyBlock, type BenefitCardCopyBlockInputs, type BenefitCardListBlock, type BenefitCardListBlockInputs, type BenefitCardRetrieveBlock, type BenefitCardRetrieveBlockInputs, type BenefitCardUpdateBlock, type BenefitCardUpdateBlockInputs, type BlockExecutor, type BusinessType, type Capability, type Category, type Circumstance, type Color, type ColorScheme, type Command, type Condition, ConditionType, type ConstBooleanBlock, type ConstNumberBlock, type ConstTextBlock, type ControlEdgeConnection, type CountryCode, CountryCodeArray, type CurrencyCode, CurrencyCodeArray, type CustomClaims, type DataEdgeConnection, type DeepNullable, type DevicePermission, type DeviceRetrieveBlock, type DeviceRetrieveBlockInputs, type DeviceStatus, type DeviceType, type DeviceUpdateBlock, type DeviceUpdateBlockInputs, type EndCustomBlock, type Environment, type EnvironmentSettings, type ExtractType, type FlowBlock, type FlowBlockInput, type FlowControlEdge, type FlowDataEdge, type FlowEdge, type FlowExecuteBlock, type FlowExecuteBlockInputs, type FlowExecutionEnvironment, type FlowLog, type FlowStatus, type Frontend, type GeneralSettings, type GeoPoint, type GraphNode, type HttpDeleteBlock, type HttpDeleteBlockInputs, type HttpGetBlock, type HttpGetBlockInputs, type HttpPatchBlock, type HttpPostBlock, type HttpPostBlockInputs, type HttpPutBlock, type HttpPutBlockInputs, type HttpsPatchBlockInputs, type IfBlock, type IncidentCreateBlock, type IncidentCreateBlockInputs, type IncidentRetrieveBlock, type IncidentRetrieveBlockInputs, JUHUU, type JsonLogic, Juhuu, type KitStatus, type LanguageCode, LanguageCodeArray, Layout, type LayoutBlock, type License, type LicenseTariffIdMap, type LinkType, type LocaleString, type LocationRetrieveBlock, type LocationRetrieveBlockInputs, type LocationUpdateBlock, type LocationUpdateBlockInputs, type MapConstructBlock, type MapConstructBlockInputs, type MapDestructureBlock, type MapDestructureBlockInputs, type MapFilter, type MathAddBlock, type MathAddBlockInputs, type MathDivideBlock, type MathDivideBlockInputs, type MathMultiplyBlock, type MathMultiplyBlockInputs, type MathSubtractBlock, type MathSubtractBlockInputs, type Modality, type MqttSendBlock, type MqttSendBlockInputs, Offer, type OfferTime, type PanelDisplay, type ParamDefinition, type ParamType, type ParameterRetrieveBlock, type ParameterRetrieveBlockInputs, type ParameterUpdateBlock, type ParameterUpdateBlockInputs, type Party, type PaymentMethod, type PaymentReason, type PaymentRefundReason, type PaymentRefundStatus, type PaymentServiceProvider, type PaymentStatus, type PayoutSettings, type PayoutStatus, type PermissionTypes, type Person, type Platform, type PlatformString, type PostingRow, type PropertyAgreement, type PropertyRetrieveBlock, type PropertyRetrieveBlockInputs, type PropertyUpdateBlock, type PropertyUpdateBlockInputs, type ProximityStrategy, type Purpose, type PushToken, type QuickAction, type QuickView, ReadonlyCategoryArray, ReadonlyModalityArray, ReadonlySectorArray, type RefundStatus, type Sector, type SessionCannotTerminateReason, type SessionRetrieveBlock, type SessionRetrieveBlockInputs, type SessionSettings, type SessionStatus, type SessionTerminateBlock, type SessionTerminateBlockInputs, type SessionTerminatedByType, type SessionType, Settings, type SimStatus, type StarRating, type StartCustomBlock, type StartLocationUpdateBlock, type StartParameterUpdateBlock, type StartQuickActionLocationBlock, type StartSessionUpdateBlock, type SwitchBlock, type SystemLogBlock, type SystemLogBlockInputs, type TarifType, type TaxCode, type TextMatchBlock, type TextMatchBlockInputs, type TimeZone, type UiNavigateScreenBlock, type UiNavigateScreenBlockInputs, type Unit, type UserCreateBlock, type UserCreateBlockInputs, type UserGroup, type UserRetrieveBlock, type UserRetrieveBlockInputs, type UserType, type Utilization, type VariableGetBlock, type VariableGetBlockInputs, type VariableSetBlock, type VariableSetBlockInputs, type VeloBrushDeviceDocumentUserManualStep, type Viewport, type ViewportPolygon, type VisualPriority, type hexColor };
package/dist/index.d.ts CHANGED
@@ -1488,6 +1488,19 @@ type QuickView = {
1488
1488
  visibleCondition: Condition | null;
1489
1489
  };
1490
1490
  type PanelDisplay = "modal" | "dialog" | "screen";
1491
+ interface AdditionalSubscriptionItem {
1492
+ stripePriceId: string;
1493
+ quantity: number;
1494
+ }
1495
+ interface PropertyAgreement {
1496
+ isAccepted: boolean;
1497
+ currentAgreement: string | null;
1498
+ previousAgreements: string[];
1499
+ acceptedAt: Date | null;
1500
+ acceptedByUserId: string | null;
1501
+ acceptedByUserEmail: string | null;
1502
+ acceptedByUserName: string | null;
1503
+ }
1491
1504
 
1492
1505
  declare class Service {
1493
1506
  constructor(config: JUHUU.SetupConfig);
@@ -1840,6 +1853,7 @@ declare class IncidentsService extends Service {
1840
1853
  list(IncidentListParams: JUHUU.Incident.List.Params, IncidentListOptions?: JUHUU.Incident.List.Options): Promise<JUHUU.HttpResponse<JUHUU.Incident.List.Response>>;
1841
1854
  retrieve(IncidentRetrieveParams: JUHUU.Incident.Retrieve.Params, IncidentRetrieveOptions?: JUHUU.Incident.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.Incident.Retrieve.Response>>;
1842
1855
  update(IncidentUpdateParams: JUHUU.Incident.Update.Params, IncidentUpdateOptions?: JUHUU.Incident.Update.Options): Promise<JUHUU.HttpResponse<JUHUU.Incident.Update.Response>>;
1856
+ notifyAffected(IncidentNotifyAffectedParams: JUHUU.Incident.NotifyAffected.Params, IncidentNotifyAffectedOptions?: JUHUU.Incident.NotifyAffected.Options): Promise<JUHUU.HttpResponse<JUHUU.Incident.NotifyAffected.Response>>;
1843
1857
  }
1844
1858
 
1845
1859
  declare class ParameterAnomalyGroupsService extends Service {
@@ -2317,6 +2331,7 @@ declare namespace JUHUU {
2317
2331
  sessionType: Object["type"];
2318
2332
  isOffSession: boolean;
2319
2333
  userId: string;
2334
+ propertyId?: string;
2320
2335
  };
2321
2336
  type Options = JUHUU.RequestOptions;
2322
2337
  type Response = {
@@ -3469,7 +3484,7 @@ declare namespace JUHUU {
3469
3484
  export { };
3470
3485
  }
3471
3486
  namespace Property {
3472
- type Base = {
3487
+ type Object = {
3473
3488
  id: string;
3474
3489
  readonly object: "property";
3475
3490
  email: string | null;
@@ -3485,8 +3500,6 @@ declare namespace JUHUU {
3485
3500
  version: number;
3486
3501
  colorScheme: ColorScheme;
3487
3502
  contactUrl: string | null;
3488
- };
3489
- export interface Internal extends Base {
3490
3503
  type: "internal";
3491
3504
  legalName: string | null;
3492
3505
  emailSignature: string | null;
@@ -3522,33 +3535,21 @@ declare namespace JUHUU {
3522
3535
  */
3523
3536
  stripeSubscriptionId: string | null;
3524
3537
  subscriptionStatus: "manual" | "inactive" | "waitingForActivationConfirmation" | "active" | "waitingForExpiry";
3538
+ additionalSubscriptionItemArray: AdditionalSubscriptionItem[];
3525
3539
  capabilityArray: Capability[];
3526
- agreement: {
3527
- isAccepted: boolean;
3528
- currentAgreement: string | null;
3529
- previousAgreements: string[];
3530
- acceptedAt: Date | null;
3531
- acceptedByUserId: string | null;
3532
- acceptedByUserEmail: string | null;
3533
- acceptedByUserName: string | null;
3534
- };
3535
- }
3536
- export interface External extends Base {
3537
- type: "external";
3538
- }
3539
- export type Object = Internal | External;
3540
- export namespace Create {
3540
+ agreement: PropertyAgreement;
3541
+ };
3542
+ namespace Create {
3541
3543
  type Params = {
3542
3544
  userId?: string;
3543
3545
  name: string;
3544
- type?: JUHUU.Property.Object["type"];
3545
3546
  };
3546
3547
  type Options = {};
3547
3548
  type Response = {
3548
3549
  property: JUHUU.Property.Object;
3549
3550
  };
3550
3551
  }
3551
- export namespace Retrieve {
3552
+ namespace Retrieve {
3552
3553
  type Params = {
3553
3554
  propertyId: string;
3554
3555
  };
@@ -3557,14 +3558,14 @@ declare namespace JUHUU {
3557
3558
  property: JUHUU.Property.Object;
3558
3559
  };
3559
3560
  }
3560
- export namespace List {
3561
+ namespace List {
3561
3562
  type Params = {
3562
3563
  userId?: string;
3563
3564
  };
3564
3565
  type Options = JUHUU.RequestOptions;
3565
3566
  type Response = JUHUU.Property.Object[];
3566
3567
  }
3567
- export namespace RetrieveStripeConnectPortalUrl {
3568
+ namespace RetrieveStripeConnectPortalUrl {
3568
3569
  type Params = {
3569
3570
  propertyId: string;
3570
3571
  };
@@ -3573,7 +3574,7 @@ declare namespace JUHUU {
3573
3574
  url: string;
3574
3575
  };
3575
3576
  }
3576
- export namespace RetrieveStripeCustomerPortalUrl {
3577
+ namespace RetrieveStripeCustomerPortalUrl {
3577
3578
  type Params = {
3578
3579
  propertyId: string;
3579
3580
  };
@@ -3582,7 +3583,7 @@ declare namespace JUHUU {
3582
3583
  url: string;
3583
3584
  };
3584
3585
  }
3585
- export namespace RetrieveStripeSubscriptionStartUrl {
3586
+ namespace RetrieveStripeSubscriptionStartUrl {
3586
3587
  type Params = {
3587
3588
  propertyId: string;
3588
3589
  };
@@ -3591,7 +3592,7 @@ declare namespace JUHUU {
3591
3592
  url: string;
3592
3593
  };
3593
3594
  }
3594
- export namespace EnableCapability {
3595
+ namespace EnableCapability {
3595
3596
  type Params = {
3596
3597
  propertyId: string;
3597
3598
  capabilityType: Capability["type"];
@@ -3602,7 +3603,7 @@ declare namespace JUHUU {
3602
3603
  property: JUHUU.Property.Object;
3603
3604
  };
3604
3605
  }
3605
- export namespace AcceptLatestAgreement {
3606
+ namespace AcceptLatestAgreement {
3606
3607
  type Params = {
3607
3608
  propertyId: string;
3608
3609
  };
@@ -3611,7 +3612,7 @@ declare namespace JUHUU {
3611
3612
  property: JUHUU.Property.Object;
3612
3613
  };
3613
3614
  }
3614
- export namespace Update {
3615
+ namespace Update {
3615
3616
  type Params = {
3616
3617
  propertyId: string;
3617
3618
  name?: string;
@@ -3636,7 +3637,7 @@ declare namespace JUHUU {
3636
3637
  property: JUHUU.Property.Object;
3637
3638
  };
3638
3639
  }
3639
- export namespace Onboarding {
3640
+ namespace Onboarding {
3640
3641
  type Params = {
3641
3642
  logo: string;
3642
3643
  primaryColor: string;
@@ -3649,14 +3650,13 @@ declare namespace JUHUU {
3649
3650
  property: JUHUU.Property.Object;
3650
3651
  };
3651
3652
  }
3652
- export namespace Delete {
3653
+ namespace Delete {
3653
3654
  type Params = {
3654
3655
  propertyId: string;
3655
3656
  };
3656
3657
  type Options = JUHUU.RequestOptions;
3657
3658
  type Response = JUHUU.Property.Object;
3658
3659
  }
3659
- export { };
3660
3660
  }
3661
3661
  namespace Point {
3662
3662
  type Base = {
@@ -4477,6 +4477,8 @@ declare namespace JUHUU {
4477
4477
  description: string;
4478
4478
  imageUrlArray: string[];
4479
4479
  incidentTemplateId: string | null;
4480
+ responsiblesNotified: boolean;
4481
+ affectedNotified: boolean;
4480
4482
  };
4481
4483
  export interface Location extends Base {
4482
4484
  type: "location";
@@ -4551,6 +4553,16 @@ declare namespace JUHUU {
4551
4553
  incident: JUHUU.Incident.Object;
4552
4554
  };
4553
4555
  }
4556
+ export namespace NotifyAffected {
4557
+ type Params = {
4558
+ incidentId: string;
4559
+ message: string;
4560
+ };
4561
+ type Options = JUHUU.RequestOptions;
4562
+ type Response = {
4563
+ incident: JUHUU.Incident.Object;
4564
+ };
4565
+ }
4554
4566
  export { };
4555
4567
  }
4556
4568
  namespace IncidentTemplate {
@@ -4643,6 +4655,7 @@ declare namespace JUHUU {
4643
4655
  }
4644
4656
  export interface Number extends Base {
4645
4657
  type: "number";
4658
+ unit: Unit | null;
4646
4659
  currentValue: number;
4647
4660
  }
4648
4661
  export interface Enum extends Base {
@@ -4760,6 +4773,7 @@ declare namespace JUHUU {
4760
4773
  featureReference: string;
4761
4774
  shapValues: [number, number, number] | null;
4762
4775
  isOutlier: boolean;
4776
+ unit: Unit | null;
4763
4777
  }>;
4764
4778
  anomalyDescription: string | null;
4765
4779
  };
@@ -4806,7 +4820,10 @@ declare namespace JUHUU {
4806
4820
  parameterAnomalyGroupId: string;
4807
4821
  parameterAnomalyGroupTrackerId?: string;
4808
4822
  name?: string;
4809
- featureReferenceParameterIdArray?: JUHUU.ParameterAnomalyGroup.Object["featureReferenceParameterIdArray"];
4823
+ featureReferenceParameterIdArray?: Array<{
4824
+ parameterId: string;
4825
+ featureReference: string;
4826
+ }>;
4810
4827
  };
4811
4828
  type Options = JUHUU.RequestOptions;
4812
4829
  type Response = {
@@ -4920,6 +4937,7 @@ declare namespace JUHUU {
4920
4937
  }
4921
4938
  export interface Number extends Base {
4922
4939
  type: "number";
4940
+ unit: Unit | null;
4923
4941
  currentValue: number;
4924
4942
  }
4925
4943
  export interface Enum extends Base {
@@ -6694,4 +6712,4 @@ declare namespace JUHUU {
6694
6712
  }
6695
6713
  }
6696
6714
 
6697
- export { type AccessControlListElement, type Address, type ApiKeyScope, type ApiKeyStatus, type AutoRenewMode, type BaseBlock, type BenefitCardCopyBlock, type BenefitCardCopyBlockInputs, type BenefitCardListBlock, type BenefitCardListBlockInputs, type BenefitCardRetrieveBlock, type BenefitCardRetrieveBlockInputs, type BenefitCardUpdateBlock, type BenefitCardUpdateBlockInputs, type BlockExecutor, type BusinessType, type Capability, type Category, type Circumstance, type Color, type ColorScheme, type Command, type Condition, ConditionType, type ConstBooleanBlock, type ConstNumberBlock, type ConstTextBlock, type ControlEdgeConnection, type CountryCode, CountryCodeArray, type CurrencyCode, CurrencyCodeArray, type CustomClaims, type DataEdgeConnection, type DeepNullable, type DevicePermission, type DeviceRetrieveBlock, type DeviceRetrieveBlockInputs, type DeviceStatus, type DeviceType, type DeviceUpdateBlock, type DeviceUpdateBlockInputs, type EndCustomBlock, type Environment, type EnvironmentSettings, type ExtractType, type FlowBlock, type FlowBlockInput, type FlowControlEdge, type FlowDataEdge, type FlowEdge, type FlowExecuteBlock, type FlowExecuteBlockInputs, type FlowExecutionEnvironment, type FlowLog, type FlowStatus, type Frontend, type GeneralSettings, type GeoPoint, type GraphNode, type HttpDeleteBlock, type HttpDeleteBlockInputs, type HttpGetBlock, type HttpGetBlockInputs, type HttpPatchBlock, type HttpPostBlock, type HttpPostBlockInputs, type HttpPutBlock, type HttpPutBlockInputs, type HttpsPatchBlockInputs, type IfBlock, type IncidentCreateBlock, type IncidentCreateBlockInputs, type IncidentRetrieveBlock, type IncidentRetrieveBlockInputs, JUHUU, type JsonLogic, Juhuu, type KitStatus, type LanguageCode, LanguageCodeArray, Layout, type LayoutBlock, type License, type LicenseTariffIdMap, type LinkType, type LocaleString, type LocationRetrieveBlock, type LocationRetrieveBlockInputs, type LocationUpdateBlock, type LocationUpdateBlockInputs, type MapConstructBlock, type MapConstructBlockInputs, type MapDestructureBlock, type MapDestructureBlockInputs, type MapFilter, type MathAddBlock, type MathAddBlockInputs, type MathDivideBlock, type MathDivideBlockInputs, type MathMultiplyBlock, type MathMultiplyBlockInputs, type MathSubtractBlock, type MathSubtractBlockInputs, type Modality, type MqttSendBlock, type MqttSendBlockInputs, Offer, type OfferTime, type PanelDisplay, type ParamDefinition, type ParamType, type ParameterRetrieveBlock, type ParameterRetrieveBlockInputs, type ParameterUpdateBlock, type ParameterUpdateBlockInputs, type Party, type PaymentMethod, type PaymentReason, type PaymentRefundReason, type PaymentRefundStatus, type PaymentServiceProvider, type PaymentStatus, type PayoutSettings, type PayoutStatus, type PermissionTypes, type Person, type Platform, type PlatformString, type PostingRow, type PropertyRetrieveBlock, type PropertyRetrieveBlockInputs, type PropertyUpdateBlock, type PropertyUpdateBlockInputs, type ProximityStrategy, type Purpose, type PushToken, type QuickAction, type QuickView, ReadonlyCategoryArray, ReadonlyModalityArray, ReadonlySectorArray, type RefundStatus, type Sector, type SessionCannotTerminateReason, type SessionRetrieveBlock, type SessionRetrieveBlockInputs, type SessionSettings, type SessionStatus, type SessionTerminateBlock, type SessionTerminateBlockInputs, type SessionTerminatedByType, type SessionType, Settings, type SimStatus, type StarRating, type StartCustomBlock, type StartLocationUpdateBlock, type StartParameterUpdateBlock, type StartQuickActionLocationBlock, type StartSessionUpdateBlock, type SwitchBlock, type SystemLogBlock, type SystemLogBlockInputs, type TarifType, type TaxCode, type TextMatchBlock, type TextMatchBlockInputs, type TimeZone, type UiNavigateScreenBlock, type UiNavigateScreenBlockInputs, type Unit, type UserCreateBlock, type UserCreateBlockInputs, type UserGroup, type UserRetrieveBlock, type UserRetrieveBlockInputs, type UserType, type Utilization, type VariableGetBlock, type VariableGetBlockInputs, type VariableSetBlock, type VariableSetBlockInputs, type VeloBrushDeviceDocumentUserManualStep, type Viewport, type ViewportPolygon, type VisualPriority, type hexColor };
6715
+ export { type AccessControlListElement, type AdditionalSubscriptionItem, type Address, type ApiKeyScope, type ApiKeyStatus, type AutoRenewMode, type BaseBlock, type BenefitCardCopyBlock, type BenefitCardCopyBlockInputs, type BenefitCardListBlock, type BenefitCardListBlockInputs, type BenefitCardRetrieveBlock, type BenefitCardRetrieveBlockInputs, type BenefitCardUpdateBlock, type BenefitCardUpdateBlockInputs, type BlockExecutor, type BusinessType, type Capability, type Category, type Circumstance, type Color, type ColorScheme, type Command, type Condition, ConditionType, type ConstBooleanBlock, type ConstNumberBlock, type ConstTextBlock, type ControlEdgeConnection, type CountryCode, CountryCodeArray, type CurrencyCode, CurrencyCodeArray, type CustomClaims, type DataEdgeConnection, type DeepNullable, type DevicePermission, type DeviceRetrieveBlock, type DeviceRetrieveBlockInputs, type DeviceStatus, type DeviceType, type DeviceUpdateBlock, type DeviceUpdateBlockInputs, type EndCustomBlock, type Environment, type EnvironmentSettings, type ExtractType, type FlowBlock, type FlowBlockInput, type FlowControlEdge, type FlowDataEdge, type FlowEdge, type FlowExecuteBlock, type FlowExecuteBlockInputs, type FlowExecutionEnvironment, type FlowLog, type FlowStatus, type Frontend, type GeneralSettings, type GeoPoint, type GraphNode, type HttpDeleteBlock, type HttpDeleteBlockInputs, type HttpGetBlock, type HttpGetBlockInputs, type HttpPatchBlock, type HttpPostBlock, type HttpPostBlockInputs, type HttpPutBlock, type HttpPutBlockInputs, type HttpsPatchBlockInputs, type IfBlock, type IncidentCreateBlock, type IncidentCreateBlockInputs, type IncidentRetrieveBlock, type IncidentRetrieveBlockInputs, JUHUU, type JsonLogic, Juhuu, type KitStatus, type LanguageCode, LanguageCodeArray, Layout, type LayoutBlock, type License, type LicenseTariffIdMap, type LinkType, type LocaleString, type LocationRetrieveBlock, type LocationRetrieveBlockInputs, type LocationUpdateBlock, type LocationUpdateBlockInputs, type MapConstructBlock, type MapConstructBlockInputs, type MapDestructureBlock, type MapDestructureBlockInputs, type MapFilter, type MathAddBlock, type MathAddBlockInputs, type MathDivideBlock, type MathDivideBlockInputs, type MathMultiplyBlock, type MathMultiplyBlockInputs, type MathSubtractBlock, type MathSubtractBlockInputs, type Modality, type MqttSendBlock, type MqttSendBlockInputs, Offer, type OfferTime, type PanelDisplay, type ParamDefinition, type ParamType, type ParameterRetrieveBlock, type ParameterRetrieveBlockInputs, type ParameterUpdateBlock, type ParameterUpdateBlockInputs, type Party, type PaymentMethod, type PaymentReason, type PaymentRefundReason, type PaymentRefundStatus, type PaymentServiceProvider, type PaymentStatus, type PayoutSettings, type PayoutStatus, type PermissionTypes, type Person, type Platform, type PlatformString, type PostingRow, type PropertyAgreement, type PropertyRetrieveBlock, type PropertyRetrieveBlockInputs, type PropertyUpdateBlock, type PropertyUpdateBlockInputs, type ProximityStrategy, type Purpose, type PushToken, type QuickAction, type QuickView, ReadonlyCategoryArray, ReadonlyModalityArray, ReadonlySectorArray, type RefundStatus, type Sector, type SessionCannotTerminateReason, type SessionRetrieveBlock, type SessionRetrieveBlockInputs, type SessionSettings, type SessionStatus, type SessionTerminateBlock, type SessionTerminateBlockInputs, type SessionTerminatedByType, type SessionType, Settings, type SimStatus, type StarRating, type StartCustomBlock, type StartLocationUpdateBlock, type StartParameterUpdateBlock, type StartQuickActionLocationBlock, type StartSessionUpdateBlock, type SwitchBlock, type SystemLogBlock, type SystemLogBlockInputs, type TarifType, type TaxCode, type TextMatchBlock, type TextMatchBlockInputs, type TimeZone, type UiNavigateScreenBlock, type UiNavigateScreenBlockInputs, type Unit, type UserCreateBlock, type UserCreateBlockInputs, type UserGroup, type UserRetrieveBlock, type UserRetrieveBlockInputs, type UserType, type Utilization, type VariableGetBlock, type VariableGetBlockInputs, type VariableSetBlock, type VariableSetBlockInputs, type VeloBrushDeviceDocumentUserManualStep, type Viewport, type ViewportPolygon, type VisualPriority, type hexColor };
package/dist/index.js CHANGED
@@ -530,7 +530,8 @@ var SessionService = class extends Service {
530
530
  autoRenew: SessionCreateParams.autoRenew,
531
531
  type: SessionCreateParams.sessionType,
532
532
  isOffSession: SessionCreateParams.isOffSession,
533
- userId: SessionCreateParams.userId
533
+ userId: SessionCreateParams.userId,
534
+ propertyId: SessionCreateParams.propertyId
534
535
  },
535
536
  authenticationNotOptional: true
536
537
  },
@@ -1130,8 +1131,7 @@ var PropertiesService = class extends Service {
1130
1131
  url: "properties",
1131
1132
  body: {
1132
1133
  userId: PropertyCreateParams.userId,
1133
- name: PropertyCreateParams.name,
1134
- type: PropertyCreateParams.type
1134
+ name: PropertyCreateParams.name
1135
1135
  },
1136
1136
  authenticationNotOptional: true
1137
1137
  },
@@ -3441,6 +3441,19 @@ var IncidentsService = class extends Service {
3441
3441
  IncidentUpdateOptions
3442
3442
  );
3443
3443
  }
3444
+ async notifyAffected(IncidentNotifyAffectedParams, IncidentNotifyAffectedOptions) {
3445
+ return await super.sendRequest(
3446
+ {
3447
+ method: "POST",
3448
+ url: "incidents/" + IncidentNotifyAffectedParams.incidentId + "/notifyAffected",
3449
+ body: {
3450
+ message: IncidentNotifyAffectedParams.message
3451
+ },
3452
+ authenticationNotOptional: true
3453
+ },
3454
+ IncidentNotifyAffectedOptions
3455
+ );
3456
+ }
3444
3457
  };
3445
3458
 
3446
3459
  // src/parameterAnomalyGroups/parameterAnomalyGroups.service.ts
package/dist/index.mjs CHANGED
@@ -486,7 +486,8 @@ var SessionService = class extends Service {
486
486
  autoRenew: SessionCreateParams.autoRenew,
487
487
  type: SessionCreateParams.sessionType,
488
488
  isOffSession: SessionCreateParams.isOffSession,
489
- userId: SessionCreateParams.userId
489
+ userId: SessionCreateParams.userId,
490
+ propertyId: SessionCreateParams.propertyId
490
491
  },
491
492
  authenticationNotOptional: true
492
493
  },
@@ -1086,8 +1087,7 @@ var PropertiesService = class extends Service {
1086
1087
  url: "properties",
1087
1088
  body: {
1088
1089
  userId: PropertyCreateParams.userId,
1089
- name: PropertyCreateParams.name,
1090
- type: PropertyCreateParams.type
1090
+ name: PropertyCreateParams.name
1091
1091
  },
1092
1092
  authenticationNotOptional: true
1093
1093
  },
@@ -3397,6 +3397,19 @@ var IncidentsService = class extends Service {
3397
3397
  IncidentUpdateOptions
3398
3398
  );
3399
3399
  }
3400
+ async notifyAffected(IncidentNotifyAffectedParams, IncidentNotifyAffectedOptions) {
3401
+ return await super.sendRequest(
3402
+ {
3403
+ method: "POST",
3404
+ url: "incidents/" + IncidentNotifyAffectedParams.incidentId + "/notifyAffected",
3405
+ body: {
3406
+ message: IncidentNotifyAffectedParams.message
3407
+ },
3408
+ authenticationNotOptional: true
3409
+ },
3410
+ IncidentNotifyAffectedOptions
3411
+ );
3412
+ }
3400
3413
  };
3401
3414
 
3402
3415
  // src/parameterAnomalyGroups/parameterAnomalyGroups.service.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juhuu/sdk-ts",
3
- "version": "1.2.306",
3
+ "version": "1.2.308",
4
4
  "description": "Typescript wrapper for JUHUU services",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",