@juhuu/sdk-ts 1.3.21 → 1.3.23

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
@@ -242,6 +242,8 @@ interface MapFilter {
242
242
  sectorArray: Sector[];
243
243
  }
244
244
  type SessionType = "rent" | "reservation";
245
+ type ModbusFunctionCode = 1 | 2 | 3 | 4;
246
+ type ModbusWriteFunctionCode = 5 | 6 | 15 | 16;
245
247
  type DeviceType = "BikeBox" | "VeloCleanPro" | "SlidingDoor" | "BikeRack" | "BikeEnergy" | "BikeLoop" | "VeloBrush" | "SharingBike" | "Trb145BikeBox";
246
248
  type LinkType = "standard" | "group" | "url";
247
249
  type UserType = "management" | "standard";
@@ -688,6 +690,17 @@ interface StartParameterUpdateBlock extends BaseBlock {
688
690
  changedFields: DataEdgeConnection;
689
691
  };
690
692
  }
693
+ interface StartCronBlock extends BaseBlock {
694
+ type: "start.cron";
695
+ in: Record<string, never>;
696
+ out: {
697
+ cronExpression: DataEdgeConnection;
698
+ triggeredAt: DataEdgeConnection;
699
+ };
700
+ data: {
701
+ cronExpression: string;
702
+ };
703
+ }
691
704
  interface ParameterRetrieveBlock extends BaseBlock {
692
705
  type: "parameter.retrieve";
693
706
  in: {
@@ -751,6 +764,45 @@ interface SessionRetrieveBlock extends BaseBlock {
751
764
  interface SessionRetrieveBlockInputs {
752
765
  sessionId: string;
753
766
  }
767
+ interface SessionCreateBlock extends BaseBlock {
768
+ type: "session.create";
769
+ in: {
770
+ locationId: DataEdgeConnection;
771
+ tariffId: DataEdgeConnection;
772
+ autoRenew: DataEdgeConnection;
773
+ sessionType: DataEdgeConnection;
774
+ isOffSession: DataEdgeConnection;
775
+ userId: DataEdgeConnection;
776
+ propertyId: DataEdgeConnection;
777
+ scheduledReadyAt: DataEdgeConnection;
778
+ metadata: DataEdgeConnection;
779
+ };
780
+ out: {
781
+ session: DataEdgeConnection;
782
+ };
783
+ data: {
784
+ locationId?: string;
785
+ tariffId?: string;
786
+ autoRenew?: boolean;
787
+ sessionType?: SessionType;
788
+ isOffSession?: boolean;
789
+ userId?: string;
790
+ propertyId?: string;
791
+ scheduledReadyAt?: Date | null;
792
+ metadata?: Record<string, any>;
793
+ };
794
+ }
795
+ interface SessionCreateBlockInputs {
796
+ locationId: string;
797
+ tariffId: string;
798
+ autoRenew?: boolean;
799
+ sessionType?: SessionType;
800
+ isOffSession?: boolean;
801
+ userId: string;
802
+ propertyId?: string;
803
+ scheduledReadyAt?: Date;
804
+ metadata?: Record<string, any>;
805
+ }
754
806
  interface DeviceRetrieveBlock extends BaseBlock {
755
807
  type: "device.retrieve";
756
808
  in: {
@@ -1491,6 +1543,108 @@ interface MqttSendBlockInputs {
1491
1543
  password: string | null;
1492
1544
  connectUrl: string;
1493
1545
  }
1546
+ interface Rs485SendBlock extends BaseBlock {
1547
+ type: "rs485.send";
1548
+ in: {
1549
+ port: DataEdgeConnection;
1550
+ message: DataEdgeConnection;
1551
+ baudRate: DataEdgeConnection;
1552
+ };
1553
+ out: {
1554
+ success: DataEdgeConnection;
1555
+ response: DataEdgeConnection;
1556
+ };
1557
+ data: {
1558
+ port?: string;
1559
+ message?: string;
1560
+ baudRate?: number;
1561
+ };
1562
+ }
1563
+ interface Rs485SendBlockInputs {
1564
+ port: string;
1565
+ message: string;
1566
+ baudRate?: number;
1567
+ }
1568
+ interface Rs485BufferBlock extends BaseBlock {
1569
+ type: "rs485.buffer";
1570
+ in: {
1571
+ port: DataEdgeConnection;
1572
+ timeout: DataEdgeConnection;
1573
+ };
1574
+ out: {
1575
+ buffer: DataEdgeConnection;
1576
+ length: DataEdgeConnection;
1577
+ };
1578
+ data: {
1579
+ port?: string;
1580
+ timeout?: number;
1581
+ };
1582
+ }
1583
+ interface Rs485BufferBlockInputs {
1584
+ port: string;
1585
+ timeout?: number;
1586
+ }
1587
+ interface ModbusReadBlock extends BaseBlock {
1588
+ type: "modbus.read";
1589
+ in: {
1590
+ port: DataEdgeConnection;
1591
+ slaveAddress: DataEdgeConnection;
1592
+ registerAddress: DataEdgeConnection;
1593
+ count: DataEdgeConnection;
1594
+ functionCode: DataEdgeConnection;
1595
+ baudRate: DataEdgeConnection;
1596
+ };
1597
+ out: {
1598
+ data: DataEdgeConnection;
1599
+ success: DataEdgeConnection;
1600
+ };
1601
+ data: {
1602
+ port?: string;
1603
+ slaveAddress?: number;
1604
+ registerAddress?: number;
1605
+ count?: number;
1606
+ functionCode?: ModbusFunctionCode;
1607
+ baudRate?: number;
1608
+ };
1609
+ }
1610
+ interface ModbusReadBlockInputs {
1611
+ port: string;
1612
+ slaveAddress: number;
1613
+ registerAddress: number;
1614
+ count: number;
1615
+ functionCode?: ModbusFunctionCode;
1616
+ baudRate?: number;
1617
+ }
1618
+ interface ModbusWriteBlock extends BaseBlock {
1619
+ type: "modbus.write";
1620
+ in: {
1621
+ port: DataEdgeConnection;
1622
+ slaveAddress: DataEdgeConnection;
1623
+ registerAddress: DataEdgeConnection;
1624
+ values: DataEdgeConnection;
1625
+ functionCode: DataEdgeConnection;
1626
+ baudRate: DataEdgeConnection;
1627
+ };
1628
+ out: {
1629
+ success: DataEdgeConnection;
1630
+ };
1631
+ data: {
1632
+ port?: string;
1633
+ slaveAddress?: number;
1634
+ registerAddress?: number;
1635
+ values?: number[];
1636
+ functionCode?: ModbusWriteFunctionCode;
1637
+ baudRate?: number;
1638
+ };
1639
+ }
1640
+ interface ModbusWriteBlockInputs {
1641
+ port: string;
1642
+ slaveAddress: number;
1643
+ registerAddress: number;
1644
+ values: number[];
1645
+ functionCode?: ModbusWriteFunctionCode;
1646
+ baudRate?: number;
1647
+ }
1494
1648
  interface FlowExecuteBlock extends BaseBlock {
1495
1649
  type: "flow.execute";
1496
1650
  in: {
@@ -1597,8 +1751,8 @@ interface PaymentCreateBlockInputs {
1597
1751
  salesTaxPercentage?: number | null;
1598
1752
  postingRowArray?: PostingRow[] | null;
1599
1753
  }
1600
- type FlowBlock = StartCustomBlock | StartQuickActionLocationBlock | StartSessionUpdateBlock | StartLocationUpdateBlock | StartParameterUpdateBlock | ConstNumberBlock | ConstTextBlock | ConstBooleanBlock | MathAddBlock | MathSubtractBlock | MathMultiplyBlock | MathDivideBlock | MapDestructureBlock | MapConstructBlock | ArrayLengthBlock | ArrayGetBlock | ParameterRetrieveBlock | PropertyRetrieveBlock | LocationRetrieveBlock | SessionRetrieveBlock | DeviceRetrieveBlock | UserRetrieveBlock | UserCreateBlock | IncidentRetrieveBlock | BenefitCardRetrieveBlock | BenefitCardListBlock | BenefitCardCopyBlock | BenefitCardUpdateBlock | TextMatchBlock | TextTemplateBlock | ParameterUpdateBlock | DeviceUpdateBlock | LocationUpdateBlock | PropertyUpdateBlock | SessionTerminateBlock | SystemLogBlock | UiNavigateScreenBlock | IncidentCreateBlock | IfBlock | SwitchBlock | HttpPatchBlock | HttpGetBlock | HttpPostBlock | HttpDeleteBlock | HttpPutBlock | MqttSendBlock | FlowExecuteBlock | VariableSetBlock | VariableGetBlock | DelaySleepBlock | EndCustomBlock | PaymentCreateBlock;
1601
- type FlowBlockInput = MathAddBlockInputs | MathSubtractBlockInputs | MathMultiplyBlockInputs | MathDivideBlockInputs | ParameterRetrieveBlockInputs | PropertyRetrieveBlockInputs | LocationRetrieveBlockInputs | SessionRetrieveBlockInputs | DeviceRetrieveBlockInputs | UserRetrieveBlockInputs | UserCreateBlockInputs | IncidentRetrieveBlockInputs | BenefitCardRetrieveBlockInputs | BenefitCardListBlockInputs | BenefitCardCopyBlockInputs | BenefitCardUpdateBlockInputs | TextMatchBlockInputs | TextTemplateBlockInputs | ParameterUpdateBlockInputs | DeviceUpdateBlockInputs | LocationUpdateBlockInputs | PropertyUpdateBlockInputs | SessionTerminateBlockInputs | SystemLogBlockInputs | UiNavigateScreenBlockInputs | IncidentCreateBlockInputs | HttpsPatchBlockInputs | HttpGetBlockInputs | HttpPostBlockInputs | HttpDeleteBlockInputs | HttpPutBlockInputs | MqttSendBlockInputs | FlowExecuteBlockInputs | MapDestructureBlockInputs | MapConstructBlockInputs | ArrayLengthBlockInputs | ArrayGetBlockInputs | VariableSetBlockInputs | VariableGetBlockInputs | DelaySleepBlockInputs | Record<string, unknown> | PaymentCreateBlockInputs;
1754
+ type FlowBlock = StartCustomBlock | StartQuickActionLocationBlock | StartSessionUpdateBlock | StartLocationUpdateBlock | StartParameterUpdateBlock | StartCronBlock | ConstNumberBlock | ConstTextBlock | ConstBooleanBlock | MathAddBlock | MathSubtractBlock | MathMultiplyBlock | MathDivideBlock | MapDestructureBlock | MapConstructBlock | ArrayLengthBlock | ArrayGetBlock | ParameterRetrieveBlock | PropertyRetrieveBlock | LocationRetrieveBlock | SessionRetrieveBlock | SessionCreateBlock | DeviceRetrieveBlock | UserRetrieveBlock | UserCreateBlock | IncidentRetrieveBlock | BenefitCardRetrieveBlock | BenefitCardListBlock | BenefitCardCopyBlock | BenefitCardUpdateBlock | TextMatchBlock | TextTemplateBlock | ParameterUpdateBlock | DeviceUpdateBlock | LocationUpdateBlock | PropertyUpdateBlock | SessionTerminateBlock | SystemLogBlock | UiNavigateScreenBlock | IncidentCreateBlock | IfBlock | SwitchBlock | HttpPatchBlock | HttpGetBlock | HttpPostBlock | HttpDeleteBlock | HttpPutBlock | MqttSendBlock | Rs485SendBlock | Rs485BufferBlock | ModbusReadBlock | ModbusWriteBlock | FlowExecuteBlock | VariableSetBlock | VariableGetBlock | DelaySleepBlock | EndCustomBlock | PaymentCreateBlock;
1755
+ type FlowBlockInput = MathAddBlockInputs | MathSubtractBlockInputs | MathMultiplyBlockInputs | MathDivideBlockInputs | ParameterRetrieveBlockInputs | PropertyRetrieveBlockInputs | LocationRetrieveBlockInputs | SessionRetrieveBlockInputs | SessionCreateBlockInputs | DeviceRetrieveBlockInputs | UserRetrieveBlockInputs | UserCreateBlockInputs | IncidentRetrieveBlockInputs | BenefitCardRetrieveBlockInputs | BenefitCardListBlockInputs | BenefitCardCopyBlockInputs | BenefitCardUpdateBlockInputs | TextMatchBlockInputs | TextTemplateBlockInputs | ParameterUpdateBlockInputs | DeviceUpdateBlockInputs | LocationUpdateBlockInputs | PropertyUpdateBlockInputs | SessionTerminateBlockInputs | SystemLogBlockInputs | UiNavigateScreenBlockInputs | IncidentCreateBlockInputs | HttpsPatchBlockInputs | HttpGetBlockInputs | HttpPostBlockInputs | HttpDeleteBlockInputs | HttpPutBlockInputs | MqttSendBlockInputs | Rs485SendBlockInputs | Rs485BufferBlockInputs | ModbusReadBlockInputs | ModbusWriteBlockInputs | FlowExecuteBlockInputs | MapDestructureBlockInputs | MapConstructBlockInputs | ArrayLengthBlockInputs | ArrayGetBlockInputs | VariableSetBlockInputs | VariableGetBlockInputs | DelaySleepBlockInputs | Record<string, unknown> | PaymentCreateBlockInputs;
1602
1756
  interface FlowDataEdge {
1603
1757
  id: string;
1604
1758
  type: "data";
@@ -4085,6 +4239,7 @@ declare namespace JUHUU {
4085
4239
  latitudeTopLeft: number;
4086
4240
  longitudeBottomRight: number;
4087
4241
  latitudeBottomRight: number;
4242
+ pointClusterId?: string | null;
4088
4243
  };
4089
4244
  type Options = JUHUU.RequestOptions;
4090
4245
  type Response = JUHUU.Point.Object[];
@@ -7391,4 +7546,4 @@ declare namespace JUHUU {
7391
7546
  }
7392
7547
  }
7393
7548
 
7394
- export { type AccessControlListElement, type AdditionalSubscriptionItem, type Address, type ApiKeyScope, type ApiKeyStatus, type AppStatus, type AppVersionStatus, type ArrayGetBlock, type ArrayGetBlockInputs, type ArrayLengthBlock, type ArrayLengthBlockInputs, type AuthMethodType, 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 DelaySleepBlock, type DelaySleepBlockInputs, 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 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 PaymentCreateBlock, type PaymentCreateBlockInputs, type PaymentMethod, type PaymentReason, type PaymentRefundReason, type PaymentRefundStatus, type PaymentServiceProvider, type PaymentStatus, type PayoutSettings, type PayoutStatus, type PermissionTypes, type Person, type PhoneCountryCode, type Platform, type PlatformString, type PlotData, type PostingRow, type PropertyAgreement, type PropertyRetrieveBlock, type PropertyRetrieveBlockInputs, type PropertyUpdateBlock, type PropertyUpdateBlockInputs, type ProximityStrategy, type Purpose, 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 TextTemplateBlock, type TextTemplateBlockInputs, type TimePeriod, 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 };
7549
+ export { type AccessControlListElement, type AdditionalSubscriptionItem, type Address, type ApiKeyScope, type ApiKeyStatus, type AppStatus, type AppVersionStatus, type ArrayGetBlock, type ArrayGetBlockInputs, type ArrayLengthBlock, type ArrayLengthBlockInputs, type AuthMethodType, 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 DelaySleepBlock, type DelaySleepBlockInputs, 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 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 ModbusFunctionCode, type ModbusReadBlock, type ModbusReadBlockInputs, type ModbusWriteBlock, type ModbusWriteBlockInputs, type ModbusWriteFunctionCode, type MqttSendBlock, type MqttSendBlockInputs, Offer, type OfferTime, type PanelDisplay, type ParamDefinition, type ParamType, type ParameterRetrieveBlock, type ParameterRetrieveBlockInputs, type ParameterUpdateBlock, type ParameterUpdateBlockInputs, type Party, type PaymentCreateBlock, type PaymentCreateBlockInputs, type PaymentMethod, type PaymentReason, type PaymentRefundReason, type PaymentRefundStatus, type PaymentServiceProvider, type PaymentStatus, type PayoutSettings, type PayoutStatus, type PermissionTypes, type Person, type PhoneCountryCode, type Platform, type PlatformString, type PlotData, type PostingRow, type PropertyAgreement, type PropertyRetrieveBlock, type PropertyRetrieveBlockInputs, type PropertyUpdateBlock, type PropertyUpdateBlockInputs, type ProximityStrategy, type Purpose, type QuickAction, type QuickView, ReadonlyCategoryArray, ReadonlyModalityArray, ReadonlySectorArray, type RefundStatus, type Rs485BufferBlock, type Rs485BufferBlockInputs, type Rs485SendBlock, type Rs485SendBlockInputs, type Sector, type SessionCannotTerminateReason, type SessionCreateBlock, type SessionCreateBlockInputs, type SessionRetrieveBlock, type SessionRetrieveBlockInputs, type SessionSettings, type SessionStatus, type SessionTerminateBlock, type SessionTerminateBlockInputs, type SessionTerminatedByType, type SessionType, Settings, type SimStatus, type StarRating, type StartCronBlock, 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 TextTemplateBlock, type TextTemplateBlockInputs, type TimePeriod, 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
@@ -242,6 +242,8 @@ interface MapFilter {
242
242
  sectorArray: Sector[];
243
243
  }
244
244
  type SessionType = "rent" | "reservation";
245
+ type ModbusFunctionCode = 1 | 2 | 3 | 4;
246
+ type ModbusWriteFunctionCode = 5 | 6 | 15 | 16;
245
247
  type DeviceType = "BikeBox" | "VeloCleanPro" | "SlidingDoor" | "BikeRack" | "BikeEnergy" | "BikeLoop" | "VeloBrush" | "SharingBike" | "Trb145BikeBox";
246
248
  type LinkType = "standard" | "group" | "url";
247
249
  type UserType = "management" | "standard";
@@ -688,6 +690,17 @@ interface StartParameterUpdateBlock extends BaseBlock {
688
690
  changedFields: DataEdgeConnection;
689
691
  };
690
692
  }
693
+ interface StartCronBlock extends BaseBlock {
694
+ type: "start.cron";
695
+ in: Record<string, never>;
696
+ out: {
697
+ cronExpression: DataEdgeConnection;
698
+ triggeredAt: DataEdgeConnection;
699
+ };
700
+ data: {
701
+ cronExpression: string;
702
+ };
703
+ }
691
704
  interface ParameterRetrieveBlock extends BaseBlock {
692
705
  type: "parameter.retrieve";
693
706
  in: {
@@ -751,6 +764,45 @@ interface SessionRetrieveBlock extends BaseBlock {
751
764
  interface SessionRetrieveBlockInputs {
752
765
  sessionId: string;
753
766
  }
767
+ interface SessionCreateBlock extends BaseBlock {
768
+ type: "session.create";
769
+ in: {
770
+ locationId: DataEdgeConnection;
771
+ tariffId: DataEdgeConnection;
772
+ autoRenew: DataEdgeConnection;
773
+ sessionType: DataEdgeConnection;
774
+ isOffSession: DataEdgeConnection;
775
+ userId: DataEdgeConnection;
776
+ propertyId: DataEdgeConnection;
777
+ scheduledReadyAt: DataEdgeConnection;
778
+ metadata: DataEdgeConnection;
779
+ };
780
+ out: {
781
+ session: DataEdgeConnection;
782
+ };
783
+ data: {
784
+ locationId?: string;
785
+ tariffId?: string;
786
+ autoRenew?: boolean;
787
+ sessionType?: SessionType;
788
+ isOffSession?: boolean;
789
+ userId?: string;
790
+ propertyId?: string;
791
+ scheduledReadyAt?: Date | null;
792
+ metadata?: Record<string, any>;
793
+ };
794
+ }
795
+ interface SessionCreateBlockInputs {
796
+ locationId: string;
797
+ tariffId: string;
798
+ autoRenew?: boolean;
799
+ sessionType?: SessionType;
800
+ isOffSession?: boolean;
801
+ userId: string;
802
+ propertyId?: string;
803
+ scheduledReadyAt?: Date;
804
+ metadata?: Record<string, any>;
805
+ }
754
806
  interface DeviceRetrieveBlock extends BaseBlock {
755
807
  type: "device.retrieve";
756
808
  in: {
@@ -1491,6 +1543,108 @@ interface MqttSendBlockInputs {
1491
1543
  password: string | null;
1492
1544
  connectUrl: string;
1493
1545
  }
1546
+ interface Rs485SendBlock extends BaseBlock {
1547
+ type: "rs485.send";
1548
+ in: {
1549
+ port: DataEdgeConnection;
1550
+ message: DataEdgeConnection;
1551
+ baudRate: DataEdgeConnection;
1552
+ };
1553
+ out: {
1554
+ success: DataEdgeConnection;
1555
+ response: DataEdgeConnection;
1556
+ };
1557
+ data: {
1558
+ port?: string;
1559
+ message?: string;
1560
+ baudRate?: number;
1561
+ };
1562
+ }
1563
+ interface Rs485SendBlockInputs {
1564
+ port: string;
1565
+ message: string;
1566
+ baudRate?: number;
1567
+ }
1568
+ interface Rs485BufferBlock extends BaseBlock {
1569
+ type: "rs485.buffer";
1570
+ in: {
1571
+ port: DataEdgeConnection;
1572
+ timeout: DataEdgeConnection;
1573
+ };
1574
+ out: {
1575
+ buffer: DataEdgeConnection;
1576
+ length: DataEdgeConnection;
1577
+ };
1578
+ data: {
1579
+ port?: string;
1580
+ timeout?: number;
1581
+ };
1582
+ }
1583
+ interface Rs485BufferBlockInputs {
1584
+ port: string;
1585
+ timeout?: number;
1586
+ }
1587
+ interface ModbusReadBlock extends BaseBlock {
1588
+ type: "modbus.read";
1589
+ in: {
1590
+ port: DataEdgeConnection;
1591
+ slaveAddress: DataEdgeConnection;
1592
+ registerAddress: DataEdgeConnection;
1593
+ count: DataEdgeConnection;
1594
+ functionCode: DataEdgeConnection;
1595
+ baudRate: DataEdgeConnection;
1596
+ };
1597
+ out: {
1598
+ data: DataEdgeConnection;
1599
+ success: DataEdgeConnection;
1600
+ };
1601
+ data: {
1602
+ port?: string;
1603
+ slaveAddress?: number;
1604
+ registerAddress?: number;
1605
+ count?: number;
1606
+ functionCode?: ModbusFunctionCode;
1607
+ baudRate?: number;
1608
+ };
1609
+ }
1610
+ interface ModbusReadBlockInputs {
1611
+ port: string;
1612
+ slaveAddress: number;
1613
+ registerAddress: number;
1614
+ count: number;
1615
+ functionCode?: ModbusFunctionCode;
1616
+ baudRate?: number;
1617
+ }
1618
+ interface ModbusWriteBlock extends BaseBlock {
1619
+ type: "modbus.write";
1620
+ in: {
1621
+ port: DataEdgeConnection;
1622
+ slaveAddress: DataEdgeConnection;
1623
+ registerAddress: DataEdgeConnection;
1624
+ values: DataEdgeConnection;
1625
+ functionCode: DataEdgeConnection;
1626
+ baudRate: DataEdgeConnection;
1627
+ };
1628
+ out: {
1629
+ success: DataEdgeConnection;
1630
+ };
1631
+ data: {
1632
+ port?: string;
1633
+ slaveAddress?: number;
1634
+ registerAddress?: number;
1635
+ values?: number[];
1636
+ functionCode?: ModbusWriteFunctionCode;
1637
+ baudRate?: number;
1638
+ };
1639
+ }
1640
+ interface ModbusWriteBlockInputs {
1641
+ port: string;
1642
+ slaveAddress: number;
1643
+ registerAddress: number;
1644
+ values: number[];
1645
+ functionCode?: ModbusWriteFunctionCode;
1646
+ baudRate?: number;
1647
+ }
1494
1648
  interface FlowExecuteBlock extends BaseBlock {
1495
1649
  type: "flow.execute";
1496
1650
  in: {
@@ -1597,8 +1751,8 @@ interface PaymentCreateBlockInputs {
1597
1751
  salesTaxPercentage?: number | null;
1598
1752
  postingRowArray?: PostingRow[] | null;
1599
1753
  }
1600
- type FlowBlock = StartCustomBlock | StartQuickActionLocationBlock | StartSessionUpdateBlock | StartLocationUpdateBlock | StartParameterUpdateBlock | ConstNumberBlock | ConstTextBlock | ConstBooleanBlock | MathAddBlock | MathSubtractBlock | MathMultiplyBlock | MathDivideBlock | MapDestructureBlock | MapConstructBlock | ArrayLengthBlock | ArrayGetBlock | ParameterRetrieveBlock | PropertyRetrieveBlock | LocationRetrieveBlock | SessionRetrieveBlock | DeviceRetrieveBlock | UserRetrieveBlock | UserCreateBlock | IncidentRetrieveBlock | BenefitCardRetrieveBlock | BenefitCardListBlock | BenefitCardCopyBlock | BenefitCardUpdateBlock | TextMatchBlock | TextTemplateBlock | ParameterUpdateBlock | DeviceUpdateBlock | LocationUpdateBlock | PropertyUpdateBlock | SessionTerminateBlock | SystemLogBlock | UiNavigateScreenBlock | IncidentCreateBlock | IfBlock | SwitchBlock | HttpPatchBlock | HttpGetBlock | HttpPostBlock | HttpDeleteBlock | HttpPutBlock | MqttSendBlock | FlowExecuteBlock | VariableSetBlock | VariableGetBlock | DelaySleepBlock | EndCustomBlock | PaymentCreateBlock;
1601
- type FlowBlockInput = MathAddBlockInputs | MathSubtractBlockInputs | MathMultiplyBlockInputs | MathDivideBlockInputs | ParameterRetrieveBlockInputs | PropertyRetrieveBlockInputs | LocationRetrieveBlockInputs | SessionRetrieveBlockInputs | DeviceRetrieveBlockInputs | UserRetrieveBlockInputs | UserCreateBlockInputs | IncidentRetrieveBlockInputs | BenefitCardRetrieveBlockInputs | BenefitCardListBlockInputs | BenefitCardCopyBlockInputs | BenefitCardUpdateBlockInputs | TextMatchBlockInputs | TextTemplateBlockInputs | ParameterUpdateBlockInputs | DeviceUpdateBlockInputs | LocationUpdateBlockInputs | PropertyUpdateBlockInputs | SessionTerminateBlockInputs | SystemLogBlockInputs | UiNavigateScreenBlockInputs | IncidentCreateBlockInputs | HttpsPatchBlockInputs | HttpGetBlockInputs | HttpPostBlockInputs | HttpDeleteBlockInputs | HttpPutBlockInputs | MqttSendBlockInputs | FlowExecuteBlockInputs | MapDestructureBlockInputs | MapConstructBlockInputs | ArrayLengthBlockInputs | ArrayGetBlockInputs | VariableSetBlockInputs | VariableGetBlockInputs | DelaySleepBlockInputs | Record<string, unknown> | PaymentCreateBlockInputs;
1754
+ type FlowBlock = StartCustomBlock | StartQuickActionLocationBlock | StartSessionUpdateBlock | StartLocationUpdateBlock | StartParameterUpdateBlock | StartCronBlock | ConstNumberBlock | ConstTextBlock | ConstBooleanBlock | MathAddBlock | MathSubtractBlock | MathMultiplyBlock | MathDivideBlock | MapDestructureBlock | MapConstructBlock | ArrayLengthBlock | ArrayGetBlock | ParameterRetrieveBlock | PropertyRetrieveBlock | LocationRetrieveBlock | SessionRetrieveBlock | SessionCreateBlock | DeviceRetrieveBlock | UserRetrieveBlock | UserCreateBlock | IncidentRetrieveBlock | BenefitCardRetrieveBlock | BenefitCardListBlock | BenefitCardCopyBlock | BenefitCardUpdateBlock | TextMatchBlock | TextTemplateBlock | ParameterUpdateBlock | DeviceUpdateBlock | LocationUpdateBlock | PropertyUpdateBlock | SessionTerminateBlock | SystemLogBlock | UiNavigateScreenBlock | IncidentCreateBlock | IfBlock | SwitchBlock | HttpPatchBlock | HttpGetBlock | HttpPostBlock | HttpDeleteBlock | HttpPutBlock | MqttSendBlock | Rs485SendBlock | Rs485BufferBlock | ModbusReadBlock | ModbusWriteBlock | FlowExecuteBlock | VariableSetBlock | VariableGetBlock | DelaySleepBlock | EndCustomBlock | PaymentCreateBlock;
1755
+ type FlowBlockInput = MathAddBlockInputs | MathSubtractBlockInputs | MathMultiplyBlockInputs | MathDivideBlockInputs | ParameterRetrieveBlockInputs | PropertyRetrieveBlockInputs | LocationRetrieveBlockInputs | SessionRetrieveBlockInputs | SessionCreateBlockInputs | DeviceRetrieveBlockInputs | UserRetrieveBlockInputs | UserCreateBlockInputs | IncidentRetrieveBlockInputs | BenefitCardRetrieveBlockInputs | BenefitCardListBlockInputs | BenefitCardCopyBlockInputs | BenefitCardUpdateBlockInputs | TextMatchBlockInputs | TextTemplateBlockInputs | ParameterUpdateBlockInputs | DeviceUpdateBlockInputs | LocationUpdateBlockInputs | PropertyUpdateBlockInputs | SessionTerminateBlockInputs | SystemLogBlockInputs | UiNavigateScreenBlockInputs | IncidentCreateBlockInputs | HttpsPatchBlockInputs | HttpGetBlockInputs | HttpPostBlockInputs | HttpDeleteBlockInputs | HttpPutBlockInputs | MqttSendBlockInputs | Rs485SendBlockInputs | Rs485BufferBlockInputs | ModbusReadBlockInputs | ModbusWriteBlockInputs | FlowExecuteBlockInputs | MapDestructureBlockInputs | MapConstructBlockInputs | ArrayLengthBlockInputs | ArrayGetBlockInputs | VariableSetBlockInputs | VariableGetBlockInputs | DelaySleepBlockInputs | Record<string, unknown> | PaymentCreateBlockInputs;
1602
1756
  interface FlowDataEdge {
1603
1757
  id: string;
1604
1758
  type: "data";
@@ -4085,6 +4239,7 @@ declare namespace JUHUU {
4085
4239
  latitudeTopLeft: number;
4086
4240
  longitudeBottomRight: number;
4087
4241
  latitudeBottomRight: number;
4242
+ pointClusterId?: string | null;
4088
4243
  };
4089
4244
  type Options = JUHUU.RequestOptions;
4090
4245
  type Response = JUHUU.Point.Object[];
@@ -7391,4 +7546,4 @@ declare namespace JUHUU {
7391
7546
  }
7392
7547
  }
7393
7548
 
7394
- export { type AccessControlListElement, type AdditionalSubscriptionItem, type Address, type ApiKeyScope, type ApiKeyStatus, type AppStatus, type AppVersionStatus, type ArrayGetBlock, type ArrayGetBlockInputs, type ArrayLengthBlock, type ArrayLengthBlockInputs, type AuthMethodType, 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 DelaySleepBlock, type DelaySleepBlockInputs, 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 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 PaymentCreateBlock, type PaymentCreateBlockInputs, type PaymentMethod, type PaymentReason, type PaymentRefundReason, type PaymentRefundStatus, type PaymentServiceProvider, type PaymentStatus, type PayoutSettings, type PayoutStatus, type PermissionTypes, type Person, type PhoneCountryCode, type Platform, type PlatformString, type PlotData, type PostingRow, type PropertyAgreement, type PropertyRetrieveBlock, type PropertyRetrieveBlockInputs, type PropertyUpdateBlock, type PropertyUpdateBlockInputs, type ProximityStrategy, type Purpose, 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 TextTemplateBlock, type TextTemplateBlockInputs, type TimePeriod, 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 };
7549
+ export { type AccessControlListElement, type AdditionalSubscriptionItem, type Address, type ApiKeyScope, type ApiKeyStatus, type AppStatus, type AppVersionStatus, type ArrayGetBlock, type ArrayGetBlockInputs, type ArrayLengthBlock, type ArrayLengthBlockInputs, type AuthMethodType, 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 DelaySleepBlock, type DelaySleepBlockInputs, 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 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 ModbusFunctionCode, type ModbusReadBlock, type ModbusReadBlockInputs, type ModbusWriteBlock, type ModbusWriteBlockInputs, type ModbusWriteFunctionCode, type MqttSendBlock, type MqttSendBlockInputs, Offer, type OfferTime, type PanelDisplay, type ParamDefinition, type ParamType, type ParameterRetrieveBlock, type ParameterRetrieveBlockInputs, type ParameterUpdateBlock, type ParameterUpdateBlockInputs, type Party, type PaymentCreateBlock, type PaymentCreateBlockInputs, type PaymentMethod, type PaymentReason, type PaymentRefundReason, type PaymentRefundStatus, type PaymentServiceProvider, type PaymentStatus, type PayoutSettings, type PayoutStatus, type PermissionTypes, type Person, type PhoneCountryCode, type Platform, type PlatformString, type PlotData, type PostingRow, type PropertyAgreement, type PropertyRetrieveBlock, type PropertyRetrieveBlockInputs, type PropertyUpdateBlock, type PropertyUpdateBlockInputs, type ProximityStrategy, type Purpose, type QuickAction, type QuickView, ReadonlyCategoryArray, ReadonlyModalityArray, ReadonlySectorArray, type RefundStatus, type Rs485BufferBlock, type Rs485BufferBlockInputs, type Rs485SendBlock, type Rs485SendBlockInputs, type Sector, type SessionCannotTerminateReason, type SessionCreateBlock, type SessionCreateBlockInputs, type SessionRetrieveBlock, type SessionRetrieveBlockInputs, type SessionSettings, type SessionStatus, type SessionTerminateBlock, type SessionTerminateBlockInputs, type SessionTerminatedByType, type SessionType, Settings, type SimStatus, type StarRating, type StartCronBlock, 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 TextTemplateBlock, type TextTemplateBlockInputs, type TimePeriod, 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
@@ -1571,7 +1571,8 @@ var PointsService = class extends Service {
1571
1571
  "longitudeTopLeft=" + PointListParams.longitudeTopLeft,
1572
1572
  "latitudeTopLeft=" + PointListParams.latitudeTopLeft,
1573
1573
  "longitudeBottomRight=" + PointListParams.longitudeBottomRight,
1574
- "latitudeBottomRight=" + PointListParams.latitudeBottomRight
1574
+ "latitudeBottomRight=" + PointListParams.latitudeBottomRight,
1575
+ "pointClusterId=" + (PointListParams.pointClusterId ?? void 0)
1575
1576
  ];
1576
1577
  return await super.sendRequest(
1577
1578
  {
@@ -4246,6 +4247,15 @@ var FlowsService = class extends Service {
4246
4247
  output: outputs
4247
4248
  };
4248
4249
  },
4250
+ "start.cron": async (_inputs, block) => {
4251
+ const fb = block;
4252
+ return {
4253
+ output: {
4254
+ cronExpression: fb.data.cronExpression,
4255
+ triggeredAt: (/* @__PURE__ */ new Date()).toISOString()
4256
+ }
4257
+ };
4258
+ },
4249
4259
  "control.if": async (inputs, block) => {
4250
4260
  const fb = block;
4251
4261
  const result = import_json_logic_js.default.apply(fb.data.condition, inputs);
package/dist/index.mjs CHANGED
@@ -1527,7 +1527,8 @@ var PointsService = class extends Service {
1527
1527
  "longitudeTopLeft=" + PointListParams.longitudeTopLeft,
1528
1528
  "latitudeTopLeft=" + PointListParams.latitudeTopLeft,
1529
1529
  "longitudeBottomRight=" + PointListParams.longitudeBottomRight,
1530
- "latitudeBottomRight=" + PointListParams.latitudeBottomRight
1530
+ "latitudeBottomRight=" + PointListParams.latitudeBottomRight,
1531
+ "pointClusterId=" + (PointListParams.pointClusterId ?? void 0)
1531
1532
  ];
1532
1533
  return await super.sendRequest(
1533
1534
  {
@@ -4202,6 +4203,15 @@ var FlowsService = class extends Service {
4202
4203
  output: outputs
4203
4204
  };
4204
4205
  },
4206
+ "start.cron": async (_inputs, block) => {
4207
+ const fb = block;
4208
+ return {
4209
+ output: {
4210
+ cronExpression: fb.data.cronExpression,
4211
+ triggeredAt: (/* @__PURE__ */ new Date()).toISOString()
4212
+ }
4213
+ };
4214
+ },
4205
4215
  "control.if": async (inputs, block) => {
4206
4216
  const fb = block;
4207
4217
  const result = jsonLogic.apply(fb.data.condition, inputs);
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "provenance": true
4
4
  },
5
5
  "name": "@juhuu/sdk-ts",
6
- "version": "1.3.21",
6
+ "version": "1.3.23",
7
7
  "description": "Typescript wrapper for JUHUU services",
8
8
  "main": "./dist/index.js",
9
9
  "module": "./dist/index.mjs",