@juhuu/sdk-ts 1.2.285 → 1.2.286
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 +13 -1
- package/dist/index.d.ts +13 -1
- package/dist/index.js +11 -4
- package/dist/index.mjs +11 -4
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -583,6 +583,7 @@ interface StartSessionUpdateBlock extends BaseBlock {
|
|
|
583
583
|
out: {
|
|
584
584
|
before: DataEdgeConnection;
|
|
585
585
|
after: DataEdgeConnection;
|
|
586
|
+
changedFields: DataEdgeConnection;
|
|
586
587
|
};
|
|
587
588
|
}
|
|
588
589
|
interface StartLocationUpdateBlock extends BaseBlock {
|
|
@@ -591,6 +592,7 @@ interface StartLocationUpdateBlock extends BaseBlock {
|
|
|
591
592
|
out: {
|
|
592
593
|
before: DataEdgeConnection;
|
|
593
594
|
after: DataEdgeConnection;
|
|
595
|
+
changedFields: DataEdgeConnection;
|
|
594
596
|
};
|
|
595
597
|
}
|
|
596
598
|
interface StartParameterUpdateBlock extends BaseBlock {
|
|
@@ -599,6 +601,7 @@ interface StartParameterUpdateBlock extends BaseBlock {
|
|
|
599
601
|
out: {
|
|
600
602
|
beforeParameter: DataEdgeConnection;
|
|
601
603
|
afterParameter: DataEdgeConnection;
|
|
604
|
+
changedFields: DataEdgeConnection;
|
|
602
605
|
};
|
|
603
606
|
}
|
|
604
607
|
interface ParameterRetrieveBlock extends BaseBlock {
|
|
@@ -1305,7 +1308,7 @@ interface EndCustomBlock extends BaseBlock {
|
|
|
1305
1308
|
outputParamDefinitionArray: ParamDefinition[];
|
|
1306
1309
|
};
|
|
1307
1310
|
}
|
|
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 |
|
|
1311
|
+
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 | VariableSetBlock | VariableGetBlock | EndCustomBlock;
|
|
1309
1312
|
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>;
|
|
1310
1313
|
interface FlowDataEdge {
|
|
1311
1314
|
id: string;
|
|
@@ -4180,6 +4183,7 @@ declare namespace JUHUU {
|
|
|
4180
4183
|
proximityStrategyArray: ProximityStrategy[];
|
|
4181
4184
|
adminQuickViewArray: QuickView[];
|
|
4182
4185
|
simIdArray: string[];
|
|
4186
|
+
panelId: string | null;
|
|
4183
4187
|
};
|
|
4184
4188
|
namespace Create {
|
|
4185
4189
|
type Params = {
|
|
@@ -4187,6 +4191,7 @@ declare namespace JUHUU {
|
|
|
4187
4191
|
acceptTerms: boolean;
|
|
4188
4192
|
name?: string;
|
|
4189
4193
|
deviceTemplateId: string;
|
|
4194
|
+
panelId?: string;
|
|
4190
4195
|
};
|
|
4191
4196
|
type Options = JUHUU.RequestOptions;
|
|
4192
4197
|
type Response = {
|
|
@@ -4237,6 +4242,7 @@ declare namespace JUHUU {
|
|
|
4237
4242
|
simIdArray?: string[];
|
|
4238
4243
|
permissionArray?: DevicePermission[];
|
|
4239
4244
|
parameterIdArray?: string[];
|
|
4245
|
+
panelId?: string | null;
|
|
4240
4246
|
};
|
|
4241
4247
|
type Options = JUHUU.RequestOptions;
|
|
4242
4248
|
type Response = {
|
|
@@ -6308,6 +6314,8 @@ declare namespace JUHUU {
|
|
|
6308
6314
|
highlightLayoutBlockArray: LayoutBlock[];
|
|
6309
6315
|
variables: Record<string, any>;
|
|
6310
6316
|
display: PanelDisplay;
|
|
6317
|
+
permissionArray: DevicePermission[];
|
|
6318
|
+
proximityStrategyArray: ProximityStrategy[];
|
|
6311
6319
|
};
|
|
6312
6320
|
namespace Create {
|
|
6313
6321
|
type Params = {
|
|
@@ -6317,6 +6325,8 @@ declare namespace JUHUU {
|
|
|
6317
6325
|
highlightLayoutBlockArray?: LayoutBlock[];
|
|
6318
6326
|
variables?: Record<string, any>;
|
|
6319
6327
|
display?: PanelDisplay;
|
|
6328
|
+
permissionArray?: DevicePermission[];
|
|
6329
|
+
proximityStrategyArray?: ProximityStrategy[];
|
|
6320
6330
|
};
|
|
6321
6331
|
type Options = JUHUU.RequestOptions;
|
|
6322
6332
|
type Response = {
|
|
@@ -6355,6 +6365,8 @@ declare namespace JUHUU {
|
|
|
6355
6365
|
highlightLayoutBlockArray?: LayoutBlock[];
|
|
6356
6366
|
variables?: Record<string, any>;
|
|
6357
6367
|
display?: PanelDisplay;
|
|
6368
|
+
permissionArray?: DevicePermission[];
|
|
6369
|
+
proximityStrategyArray?: ProximityStrategy[];
|
|
6358
6370
|
};
|
|
6359
6371
|
type Options = JUHUU.RequestOptions;
|
|
6360
6372
|
type Response = {
|
package/dist/index.d.ts
CHANGED
|
@@ -583,6 +583,7 @@ interface StartSessionUpdateBlock extends BaseBlock {
|
|
|
583
583
|
out: {
|
|
584
584
|
before: DataEdgeConnection;
|
|
585
585
|
after: DataEdgeConnection;
|
|
586
|
+
changedFields: DataEdgeConnection;
|
|
586
587
|
};
|
|
587
588
|
}
|
|
588
589
|
interface StartLocationUpdateBlock extends BaseBlock {
|
|
@@ -591,6 +592,7 @@ interface StartLocationUpdateBlock extends BaseBlock {
|
|
|
591
592
|
out: {
|
|
592
593
|
before: DataEdgeConnection;
|
|
593
594
|
after: DataEdgeConnection;
|
|
595
|
+
changedFields: DataEdgeConnection;
|
|
594
596
|
};
|
|
595
597
|
}
|
|
596
598
|
interface StartParameterUpdateBlock extends BaseBlock {
|
|
@@ -599,6 +601,7 @@ interface StartParameterUpdateBlock extends BaseBlock {
|
|
|
599
601
|
out: {
|
|
600
602
|
beforeParameter: DataEdgeConnection;
|
|
601
603
|
afterParameter: DataEdgeConnection;
|
|
604
|
+
changedFields: DataEdgeConnection;
|
|
602
605
|
};
|
|
603
606
|
}
|
|
604
607
|
interface ParameterRetrieveBlock extends BaseBlock {
|
|
@@ -1305,7 +1308,7 @@ interface EndCustomBlock extends BaseBlock {
|
|
|
1305
1308
|
outputParamDefinitionArray: ParamDefinition[];
|
|
1306
1309
|
};
|
|
1307
1310
|
}
|
|
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 |
|
|
1311
|
+
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 | VariableSetBlock | VariableGetBlock | EndCustomBlock;
|
|
1309
1312
|
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>;
|
|
1310
1313
|
interface FlowDataEdge {
|
|
1311
1314
|
id: string;
|
|
@@ -4180,6 +4183,7 @@ declare namespace JUHUU {
|
|
|
4180
4183
|
proximityStrategyArray: ProximityStrategy[];
|
|
4181
4184
|
adminQuickViewArray: QuickView[];
|
|
4182
4185
|
simIdArray: string[];
|
|
4186
|
+
panelId: string | null;
|
|
4183
4187
|
};
|
|
4184
4188
|
namespace Create {
|
|
4185
4189
|
type Params = {
|
|
@@ -4187,6 +4191,7 @@ declare namespace JUHUU {
|
|
|
4187
4191
|
acceptTerms: boolean;
|
|
4188
4192
|
name?: string;
|
|
4189
4193
|
deviceTemplateId: string;
|
|
4194
|
+
panelId?: string;
|
|
4190
4195
|
};
|
|
4191
4196
|
type Options = JUHUU.RequestOptions;
|
|
4192
4197
|
type Response = {
|
|
@@ -4237,6 +4242,7 @@ declare namespace JUHUU {
|
|
|
4237
4242
|
simIdArray?: string[];
|
|
4238
4243
|
permissionArray?: DevicePermission[];
|
|
4239
4244
|
parameterIdArray?: string[];
|
|
4245
|
+
panelId?: string | null;
|
|
4240
4246
|
};
|
|
4241
4247
|
type Options = JUHUU.RequestOptions;
|
|
4242
4248
|
type Response = {
|
|
@@ -6308,6 +6314,8 @@ declare namespace JUHUU {
|
|
|
6308
6314
|
highlightLayoutBlockArray: LayoutBlock[];
|
|
6309
6315
|
variables: Record<string, any>;
|
|
6310
6316
|
display: PanelDisplay;
|
|
6317
|
+
permissionArray: DevicePermission[];
|
|
6318
|
+
proximityStrategyArray: ProximityStrategy[];
|
|
6311
6319
|
};
|
|
6312
6320
|
namespace Create {
|
|
6313
6321
|
type Params = {
|
|
@@ -6317,6 +6325,8 @@ declare namespace JUHUU {
|
|
|
6317
6325
|
highlightLayoutBlockArray?: LayoutBlock[];
|
|
6318
6326
|
variables?: Record<string, any>;
|
|
6319
6327
|
display?: PanelDisplay;
|
|
6328
|
+
permissionArray?: DevicePermission[];
|
|
6329
|
+
proximityStrategyArray?: ProximityStrategy[];
|
|
6320
6330
|
};
|
|
6321
6331
|
type Options = JUHUU.RequestOptions;
|
|
6322
6332
|
type Response = {
|
|
@@ -6355,6 +6365,8 @@ declare namespace JUHUU {
|
|
|
6355
6365
|
highlightLayoutBlockArray?: LayoutBlock[];
|
|
6356
6366
|
variables?: Record<string, any>;
|
|
6357
6367
|
display?: PanelDisplay;
|
|
6368
|
+
permissionArray?: DevicePermission[];
|
|
6369
|
+
proximityStrategyArray?: ProximityStrategy[];
|
|
6358
6370
|
};
|
|
6359
6371
|
type Options = JUHUU.RequestOptions;
|
|
6360
6372
|
type Response = {
|
package/dist/index.js
CHANGED
|
@@ -1366,7 +1366,8 @@ var DevicesService = class extends Service {
|
|
|
1366
1366
|
propertyId: DeviceCreateParams.propertyId,
|
|
1367
1367
|
deviceTemplateId: DeviceCreateParams.deviceTemplateId,
|
|
1368
1368
|
name: DeviceCreateParams.name,
|
|
1369
|
-
acceptTerms: DeviceCreateParams.acceptTerms
|
|
1369
|
+
acceptTerms: DeviceCreateParams.acceptTerms,
|
|
1370
|
+
panelId: DeviceCreateParams.panelId
|
|
1370
1371
|
},
|
|
1371
1372
|
authenticationNotOptional: true
|
|
1372
1373
|
},
|
|
@@ -1434,7 +1435,8 @@ var DevicesService = class extends Service {
|
|
|
1434
1435
|
parameterIdArray: DeviceUpdateParams.parameterIdArray,
|
|
1435
1436
|
permissionArray: DeviceUpdateParams.permissionArray,
|
|
1436
1437
|
proximityStrategyArray: DeviceUpdateParams.proximityStrategyArray,
|
|
1437
|
-
simIdArray: DeviceUpdateParams.simIdArray
|
|
1438
|
+
simIdArray: DeviceUpdateParams.simIdArray,
|
|
1439
|
+
panelId: DeviceUpdateParams.panelId
|
|
1438
1440
|
},
|
|
1439
1441
|
authenticationNotOptional: true
|
|
1440
1442
|
},
|
|
@@ -5125,7 +5127,10 @@ var PanelsService = class extends Service {
|
|
|
5125
5127
|
name: params.name,
|
|
5126
5128
|
layoutBlockArray: params.layoutBlockArray,
|
|
5127
5129
|
highlightLayoutBlockArray: params.highlightLayoutBlockArray,
|
|
5128
|
-
variables: params.variables
|
|
5130
|
+
variables: params.variables,
|
|
5131
|
+
display: params.display,
|
|
5132
|
+
permissionArray: params.permissionArray,
|
|
5133
|
+
proximityStrategyArray: params.proximityStrategyArray
|
|
5129
5134
|
},
|
|
5130
5135
|
authenticationNotOptional: true
|
|
5131
5136
|
},
|
|
@@ -5178,7 +5183,9 @@ var PanelsService = class extends Service {
|
|
|
5178
5183
|
layoutBlockArray: params.layoutBlockArray,
|
|
5179
5184
|
highlightLayoutBlockArray: params.highlightLayoutBlockArray,
|
|
5180
5185
|
variables: params.variables,
|
|
5181
|
-
display: params.display
|
|
5186
|
+
display: params.display,
|
|
5187
|
+
permissionArray: params.permissionArray,
|
|
5188
|
+
proximityStrategyArray: params.proximityStrategyArray
|
|
5182
5189
|
},
|
|
5183
5190
|
authenticationNotOptional: true
|
|
5184
5191
|
},
|
package/dist/index.mjs
CHANGED
|
@@ -1322,7 +1322,8 @@ var DevicesService = class extends Service {
|
|
|
1322
1322
|
propertyId: DeviceCreateParams.propertyId,
|
|
1323
1323
|
deviceTemplateId: DeviceCreateParams.deviceTemplateId,
|
|
1324
1324
|
name: DeviceCreateParams.name,
|
|
1325
|
-
acceptTerms: DeviceCreateParams.acceptTerms
|
|
1325
|
+
acceptTerms: DeviceCreateParams.acceptTerms,
|
|
1326
|
+
panelId: DeviceCreateParams.panelId
|
|
1326
1327
|
},
|
|
1327
1328
|
authenticationNotOptional: true
|
|
1328
1329
|
},
|
|
@@ -1390,7 +1391,8 @@ var DevicesService = class extends Service {
|
|
|
1390
1391
|
parameterIdArray: DeviceUpdateParams.parameterIdArray,
|
|
1391
1392
|
permissionArray: DeviceUpdateParams.permissionArray,
|
|
1392
1393
|
proximityStrategyArray: DeviceUpdateParams.proximityStrategyArray,
|
|
1393
|
-
simIdArray: DeviceUpdateParams.simIdArray
|
|
1394
|
+
simIdArray: DeviceUpdateParams.simIdArray,
|
|
1395
|
+
panelId: DeviceUpdateParams.panelId
|
|
1394
1396
|
},
|
|
1395
1397
|
authenticationNotOptional: true
|
|
1396
1398
|
},
|
|
@@ -5081,7 +5083,10 @@ var PanelsService = class extends Service {
|
|
|
5081
5083
|
name: params.name,
|
|
5082
5084
|
layoutBlockArray: params.layoutBlockArray,
|
|
5083
5085
|
highlightLayoutBlockArray: params.highlightLayoutBlockArray,
|
|
5084
|
-
variables: params.variables
|
|
5086
|
+
variables: params.variables,
|
|
5087
|
+
display: params.display,
|
|
5088
|
+
permissionArray: params.permissionArray,
|
|
5089
|
+
proximityStrategyArray: params.proximityStrategyArray
|
|
5085
5090
|
},
|
|
5086
5091
|
authenticationNotOptional: true
|
|
5087
5092
|
},
|
|
@@ -5134,7 +5139,9 @@ var PanelsService = class extends Service {
|
|
|
5134
5139
|
layoutBlockArray: params.layoutBlockArray,
|
|
5135
5140
|
highlightLayoutBlockArray: params.highlightLayoutBlockArray,
|
|
5136
5141
|
variables: params.variables,
|
|
5137
|
-
display: params.display
|
|
5142
|
+
display: params.display,
|
|
5143
|
+
permissionArray: params.permissionArray,
|
|
5144
|
+
proximityStrategyArray: params.proximityStrategyArray
|
|
5138
5145
|
},
|
|
5139
5146
|
authenticationNotOptional: true
|
|
5140
5147
|
},
|