@juhuu/sdk-ts 1.2.283 → 1.2.285

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
@@ -932,7 +932,7 @@ interface UiNavigateScreenBlock extends BaseBlock {
932
932
  };
933
933
  }
934
934
  interface UiNavigateScreenBlockInputs {
935
- target: "panel" | "location";
935
+ screenName: string;
936
936
  transition: "push" | "replace";
937
937
  params: Record<string, any>;
938
938
  }
@@ -1091,6 +1091,19 @@ interface MapDestructureBlockInputs {
1091
1091
  map: Record<string, string | number | boolean>;
1092
1092
  keys: string[];
1093
1093
  }
1094
+ interface MapConstructBlock extends BaseBlock {
1095
+ type: "map.construct";
1096
+ data: {
1097
+ keys?: string[];
1098
+ };
1099
+ in: Record<string, DataEdgeConnection>;
1100
+ out: {
1101
+ map: DataEdgeConnection;
1102
+ };
1103
+ }
1104
+ interface MapConstructBlockInputs {
1105
+ [key: string]: any;
1106
+ }
1094
1107
  interface IfBlock extends BaseBlock {
1095
1108
  type: "control.if";
1096
1109
  in: Record<string, DataEdgeConnection>;
@@ -1292,8 +1305,8 @@ interface EndCustomBlock extends BaseBlock {
1292
1305
  outputParamDefinitionArray: ParamDefinition[];
1293
1306
  };
1294
1307
  }
1295
- type FlowBlock = StartCustomBlock | StartQuickActionLocationBlock | StartSessionUpdateBlock | StartLocationUpdateBlock | StartParameterUpdateBlock | ConstNumberBlock | ConstTextBlock | ConstBooleanBlock | MathAddBlock | MathSubtractBlock | MathMultiplyBlock | MathDivideBlock | MapDestructureBlock | ParameterRetrieveBlock | PropertyRetrieveBlock | LocationRetrieveBlock | SessionRetrieveBlock | DeviceRetrieveBlock | UserRetrieveBlock | UserCreateBlock | IncidentRetrieveBlock | ParameterUpdateBlock | DeviceUpdateBlock | LocationUpdateBlock | PropertyUpdateBlock | SessionTerminateBlock | SystemLogBlock | UiNavigateScreenBlock | IncidentCreateBlock | IfBlock | SwitchBlock | HttpPatchBlock | HttpGetBlock | HttpPostBlock | HttpDeleteBlock | HttpPutBlock | MqttSendBlock | FlowExecuteBlock | HttpPatchBlock | VariableSetBlock | VariableGetBlock | EndCustomBlock;
1296
- type FlowBlockInput = MathAddBlockInputs | MathSubtractBlockInputs | MathMultiplyBlockInputs | MathDivideBlockInputs | ParameterRetrieveBlockInputs | PropertyRetrieveBlockInputs | LocationRetrieveBlockInputs | SessionRetrieveBlockInputs | DeviceRetrieveBlockInputs | UserRetrieveBlockInputs | UserCreateBlockInputs | IncidentRetrieveBlockInputs | ParameterUpdateBlockInputs | DeviceUpdateBlockInputs | LocationUpdateBlockInputs | PropertyUpdateBlockInputs | SessionTerminateBlockInputs | SystemLogBlockInputs | UiNavigateScreenBlockInputs | IncidentCreateBlockInputs | HttpsPatchBlockInputs | HttpGetBlockInputs | HttpPostBlockInputs | HttpDeleteBlockInputs | HttpPutBlockInputs | MqttSendBlockInputs | FlowExecuteBlockInputs | MapDestructureBlockInputs | VariableSetBlockInputs | VariableGetBlockInputs | Record<string, unknown>;
1308
+ type FlowBlock = StartCustomBlock | StartQuickActionLocationBlock | StartSessionUpdateBlock | StartLocationUpdateBlock | StartParameterUpdateBlock | ConstNumberBlock | ConstTextBlock | ConstBooleanBlock | MathAddBlock | MathSubtractBlock | MathMultiplyBlock | MathDivideBlock | MapDestructureBlock | MapConstructBlock | ParameterRetrieveBlock | PropertyRetrieveBlock | LocationRetrieveBlock | SessionRetrieveBlock | DeviceRetrieveBlock | UserRetrieveBlock | UserCreateBlock | IncidentRetrieveBlock | ParameterUpdateBlock | DeviceUpdateBlock | LocationUpdateBlock | PropertyUpdateBlock | SessionTerminateBlock | SystemLogBlock | UiNavigateScreenBlock | IncidentCreateBlock | IfBlock | SwitchBlock | HttpPatchBlock | HttpGetBlock | HttpPostBlock | HttpDeleteBlock | HttpPutBlock | MqttSendBlock | FlowExecuteBlock | HttpPatchBlock | VariableSetBlock | VariableGetBlock | EndCustomBlock;
1309
+ type FlowBlockInput = MathAddBlockInputs | MathSubtractBlockInputs | MathMultiplyBlockInputs | MathDivideBlockInputs | ParameterRetrieveBlockInputs | PropertyRetrieveBlockInputs | LocationRetrieveBlockInputs | SessionRetrieveBlockInputs | DeviceRetrieveBlockInputs | UserRetrieveBlockInputs | UserCreateBlockInputs | IncidentRetrieveBlockInputs | ParameterUpdateBlockInputs | DeviceUpdateBlockInputs | LocationUpdateBlockInputs | PropertyUpdateBlockInputs | SessionTerminateBlockInputs | SystemLogBlockInputs | UiNavigateScreenBlockInputs | IncidentCreateBlockInputs | HttpsPatchBlockInputs | HttpGetBlockInputs | HttpPostBlockInputs | HttpDeleteBlockInputs | HttpPutBlockInputs | MqttSendBlockInputs | FlowExecuteBlockInputs | MapDestructureBlockInputs | MapConstructBlockInputs | VariableSetBlockInputs | VariableGetBlockInputs | Record<string, unknown>;
1297
1310
  interface FlowDataEdge {
1298
1311
  id: string;
1299
1312
  type: "data";
@@ -4335,7 +4348,11 @@ declare namespace JUHUU {
4335
4348
  type: "parameterAnomalyGroup";
4336
4349
  parameterAnomalyGroupId: string;
4337
4350
  }
4338
- export type Object = Location | Device | ParameterAnomalyGroup;
4351
+ export interface Sim extends Base {
4352
+ type: "sim";
4353
+ simId: string;
4354
+ }
4355
+ export type Object = Location | Device | ParameterAnomalyGroup | Sim;
4339
4356
  export namespace Create {
4340
4357
  type Params = {
4341
4358
  propertyId: string;
@@ -4343,6 +4360,8 @@ declare namespace JUHUU {
4343
4360
  severity?: JUHUU.Incident.Object["severity"];
4344
4361
  deviceId?: string;
4345
4362
  locationId?: string;
4363
+ parameterAnomalyGroupId?: string;
4364
+ simId?: string;
4346
4365
  incidentTemplateId?: string;
4347
4366
  title?: JUHUU.Incident.Object["title"];
4348
4367
  type: JUHUU.Incident.Object["type"];
@@ -5002,6 +5021,7 @@ declare namespace JUHUU {
5002
5021
  dataQuotaThresholdPercentage: number | null;
5003
5022
  providerUsername: string | null;
5004
5023
  providerPassword: string | null;
5024
+ lastProviderUpdateAt: Date | null;
5005
5025
  };
5006
5026
  namespace Create {
5007
5027
  type Params = {
@@ -6567,4 +6587,4 @@ declare namespace JUHUU {
6567
6587
  }
6568
6588
  }
6569
6589
 
6570
- export { type AccessControlListElement, type Address, type ApiKeyScope, type ApiKeyStatus, type AutoRenewMode, type BaseBlock, 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 LanguageCode, LanguageCodeArray, Layout, type LayoutBlock, type License, type LicenseTariffIdMap, type LinkType, type LocaleString, type LocationRetrieveBlock, type LocationRetrieveBlockInputs, type LocationUpdateBlock, type LocationUpdateBlockInputs, 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 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 };
6590
+ export { type AccessControlListElement, type Address, type ApiKeyScope, type ApiKeyStatus, type AutoRenewMode, type BaseBlock, 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 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 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
@@ -932,7 +932,7 @@ interface UiNavigateScreenBlock extends BaseBlock {
932
932
  };
933
933
  }
934
934
  interface UiNavigateScreenBlockInputs {
935
- target: "panel" | "location";
935
+ screenName: string;
936
936
  transition: "push" | "replace";
937
937
  params: Record<string, any>;
938
938
  }
@@ -1091,6 +1091,19 @@ interface MapDestructureBlockInputs {
1091
1091
  map: Record<string, string | number | boolean>;
1092
1092
  keys: string[];
1093
1093
  }
1094
+ interface MapConstructBlock extends BaseBlock {
1095
+ type: "map.construct";
1096
+ data: {
1097
+ keys?: string[];
1098
+ };
1099
+ in: Record<string, DataEdgeConnection>;
1100
+ out: {
1101
+ map: DataEdgeConnection;
1102
+ };
1103
+ }
1104
+ interface MapConstructBlockInputs {
1105
+ [key: string]: any;
1106
+ }
1094
1107
  interface IfBlock extends BaseBlock {
1095
1108
  type: "control.if";
1096
1109
  in: Record<string, DataEdgeConnection>;
@@ -1292,8 +1305,8 @@ interface EndCustomBlock extends BaseBlock {
1292
1305
  outputParamDefinitionArray: ParamDefinition[];
1293
1306
  };
1294
1307
  }
1295
- type FlowBlock = StartCustomBlock | StartQuickActionLocationBlock | StartSessionUpdateBlock | StartLocationUpdateBlock | StartParameterUpdateBlock | ConstNumberBlock | ConstTextBlock | ConstBooleanBlock | MathAddBlock | MathSubtractBlock | MathMultiplyBlock | MathDivideBlock | MapDestructureBlock | ParameterRetrieveBlock | PropertyRetrieveBlock | LocationRetrieveBlock | SessionRetrieveBlock | DeviceRetrieveBlock | UserRetrieveBlock | UserCreateBlock | IncidentRetrieveBlock | ParameterUpdateBlock | DeviceUpdateBlock | LocationUpdateBlock | PropertyUpdateBlock | SessionTerminateBlock | SystemLogBlock | UiNavigateScreenBlock | IncidentCreateBlock | IfBlock | SwitchBlock | HttpPatchBlock | HttpGetBlock | HttpPostBlock | HttpDeleteBlock | HttpPutBlock | MqttSendBlock | FlowExecuteBlock | HttpPatchBlock | VariableSetBlock | VariableGetBlock | EndCustomBlock;
1296
- type FlowBlockInput = MathAddBlockInputs | MathSubtractBlockInputs | MathMultiplyBlockInputs | MathDivideBlockInputs | ParameterRetrieveBlockInputs | PropertyRetrieveBlockInputs | LocationRetrieveBlockInputs | SessionRetrieveBlockInputs | DeviceRetrieveBlockInputs | UserRetrieveBlockInputs | UserCreateBlockInputs | IncidentRetrieveBlockInputs | ParameterUpdateBlockInputs | DeviceUpdateBlockInputs | LocationUpdateBlockInputs | PropertyUpdateBlockInputs | SessionTerminateBlockInputs | SystemLogBlockInputs | UiNavigateScreenBlockInputs | IncidentCreateBlockInputs | HttpsPatchBlockInputs | HttpGetBlockInputs | HttpPostBlockInputs | HttpDeleteBlockInputs | HttpPutBlockInputs | MqttSendBlockInputs | FlowExecuteBlockInputs | MapDestructureBlockInputs | VariableSetBlockInputs | VariableGetBlockInputs | Record<string, unknown>;
1308
+ type FlowBlock = StartCustomBlock | StartQuickActionLocationBlock | StartSessionUpdateBlock | StartLocationUpdateBlock | StartParameterUpdateBlock | ConstNumberBlock | ConstTextBlock | ConstBooleanBlock | MathAddBlock | MathSubtractBlock | MathMultiplyBlock | MathDivideBlock | MapDestructureBlock | MapConstructBlock | ParameterRetrieveBlock | PropertyRetrieveBlock | LocationRetrieveBlock | SessionRetrieveBlock | DeviceRetrieveBlock | UserRetrieveBlock | UserCreateBlock | IncidentRetrieveBlock | ParameterUpdateBlock | DeviceUpdateBlock | LocationUpdateBlock | PropertyUpdateBlock | SessionTerminateBlock | SystemLogBlock | UiNavigateScreenBlock | IncidentCreateBlock | IfBlock | SwitchBlock | HttpPatchBlock | HttpGetBlock | HttpPostBlock | HttpDeleteBlock | HttpPutBlock | MqttSendBlock | FlowExecuteBlock | HttpPatchBlock | VariableSetBlock | VariableGetBlock | EndCustomBlock;
1309
+ type FlowBlockInput = MathAddBlockInputs | MathSubtractBlockInputs | MathMultiplyBlockInputs | MathDivideBlockInputs | ParameterRetrieveBlockInputs | PropertyRetrieveBlockInputs | LocationRetrieveBlockInputs | SessionRetrieveBlockInputs | DeviceRetrieveBlockInputs | UserRetrieveBlockInputs | UserCreateBlockInputs | IncidentRetrieveBlockInputs | ParameterUpdateBlockInputs | DeviceUpdateBlockInputs | LocationUpdateBlockInputs | PropertyUpdateBlockInputs | SessionTerminateBlockInputs | SystemLogBlockInputs | UiNavigateScreenBlockInputs | IncidentCreateBlockInputs | HttpsPatchBlockInputs | HttpGetBlockInputs | HttpPostBlockInputs | HttpDeleteBlockInputs | HttpPutBlockInputs | MqttSendBlockInputs | FlowExecuteBlockInputs | MapDestructureBlockInputs | MapConstructBlockInputs | VariableSetBlockInputs | VariableGetBlockInputs | Record<string, unknown>;
1297
1310
  interface FlowDataEdge {
1298
1311
  id: string;
1299
1312
  type: "data";
@@ -4335,7 +4348,11 @@ declare namespace JUHUU {
4335
4348
  type: "parameterAnomalyGroup";
4336
4349
  parameterAnomalyGroupId: string;
4337
4350
  }
4338
- export type Object = Location | Device | ParameterAnomalyGroup;
4351
+ export interface Sim extends Base {
4352
+ type: "sim";
4353
+ simId: string;
4354
+ }
4355
+ export type Object = Location | Device | ParameterAnomalyGroup | Sim;
4339
4356
  export namespace Create {
4340
4357
  type Params = {
4341
4358
  propertyId: string;
@@ -4343,6 +4360,8 @@ declare namespace JUHUU {
4343
4360
  severity?: JUHUU.Incident.Object["severity"];
4344
4361
  deviceId?: string;
4345
4362
  locationId?: string;
4363
+ parameterAnomalyGroupId?: string;
4364
+ simId?: string;
4346
4365
  incidentTemplateId?: string;
4347
4366
  title?: JUHUU.Incident.Object["title"];
4348
4367
  type: JUHUU.Incident.Object["type"];
@@ -5002,6 +5021,7 @@ declare namespace JUHUU {
5002
5021
  dataQuotaThresholdPercentage: number | null;
5003
5022
  providerUsername: string | null;
5004
5023
  providerPassword: string | null;
5024
+ lastProviderUpdateAt: Date | null;
5005
5025
  };
5006
5026
  namespace Create {
5007
5027
  type Params = {
@@ -6567,4 +6587,4 @@ declare namespace JUHUU {
6567
6587
  }
6568
6588
  }
6569
6589
 
6570
- export { type AccessControlListElement, type Address, type ApiKeyScope, type ApiKeyStatus, type AutoRenewMode, type BaseBlock, 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 LanguageCode, LanguageCodeArray, Layout, type LayoutBlock, type License, type LicenseTariffIdMap, type LinkType, type LocaleString, type LocationRetrieveBlock, type LocationRetrieveBlockInputs, type LocationUpdateBlock, type LocationUpdateBlockInputs, 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 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 };
6590
+ export { type AccessControlListElement, type Address, type ApiKeyScope, type ApiKeyStatus, type AutoRenewMode, type BaseBlock, 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 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 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
@@ -3314,6 +3314,8 @@ var IncidentsService = class extends Service {
3314
3314
  type: IncidentCreateParams.type,
3315
3315
  deviceId: IncidentCreateParams.deviceId,
3316
3316
  locationId: IncidentCreateParams.locationId,
3317
+ parameterAnomalyGroupId: IncidentCreateParams.parameterAnomalyGroupId,
3318
+ simId: IncidentCreateParams.simId,
3317
3319
  incidentTemplateId: IncidentCreateParams.incidentTemplateId,
3318
3320
  severity: IncidentCreateParams.severity
3319
3321
  },
@@ -3803,6 +3805,76 @@ var FlowsService = class extends Service {
3803
3805
  const { data } = block;
3804
3806
  return { output: { value: data?.value } };
3805
3807
  },
3808
+ "math.add": async (inputs, block) => {
3809
+ const mb = block;
3810
+ const inA = inputs.a;
3811
+ const inB = inputs.b;
3812
+ const defaultA = mb.data.a ?? 0;
3813
+ const defaultB = mb.data.b ?? 0;
3814
+ const a = inA !== void 0 ? inA : defaultA;
3815
+ const b = inB !== void 0 ? inB : defaultB;
3816
+ return { output: { result: a + b } };
3817
+ },
3818
+ "math.subtract": async (inputs, block) => {
3819
+ const mb = block;
3820
+ const inA = inputs.a;
3821
+ const inB = inputs.b;
3822
+ const defaultA = mb.data.a ?? 0;
3823
+ const defaultB = mb.data.b ?? 0;
3824
+ const a = inA !== void 0 ? inA : defaultA;
3825
+ const b = inB !== void 0 ? inB : defaultB;
3826
+ return { output: { result: a - b } };
3827
+ },
3828
+ "math.multiply": async (inputs, block) => {
3829
+ const mb = block;
3830
+ const inA = inputs.a;
3831
+ const inB = inputs.b;
3832
+ const defaultA = mb.data.a ?? 0;
3833
+ const defaultB = mb.data.b ?? 0;
3834
+ const a = inA !== void 0 ? inA : defaultA;
3835
+ const b = inB !== void 0 ? inB : defaultB;
3836
+ return { output: { result: a * b } };
3837
+ },
3838
+ "math.divide": async (inputs, block) => {
3839
+ const mb = block;
3840
+ const inA = inputs.a;
3841
+ const inB = inputs.b;
3842
+ const defaultA = mb.data.a ?? 0;
3843
+ const defaultB = mb.data.b ?? 1;
3844
+ const a = inA !== void 0 ? inA : defaultA;
3845
+ const b = inB !== void 0 ? inB : defaultB;
3846
+ return { output: { result: a / b } };
3847
+ },
3848
+ "map.destructure": async (inputs, block) => {
3849
+ if (block.type !== "map.destructure") {
3850
+ throw new Error(
3851
+ `Expected block type 'map.destructure', got '${block.type}'`
3852
+ );
3853
+ }
3854
+ const source = inputs.map;
3855
+ const mb = block;
3856
+ const outputs = {};
3857
+ const keys = mb.data.keys ?? [];
3858
+ for (const key of keys) {
3859
+ outputs[key] = source[key];
3860
+ }
3861
+ return { output: outputs };
3862
+ },
3863
+ "map.construct": async (inputs, block) => {
3864
+ if (block.type !== "map.construct") {
3865
+ throw new Error(
3866
+ `Expected block type 'map.construct', got '${block.type}'`
3867
+ );
3868
+ }
3869
+ const mb = block;
3870
+ const constructedMap = {};
3871
+ const keys = mb.data.keys ?? [];
3872
+ const inputValues = inputs;
3873
+ for (const key of keys) {
3874
+ constructedMap[key] = inputValues[key];
3875
+ }
3876
+ return { output: { map: constructedMap } };
3877
+ },
3806
3878
  "variable.set": async (inputs, block, context) => {
3807
3879
  const { key, value } = inputs;
3808
3880
  const typedBlock = block;
package/dist/index.mjs CHANGED
@@ -3270,6 +3270,8 @@ var IncidentsService = class extends Service {
3270
3270
  type: IncidentCreateParams.type,
3271
3271
  deviceId: IncidentCreateParams.deviceId,
3272
3272
  locationId: IncidentCreateParams.locationId,
3273
+ parameterAnomalyGroupId: IncidentCreateParams.parameterAnomalyGroupId,
3274
+ simId: IncidentCreateParams.simId,
3273
3275
  incidentTemplateId: IncidentCreateParams.incidentTemplateId,
3274
3276
  severity: IncidentCreateParams.severity
3275
3277
  },
@@ -3759,6 +3761,76 @@ var FlowsService = class extends Service {
3759
3761
  const { data } = block;
3760
3762
  return { output: { value: data?.value } };
3761
3763
  },
3764
+ "math.add": async (inputs, block) => {
3765
+ const mb = block;
3766
+ const inA = inputs.a;
3767
+ const inB = inputs.b;
3768
+ const defaultA = mb.data.a ?? 0;
3769
+ const defaultB = mb.data.b ?? 0;
3770
+ const a = inA !== void 0 ? inA : defaultA;
3771
+ const b = inB !== void 0 ? inB : defaultB;
3772
+ return { output: { result: a + b } };
3773
+ },
3774
+ "math.subtract": async (inputs, block) => {
3775
+ const mb = block;
3776
+ const inA = inputs.a;
3777
+ const inB = inputs.b;
3778
+ const defaultA = mb.data.a ?? 0;
3779
+ const defaultB = mb.data.b ?? 0;
3780
+ const a = inA !== void 0 ? inA : defaultA;
3781
+ const b = inB !== void 0 ? inB : defaultB;
3782
+ return { output: { result: a - b } };
3783
+ },
3784
+ "math.multiply": async (inputs, block) => {
3785
+ const mb = block;
3786
+ const inA = inputs.a;
3787
+ const inB = inputs.b;
3788
+ const defaultA = mb.data.a ?? 0;
3789
+ const defaultB = mb.data.b ?? 0;
3790
+ const a = inA !== void 0 ? inA : defaultA;
3791
+ const b = inB !== void 0 ? inB : defaultB;
3792
+ return { output: { result: a * b } };
3793
+ },
3794
+ "math.divide": async (inputs, block) => {
3795
+ const mb = block;
3796
+ const inA = inputs.a;
3797
+ const inB = inputs.b;
3798
+ const defaultA = mb.data.a ?? 0;
3799
+ const defaultB = mb.data.b ?? 1;
3800
+ const a = inA !== void 0 ? inA : defaultA;
3801
+ const b = inB !== void 0 ? inB : defaultB;
3802
+ return { output: { result: a / b } };
3803
+ },
3804
+ "map.destructure": async (inputs, block) => {
3805
+ if (block.type !== "map.destructure") {
3806
+ throw new Error(
3807
+ `Expected block type 'map.destructure', got '${block.type}'`
3808
+ );
3809
+ }
3810
+ const source = inputs.map;
3811
+ const mb = block;
3812
+ const outputs = {};
3813
+ const keys = mb.data.keys ?? [];
3814
+ for (const key of keys) {
3815
+ outputs[key] = source[key];
3816
+ }
3817
+ return { output: outputs };
3818
+ },
3819
+ "map.construct": async (inputs, block) => {
3820
+ if (block.type !== "map.construct") {
3821
+ throw new Error(
3822
+ `Expected block type 'map.construct', got '${block.type}'`
3823
+ );
3824
+ }
3825
+ const mb = block;
3826
+ const constructedMap = {};
3827
+ const keys = mb.data.keys ?? [];
3828
+ const inputValues = inputs;
3829
+ for (const key of keys) {
3830
+ constructedMap[key] = inputValues[key];
3831
+ }
3832
+ return { output: { map: constructedMap } };
3833
+ },
3762
3834
  "variable.set": async (inputs, block, context) => {
3763
3835
  const { key, value } = inputs;
3764
3836
  const typedBlock = block;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juhuu/sdk-ts",
3
- "version": "1.2.283",
3
+ "version": "1.2.285",
4
4
  "description": "Typescript wrapper for JUHUU services",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",