@juhuu/sdk-ts 1.3.22 → 1.3.24

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";
@@ -5504,15 +5658,22 @@ declare namespace JUHUU {
5504
5658
  type Params = {
5505
5659
  propertyId?: string;
5506
5660
  parameterId?: string;
5661
+ cursor?: string;
5662
+ createdAt?: {
5663
+ gte?: number;
5664
+ lte?: number;
5665
+ gt?: number;
5666
+ lt?: number;
5667
+ };
5507
5668
  };
5508
5669
  type Options = {
5509
- skip?: number;
5510
5670
  limit?: number;
5511
5671
  } & JUHUU.RequestOptions;
5512
5672
  type Response = {
5513
5673
  parameterHistoryArray: JUHUU.ParameterHistory.Object[];
5514
5674
  count: number;
5515
5675
  hasMore: boolean;
5676
+ nextCursor: string | null;
5516
5677
  };
5517
5678
  }
5518
5679
  export { };
@@ -7392,4 +7553,4 @@ declare namespace JUHUU {
7392
7553
  }
7393
7554
  }
7394
7555
 
7395
- 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 };
7556
+ 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";
@@ -5504,15 +5658,22 @@ declare namespace JUHUU {
5504
5658
  type Params = {
5505
5659
  propertyId?: string;
5506
5660
  parameterId?: string;
5661
+ cursor?: string;
5662
+ createdAt?: {
5663
+ gte?: number;
5664
+ lte?: number;
5665
+ gt?: number;
5666
+ lt?: number;
5667
+ };
5507
5668
  };
5508
5669
  type Options = {
5509
- skip?: number;
5510
5670
  limit?: number;
5511
5671
  } & JUHUU.RequestOptions;
5512
5672
  type Response = {
5513
5673
  parameterHistoryArray: JUHUU.ParameterHistory.Object[];
5514
5674
  count: number;
5515
5675
  hasMore: boolean;
5676
+ nextCursor: string | null;
5516
5677
  };
5517
5678
  }
5518
5679
  export { };
@@ -7392,4 +7553,4 @@ declare namespace JUHUU {
7392
7553
  }
7393
7554
  }
7394
7555
 
7395
- 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 };
7556
+ 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
@@ -3409,12 +3409,32 @@ var ParameterHistoriesService = class extends Service {
3409
3409
  if (ParameterHistoryListParams?.parameterId !== void 0) {
3410
3410
  queryArray.push("parameterId=" + ParameterHistoryListParams.parameterId);
3411
3411
  }
3412
+ if (ParameterHistoryListParams?.cursor !== void 0) {
3413
+ queryArray.push("cursor=" + ParameterHistoryListParams.cursor);
3414
+ }
3415
+ if (ParameterHistoryListParams?.createdAt?.gte !== void 0) {
3416
+ queryArray.push(
3417
+ "createdAt[gte]=" + ParameterHistoryListParams.createdAt.gte
3418
+ );
3419
+ }
3420
+ if (ParameterHistoryListParams?.createdAt?.lte !== void 0) {
3421
+ queryArray.push(
3422
+ "createdAt[lte]=" + ParameterHistoryListParams.createdAt.lte
3423
+ );
3424
+ }
3425
+ if (ParameterHistoryListParams?.createdAt?.gt !== void 0) {
3426
+ queryArray.push(
3427
+ "createdAt[gt]=" + ParameterHistoryListParams.createdAt.gt
3428
+ );
3429
+ }
3430
+ if (ParameterHistoryListParams?.createdAt?.lt !== void 0) {
3431
+ queryArray.push(
3432
+ "createdAt[lt]=" + ParameterHistoryListParams.createdAt.lt
3433
+ );
3434
+ }
3412
3435
  if (ParameterHistoryListOptions?.limit !== void 0) {
3413
3436
  queryArray.push("limit=" + ParameterHistoryListOptions.limit);
3414
3437
  }
3415
- if (ParameterHistoryListOptions?.skip !== void 0) {
3416
- queryArray.push("skip=" + ParameterHistoryListOptions.skip);
3417
- }
3418
3438
  return await super.sendRequest(
3419
3439
  {
3420
3440
  method: "GET",
@@ -4247,6 +4267,15 @@ var FlowsService = class extends Service {
4247
4267
  output: outputs
4248
4268
  };
4249
4269
  },
4270
+ "start.cron": async (_inputs, block) => {
4271
+ const fb = block;
4272
+ return {
4273
+ output: {
4274
+ cronExpression: fb.data.cronExpression,
4275
+ triggeredAt: (/* @__PURE__ */ new Date()).toISOString()
4276
+ }
4277
+ };
4278
+ },
4250
4279
  "control.if": async (inputs, block) => {
4251
4280
  const fb = block;
4252
4281
  const result = import_json_logic_js.default.apply(fb.data.condition, inputs);
package/dist/index.mjs CHANGED
@@ -3365,12 +3365,32 @@ var ParameterHistoriesService = class extends Service {
3365
3365
  if (ParameterHistoryListParams?.parameterId !== void 0) {
3366
3366
  queryArray.push("parameterId=" + ParameterHistoryListParams.parameterId);
3367
3367
  }
3368
+ if (ParameterHistoryListParams?.cursor !== void 0) {
3369
+ queryArray.push("cursor=" + ParameterHistoryListParams.cursor);
3370
+ }
3371
+ if (ParameterHistoryListParams?.createdAt?.gte !== void 0) {
3372
+ queryArray.push(
3373
+ "createdAt[gte]=" + ParameterHistoryListParams.createdAt.gte
3374
+ );
3375
+ }
3376
+ if (ParameterHistoryListParams?.createdAt?.lte !== void 0) {
3377
+ queryArray.push(
3378
+ "createdAt[lte]=" + ParameterHistoryListParams.createdAt.lte
3379
+ );
3380
+ }
3381
+ if (ParameterHistoryListParams?.createdAt?.gt !== void 0) {
3382
+ queryArray.push(
3383
+ "createdAt[gt]=" + ParameterHistoryListParams.createdAt.gt
3384
+ );
3385
+ }
3386
+ if (ParameterHistoryListParams?.createdAt?.lt !== void 0) {
3387
+ queryArray.push(
3388
+ "createdAt[lt]=" + ParameterHistoryListParams.createdAt.lt
3389
+ );
3390
+ }
3368
3391
  if (ParameterHistoryListOptions?.limit !== void 0) {
3369
3392
  queryArray.push("limit=" + ParameterHistoryListOptions.limit);
3370
3393
  }
3371
- if (ParameterHistoryListOptions?.skip !== void 0) {
3372
- queryArray.push("skip=" + ParameterHistoryListOptions.skip);
3373
- }
3374
3394
  return await super.sendRequest(
3375
3395
  {
3376
3396
  method: "GET",
@@ -4203,6 +4223,15 @@ var FlowsService = class extends Service {
4203
4223
  output: outputs
4204
4224
  };
4205
4225
  },
4226
+ "start.cron": async (_inputs, block) => {
4227
+ const fb = block;
4228
+ return {
4229
+ output: {
4230
+ cronExpression: fb.data.cronExpression,
4231
+ triggeredAt: (/* @__PURE__ */ new Date()).toISOString()
4232
+ }
4233
+ };
4234
+ },
4206
4235
  "control.if": async (inputs, block) => {
4207
4236
  const fb = block;
4208
4237
  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.22",
6
+ "version": "1.3.24",
7
7
  "description": "Typescript wrapper for JUHUU services",
8
8
  "main": "./dist/index.js",
9
9
  "module": "./dist/index.mjs",