@juhuu/sdk-ts 1.2.259 → 1.2.261
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 +62 -82
- package/dist/index.d.ts +62 -82
- package/dist/index.js +9 -51
- package/dist/index.mjs +9 -51
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -895,6 +895,41 @@ interface SessionTerminateBlockInputs {
|
|
|
895
895
|
shouldRetry: boolean;
|
|
896
896
|
autoRenewIfAvailable: boolean;
|
|
897
897
|
}
|
|
898
|
+
interface SystemLogBlock extends BaseBlock {
|
|
899
|
+
type: "system.log";
|
|
900
|
+
in: {
|
|
901
|
+
severity: DataEdgeConnection;
|
|
902
|
+
message: DataEdgeConnection;
|
|
903
|
+
};
|
|
904
|
+
out: Record<string, never>;
|
|
905
|
+
data: {
|
|
906
|
+
severity?: "debug" | "info" | "warning" | "error";
|
|
907
|
+
message?: string;
|
|
908
|
+
};
|
|
909
|
+
}
|
|
910
|
+
interface SystemLogBlockInputs {
|
|
911
|
+
severity: "debug" | "info" | "warning" | "error";
|
|
912
|
+
message: string;
|
|
913
|
+
}
|
|
914
|
+
interface UiNavigateScreenBlock extends BaseBlock {
|
|
915
|
+
type: "ui.navigate.screen";
|
|
916
|
+
in: {
|
|
917
|
+
target: DataEdgeConnection;
|
|
918
|
+
transition: DataEdgeConnection;
|
|
919
|
+
params: DataEdgeConnection;
|
|
920
|
+
};
|
|
921
|
+
out: Record<string, never>;
|
|
922
|
+
data: {
|
|
923
|
+
target?: "panel" | "location";
|
|
924
|
+
transition?: "push" | "replace";
|
|
925
|
+
params?: Record<string, any>;
|
|
926
|
+
};
|
|
927
|
+
}
|
|
928
|
+
interface UiNavigateScreenBlockInputs {
|
|
929
|
+
target: "panel" | "location";
|
|
930
|
+
transition: "push" | "replace";
|
|
931
|
+
params: Record<string, any>;
|
|
932
|
+
}
|
|
898
933
|
interface IncidentCreateBlock extends BaseBlock {
|
|
899
934
|
type: "incident.create";
|
|
900
935
|
in: {
|
|
@@ -1218,8 +1253,8 @@ interface EndCustomBlock extends BaseBlock {
|
|
|
1218
1253
|
outputParamDefinitionArray: ParamDefinition[];
|
|
1219
1254
|
};
|
|
1220
1255
|
}
|
|
1221
|
-
type FlowBlock = StartCustomBlock | StartQuickActionLocationBlock | StartSessionUpdateBlock | StartLocationUpdateBlock | StartParameterUpdateBlock | ConstNumberBlock | ConstTextBlock | ConstBooleanBlock | MathAddBlock | MathSubtractBlock | MathMultiplyBlock | MathDivideBlock | MapDestructureBlock | ParameterRetrieveBlock | PropertyRetrieveBlock | LocationRetrieveBlock | SessionRetrieveBlock | DeviceRetrieveBlock | UserRetrieveBlock | UserCreateBlock | IncidentRetrieveBlock | ParameterUpdateBlock | DeviceUpdateBlock | LocationUpdateBlock | PropertyUpdateBlock | SessionTerminateBlock | IncidentCreateBlock | IfBlock | SwitchBlock | HttpPatchBlock | HttpGetBlock | HttpPostBlock | HttpDeleteBlock | HttpPutBlock | MqttSendBlock | FlowExecuteBlock | HttpPatchBlock | EndCustomBlock;
|
|
1222
|
-
type FlowBlockInput = MathAddBlockInputs | MathSubtractBlockInputs | MathMultiplyBlockInputs | MathDivideBlockInputs | ParameterRetrieveBlockInputs | PropertyRetrieveBlockInputs | LocationRetrieveBlockInputs | SessionRetrieveBlockInputs | DeviceRetrieveBlockInputs | UserRetrieveBlockInputs | UserCreateBlockInputs | IncidentRetrieveBlockInputs | ParameterUpdateBlockInputs | DeviceUpdateBlockInputs | LocationUpdateBlockInputs | PropertyUpdateBlockInputs | SessionTerminateBlockInputs | IncidentCreateBlockInputs | HttpsPatchBlockInputs | HttpGetBlockInputs | HttpPostBlockInputs | HttpDeleteBlockInputs | HttpPutBlockInputs | MqttSendBlockInputs | FlowExecuteBlockInputs | MapDestructureBlockInputs | Record<string, unknown>;
|
|
1256
|
+
type FlowBlock = StartCustomBlock | StartQuickActionLocationBlock | StartSessionUpdateBlock | StartLocationUpdateBlock | StartParameterUpdateBlock | ConstNumberBlock | ConstTextBlock | ConstBooleanBlock | MathAddBlock | MathSubtractBlock | MathMultiplyBlock | MathDivideBlock | MapDestructureBlock | ParameterRetrieveBlock | PropertyRetrieveBlock | LocationRetrieveBlock | SessionRetrieveBlock | DeviceRetrieveBlock | UserRetrieveBlock | UserCreateBlock | IncidentRetrieveBlock | ParameterUpdateBlock | DeviceUpdateBlock | LocationUpdateBlock | PropertyUpdateBlock | SessionTerminateBlock | SystemLogBlock | UiNavigateScreenBlock | IncidentCreateBlock | IfBlock | SwitchBlock | HttpPatchBlock | HttpGetBlock | HttpPostBlock | HttpDeleteBlock | HttpPutBlock | MqttSendBlock | FlowExecuteBlock | HttpPatchBlock | EndCustomBlock;
|
|
1257
|
+
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 | Record<string, unknown>;
|
|
1223
1258
|
interface FlowDataEdge {
|
|
1224
1259
|
id: string;
|
|
1225
1260
|
type: "data";
|
|
@@ -1270,6 +1305,12 @@ type QuickView = {
|
|
|
1270
1305
|
icon: string | null;
|
|
1271
1306
|
visibleCondition: Condition | null;
|
|
1272
1307
|
};
|
|
1308
|
+
type LocalParameter = {
|
|
1309
|
+
id: string;
|
|
1310
|
+
name: string;
|
|
1311
|
+
value: any;
|
|
1312
|
+
type: string;
|
|
1313
|
+
};
|
|
1273
1314
|
|
|
1274
1315
|
declare class Service {
|
|
1275
1316
|
constructor(config: JUHUU.SetupConfig);
|
|
@@ -6160,67 +6201,24 @@ declare namespace JUHUU {
|
|
|
6160
6201
|
}
|
|
6161
6202
|
}
|
|
6162
6203
|
namespace Panel {
|
|
6163
|
-
type PanelType = "dashboard" | "widget" | "sidebar" | "modal" | "header" | "footer";
|
|
6164
|
-
type PanelStatus = "active" | "inactive" | "hidden" | "archived";
|
|
6165
|
-
type PanelSize = "small" | "medium" | "large" | "fullscreen";
|
|
6166
|
-
type PanelPosition = {
|
|
6167
|
-
x: number;
|
|
6168
|
-
y: number;
|
|
6169
|
-
width: number;
|
|
6170
|
-
height: number;
|
|
6171
|
-
zIndex: number;
|
|
6172
|
-
};
|
|
6173
|
-
type PanelConfig = {
|
|
6174
|
-
theme: string | null;
|
|
6175
|
-
colors: Record<string, string>;
|
|
6176
|
-
layout: Record<string, any>;
|
|
6177
|
-
settings: Record<string, any>;
|
|
6178
|
-
dataSource: string | null;
|
|
6179
|
-
refreshInterval: number | null;
|
|
6180
|
-
};
|
|
6181
6204
|
type Object = {
|
|
6182
6205
|
id: string;
|
|
6206
|
+
version: number;
|
|
6183
6207
|
readonly object: "panel";
|
|
6184
|
-
|
|
6208
|
+
objectType: "dto";
|
|
6185
6209
|
name: string;
|
|
6186
|
-
|
|
6187
|
-
|
|
6188
|
-
|
|
6189
|
-
|
|
6190
|
-
size: PanelSize;
|
|
6191
|
-
isResizable: boolean;
|
|
6192
|
-
isDraggable: boolean;
|
|
6193
|
-
isVisible: boolean;
|
|
6194
|
-
position: PanelPosition;
|
|
6195
|
-
config: PanelConfig;
|
|
6196
|
-
createdAt: string;
|
|
6197
|
-
updatedAt: string;
|
|
6198
|
-
lastAccessedAt: string | null;
|
|
6199
|
-
accessCount: number;
|
|
6200
|
-
permissions: string[];
|
|
6201
|
-
tags: string[];
|
|
6202
|
-
parentPanelId: string | null;
|
|
6203
|
-
order: number;
|
|
6210
|
+
propertyId: string;
|
|
6211
|
+
layoutBlockArray: LayoutBlock[];
|
|
6212
|
+
highlightLayoutBlockArray: LayoutBlock[];
|
|
6213
|
+
localParameterArray: LocalParameter[];
|
|
6204
6214
|
};
|
|
6205
6215
|
namespace Create {
|
|
6206
6216
|
type Params = {
|
|
6207
|
-
|
|
6208
|
-
name
|
|
6209
|
-
|
|
6210
|
-
|
|
6211
|
-
|
|
6212
|
-
status: PanelStatus;
|
|
6213
|
-
size: PanelSize;
|
|
6214
|
-
isResizable: boolean;
|
|
6215
|
-
isDraggable: boolean;
|
|
6216
|
-
isVisible: boolean;
|
|
6217
|
-
position: PanelPosition;
|
|
6218
|
-
config: PanelConfig;
|
|
6219
|
-
accessCount?: number;
|
|
6220
|
-
permissions: string[];
|
|
6221
|
-
tags: string[];
|
|
6222
|
-
parentPanelId?: string | null;
|
|
6223
|
-
order: number;
|
|
6217
|
+
propertyId: string;
|
|
6218
|
+
name?: string;
|
|
6219
|
+
layoutBlockArray?: LayoutBlock[];
|
|
6220
|
+
highlightLayoutBlockArray?: LayoutBlock[];
|
|
6221
|
+
localParameterArray?: LocalParameter[];
|
|
6224
6222
|
};
|
|
6225
6223
|
type Options = JUHUU.RequestOptions;
|
|
6226
6224
|
type Response = {
|
|
@@ -6238,13 +6236,7 @@ declare namespace JUHUU {
|
|
|
6238
6236
|
}
|
|
6239
6237
|
namespace List {
|
|
6240
6238
|
type Params = {
|
|
6241
|
-
|
|
6242
|
-
name?: string;
|
|
6243
|
-
type?: PanelType;
|
|
6244
|
-
status?: PanelStatus;
|
|
6245
|
-
size?: PanelSize;
|
|
6246
|
-
isVisible?: boolean;
|
|
6247
|
-
parentPanelId?: string;
|
|
6239
|
+
propertyId?: string;
|
|
6248
6240
|
};
|
|
6249
6241
|
type Options = {
|
|
6250
6242
|
limit?: number;
|
|
@@ -6252,29 +6244,15 @@ declare namespace JUHUU {
|
|
|
6252
6244
|
} & JUHUU.RequestOptions;
|
|
6253
6245
|
type Response = {
|
|
6254
6246
|
panelArray: JUHUU.Panel.Object[];
|
|
6255
|
-
count: number;
|
|
6256
|
-
hasMore: boolean;
|
|
6257
6247
|
};
|
|
6258
6248
|
}
|
|
6259
6249
|
namespace Update {
|
|
6260
6250
|
type Params = {
|
|
6261
6251
|
panelId: string;
|
|
6262
|
-
userId?: string;
|
|
6263
6252
|
name?: string;
|
|
6264
|
-
|
|
6265
|
-
|
|
6266
|
-
|
|
6267
|
-
status?: PanelStatus;
|
|
6268
|
-
size?: PanelSize;
|
|
6269
|
-
isResizable?: boolean;
|
|
6270
|
-
isDraggable?: boolean;
|
|
6271
|
-
isVisible?: boolean;
|
|
6272
|
-
position?: PanelPosition;
|
|
6273
|
-
config?: PanelConfig;
|
|
6274
|
-
permissions?: string[];
|
|
6275
|
-
tags?: string[];
|
|
6276
|
-
parentPanelId?: string | null;
|
|
6277
|
-
order?: number;
|
|
6253
|
+
layoutBlockArray?: LayoutBlock[];
|
|
6254
|
+
highlightLayoutBlockArray?: LayoutBlock[];
|
|
6255
|
+
localParameterArray?: LocalParameter[];
|
|
6278
6256
|
};
|
|
6279
6257
|
type Options = JUHUU.RequestOptions;
|
|
6280
6258
|
type Response = {
|
|
@@ -6286,7 +6264,9 @@ declare namespace JUHUU {
|
|
|
6286
6264
|
panelId: string;
|
|
6287
6265
|
};
|
|
6288
6266
|
type Options = JUHUU.RequestOptions;
|
|
6289
|
-
type Response =
|
|
6267
|
+
type Response = {
|
|
6268
|
+
panel: JUHUU.Panel.Object;
|
|
6269
|
+
};
|
|
6290
6270
|
}
|
|
6291
6271
|
}
|
|
6292
6272
|
namespace Price {
|
|
@@ -6501,4 +6481,4 @@ declare namespace JUHUU {
|
|
|
6501
6481
|
}
|
|
6502
6482
|
}
|
|
6503
6483
|
|
|
6504
|
-
export { type AccessControlListElement, type Address, type ApiKeyScope, type ApiKeyStatus, type AutoRenewMode, type BaseBlock, type BusinessType, type Capability, type Category, type Circumstance, type Color, type ColorScheme, type Command, type Condition, ConditionType, type ConstBooleanBlock, type ConstNumberBlock, type ConstTextBlock, type ControlEdgeConnection, type CountryCode, CountryCodeArray, type CurrencyCode, CurrencyCodeArray, type CustomClaims, type DataEdgeConnection, type DeepNullable, type DevicePermission, type DeviceRetrieveBlock, type DeviceRetrieveBlockInputs, type DeviceStatus, type DeviceType, type DeviceUpdateBlock, type DeviceUpdateBlockInputs, type EndCustomBlock, type Environment, type EnvironmentSettings, type ExtractType, type FlowBlock, type FlowBlockInput, type FlowControlEdge, type FlowDataEdge, type FlowEdge, type FlowExecuteBlock, type FlowExecuteBlockInputs, type FlowExecutionEnvironment, type FlowLog, type FlowStatus, type Frontend, type GeneralSettings, type GeoPoint, type GraphNode, type HttpDeleteBlock, type HttpDeleteBlockInputs, type HttpGetBlock, type HttpGetBlockInputs, type HttpPatchBlock, type HttpPostBlock, type HttpPostBlockInputs, type HttpPutBlock, type HttpPutBlockInputs, type HttpsPatchBlockInputs, type IfBlock, type IncidentCreateBlock, type IncidentCreateBlockInputs, type IncidentRetrieveBlock, type IncidentRetrieveBlockInputs, JUHUU, type JsonLogic, Juhuu, type LanguageCode, LanguageCodeArray, Layout, type LayoutBlock, type License, type LicenseTariffIdMap, type LinkType, type LocaleString, type LocationRetrieveBlock, type LocationRetrieveBlockInputs, type LocationUpdateBlock, type LocationUpdateBlockInputs, type MapDestructureBlock, type MapDestructureBlockInputs, type MapFilter, type MathAddBlock, type MathAddBlockInputs, type MathDivideBlock, type MathDivideBlockInputs, type MathMultiplyBlock, type MathMultiplyBlockInputs, type MathSubtractBlock, type MathSubtractBlockInputs, type Modality, type MqttSendBlock, type MqttSendBlockInputs, Offer, type OfferTime, type ParamDefinition, type ParamType, type ParameterRetrieveBlock, type ParameterRetrieveBlockInputs, type ParameterUpdateBlock, type ParameterUpdateBlockInputs, type Party, type PaymentMethod, type PaymentReason, type PaymentRefundReason, type PaymentRefundStatus, type PaymentServiceProvider, type PaymentStatus, type PayoutSettings, type PayoutStatus, type PermissionTypes, type Person, type Platform, type PlatformString, type PostingRow, type PropertyRetrieveBlock, type PropertyRetrieveBlockInputs, type PropertyUpdateBlock, type PropertyUpdateBlockInputs, type ProximityStrategy, type Purpose, type PushToken, type QuickAction, type QuickView, ReadonlyCategoryArray, ReadonlyModalityArray, ReadonlySectorArray, type RefundStatus, type Sector, type SessionCannotTerminateReason, type SessionRetrieveBlock, type SessionRetrieveBlockInputs, type SessionSettings, type SessionStatus, type SessionTerminateBlock, type SessionTerminateBlockInputs, type SessionTerminatedByType, type SessionType, Settings, type SimStatus, type StarRating, type StartCustomBlock, type StartLocationUpdateBlock, type StartParameterUpdateBlock, type StartQuickActionLocationBlock, type StartSessionUpdateBlock, type SwitchBlock, type TarifType, type TaxCode, type TimeZone, type Unit, type UserCreateBlock, type UserCreateBlockInputs, type UserGroup, type UserRetrieveBlock, type UserRetrieveBlockInputs, type UserType, type Utilization, type VeloBrushDeviceDocumentUserManualStep, type Viewport, type ViewportPolygon, type VisualPriority, type hexColor };
|
|
6484
|
+
export { type AccessControlListElement, type Address, type ApiKeyScope, type ApiKeyStatus, type AutoRenewMode, type BaseBlock, type BusinessType, type Capability, type Category, type Circumstance, type Color, type ColorScheme, type Command, type Condition, ConditionType, type ConstBooleanBlock, type ConstNumberBlock, type ConstTextBlock, type ControlEdgeConnection, type CountryCode, CountryCodeArray, type CurrencyCode, CurrencyCodeArray, type CustomClaims, type DataEdgeConnection, type DeepNullable, type DevicePermission, type DeviceRetrieveBlock, type DeviceRetrieveBlockInputs, type DeviceStatus, type DeviceType, type DeviceUpdateBlock, type DeviceUpdateBlockInputs, type EndCustomBlock, type Environment, type EnvironmentSettings, type ExtractType, type FlowBlock, type FlowBlockInput, type FlowControlEdge, type FlowDataEdge, type FlowEdge, type FlowExecuteBlock, type FlowExecuteBlockInputs, type FlowExecutionEnvironment, type FlowLog, type FlowStatus, type Frontend, type GeneralSettings, type GeoPoint, type GraphNode, type HttpDeleteBlock, type HttpDeleteBlockInputs, type HttpGetBlock, type HttpGetBlockInputs, type HttpPatchBlock, type HttpPostBlock, type HttpPostBlockInputs, type HttpPutBlock, type HttpPutBlockInputs, type HttpsPatchBlockInputs, type IfBlock, type IncidentCreateBlock, type IncidentCreateBlockInputs, type IncidentRetrieveBlock, type IncidentRetrieveBlockInputs, JUHUU, type JsonLogic, Juhuu, type LanguageCode, LanguageCodeArray, Layout, type LayoutBlock, type License, type LicenseTariffIdMap, type LinkType, type LocalParameter, type LocaleString, type LocationRetrieveBlock, type LocationRetrieveBlockInputs, type LocationUpdateBlock, type LocationUpdateBlockInputs, type MapDestructureBlock, type MapDestructureBlockInputs, type MapFilter, type MathAddBlock, type MathAddBlockInputs, type MathDivideBlock, type MathDivideBlockInputs, type MathMultiplyBlock, type MathMultiplyBlockInputs, type MathSubtractBlock, type MathSubtractBlockInputs, type Modality, type MqttSendBlock, type MqttSendBlockInputs, Offer, type OfferTime, type ParamDefinition, type ParamType, type ParameterRetrieveBlock, type ParameterRetrieveBlockInputs, type ParameterUpdateBlock, type ParameterUpdateBlockInputs, type Party, type PaymentMethod, type PaymentReason, type PaymentRefundReason, type PaymentRefundStatus, type PaymentServiceProvider, type PaymentStatus, type PayoutSettings, type PayoutStatus, type PermissionTypes, type Person, type Platform, type PlatformString, type PostingRow, type PropertyRetrieveBlock, type PropertyRetrieveBlockInputs, type PropertyUpdateBlock, type PropertyUpdateBlockInputs, type ProximityStrategy, type Purpose, type PushToken, type QuickAction, type QuickView, ReadonlyCategoryArray, ReadonlyModalityArray, ReadonlySectorArray, type RefundStatus, type Sector, type SessionCannotTerminateReason, type SessionRetrieveBlock, type SessionRetrieveBlockInputs, type SessionSettings, type SessionStatus, type SessionTerminateBlock, type SessionTerminateBlockInputs, type SessionTerminatedByType, type SessionType, Settings, type SimStatus, type StarRating, type StartCustomBlock, type StartLocationUpdateBlock, type StartParameterUpdateBlock, type StartQuickActionLocationBlock, type StartSessionUpdateBlock, type SwitchBlock, type SystemLogBlock, type SystemLogBlockInputs, type TarifType, type TaxCode, type TimeZone, type UiNavigateScreenBlock, type UiNavigateScreenBlockInputs, type Unit, type UserCreateBlock, type UserCreateBlockInputs, type UserGroup, type UserRetrieveBlock, type UserRetrieveBlockInputs, type UserType, type Utilization, type VeloBrushDeviceDocumentUserManualStep, type Viewport, type ViewportPolygon, type VisualPriority, type hexColor };
|
package/dist/index.d.ts
CHANGED
|
@@ -895,6 +895,41 @@ interface SessionTerminateBlockInputs {
|
|
|
895
895
|
shouldRetry: boolean;
|
|
896
896
|
autoRenewIfAvailable: boolean;
|
|
897
897
|
}
|
|
898
|
+
interface SystemLogBlock extends BaseBlock {
|
|
899
|
+
type: "system.log";
|
|
900
|
+
in: {
|
|
901
|
+
severity: DataEdgeConnection;
|
|
902
|
+
message: DataEdgeConnection;
|
|
903
|
+
};
|
|
904
|
+
out: Record<string, never>;
|
|
905
|
+
data: {
|
|
906
|
+
severity?: "debug" | "info" | "warning" | "error";
|
|
907
|
+
message?: string;
|
|
908
|
+
};
|
|
909
|
+
}
|
|
910
|
+
interface SystemLogBlockInputs {
|
|
911
|
+
severity: "debug" | "info" | "warning" | "error";
|
|
912
|
+
message: string;
|
|
913
|
+
}
|
|
914
|
+
interface UiNavigateScreenBlock extends BaseBlock {
|
|
915
|
+
type: "ui.navigate.screen";
|
|
916
|
+
in: {
|
|
917
|
+
target: DataEdgeConnection;
|
|
918
|
+
transition: DataEdgeConnection;
|
|
919
|
+
params: DataEdgeConnection;
|
|
920
|
+
};
|
|
921
|
+
out: Record<string, never>;
|
|
922
|
+
data: {
|
|
923
|
+
target?: "panel" | "location";
|
|
924
|
+
transition?: "push" | "replace";
|
|
925
|
+
params?: Record<string, any>;
|
|
926
|
+
};
|
|
927
|
+
}
|
|
928
|
+
interface UiNavigateScreenBlockInputs {
|
|
929
|
+
target: "panel" | "location";
|
|
930
|
+
transition: "push" | "replace";
|
|
931
|
+
params: Record<string, any>;
|
|
932
|
+
}
|
|
898
933
|
interface IncidentCreateBlock extends BaseBlock {
|
|
899
934
|
type: "incident.create";
|
|
900
935
|
in: {
|
|
@@ -1218,8 +1253,8 @@ interface EndCustomBlock extends BaseBlock {
|
|
|
1218
1253
|
outputParamDefinitionArray: ParamDefinition[];
|
|
1219
1254
|
};
|
|
1220
1255
|
}
|
|
1221
|
-
type FlowBlock = StartCustomBlock | StartQuickActionLocationBlock | StartSessionUpdateBlock | StartLocationUpdateBlock | StartParameterUpdateBlock | ConstNumberBlock | ConstTextBlock | ConstBooleanBlock | MathAddBlock | MathSubtractBlock | MathMultiplyBlock | MathDivideBlock | MapDestructureBlock | ParameterRetrieveBlock | PropertyRetrieveBlock | LocationRetrieveBlock | SessionRetrieveBlock | DeviceRetrieveBlock | UserRetrieveBlock | UserCreateBlock | IncidentRetrieveBlock | ParameterUpdateBlock | DeviceUpdateBlock | LocationUpdateBlock | PropertyUpdateBlock | SessionTerminateBlock | IncidentCreateBlock | IfBlock | SwitchBlock | HttpPatchBlock | HttpGetBlock | HttpPostBlock | HttpDeleteBlock | HttpPutBlock | MqttSendBlock | FlowExecuteBlock | HttpPatchBlock | EndCustomBlock;
|
|
1222
|
-
type FlowBlockInput = MathAddBlockInputs | MathSubtractBlockInputs | MathMultiplyBlockInputs | MathDivideBlockInputs | ParameterRetrieveBlockInputs | PropertyRetrieveBlockInputs | LocationRetrieveBlockInputs | SessionRetrieveBlockInputs | DeviceRetrieveBlockInputs | UserRetrieveBlockInputs | UserCreateBlockInputs | IncidentRetrieveBlockInputs | ParameterUpdateBlockInputs | DeviceUpdateBlockInputs | LocationUpdateBlockInputs | PropertyUpdateBlockInputs | SessionTerminateBlockInputs | IncidentCreateBlockInputs | HttpsPatchBlockInputs | HttpGetBlockInputs | HttpPostBlockInputs | HttpDeleteBlockInputs | HttpPutBlockInputs | MqttSendBlockInputs | FlowExecuteBlockInputs | MapDestructureBlockInputs | Record<string, unknown>;
|
|
1256
|
+
type FlowBlock = StartCustomBlock | StartQuickActionLocationBlock | StartSessionUpdateBlock | StartLocationUpdateBlock | StartParameterUpdateBlock | ConstNumberBlock | ConstTextBlock | ConstBooleanBlock | MathAddBlock | MathSubtractBlock | MathMultiplyBlock | MathDivideBlock | MapDestructureBlock | ParameterRetrieveBlock | PropertyRetrieveBlock | LocationRetrieveBlock | SessionRetrieveBlock | DeviceRetrieveBlock | UserRetrieveBlock | UserCreateBlock | IncidentRetrieveBlock | ParameterUpdateBlock | DeviceUpdateBlock | LocationUpdateBlock | PropertyUpdateBlock | SessionTerminateBlock | SystemLogBlock | UiNavigateScreenBlock | IncidentCreateBlock | IfBlock | SwitchBlock | HttpPatchBlock | HttpGetBlock | HttpPostBlock | HttpDeleteBlock | HttpPutBlock | MqttSendBlock | FlowExecuteBlock | HttpPatchBlock | EndCustomBlock;
|
|
1257
|
+
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 | Record<string, unknown>;
|
|
1223
1258
|
interface FlowDataEdge {
|
|
1224
1259
|
id: string;
|
|
1225
1260
|
type: "data";
|
|
@@ -1270,6 +1305,12 @@ type QuickView = {
|
|
|
1270
1305
|
icon: string | null;
|
|
1271
1306
|
visibleCondition: Condition | null;
|
|
1272
1307
|
};
|
|
1308
|
+
type LocalParameter = {
|
|
1309
|
+
id: string;
|
|
1310
|
+
name: string;
|
|
1311
|
+
value: any;
|
|
1312
|
+
type: string;
|
|
1313
|
+
};
|
|
1273
1314
|
|
|
1274
1315
|
declare class Service {
|
|
1275
1316
|
constructor(config: JUHUU.SetupConfig);
|
|
@@ -6160,67 +6201,24 @@ declare namespace JUHUU {
|
|
|
6160
6201
|
}
|
|
6161
6202
|
}
|
|
6162
6203
|
namespace Panel {
|
|
6163
|
-
type PanelType = "dashboard" | "widget" | "sidebar" | "modal" | "header" | "footer";
|
|
6164
|
-
type PanelStatus = "active" | "inactive" | "hidden" | "archived";
|
|
6165
|
-
type PanelSize = "small" | "medium" | "large" | "fullscreen";
|
|
6166
|
-
type PanelPosition = {
|
|
6167
|
-
x: number;
|
|
6168
|
-
y: number;
|
|
6169
|
-
width: number;
|
|
6170
|
-
height: number;
|
|
6171
|
-
zIndex: number;
|
|
6172
|
-
};
|
|
6173
|
-
type PanelConfig = {
|
|
6174
|
-
theme: string | null;
|
|
6175
|
-
colors: Record<string, string>;
|
|
6176
|
-
layout: Record<string, any>;
|
|
6177
|
-
settings: Record<string, any>;
|
|
6178
|
-
dataSource: string | null;
|
|
6179
|
-
refreshInterval: number | null;
|
|
6180
|
-
};
|
|
6181
6204
|
type Object = {
|
|
6182
6205
|
id: string;
|
|
6206
|
+
version: number;
|
|
6183
6207
|
readonly object: "panel";
|
|
6184
|
-
|
|
6208
|
+
objectType: "dto";
|
|
6185
6209
|
name: string;
|
|
6186
|
-
|
|
6187
|
-
|
|
6188
|
-
|
|
6189
|
-
|
|
6190
|
-
size: PanelSize;
|
|
6191
|
-
isResizable: boolean;
|
|
6192
|
-
isDraggable: boolean;
|
|
6193
|
-
isVisible: boolean;
|
|
6194
|
-
position: PanelPosition;
|
|
6195
|
-
config: PanelConfig;
|
|
6196
|
-
createdAt: string;
|
|
6197
|
-
updatedAt: string;
|
|
6198
|
-
lastAccessedAt: string | null;
|
|
6199
|
-
accessCount: number;
|
|
6200
|
-
permissions: string[];
|
|
6201
|
-
tags: string[];
|
|
6202
|
-
parentPanelId: string | null;
|
|
6203
|
-
order: number;
|
|
6210
|
+
propertyId: string;
|
|
6211
|
+
layoutBlockArray: LayoutBlock[];
|
|
6212
|
+
highlightLayoutBlockArray: LayoutBlock[];
|
|
6213
|
+
localParameterArray: LocalParameter[];
|
|
6204
6214
|
};
|
|
6205
6215
|
namespace Create {
|
|
6206
6216
|
type Params = {
|
|
6207
|
-
|
|
6208
|
-
name
|
|
6209
|
-
|
|
6210
|
-
|
|
6211
|
-
|
|
6212
|
-
status: PanelStatus;
|
|
6213
|
-
size: PanelSize;
|
|
6214
|
-
isResizable: boolean;
|
|
6215
|
-
isDraggable: boolean;
|
|
6216
|
-
isVisible: boolean;
|
|
6217
|
-
position: PanelPosition;
|
|
6218
|
-
config: PanelConfig;
|
|
6219
|
-
accessCount?: number;
|
|
6220
|
-
permissions: string[];
|
|
6221
|
-
tags: string[];
|
|
6222
|
-
parentPanelId?: string | null;
|
|
6223
|
-
order: number;
|
|
6217
|
+
propertyId: string;
|
|
6218
|
+
name?: string;
|
|
6219
|
+
layoutBlockArray?: LayoutBlock[];
|
|
6220
|
+
highlightLayoutBlockArray?: LayoutBlock[];
|
|
6221
|
+
localParameterArray?: LocalParameter[];
|
|
6224
6222
|
};
|
|
6225
6223
|
type Options = JUHUU.RequestOptions;
|
|
6226
6224
|
type Response = {
|
|
@@ -6238,13 +6236,7 @@ declare namespace JUHUU {
|
|
|
6238
6236
|
}
|
|
6239
6237
|
namespace List {
|
|
6240
6238
|
type Params = {
|
|
6241
|
-
|
|
6242
|
-
name?: string;
|
|
6243
|
-
type?: PanelType;
|
|
6244
|
-
status?: PanelStatus;
|
|
6245
|
-
size?: PanelSize;
|
|
6246
|
-
isVisible?: boolean;
|
|
6247
|
-
parentPanelId?: string;
|
|
6239
|
+
propertyId?: string;
|
|
6248
6240
|
};
|
|
6249
6241
|
type Options = {
|
|
6250
6242
|
limit?: number;
|
|
@@ -6252,29 +6244,15 @@ declare namespace JUHUU {
|
|
|
6252
6244
|
} & JUHUU.RequestOptions;
|
|
6253
6245
|
type Response = {
|
|
6254
6246
|
panelArray: JUHUU.Panel.Object[];
|
|
6255
|
-
count: number;
|
|
6256
|
-
hasMore: boolean;
|
|
6257
6247
|
};
|
|
6258
6248
|
}
|
|
6259
6249
|
namespace Update {
|
|
6260
6250
|
type Params = {
|
|
6261
6251
|
panelId: string;
|
|
6262
|
-
userId?: string;
|
|
6263
6252
|
name?: string;
|
|
6264
|
-
|
|
6265
|
-
|
|
6266
|
-
|
|
6267
|
-
status?: PanelStatus;
|
|
6268
|
-
size?: PanelSize;
|
|
6269
|
-
isResizable?: boolean;
|
|
6270
|
-
isDraggable?: boolean;
|
|
6271
|
-
isVisible?: boolean;
|
|
6272
|
-
position?: PanelPosition;
|
|
6273
|
-
config?: PanelConfig;
|
|
6274
|
-
permissions?: string[];
|
|
6275
|
-
tags?: string[];
|
|
6276
|
-
parentPanelId?: string | null;
|
|
6277
|
-
order?: number;
|
|
6253
|
+
layoutBlockArray?: LayoutBlock[];
|
|
6254
|
+
highlightLayoutBlockArray?: LayoutBlock[];
|
|
6255
|
+
localParameterArray?: LocalParameter[];
|
|
6278
6256
|
};
|
|
6279
6257
|
type Options = JUHUU.RequestOptions;
|
|
6280
6258
|
type Response = {
|
|
@@ -6286,7 +6264,9 @@ declare namespace JUHUU {
|
|
|
6286
6264
|
panelId: string;
|
|
6287
6265
|
};
|
|
6288
6266
|
type Options = JUHUU.RequestOptions;
|
|
6289
|
-
type Response =
|
|
6267
|
+
type Response = {
|
|
6268
|
+
panel: JUHUU.Panel.Object;
|
|
6269
|
+
};
|
|
6290
6270
|
}
|
|
6291
6271
|
}
|
|
6292
6272
|
namespace Price {
|
|
@@ -6501,4 +6481,4 @@ declare namespace JUHUU {
|
|
|
6501
6481
|
}
|
|
6502
6482
|
}
|
|
6503
6483
|
|
|
6504
|
-
export { type AccessControlListElement, type Address, type ApiKeyScope, type ApiKeyStatus, type AutoRenewMode, type BaseBlock, type BusinessType, type Capability, type Category, type Circumstance, type Color, type ColorScheme, type Command, type Condition, ConditionType, type ConstBooleanBlock, type ConstNumberBlock, type ConstTextBlock, type ControlEdgeConnection, type CountryCode, CountryCodeArray, type CurrencyCode, CurrencyCodeArray, type CustomClaims, type DataEdgeConnection, type DeepNullable, type DevicePermission, type DeviceRetrieveBlock, type DeviceRetrieveBlockInputs, type DeviceStatus, type DeviceType, type DeviceUpdateBlock, type DeviceUpdateBlockInputs, type EndCustomBlock, type Environment, type EnvironmentSettings, type ExtractType, type FlowBlock, type FlowBlockInput, type FlowControlEdge, type FlowDataEdge, type FlowEdge, type FlowExecuteBlock, type FlowExecuteBlockInputs, type FlowExecutionEnvironment, type FlowLog, type FlowStatus, type Frontend, type GeneralSettings, type GeoPoint, type GraphNode, type HttpDeleteBlock, type HttpDeleteBlockInputs, type HttpGetBlock, type HttpGetBlockInputs, type HttpPatchBlock, type HttpPostBlock, type HttpPostBlockInputs, type HttpPutBlock, type HttpPutBlockInputs, type HttpsPatchBlockInputs, type IfBlock, type IncidentCreateBlock, type IncidentCreateBlockInputs, type IncidentRetrieveBlock, type IncidentRetrieveBlockInputs, JUHUU, type JsonLogic, Juhuu, type LanguageCode, LanguageCodeArray, Layout, type LayoutBlock, type License, type LicenseTariffIdMap, type LinkType, type LocaleString, type LocationRetrieveBlock, type LocationRetrieveBlockInputs, type LocationUpdateBlock, type LocationUpdateBlockInputs, type MapDestructureBlock, type MapDestructureBlockInputs, type MapFilter, type MathAddBlock, type MathAddBlockInputs, type MathDivideBlock, type MathDivideBlockInputs, type MathMultiplyBlock, type MathMultiplyBlockInputs, type MathSubtractBlock, type MathSubtractBlockInputs, type Modality, type MqttSendBlock, type MqttSendBlockInputs, Offer, type OfferTime, type ParamDefinition, type ParamType, type ParameterRetrieveBlock, type ParameterRetrieveBlockInputs, type ParameterUpdateBlock, type ParameterUpdateBlockInputs, type Party, type PaymentMethod, type PaymentReason, type PaymentRefundReason, type PaymentRefundStatus, type PaymentServiceProvider, type PaymentStatus, type PayoutSettings, type PayoutStatus, type PermissionTypes, type Person, type Platform, type PlatformString, type PostingRow, type PropertyRetrieveBlock, type PropertyRetrieveBlockInputs, type PropertyUpdateBlock, type PropertyUpdateBlockInputs, type ProximityStrategy, type Purpose, type PushToken, type QuickAction, type QuickView, ReadonlyCategoryArray, ReadonlyModalityArray, ReadonlySectorArray, type RefundStatus, type Sector, type SessionCannotTerminateReason, type SessionRetrieveBlock, type SessionRetrieveBlockInputs, type SessionSettings, type SessionStatus, type SessionTerminateBlock, type SessionTerminateBlockInputs, type SessionTerminatedByType, type SessionType, Settings, type SimStatus, type StarRating, type StartCustomBlock, type StartLocationUpdateBlock, type StartParameterUpdateBlock, type StartQuickActionLocationBlock, type StartSessionUpdateBlock, type SwitchBlock, type TarifType, type TaxCode, type TimeZone, type Unit, type UserCreateBlock, type UserCreateBlockInputs, type UserGroup, type UserRetrieveBlock, type UserRetrieveBlockInputs, type UserType, type Utilization, type VeloBrushDeviceDocumentUserManualStep, type Viewport, type ViewportPolygon, type VisualPriority, type hexColor };
|
|
6484
|
+
export { type AccessControlListElement, type Address, type ApiKeyScope, type ApiKeyStatus, type AutoRenewMode, type BaseBlock, type BusinessType, type Capability, type Category, type Circumstance, type Color, type ColorScheme, type Command, type Condition, ConditionType, type ConstBooleanBlock, type ConstNumberBlock, type ConstTextBlock, type ControlEdgeConnection, type CountryCode, CountryCodeArray, type CurrencyCode, CurrencyCodeArray, type CustomClaims, type DataEdgeConnection, type DeepNullable, type DevicePermission, type DeviceRetrieveBlock, type DeviceRetrieveBlockInputs, type DeviceStatus, type DeviceType, type DeviceUpdateBlock, type DeviceUpdateBlockInputs, type EndCustomBlock, type Environment, type EnvironmentSettings, type ExtractType, type FlowBlock, type FlowBlockInput, type FlowControlEdge, type FlowDataEdge, type FlowEdge, type FlowExecuteBlock, type FlowExecuteBlockInputs, type FlowExecutionEnvironment, type FlowLog, type FlowStatus, type Frontend, type GeneralSettings, type GeoPoint, type GraphNode, type HttpDeleteBlock, type HttpDeleteBlockInputs, type HttpGetBlock, type HttpGetBlockInputs, type HttpPatchBlock, type HttpPostBlock, type HttpPostBlockInputs, type HttpPutBlock, type HttpPutBlockInputs, type HttpsPatchBlockInputs, type IfBlock, type IncidentCreateBlock, type IncidentCreateBlockInputs, type IncidentRetrieveBlock, type IncidentRetrieveBlockInputs, JUHUU, type JsonLogic, Juhuu, type LanguageCode, LanguageCodeArray, Layout, type LayoutBlock, type License, type LicenseTariffIdMap, type LinkType, type LocalParameter, type LocaleString, type LocationRetrieveBlock, type LocationRetrieveBlockInputs, type LocationUpdateBlock, type LocationUpdateBlockInputs, type MapDestructureBlock, type MapDestructureBlockInputs, type MapFilter, type MathAddBlock, type MathAddBlockInputs, type MathDivideBlock, type MathDivideBlockInputs, type MathMultiplyBlock, type MathMultiplyBlockInputs, type MathSubtractBlock, type MathSubtractBlockInputs, type Modality, type MqttSendBlock, type MqttSendBlockInputs, Offer, type OfferTime, type ParamDefinition, type ParamType, type ParameterRetrieveBlock, type ParameterRetrieveBlockInputs, type ParameterUpdateBlock, type ParameterUpdateBlockInputs, type Party, type PaymentMethod, type PaymentReason, type PaymentRefundReason, type PaymentRefundStatus, type PaymentServiceProvider, type PaymentStatus, type PayoutSettings, type PayoutStatus, type PermissionTypes, type Person, type Platform, type PlatformString, type PostingRow, type PropertyRetrieveBlock, type PropertyRetrieveBlockInputs, type PropertyUpdateBlock, type PropertyUpdateBlockInputs, type ProximityStrategy, type Purpose, type PushToken, type QuickAction, type QuickView, ReadonlyCategoryArray, ReadonlyModalityArray, ReadonlySectorArray, type RefundStatus, type Sector, type SessionCannotTerminateReason, type SessionRetrieveBlock, type SessionRetrieveBlockInputs, type SessionSettings, type SessionStatus, type SessionTerminateBlock, type SessionTerminateBlockInputs, type SessionTerminatedByType, type SessionType, Settings, type SimStatus, type StarRating, type StartCustomBlock, type StartLocationUpdateBlock, type StartParameterUpdateBlock, type StartQuickActionLocationBlock, type StartSessionUpdateBlock, type SwitchBlock, type SystemLogBlock, type SystemLogBlockInputs, type TarifType, type TaxCode, type TimeZone, type UiNavigateScreenBlock, type UiNavigateScreenBlockInputs, type Unit, type UserCreateBlock, type UserCreateBlockInputs, type UserGroup, type UserRetrieveBlock, type UserRetrieveBlockInputs, type UserType, type Utilization, type VeloBrushDeviceDocumentUserManualStep, type Viewport, type ViewportPolygon, type VisualPriority, type hexColor };
|
package/dist/index.js
CHANGED
|
@@ -4753,23 +4753,11 @@ var PanelsService = class extends Service {
|
|
|
4753
4753
|
method: "POST",
|
|
4754
4754
|
url: "panels",
|
|
4755
4755
|
body: {
|
|
4756
|
-
|
|
4756
|
+
propertyId: params.propertyId,
|
|
4757
4757
|
name: params.name,
|
|
4758
|
-
|
|
4759
|
-
|
|
4760
|
-
|
|
4761
|
-
status: params.status,
|
|
4762
|
-
size: params.size,
|
|
4763
|
-
isResizable: params.isResizable,
|
|
4764
|
-
isDraggable: params.isDraggable,
|
|
4765
|
-
isVisible: params.isVisible,
|
|
4766
|
-
position: params.position,
|
|
4767
|
-
config: params.config,
|
|
4768
|
-
accessCount: params.accessCount,
|
|
4769
|
-
permissions: params.permissions,
|
|
4770
|
-
tags: params.tags,
|
|
4771
|
-
parentPanelId: params.parentPanelId,
|
|
4772
|
-
order: params.order
|
|
4758
|
+
layoutBlockArray: params.layoutBlockArray,
|
|
4759
|
+
highlightLayoutBlockArray: params.highlightLayoutBlockArray,
|
|
4760
|
+
localParameterArray: params.localParameterArray
|
|
4773
4761
|
},
|
|
4774
4762
|
authenticationNotOptional: true
|
|
4775
4763
|
},
|
|
@@ -4778,26 +4766,8 @@ var PanelsService = class extends Service {
|
|
|
4778
4766
|
}
|
|
4779
4767
|
async list(params, options) {
|
|
4780
4768
|
const queryArray = [];
|
|
4781
|
-
if (params?.
|
|
4782
|
-
queryArray.push("
|
|
4783
|
-
}
|
|
4784
|
-
if (params?.name !== void 0) {
|
|
4785
|
-
queryArray.push("name=" + params.name);
|
|
4786
|
-
}
|
|
4787
|
-
if (params?.type !== void 0) {
|
|
4788
|
-
queryArray.push("type=" + params.type);
|
|
4789
|
-
}
|
|
4790
|
-
if (params?.status !== void 0) {
|
|
4791
|
-
queryArray.push("status=" + params.status);
|
|
4792
|
-
}
|
|
4793
|
-
if (params?.size !== void 0) {
|
|
4794
|
-
queryArray.push("size=" + params.size);
|
|
4795
|
-
}
|
|
4796
|
-
if (params?.isVisible !== void 0) {
|
|
4797
|
-
queryArray.push("isVisible=" + params.isVisible);
|
|
4798
|
-
}
|
|
4799
|
-
if (params?.parentPanelId !== void 0) {
|
|
4800
|
-
queryArray.push("parentPanelId=" + params.parentPanelId);
|
|
4769
|
+
if (params?.propertyId !== void 0) {
|
|
4770
|
+
queryArray.push("propertyId=" + params.propertyId);
|
|
4801
4771
|
}
|
|
4802
4772
|
if (options?.limit !== void 0) {
|
|
4803
4773
|
queryArray.push("limit=" + options.limit);
|
|
@@ -4833,22 +4803,10 @@ var PanelsService = class extends Service {
|
|
|
4833
4803
|
method: "PATCH",
|
|
4834
4804
|
url: "panels/" + params.panelId,
|
|
4835
4805
|
body: {
|
|
4836
|
-
userId: params.userId,
|
|
4837
4806
|
name: params.name,
|
|
4838
|
-
|
|
4839
|
-
|
|
4840
|
-
|
|
4841
|
-
status: params.status,
|
|
4842
|
-
size: params.size,
|
|
4843
|
-
isResizable: params.isResizable,
|
|
4844
|
-
isDraggable: params.isDraggable,
|
|
4845
|
-
isVisible: params.isVisible,
|
|
4846
|
-
position: params.position,
|
|
4847
|
-
config: params.config,
|
|
4848
|
-
permissions: params.permissions,
|
|
4849
|
-
tags: params.tags,
|
|
4850
|
-
parentPanelId: params.parentPanelId,
|
|
4851
|
-
order: params.order
|
|
4807
|
+
layoutBlockArray: params.layoutBlockArray,
|
|
4808
|
+
highlightLayoutBlockArray: params.highlightLayoutBlockArray,
|
|
4809
|
+
localParameterArray: params.localParameterArray
|
|
4852
4810
|
},
|
|
4853
4811
|
authenticationNotOptional: true
|
|
4854
4812
|
},
|
package/dist/index.mjs
CHANGED
|
@@ -4709,23 +4709,11 @@ var PanelsService = class extends Service {
|
|
|
4709
4709
|
method: "POST",
|
|
4710
4710
|
url: "panels",
|
|
4711
4711
|
body: {
|
|
4712
|
-
|
|
4712
|
+
propertyId: params.propertyId,
|
|
4713
4713
|
name: params.name,
|
|
4714
|
-
|
|
4715
|
-
|
|
4716
|
-
|
|
4717
|
-
status: params.status,
|
|
4718
|
-
size: params.size,
|
|
4719
|
-
isResizable: params.isResizable,
|
|
4720
|
-
isDraggable: params.isDraggable,
|
|
4721
|
-
isVisible: params.isVisible,
|
|
4722
|
-
position: params.position,
|
|
4723
|
-
config: params.config,
|
|
4724
|
-
accessCount: params.accessCount,
|
|
4725
|
-
permissions: params.permissions,
|
|
4726
|
-
tags: params.tags,
|
|
4727
|
-
parentPanelId: params.parentPanelId,
|
|
4728
|
-
order: params.order
|
|
4714
|
+
layoutBlockArray: params.layoutBlockArray,
|
|
4715
|
+
highlightLayoutBlockArray: params.highlightLayoutBlockArray,
|
|
4716
|
+
localParameterArray: params.localParameterArray
|
|
4729
4717
|
},
|
|
4730
4718
|
authenticationNotOptional: true
|
|
4731
4719
|
},
|
|
@@ -4734,26 +4722,8 @@ var PanelsService = class extends Service {
|
|
|
4734
4722
|
}
|
|
4735
4723
|
async list(params, options) {
|
|
4736
4724
|
const queryArray = [];
|
|
4737
|
-
if (params?.
|
|
4738
|
-
queryArray.push("
|
|
4739
|
-
}
|
|
4740
|
-
if (params?.name !== void 0) {
|
|
4741
|
-
queryArray.push("name=" + params.name);
|
|
4742
|
-
}
|
|
4743
|
-
if (params?.type !== void 0) {
|
|
4744
|
-
queryArray.push("type=" + params.type);
|
|
4745
|
-
}
|
|
4746
|
-
if (params?.status !== void 0) {
|
|
4747
|
-
queryArray.push("status=" + params.status);
|
|
4748
|
-
}
|
|
4749
|
-
if (params?.size !== void 0) {
|
|
4750
|
-
queryArray.push("size=" + params.size);
|
|
4751
|
-
}
|
|
4752
|
-
if (params?.isVisible !== void 0) {
|
|
4753
|
-
queryArray.push("isVisible=" + params.isVisible);
|
|
4754
|
-
}
|
|
4755
|
-
if (params?.parentPanelId !== void 0) {
|
|
4756
|
-
queryArray.push("parentPanelId=" + params.parentPanelId);
|
|
4725
|
+
if (params?.propertyId !== void 0) {
|
|
4726
|
+
queryArray.push("propertyId=" + params.propertyId);
|
|
4757
4727
|
}
|
|
4758
4728
|
if (options?.limit !== void 0) {
|
|
4759
4729
|
queryArray.push("limit=" + options.limit);
|
|
@@ -4789,22 +4759,10 @@ var PanelsService = class extends Service {
|
|
|
4789
4759
|
method: "PATCH",
|
|
4790
4760
|
url: "panels/" + params.panelId,
|
|
4791
4761
|
body: {
|
|
4792
|
-
userId: params.userId,
|
|
4793
4762
|
name: params.name,
|
|
4794
|
-
|
|
4795
|
-
|
|
4796
|
-
|
|
4797
|
-
status: params.status,
|
|
4798
|
-
size: params.size,
|
|
4799
|
-
isResizable: params.isResizable,
|
|
4800
|
-
isDraggable: params.isDraggable,
|
|
4801
|
-
isVisible: params.isVisible,
|
|
4802
|
-
position: params.position,
|
|
4803
|
-
config: params.config,
|
|
4804
|
-
permissions: params.permissions,
|
|
4805
|
-
tags: params.tags,
|
|
4806
|
-
parentPanelId: params.parentPanelId,
|
|
4807
|
-
order: params.order
|
|
4763
|
+
layoutBlockArray: params.layoutBlockArray,
|
|
4764
|
+
highlightLayoutBlockArray: params.highlightLayoutBlockArray,
|
|
4765
|
+
localParameterArray: params.localParameterArray
|
|
4808
4766
|
},
|
|
4809
4767
|
authenticationNotOptional: true
|
|
4810
4768
|
},
|