@juhuu/sdk-ts 1.2.305 → 1.2.307
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 +49 -31
- package/dist/index.d.ts +49 -31
- package/dist/index.js +17 -3
- package/dist/index.mjs +17 -3
- package/package.json +1 -1
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 {
|
|
@@ -3469,7 +3483,7 @@ declare namespace JUHUU {
|
|
|
3469
3483
|
export { };
|
|
3470
3484
|
}
|
|
3471
3485
|
namespace Property {
|
|
3472
|
-
type
|
|
3486
|
+
type Object = {
|
|
3473
3487
|
id: string;
|
|
3474
3488
|
readonly object: "property";
|
|
3475
3489
|
email: string | null;
|
|
@@ -3485,8 +3499,6 @@ declare namespace JUHUU {
|
|
|
3485
3499
|
version: number;
|
|
3486
3500
|
colorScheme: ColorScheme;
|
|
3487
3501
|
contactUrl: string | null;
|
|
3488
|
-
};
|
|
3489
|
-
export interface Internal extends Base {
|
|
3490
3502
|
type: "internal";
|
|
3491
3503
|
legalName: string | null;
|
|
3492
3504
|
emailSignature: string | null;
|
|
@@ -3522,33 +3534,21 @@ declare namespace JUHUU {
|
|
|
3522
3534
|
*/
|
|
3523
3535
|
stripeSubscriptionId: string | null;
|
|
3524
3536
|
subscriptionStatus: "manual" | "inactive" | "waitingForActivationConfirmation" | "active" | "waitingForExpiry";
|
|
3537
|
+
additionalSubscriptionItemArray: AdditionalSubscriptionItem[];
|
|
3525
3538
|
capabilityArray: Capability[];
|
|
3526
|
-
agreement:
|
|
3527
|
-
|
|
3528
|
-
|
|
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 {
|
|
3539
|
+
agreement: PropertyAgreement;
|
|
3540
|
+
};
|
|
3541
|
+
namespace Create {
|
|
3541
3542
|
type Params = {
|
|
3542
3543
|
userId?: string;
|
|
3543
3544
|
name: string;
|
|
3544
|
-
type?: JUHUU.Property.Object["type"];
|
|
3545
3545
|
};
|
|
3546
3546
|
type Options = {};
|
|
3547
3547
|
type Response = {
|
|
3548
3548
|
property: JUHUU.Property.Object;
|
|
3549
3549
|
};
|
|
3550
3550
|
}
|
|
3551
|
-
|
|
3551
|
+
namespace Retrieve {
|
|
3552
3552
|
type Params = {
|
|
3553
3553
|
propertyId: string;
|
|
3554
3554
|
};
|
|
@@ -3557,14 +3557,14 @@ declare namespace JUHUU {
|
|
|
3557
3557
|
property: JUHUU.Property.Object;
|
|
3558
3558
|
};
|
|
3559
3559
|
}
|
|
3560
|
-
|
|
3560
|
+
namespace List {
|
|
3561
3561
|
type Params = {
|
|
3562
3562
|
userId?: string;
|
|
3563
3563
|
};
|
|
3564
3564
|
type Options = JUHUU.RequestOptions;
|
|
3565
3565
|
type Response = JUHUU.Property.Object[];
|
|
3566
3566
|
}
|
|
3567
|
-
|
|
3567
|
+
namespace RetrieveStripeConnectPortalUrl {
|
|
3568
3568
|
type Params = {
|
|
3569
3569
|
propertyId: string;
|
|
3570
3570
|
};
|
|
@@ -3573,7 +3573,7 @@ declare namespace JUHUU {
|
|
|
3573
3573
|
url: string;
|
|
3574
3574
|
};
|
|
3575
3575
|
}
|
|
3576
|
-
|
|
3576
|
+
namespace RetrieveStripeCustomerPortalUrl {
|
|
3577
3577
|
type Params = {
|
|
3578
3578
|
propertyId: string;
|
|
3579
3579
|
};
|
|
@@ -3582,7 +3582,7 @@ declare namespace JUHUU {
|
|
|
3582
3582
|
url: string;
|
|
3583
3583
|
};
|
|
3584
3584
|
}
|
|
3585
|
-
|
|
3585
|
+
namespace RetrieveStripeSubscriptionStartUrl {
|
|
3586
3586
|
type Params = {
|
|
3587
3587
|
propertyId: string;
|
|
3588
3588
|
};
|
|
@@ -3591,7 +3591,7 @@ declare namespace JUHUU {
|
|
|
3591
3591
|
url: string;
|
|
3592
3592
|
};
|
|
3593
3593
|
}
|
|
3594
|
-
|
|
3594
|
+
namespace EnableCapability {
|
|
3595
3595
|
type Params = {
|
|
3596
3596
|
propertyId: string;
|
|
3597
3597
|
capabilityType: Capability["type"];
|
|
@@ -3602,7 +3602,7 @@ declare namespace JUHUU {
|
|
|
3602
3602
|
property: JUHUU.Property.Object;
|
|
3603
3603
|
};
|
|
3604
3604
|
}
|
|
3605
|
-
|
|
3605
|
+
namespace AcceptLatestAgreement {
|
|
3606
3606
|
type Params = {
|
|
3607
3607
|
propertyId: string;
|
|
3608
3608
|
};
|
|
@@ -3611,7 +3611,7 @@ declare namespace JUHUU {
|
|
|
3611
3611
|
property: JUHUU.Property.Object;
|
|
3612
3612
|
};
|
|
3613
3613
|
}
|
|
3614
|
-
|
|
3614
|
+
namespace Update {
|
|
3615
3615
|
type Params = {
|
|
3616
3616
|
propertyId: string;
|
|
3617
3617
|
name?: string;
|
|
@@ -3636,7 +3636,7 @@ declare namespace JUHUU {
|
|
|
3636
3636
|
property: JUHUU.Property.Object;
|
|
3637
3637
|
};
|
|
3638
3638
|
}
|
|
3639
|
-
|
|
3639
|
+
namespace Onboarding {
|
|
3640
3640
|
type Params = {
|
|
3641
3641
|
logo: string;
|
|
3642
3642
|
primaryColor: string;
|
|
@@ -3649,14 +3649,13 @@ declare namespace JUHUU {
|
|
|
3649
3649
|
property: JUHUU.Property.Object;
|
|
3650
3650
|
};
|
|
3651
3651
|
}
|
|
3652
|
-
|
|
3652
|
+
namespace Delete {
|
|
3653
3653
|
type Params = {
|
|
3654
3654
|
propertyId: string;
|
|
3655
3655
|
};
|
|
3656
3656
|
type Options = JUHUU.RequestOptions;
|
|
3657
3657
|
type Response = JUHUU.Property.Object;
|
|
3658
3658
|
}
|
|
3659
|
-
export { };
|
|
3660
3659
|
}
|
|
3661
3660
|
namespace Point {
|
|
3662
3661
|
type Base = {
|
|
@@ -4551,6 +4550,16 @@ declare namespace JUHUU {
|
|
|
4551
4550
|
incident: JUHUU.Incident.Object;
|
|
4552
4551
|
};
|
|
4553
4552
|
}
|
|
4553
|
+
export namespace NotifyAffected {
|
|
4554
|
+
type Params = {
|
|
4555
|
+
incidentId: string;
|
|
4556
|
+
message: string;
|
|
4557
|
+
};
|
|
4558
|
+
type Options = JUHUU.RequestOptions;
|
|
4559
|
+
type Response = {
|
|
4560
|
+
incident: JUHUU.Incident.Object;
|
|
4561
|
+
};
|
|
4562
|
+
}
|
|
4554
4563
|
export { };
|
|
4555
4564
|
}
|
|
4556
4565
|
namespace IncidentTemplate {
|
|
@@ -4643,6 +4652,7 @@ declare namespace JUHUU {
|
|
|
4643
4652
|
}
|
|
4644
4653
|
export interface Number extends Base {
|
|
4645
4654
|
type: "number";
|
|
4655
|
+
unit: Unit | null;
|
|
4646
4656
|
currentValue: number;
|
|
4647
4657
|
}
|
|
4648
4658
|
export interface Enum extends Base {
|
|
@@ -4760,6 +4770,7 @@ declare namespace JUHUU {
|
|
|
4760
4770
|
featureReference: string;
|
|
4761
4771
|
shapValues: [number, number, number] | null;
|
|
4762
4772
|
isOutlier: boolean;
|
|
4773
|
+
unit: Unit | null;
|
|
4763
4774
|
}>;
|
|
4764
4775
|
anomalyDescription: string | null;
|
|
4765
4776
|
};
|
|
@@ -4804,6 +4815,12 @@ declare namespace JUHUU {
|
|
|
4804
4815
|
namespace Update {
|
|
4805
4816
|
type Params = {
|
|
4806
4817
|
parameterAnomalyGroupId: string;
|
|
4818
|
+
parameterAnomalyGroupTrackerId?: string;
|
|
4819
|
+
name?: string;
|
|
4820
|
+
featureReferenceParameterIdArray?: Array<{
|
|
4821
|
+
parameterId: string;
|
|
4822
|
+
featureReference: string;
|
|
4823
|
+
}>;
|
|
4807
4824
|
};
|
|
4808
4825
|
type Options = JUHUU.RequestOptions;
|
|
4809
4826
|
type Response = {
|
|
@@ -4917,6 +4934,7 @@ declare namespace JUHUU {
|
|
|
4917
4934
|
}
|
|
4918
4935
|
export interface Number extends Base {
|
|
4919
4936
|
type: "number";
|
|
4937
|
+
unit: Unit | null;
|
|
4920
4938
|
currentValue: number;
|
|
4921
4939
|
}
|
|
4922
4940
|
export interface Enum extends Base {
|
|
@@ -6691,4 +6709,4 @@ declare namespace JUHUU {
|
|
|
6691
6709
|
}
|
|
6692
6710
|
}
|
|
6693
6711
|
|
|
6694
|
-
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 };
|
|
6712
|
+
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 {
|
|
@@ -3469,7 +3483,7 @@ declare namespace JUHUU {
|
|
|
3469
3483
|
export { };
|
|
3470
3484
|
}
|
|
3471
3485
|
namespace Property {
|
|
3472
|
-
type
|
|
3486
|
+
type Object = {
|
|
3473
3487
|
id: string;
|
|
3474
3488
|
readonly object: "property";
|
|
3475
3489
|
email: string | null;
|
|
@@ -3485,8 +3499,6 @@ declare namespace JUHUU {
|
|
|
3485
3499
|
version: number;
|
|
3486
3500
|
colorScheme: ColorScheme;
|
|
3487
3501
|
contactUrl: string | null;
|
|
3488
|
-
};
|
|
3489
|
-
export interface Internal extends Base {
|
|
3490
3502
|
type: "internal";
|
|
3491
3503
|
legalName: string | null;
|
|
3492
3504
|
emailSignature: string | null;
|
|
@@ -3522,33 +3534,21 @@ declare namespace JUHUU {
|
|
|
3522
3534
|
*/
|
|
3523
3535
|
stripeSubscriptionId: string | null;
|
|
3524
3536
|
subscriptionStatus: "manual" | "inactive" | "waitingForActivationConfirmation" | "active" | "waitingForExpiry";
|
|
3537
|
+
additionalSubscriptionItemArray: AdditionalSubscriptionItem[];
|
|
3525
3538
|
capabilityArray: Capability[];
|
|
3526
|
-
agreement:
|
|
3527
|
-
|
|
3528
|
-
|
|
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 {
|
|
3539
|
+
agreement: PropertyAgreement;
|
|
3540
|
+
};
|
|
3541
|
+
namespace Create {
|
|
3541
3542
|
type Params = {
|
|
3542
3543
|
userId?: string;
|
|
3543
3544
|
name: string;
|
|
3544
|
-
type?: JUHUU.Property.Object["type"];
|
|
3545
3545
|
};
|
|
3546
3546
|
type Options = {};
|
|
3547
3547
|
type Response = {
|
|
3548
3548
|
property: JUHUU.Property.Object;
|
|
3549
3549
|
};
|
|
3550
3550
|
}
|
|
3551
|
-
|
|
3551
|
+
namespace Retrieve {
|
|
3552
3552
|
type Params = {
|
|
3553
3553
|
propertyId: string;
|
|
3554
3554
|
};
|
|
@@ -3557,14 +3557,14 @@ declare namespace JUHUU {
|
|
|
3557
3557
|
property: JUHUU.Property.Object;
|
|
3558
3558
|
};
|
|
3559
3559
|
}
|
|
3560
|
-
|
|
3560
|
+
namespace List {
|
|
3561
3561
|
type Params = {
|
|
3562
3562
|
userId?: string;
|
|
3563
3563
|
};
|
|
3564
3564
|
type Options = JUHUU.RequestOptions;
|
|
3565
3565
|
type Response = JUHUU.Property.Object[];
|
|
3566
3566
|
}
|
|
3567
|
-
|
|
3567
|
+
namespace RetrieveStripeConnectPortalUrl {
|
|
3568
3568
|
type Params = {
|
|
3569
3569
|
propertyId: string;
|
|
3570
3570
|
};
|
|
@@ -3573,7 +3573,7 @@ declare namespace JUHUU {
|
|
|
3573
3573
|
url: string;
|
|
3574
3574
|
};
|
|
3575
3575
|
}
|
|
3576
|
-
|
|
3576
|
+
namespace RetrieveStripeCustomerPortalUrl {
|
|
3577
3577
|
type Params = {
|
|
3578
3578
|
propertyId: string;
|
|
3579
3579
|
};
|
|
@@ -3582,7 +3582,7 @@ declare namespace JUHUU {
|
|
|
3582
3582
|
url: string;
|
|
3583
3583
|
};
|
|
3584
3584
|
}
|
|
3585
|
-
|
|
3585
|
+
namespace RetrieveStripeSubscriptionStartUrl {
|
|
3586
3586
|
type Params = {
|
|
3587
3587
|
propertyId: string;
|
|
3588
3588
|
};
|
|
@@ -3591,7 +3591,7 @@ declare namespace JUHUU {
|
|
|
3591
3591
|
url: string;
|
|
3592
3592
|
};
|
|
3593
3593
|
}
|
|
3594
|
-
|
|
3594
|
+
namespace EnableCapability {
|
|
3595
3595
|
type Params = {
|
|
3596
3596
|
propertyId: string;
|
|
3597
3597
|
capabilityType: Capability["type"];
|
|
@@ -3602,7 +3602,7 @@ declare namespace JUHUU {
|
|
|
3602
3602
|
property: JUHUU.Property.Object;
|
|
3603
3603
|
};
|
|
3604
3604
|
}
|
|
3605
|
-
|
|
3605
|
+
namespace AcceptLatestAgreement {
|
|
3606
3606
|
type Params = {
|
|
3607
3607
|
propertyId: string;
|
|
3608
3608
|
};
|
|
@@ -3611,7 +3611,7 @@ declare namespace JUHUU {
|
|
|
3611
3611
|
property: JUHUU.Property.Object;
|
|
3612
3612
|
};
|
|
3613
3613
|
}
|
|
3614
|
-
|
|
3614
|
+
namespace Update {
|
|
3615
3615
|
type Params = {
|
|
3616
3616
|
propertyId: string;
|
|
3617
3617
|
name?: string;
|
|
@@ -3636,7 +3636,7 @@ declare namespace JUHUU {
|
|
|
3636
3636
|
property: JUHUU.Property.Object;
|
|
3637
3637
|
};
|
|
3638
3638
|
}
|
|
3639
|
-
|
|
3639
|
+
namespace Onboarding {
|
|
3640
3640
|
type Params = {
|
|
3641
3641
|
logo: string;
|
|
3642
3642
|
primaryColor: string;
|
|
@@ -3649,14 +3649,13 @@ declare namespace JUHUU {
|
|
|
3649
3649
|
property: JUHUU.Property.Object;
|
|
3650
3650
|
};
|
|
3651
3651
|
}
|
|
3652
|
-
|
|
3652
|
+
namespace Delete {
|
|
3653
3653
|
type Params = {
|
|
3654
3654
|
propertyId: string;
|
|
3655
3655
|
};
|
|
3656
3656
|
type Options = JUHUU.RequestOptions;
|
|
3657
3657
|
type Response = JUHUU.Property.Object;
|
|
3658
3658
|
}
|
|
3659
|
-
export { };
|
|
3660
3659
|
}
|
|
3661
3660
|
namespace Point {
|
|
3662
3661
|
type Base = {
|
|
@@ -4551,6 +4550,16 @@ declare namespace JUHUU {
|
|
|
4551
4550
|
incident: JUHUU.Incident.Object;
|
|
4552
4551
|
};
|
|
4553
4552
|
}
|
|
4553
|
+
export namespace NotifyAffected {
|
|
4554
|
+
type Params = {
|
|
4555
|
+
incidentId: string;
|
|
4556
|
+
message: string;
|
|
4557
|
+
};
|
|
4558
|
+
type Options = JUHUU.RequestOptions;
|
|
4559
|
+
type Response = {
|
|
4560
|
+
incident: JUHUU.Incident.Object;
|
|
4561
|
+
};
|
|
4562
|
+
}
|
|
4554
4563
|
export { };
|
|
4555
4564
|
}
|
|
4556
4565
|
namespace IncidentTemplate {
|
|
@@ -4643,6 +4652,7 @@ declare namespace JUHUU {
|
|
|
4643
4652
|
}
|
|
4644
4653
|
export interface Number extends Base {
|
|
4645
4654
|
type: "number";
|
|
4655
|
+
unit: Unit | null;
|
|
4646
4656
|
currentValue: number;
|
|
4647
4657
|
}
|
|
4648
4658
|
export interface Enum extends Base {
|
|
@@ -4760,6 +4770,7 @@ declare namespace JUHUU {
|
|
|
4760
4770
|
featureReference: string;
|
|
4761
4771
|
shapValues: [number, number, number] | null;
|
|
4762
4772
|
isOutlier: boolean;
|
|
4773
|
+
unit: Unit | null;
|
|
4763
4774
|
}>;
|
|
4764
4775
|
anomalyDescription: string | null;
|
|
4765
4776
|
};
|
|
@@ -4804,6 +4815,12 @@ declare namespace JUHUU {
|
|
|
4804
4815
|
namespace Update {
|
|
4805
4816
|
type Params = {
|
|
4806
4817
|
parameterAnomalyGroupId: string;
|
|
4818
|
+
parameterAnomalyGroupTrackerId?: string;
|
|
4819
|
+
name?: string;
|
|
4820
|
+
featureReferenceParameterIdArray?: Array<{
|
|
4821
|
+
parameterId: string;
|
|
4822
|
+
featureReference: string;
|
|
4823
|
+
}>;
|
|
4807
4824
|
};
|
|
4808
4825
|
type Options = JUHUU.RequestOptions;
|
|
4809
4826
|
type Response = {
|
|
@@ -4917,6 +4934,7 @@ declare namespace JUHUU {
|
|
|
4917
4934
|
}
|
|
4918
4935
|
export interface Number extends Base {
|
|
4919
4936
|
type: "number";
|
|
4937
|
+
unit: Unit | null;
|
|
4920
4938
|
currentValue: number;
|
|
4921
4939
|
}
|
|
4922
4940
|
export interface Enum extends Base {
|
|
@@ -6691,4 +6709,4 @@ declare namespace JUHUU {
|
|
|
6691
6709
|
}
|
|
6692
6710
|
}
|
|
6693
6711
|
|
|
6694
|
-
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 };
|
|
6712
|
+
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
|
@@ -1130,8 +1130,7 @@ var PropertiesService = class extends Service {
|
|
|
1130
1130
|
url: "properties",
|
|
1131
1131
|
body: {
|
|
1132
1132
|
userId: PropertyCreateParams.userId,
|
|
1133
|
-
name: PropertyCreateParams.name
|
|
1134
|
-
type: PropertyCreateParams.type
|
|
1133
|
+
name: PropertyCreateParams.name
|
|
1135
1134
|
},
|
|
1136
1135
|
authenticationNotOptional: true
|
|
1137
1136
|
},
|
|
@@ -3441,6 +3440,19 @@ var IncidentsService = class extends Service {
|
|
|
3441
3440
|
IncidentUpdateOptions
|
|
3442
3441
|
);
|
|
3443
3442
|
}
|
|
3443
|
+
async notifyAffected(IncidentNotifyAffectedParams, IncidentNotifyAffectedOptions) {
|
|
3444
|
+
return await super.sendRequest(
|
|
3445
|
+
{
|
|
3446
|
+
method: "POST",
|
|
3447
|
+
url: "incidents/" + IncidentNotifyAffectedParams.incidentId + "/notifyAffected",
|
|
3448
|
+
body: {
|
|
3449
|
+
message: IncidentNotifyAffectedParams.message
|
|
3450
|
+
},
|
|
3451
|
+
authenticationNotOptional: true
|
|
3452
|
+
},
|
|
3453
|
+
IncidentNotifyAffectedOptions
|
|
3454
|
+
);
|
|
3455
|
+
}
|
|
3444
3456
|
};
|
|
3445
3457
|
|
|
3446
3458
|
// src/parameterAnomalyGroups/parameterAnomalyGroups.service.ts
|
|
@@ -3515,7 +3527,9 @@ var ParameterAnomalyGroupsService = class extends Service {
|
|
|
3515
3527
|
method: "PATCH",
|
|
3516
3528
|
url: "parameterAnomalyGroups/" + ParameterAnomalyGroupUpdateParams.parameterAnomalyGroupId,
|
|
3517
3529
|
body: {
|
|
3518
|
-
|
|
3530
|
+
parameterAnomalyGroupTrackerId: ParameterAnomalyGroupUpdateParams.parameterAnomalyGroupTrackerId,
|
|
3531
|
+
name: ParameterAnomalyGroupUpdateParams.name,
|
|
3532
|
+
featureReferenceParameterIdArray: ParameterAnomalyGroupUpdateParams.featureReferenceParameterIdArray
|
|
3519
3533
|
},
|
|
3520
3534
|
authenticationNotOptional: true
|
|
3521
3535
|
},
|
package/dist/index.mjs
CHANGED
|
@@ -1086,8 +1086,7 @@ var PropertiesService = class extends Service {
|
|
|
1086
1086
|
url: "properties",
|
|
1087
1087
|
body: {
|
|
1088
1088
|
userId: PropertyCreateParams.userId,
|
|
1089
|
-
name: PropertyCreateParams.name
|
|
1090
|
-
type: PropertyCreateParams.type
|
|
1089
|
+
name: PropertyCreateParams.name
|
|
1091
1090
|
},
|
|
1092
1091
|
authenticationNotOptional: true
|
|
1093
1092
|
},
|
|
@@ -3397,6 +3396,19 @@ var IncidentsService = class extends Service {
|
|
|
3397
3396
|
IncidentUpdateOptions
|
|
3398
3397
|
);
|
|
3399
3398
|
}
|
|
3399
|
+
async notifyAffected(IncidentNotifyAffectedParams, IncidentNotifyAffectedOptions) {
|
|
3400
|
+
return await super.sendRequest(
|
|
3401
|
+
{
|
|
3402
|
+
method: "POST",
|
|
3403
|
+
url: "incidents/" + IncidentNotifyAffectedParams.incidentId + "/notifyAffected",
|
|
3404
|
+
body: {
|
|
3405
|
+
message: IncidentNotifyAffectedParams.message
|
|
3406
|
+
},
|
|
3407
|
+
authenticationNotOptional: true
|
|
3408
|
+
},
|
|
3409
|
+
IncidentNotifyAffectedOptions
|
|
3410
|
+
);
|
|
3411
|
+
}
|
|
3400
3412
|
};
|
|
3401
3413
|
|
|
3402
3414
|
// src/parameterAnomalyGroups/parameterAnomalyGroups.service.ts
|
|
@@ -3471,7 +3483,9 @@ var ParameterAnomalyGroupsService = class extends Service {
|
|
|
3471
3483
|
method: "PATCH",
|
|
3472
3484
|
url: "parameterAnomalyGroups/" + ParameterAnomalyGroupUpdateParams.parameterAnomalyGroupId,
|
|
3473
3485
|
body: {
|
|
3474
|
-
|
|
3486
|
+
parameterAnomalyGroupTrackerId: ParameterAnomalyGroupUpdateParams.parameterAnomalyGroupTrackerId,
|
|
3487
|
+
name: ParameterAnomalyGroupUpdateParams.name,
|
|
3488
|
+
featureReferenceParameterIdArray: ParameterAnomalyGroupUpdateParams.featureReferenceParameterIdArray
|
|
3475
3489
|
},
|
|
3476
3490
|
authenticationNotOptional: true
|
|
3477
3491
|
},
|