@juhuu/sdk-ts 1.2.322 → 1.2.324
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 +82 -40
- package/dist/index.d.ts +82 -40
- package/dist/index.js +20 -2
- package/dist/index.mjs +20 -2
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -181,7 +181,7 @@ interface EnvironmentSettings {
|
|
|
181
181
|
type PaymentMethod = "card" | "stripe_account" | "klarna" | "bancontact" | "eps" | "giropay" | "ideal" | "p24" | "sofort" | "unknown";
|
|
182
182
|
type PaymentReason = "session";
|
|
183
183
|
type PaymentRefundReason = "requestedByUser" | "expiredUncapturedCharge" | "fraudulent" | "duplicate" | "unknown";
|
|
184
|
-
type SessionStatus = "waitingForPayment" | "ready" | "completed";
|
|
184
|
+
type SessionStatus = "waitingForPayment" | "waitingForReady" | "ready" | "completed";
|
|
185
185
|
type AutoRenewMode = "off" | "optIn" | "optOut" | "on";
|
|
186
186
|
type RefundStatus = "inTransitToUser" | "succeeded";
|
|
187
187
|
type SessionTerminatedByType = "user" | "system" | "propertyAdmin" | "nodeArray" | "flow" | "apiKey";
|
|
@@ -296,48 +296,48 @@ interface PlotData {
|
|
|
296
296
|
isOutlier: boolean;
|
|
297
297
|
}>;
|
|
298
298
|
}>;
|
|
299
|
-
};
|
|
299
|
+
} | null;
|
|
300
300
|
violin: {
|
|
301
301
|
features: Array<{
|
|
302
302
|
featureName: string;
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
}>;
|
|
307
|
-
normalGroups: Array<{
|
|
308
|
-
groupId: string;
|
|
309
|
-
values: number[];
|
|
310
|
-
}>;
|
|
303
|
+
color: string;
|
|
304
|
+
values: number[];
|
|
305
|
+
outlierFlags: boolean[];
|
|
311
306
|
}>;
|
|
312
|
-
};
|
|
307
|
+
} | null;
|
|
313
308
|
std: {
|
|
314
309
|
series: Array<{
|
|
315
310
|
groupId: string;
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
}>;
|
|
311
|
+
groupName: string;
|
|
312
|
+
color: string;
|
|
313
|
+
lineWidth: number;
|
|
314
|
+
dataPoints: Array<[number, number]>;
|
|
321
315
|
}>;
|
|
322
|
-
};
|
|
316
|
+
} | null;
|
|
323
317
|
heatmap: {
|
|
324
318
|
data: number[][];
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
319
|
+
rowLabels: string[];
|
|
320
|
+
columnLabels: string[];
|
|
321
|
+
colorScale: {
|
|
322
|
+
min: number;
|
|
323
|
+
max: number;
|
|
324
|
+
colors: string[];
|
|
325
|
+
};
|
|
326
|
+
} | null;
|
|
329
327
|
boxPlot: {
|
|
330
328
|
boxes: Array<{
|
|
331
329
|
groupId: string;
|
|
332
|
-
|
|
330
|
+
groupName: string;
|
|
331
|
+
color: string;
|
|
333
332
|
min: number;
|
|
334
333
|
q1: number;
|
|
335
334
|
median: number;
|
|
336
335
|
q3: number;
|
|
337
336
|
max: number;
|
|
337
|
+
mean: number;
|
|
338
338
|
outliers: number[];
|
|
339
339
|
}>;
|
|
340
|
-
};
|
|
340
|
+
} | null;
|
|
341
341
|
shapValues: {
|
|
342
342
|
groups: Array<{
|
|
343
343
|
groupId: string;
|
|
@@ -349,22 +349,36 @@ interface PlotData {
|
|
|
349
349
|
derivative: number;
|
|
350
350
|
}>;
|
|
351
351
|
}>;
|
|
352
|
-
};
|
|
352
|
+
} | null;
|
|
353
353
|
scatter: {
|
|
354
354
|
points: Array<{
|
|
355
355
|
groupId: string;
|
|
356
|
+
groupName: string;
|
|
357
|
+
x: number;
|
|
358
|
+
y: number;
|
|
359
|
+
color: string;
|
|
360
|
+
size: number;
|
|
356
361
|
isOutlier: boolean;
|
|
357
|
-
degradationScore: number;
|
|
358
|
-
zScore: number;
|
|
359
362
|
}>;
|
|
360
|
-
|
|
363
|
+
axisLabels?: {
|
|
364
|
+
x: string;
|
|
365
|
+
y: string;
|
|
366
|
+
};
|
|
367
|
+
} | null;
|
|
361
368
|
featureImportance: {
|
|
362
369
|
features: Array<{
|
|
363
370
|
featureName: string;
|
|
364
371
|
importance: number;
|
|
365
|
-
|
|
372
|
+
color: string;
|
|
373
|
+
affectedGroups: number;
|
|
366
374
|
}>;
|
|
367
|
-
};
|
|
375
|
+
} | null;
|
|
376
|
+
distribution: {
|
|
377
|
+
scores: number[];
|
|
378
|
+
groupIds: string[];
|
|
379
|
+
isOutlier: boolean[];
|
|
380
|
+
threshold: number;
|
|
381
|
+
} | null;
|
|
368
382
|
}
|
|
369
383
|
type AccessControlListElement = {
|
|
370
384
|
topic: string;
|
|
@@ -1552,6 +1566,21 @@ interface VariableGetBlock extends BaseBlock {
|
|
|
1552
1566
|
interface VariableGetBlockInputs {
|
|
1553
1567
|
key: string;
|
|
1554
1568
|
}
|
|
1569
|
+
interface DelaySleepBlock extends BaseBlock {
|
|
1570
|
+
type: "delay.sleep";
|
|
1571
|
+
in: {
|
|
1572
|
+
milliseconds: DataEdgeConnection;
|
|
1573
|
+
};
|
|
1574
|
+
out: {
|
|
1575
|
+
done: DataEdgeConnection;
|
|
1576
|
+
};
|
|
1577
|
+
data: {
|
|
1578
|
+
milliseconds?: number;
|
|
1579
|
+
};
|
|
1580
|
+
}
|
|
1581
|
+
interface DelaySleepBlockInputs {
|
|
1582
|
+
milliseconds: number;
|
|
1583
|
+
}
|
|
1555
1584
|
interface EndCustomBlock extends BaseBlock {
|
|
1556
1585
|
type: "end.custom";
|
|
1557
1586
|
in: Record<string, DataEdgeConnection>;
|
|
@@ -1560,8 +1589,8 @@ interface EndCustomBlock extends BaseBlock {
|
|
|
1560
1589
|
outputParamDefinitionArray: ParamDefinition[];
|
|
1561
1590
|
};
|
|
1562
1591
|
}
|
|
1563
|
-
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 | EndCustomBlock;
|
|
1564
|
-
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 | Record<string, unknown>;
|
|
1592
|
+
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;
|
|
1593
|
+
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>;
|
|
1565
1594
|
interface FlowDataEdge {
|
|
1566
1595
|
id: string;
|
|
1567
1596
|
type: "data";
|
|
@@ -1702,6 +1731,7 @@ declare class SessionService extends Service {
|
|
|
1702
1731
|
detachUser(SessionDetachUserParams: JUHUU.Session.DetachUser.Params, SessionDetachUserOptions?: JUHUU.Session.DetachUser.Options): Promise<JUHUU.HttpResponse<JUHUU.Session.DetachUser.Response>>;
|
|
1703
1732
|
delete(SessionDeleteUserParams: JUHUU.Session.Delete.Params, SessionDeleteUserOptions?: JUHUU.Session.Delete.Options): Promise<JUHUU.HttpResponse<JUHUU.Session.Delete.Response>>;
|
|
1704
1733
|
listen(SessionRealtimeParams: JUHUU.Session.Realtime.Params, SessionRealtimeOptions?: JUHUU.Session.Realtime.Options): JUHUU.Session.Realtime.Response;
|
|
1734
|
+
checkAvailability(SessionCheckAvailabilityParams: JUHUU.Session.CheckAvailability.Params, SessionCheckAvailabilityOptions?: JUHUU.Session.CheckAvailability.Options): Promise<JUHUU.HttpResponse<JUHUU.Session.CheckAvailability.Response>>;
|
|
1705
1735
|
}
|
|
1706
1736
|
|
|
1707
1737
|
declare class LinkService extends Service {
|
|
@@ -2433,7 +2463,7 @@ declare namespace JUHUU {
|
|
|
2433
2463
|
namespace Session {
|
|
2434
2464
|
type Base = {
|
|
2435
2465
|
id: string;
|
|
2436
|
-
status:
|
|
2466
|
+
status: SessionStatus;
|
|
2437
2467
|
paymentId: string | null;
|
|
2438
2468
|
userId: string | null;
|
|
2439
2469
|
propertyId: string;
|
|
@@ -2459,6 +2489,9 @@ declare namespace JUHUU {
|
|
|
2459
2489
|
locationName: string | null;
|
|
2460
2490
|
locationGroupId: string | null;
|
|
2461
2491
|
locationGroupName: string | null;
|
|
2492
|
+
scheduledReadyAt: Date;
|
|
2493
|
+
readyAt: Date | null;
|
|
2494
|
+
metadata: Record<string, any>;
|
|
2462
2495
|
};
|
|
2463
2496
|
export interface Rent extends Base {
|
|
2464
2497
|
type: "rent";
|
|
@@ -2482,6 +2515,8 @@ declare namespace JUHUU {
|
|
|
2482
2515
|
isOffSession: boolean;
|
|
2483
2516
|
userId: string;
|
|
2484
2517
|
propertyId?: string;
|
|
2518
|
+
scheduledReadyAt?: Date;
|
|
2519
|
+
metadata: Record<string, any>;
|
|
2485
2520
|
};
|
|
2486
2521
|
type Options = JUHUU.RequestOptions;
|
|
2487
2522
|
type Response = {
|
|
@@ -2608,6 +2643,18 @@ declare namespace JUHUU {
|
|
|
2608
2643
|
close: () => void;
|
|
2609
2644
|
};
|
|
2610
2645
|
}
|
|
2646
|
+
export namespace CheckAvailability {
|
|
2647
|
+
type Params = {
|
|
2648
|
+
locationId: string;
|
|
2649
|
+
tariffId: string;
|
|
2650
|
+
autoRenew: boolean;
|
|
2651
|
+
};
|
|
2652
|
+
type Options = JUHUU.RequestOptions;
|
|
2653
|
+
type Response = {
|
|
2654
|
+
available: boolean;
|
|
2655
|
+
conflictingSessions: JUHUU.Session.Object[];
|
|
2656
|
+
};
|
|
2657
|
+
}
|
|
2611
2658
|
export { };
|
|
2612
2659
|
}
|
|
2613
2660
|
namespace User {
|
|
@@ -4993,6 +5040,7 @@ declare namespace JUHUU {
|
|
|
4993
5040
|
propertyId: string;
|
|
4994
5041
|
featureReferenceArray: string[];
|
|
4995
5042
|
description: null | string;
|
|
5043
|
+
dataType: "time-series" | "cross-sectional";
|
|
4996
5044
|
};
|
|
4997
5045
|
namespace Create {
|
|
4998
5046
|
type Params = {
|
|
@@ -5034,6 +5082,7 @@ declare namespace JUHUU {
|
|
|
5034
5082
|
parameterAnomalyGroupTrackerId: string;
|
|
5035
5083
|
name?: string;
|
|
5036
5084
|
description?: string;
|
|
5085
|
+
dataType?: "time-series" | "cross-sectional";
|
|
5037
5086
|
};
|
|
5038
5087
|
type Options = JUHUU.RequestOptions;
|
|
5039
5088
|
type Response = {
|
|
@@ -5116,14 +5165,7 @@ declare namespace JUHUU {
|
|
|
5116
5165
|
type Base = {
|
|
5117
5166
|
id: string;
|
|
5118
5167
|
readonly object: "parameterHistory";
|
|
5119
|
-
description: string | null;
|
|
5120
|
-
name: string | null;
|
|
5121
5168
|
createdAt: Date;
|
|
5122
|
-
isOutlier: boolean;
|
|
5123
|
-
shapAnomalyArray: Array<{
|
|
5124
|
-
parameterAnomalyGroupId: string;
|
|
5125
|
-
shapScore: number | null;
|
|
5126
|
-
}>;
|
|
5127
5169
|
};
|
|
5128
5170
|
export interface Text extends Base {
|
|
5129
5171
|
currentValue: string;
|
|
@@ -7019,4 +7061,4 @@ declare namespace JUHUU {
|
|
|
7019
7061
|
}
|
|
7020
7062
|
}
|
|
7021
7063
|
|
|
7022
|
-
export { type AccessControlListElement, type AdditionalSubscriptionItem, type Address, type ApiKeyScope, type ApiKeyStatus, type AppStatus, type ArrayGetBlock, type ArrayGetBlockInputs, type ArrayLengthBlock, type ArrayLengthBlockInputs, 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 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 License, type LicenseTariffIdMap, type LinkType, type LocaleString, type LocationRetrieveBlock, type LocationRetrieveBlockInputs, type LocationUpdateBlock, type LocationUpdateBlockInputs, type MapConstructBlock, type MapConstructBlockInputs, type MapDestructureBlock, type MapDestructureBlockInputs, type MapFilter, type MathAddBlock, type MathAddBlockInputs, type MathDivideBlock, type MathDivideBlockInputs, type MathMultiplyBlock, type MathMultiplyBlockInputs, type MathSubtractBlock, type MathSubtractBlockInputs, type Modality, type MqttSendBlock, type MqttSendBlockInputs, Offer, type OfferTime, type PanelDisplay, type ParamDefinition, type ParamType, type ParameterRetrieveBlock, type ParameterRetrieveBlockInputs, type ParameterUpdateBlock, type ParameterUpdateBlockInputs, type Party, type PaymentMethod, type PaymentReason, type PaymentRefundReason, type PaymentRefundStatus, type PaymentServiceProvider, type PaymentStatus, type PayoutSettings, type PayoutStatus, type PermissionTypes, type Person, type Platform, type PlatformString, type 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 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 };
|
|
7064
|
+
export { type AccessControlListElement, type AdditionalSubscriptionItem, type Address, type ApiKeyScope, type ApiKeyStatus, type AppStatus, type ArrayGetBlock, type ArrayGetBlockInputs, type ArrayLengthBlock, type ArrayLengthBlockInputs, 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 License, type LicenseTariffIdMap, type LinkType, type LocaleString, type LocationRetrieveBlock, type LocationRetrieveBlockInputs, type LocationUpdateBlock, type LocationUpdateBlockInputs, type MapConstructBlock, type MapConstructBlockInputs, type MapDestructureBlock, type MapDestructureBlockInputs, type MapFilter, type MathAddBlock, type MathAddBlockInputs, type MathDivideBlock, type MathDivideBlockInputs, type MathMultiplyBlock, type MathMultiplyBlockInputs, type MathSubtractBlock, type MathSubtractBlockInputs, type Modality, type MqttSendBlock, type MqttSendBlockInputs, Offer, type OfferTime, type PanelDisplay, type ParamDefinition, type ParamType, type ParameterRetrieveBlock, type ParameterRetrieveBlockInputs, type ParameterUpdateBlock, type ParameterUpdateBlockInputs, type Party, type PaymentMethod, type PaymentReason, type PaymentRefundReason, type PaymentRefundStatus, type PaymentServiceProvider, type PaymentStatus, type PayoutSettings, type PayoutStatus, type PermissionTypes, type Person, type Platform, type PlatformString, type 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 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
|
@@ -181,7 +181,7 @@ interface EnvironmentSettings {
|
|
|
181
181
|
type PaymentMethod = "card" | "stripe_account" | "klarna" | "bancontact" | "eps" | "giropay" | "ideal" | "p24" | "sofort" | "unknown";
|
|
182
182
|
type PaymentReason = "session";
|
|
183
183
|
type PaymentRefundReason = "requestedByUser" | "expiredUncapturedCharge" | "fraudulent" | "duplicate" | "unknown";
|
|
184
|
-
type SessionStatus = "waitingForPayment" | "ready" | "completed";
|
|
184
|
+
type SessionStatus = "waitingForPayment" | "waitingForReady" | "ready" | "completed";
|
|
185
185
|
type AutoRenewMode = "off" | "optIn" | "optOut" | "on";
|
|
186
186
|
type RefundStatus = "inTransitToUser" | "succeeded";
|
|
187
187
|
type SessionTerminatedByType = "user" | "system" | "propertyAdmin" | "nodeArray" | "flow" | "apiKey";
|
|
@@ -296,48 +296,48 @@ interface PlotData {
|
|
|
296
296
|
isOutlier: boolean;
|
|
297
297
|
}>;
|
|
298
298
|
}>;
|
|
299
|
-
};
|
|
299
|
+
} | null;
|
|
300
300
|
violin: {
|
|
301
301
|
features: Array<{
|
|
302
302
|
featureName: string;
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
}>;
|
|
307
|
-
normalGroups: Array<{
|
|
308
|
-
groupId: string;
|
|
309
|
-
values: number[];
|
|
310
|
-
}>;
|
|
303
|
+
color: string;
|
|
304
|
+
values: number[];
|
|
305
|
+
outlierFlags: boolean[];
|
|
311
306
|
}>;
|
|
312
|
-
};
|
|
307
|
+
} | null;
|
|
313
308
|
std: {
|
|
314
309
|
series: Array<{
|
|
315
310
|
groupId: string;
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
}>;
|
|
311
|
+
groupName: string;
|
|
312
|
+
color: string;
|
|
313
|
+
lineWidth: number;
|
|
314
|
+
dataPoints: Array<[number, number]>;
|
|
321
315
|
}>;
|
|
322
|
-
};
|
|
316
|
+
} | null;
|
|
323
317
|
heatmap: {
|
|
324
318
|
data: number[][];
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
319
|
+
rowLabels: string[];
|
|
320
|
+
columnLabels: string[];
|
|
321
|
+
colorScale: {
|
|
322
|
+
min: number;
|
|
323
|
+
max: number;
|
|
324
|
+
colors: string[];
|
|
325
|
+
};
|
|
326
|
+
} | null;
|
|
329
327
|
boxPlot: {
|
|
330
328
|
boxes: Array<{
|
|
331
329
|
groupId: string;
|
|
332
|
-
|
|
330
|
+
groupName: string;
|
|
331
|
+
color: string;
|
|
333
332
|
min: number;
|
|
334
333
|
q1: number;
|
|
335
334
|
median: number;
|
|
336
335
|
q3: number;
|
|
337
336
|
max: number;
|
|
337
|
+
mean: number;
|
|
338
338
|
outliers: number[];
|
|
339
339
|
}>;
|
|
340
|
-
};
|
|
340
|
+
} | null;
|
|
341
341
|
shapValues: {
|
|
342
342
|
groups: Array<{
|
|
343
343
|
groupId: string;
|
|
@@ -349,22 +349,36 @@ interface PlotData {
|
|
|
349
349
|
derivative: number;
|
|
350
350
|
}>;
|
|
351
351
|
}>;
|
|
352
|
-
};
|
|
352
|
+
} | null;
|
|
353
353
|
scatter: {
|
|
354
354
|
points: Array<{
|
|
355
355
|
groupId: string;
|
|
356
|
+
groupName: string;
|
|
357
|
+
x: number;
|
|
358
|
+
y: number;
|
|
359
|
+
color: string;
|
|
360
|
+
size: number;
|
|
356
361
|
isOutlier: boolean;
|
|
357
|
-
degradationScore: number;
|
|
358
|
-
zScore: number;
|
|
359
362
|
}>;
|
|
360
|
-
|
|
363
|
+
axisLabels?: {
|
|
364
|
+
x: string;
|
|
365
|
+
y: string;
|
|
366
|
+
};
|
|
367
|
+
} | null;
|
|
361
368
|
featureImportance: {
|
|
362
369
|
features: Array<{
|
|
363
370
|
featureName: string;
|
|
364
371
|
importance: number;
|
|
365
|
-
|
|
372
|
+
color: string;
|
|
373
|
+
affectedGroups: number;
|
|
366
374
|
}>;
|
|
367
|
-
};
|
|
375
|
+
} | null;
|
|
376
|
+
distribution: {
|
|
377
|
+
scores: number[];
|
|
378
|
+
groupIds: string[];
|
|
379
|
+
isOutlier: boolean[];
|
|
380
|
+
threshold: number;
|
|
381
|
+
} | null;
|
|
368
382
|
}
|
|
369
383
|
type AccessControlListElement = {
|
|
370
384
|
topic: string;
|
|
@@ -1552,6 +1566,21 @@ interface VariableGetBlock extends BaseBlock {
|
|
|
1552
1566
|
interface VariableGetBlockInputs {
|
|
1553
1567
|
key: string;
|
|
1554
1568
|
}
|
|
1569
|
+
interface DelaySleepBlock extends BaseBlock {
|
|
1570
|
+
type: "delay.sleep";
|
|
1571
|
+
in: {
|
|
1572
|
+
milliseconds: DataEdgeConnection;
|
|
1573
|
+
};
|
|
1574
|
+
out: {
|
|
1575
|
+
done: DataEdgeConnection;
|
|
1576
|
+
};
|
|
1577
|
+
data: {
|
|
1578
|
+
milliseconds?: number;
|
|
1579
|
+
};
|
|
1580
|
+
}
|
|
1581
|
+
interface DelaySleepBlockInputs {
|
|
1582
|
+
milliseconds: number;
|
|
1583
|
+
}
|
|
1555
1584
|
interface EndCustomBlock extends BaseBlock {
|
|
1556
1585
|
type: "end.custom";
|
|
1557
1586
|
in: Record<string, DataEdgeConnection>;
|
|
@@ -1560,8 +1589,8 @@ interface EndCustomBlock extends BaseBlock {
|
|
|
1560
1589
|
outputParamDefinitionArray: ParamDefinition[];
|
|
1561
1590
|
};
|
|
1562
1591
|
}
|
|
1563
|
-
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 | EndCustomBlock;
|
|
1564
|
-
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 | Record<string, unknown>;
|
|
1592
|
+
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;
|
|
1593
|
+
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>;
|
|
1565
1594
|
interface FlowDataEdge {
|
|
1566
1595
|
id: string;
|
|
1567
1596
|
type: "data";
|
|
@@ -1702,6 +1731,7 @@ declare class SessionService extends Service {
|
|
|
1702
1731
|
detachUser(SessionDetachUserParams: JUHUU.Session.DetachUser.Params, SessionDetachUserOptions?: JUHUU.Session.DetachUser.Options): Promise<JUHUU.HttpResponse<JUHUU.Session.DetachUser.Response>>;
|
|
1703
1732
|
delete(SessionDeleteUserParams: JUHUU.Session.Delete.Params, SessionDeleteUserOptions?: JUHUU.Session.Delete.Options): Promise<JUHUU.HttpResponse<JUHUU.Session.Delete.Response>>;
|
|
1704
1733
|
listen(SessionRealtimeParams: JUHUU.Session.Realtime.Params, SessionRealtimeOptions?: JUHUU.Session.Realtime.Options): JUHUU.Session.Realtime.Response;
|
|
1734
|
+
checkAvailability(SessionCheckAvailabilityParams: JUHUU.Session.CheckAvailability.Params, SessionCheckAvailabilityOptions?: JUHUU.Session.CheckAvailability.Options): Promise<JUHUU.HttpResponse<JUHUU.Session.CheckAvailability.Response>>;
|
|
1705
1735
|
}
|
|
1706
1736
|
|
|
1707
1737
|
declare class LinkService extends Service {
|
|
@@ -2433,7 +2463,7 @@ declare namespace JUHUU {
|
|
|
2433
2463
|
namespace Session {
|
|
2434
2464
|
type Base = {
|
|
2435
2465
|
id: string;
|
|
2436
|
-
status:
|
|
2466
|
+
status: SessionStatus;
|
|
2437
2467
|
paymentId: string | null;
|
|
2438
2468
|
userId: string | null;
|
|
2439
2469
|
propertyId: string;
|
|
@@ -2459,6 +2489,9 @@ declare namespace JUHUU {
|
|
|
2459
2489
|
locationName: string | null;
|
|
2460
2490
|
locationGroupId: string | null;
|
|
2461
2491
|
locationGroupName: string | null;
|
|
2492
|
+
scheduledReadyAt: Date;
|
|
2493
|
+
readyAt: Date | null;
|
|
2494
|
+
metadata: Record<string, any>;
|
|
2462
2495
|
};
|
|
2463
2496
|
export interface Rent extends Base {
|
|
2464
2497
|
type: "rent";
|
|
@@ -2482,6 +2515,8 @@ declare namespace JUHUU {
|
|
|
2482
2515
|
isOffSession: boolean;
|
|
2483
2516
|
userId: string;
|
|
2484
2517
|
propertyId?: string;
|
|
2518
|
+
scheduledReadyAt?: Date;
|
|
2519
|
+
metadata: Record<string, any>;
|
|
2485
2520
|
};
|
|
2486
2521
|
type Options = JUHUU.RequestOptions;
|
|
2487
2522
|
type Response = {
|
|
@@ -2608,6 +2643,18 @@ declare namespace JUHUU {
|
|
|
2608
2643
|
close: () => void;
|
|
2609
2644
|
};
|
|
2610
2645
|
}
|
|
2646
|
+
export namespace CheckAvailability {
|
|
2647
|
+
type Params = {
|
|
2648
|
+
locationId: string;
|
|
2649
|
+
tariffId: string;
|
|
2650
|
+
autoRenew: boolean;
|
|
2651
|
+
};
|
|
2652
|
+
type Options = JUHUU.RequestOptions;
|
|
2653
|
+
type Response = {
|
|
2654
|
+
available: boolean;
|
|
2655
|
+
conflictingSessions: JUHUU.Session.Object[];
|
|
2656
|
+
};
|
|
2657
|
+
}
|
|
2611
2658
|
export { };
|
|
2612
2659
|
}
|
|
2613
2660
|
namespace User {
|
|
@@ -4993,6 +5040,7 @@ declare namespace JUHUU {
|
|
|
4993
5040
|
propertyId: string;
|
|
4994
5041
|
featureReferenceArray: string[];
|
|
4995
5042
|
description: null | string;
|
|
5043
|
+
dataType: "time-series" | "cross-sectional";
|
|
4996
5044
|
};
|
|
4997
5045
|
namespace Create {
|
|
4998
5046
|
type Params = {
|
|
@@ -5034,6 +5082,7 @@ declare namespace JUHUU {
|
|
|
5034
5082
|
parameterAnomalyGroupTrackerId: string;
|
|
5035
5083
|
name?: string;
|
|
5036
5084
|
description?: string;
|
|
5085
|
+
dataType?: "time-series" | "cross-sectional";
|
|
5037
5086
|
};
|
|
5038
5087
|
type Options = JUHUU.RequestOptions;
|
|
5039
5088
|
type Response = {
|
|
@@ -5116,14 +5165,7 @@ declare namespace JUHUU {
|
|
|
5116
5165
|
type Base = {
|
|
5117
5166
|
id: string;
|
|
5118
5167
|
readonly object: "parameterHistory";
|
|
5119
|
-
description: string | null;
|
|
5120
|
-
name: string | null;
|
|
5121
5168
|
createdAt: Date;
|
|
5122
|
-
isOutlier: boolean;
|
|
5123
|
-
shapAnomalyArray: Array<{
|
|
5124
|
-
parameterAnomalyGroupId: string;
|
|
5125
|
-
shapScore: number | null;
|
|
5126
|
-
}>;
|
|
5127
5169
|
};
|
|
5128
5170
|
export interface Text extends Base {
|
|
5129
5171
|
currentValue: string;
|
|
@@ -7019,4 +7061,4 @@ declare namespace JUHUU {
|
|
|
7019
7061
|
}
|
|
7020
7062
|
}
|
|
7021
7063
|
|
|
7022
|
-
export { type AccessControlListElement, type AdditionalSubscriptionItem, type Address, type ApiKeyScope, type ApiKeyStatus, type AppStatus, type ArrayGetBlock, type ArrayGetBlockInputs, type ArrayLengthBlock, type ArrayLengthBlockInputs, 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 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 License, type LicenseTariffIdMap, type LinkType, type LocaleString, type LocationRetrieveBlock, type LocationRetrieveBlockInputs, type LocationUpdateBlock, type LocationUpdateBlockInputs, type MapConstructBlock, type MapConstructBlockInputs, type MapDestructureBlock, type MapDestructureBlockInputs, type MapFilter, type MathAddBlock, type MathAddBlockInputs, type MathDivideBlock, type MathDivideBlockInputs, type MathMultiplyBlock, type MathMultiplyBlockInputs, type MathSubtractBlock, type MathSubtractBlockInputs, type Modality, type MqttSendBlock, type MqttSendBlockInputs, Offer, type OfferTime, type PanelDisplay, type ParamDefinition, type ParamType, type ParameterRetrieveBlock, type ParameterRetrieveBlockInputs, type ParameterUpdateBlock, type ParameterUpdateBlockInputs, type Party, type PaymentMethod, type PaymentReason, type PaymentRefundReason, type PaymentRefundStatus, type PaymentServiceProvider, type PaymentStatus, type PayoutSettings, type PayoutStatus, type PermissionTypes, type Person, type Platform, type PlatformString, type 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 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 };
|
|
7064
|
+
export { type AccessControlListElement, type AdditionalSubscriptionItem, type Address, type ApiKeyScope, type ApiKeyStatus, type AppStatus, type ArrayGetBlock, type ArrayGetBlockInputs, type ArrayLengthBlock, type ArrayLengthBlockInputs, 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 License, type LicenseTariffIdMap, type LinkType, type LocaleString, type LocationRetrieveBlock, type LocationRetrieveBlockInputs, type LocationUpdateBlock, type LocationUpdateBlockInputs, type MapConstructBlock, type MapConstructBlockInputs, type MapDestructureBlock, type MapDestructureBlockInputs, type MapFilter, type MathAddBlock, type MathAddBlockInputs, type MathDivideBlock, type MathDivideBlockInputs, type MathMultiplyBlock, type MathMultiplyBlockInputs, type MathSubtractBlock, type MathSubtractBlockInputs, type Modality, type MqttSendBlock, type MqttSendBlockInputs, Offer, type OfferTime, type PanelDisplay, type ParamDefinition, type ParamType, type ParameterRetrieveBlock, type ParameterRetrieveBlockInputs, type ParameterUpdateBlock, type ParameterUpdateBlockInputs, type Party, type PaymentMethod, type PaymentReason, type PaymentRefundReason, type PaymentRefundStatus, type PaymentServiceProvider, type PaymentStatus, type PayoutSettings, type PayoutStatus, type PermissionTypes, type Person, type Platform, type PlatformString, type 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 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
|
@@ -531,7 +531,9 @@ var SessionService = class extends Service {
|
|
|
531
531
|
type: SessionCreateParams.sessionType,
|
|
532
532
|
isOffSession: SessionCreateParams.isOffSession,
|
|
533
533
|
userId: SessionCreateParams.userId,
|
|
534
|
-
propertyId: SessionCreateParams.propertyId
|
|
534
|
+
propertyId: SessionCreateParams.propertyId,
|
|
535
|
+
scheduledReadyAt: SessionCreateParams.scheduledReadyAt,
|
|
536
|
+
metadata: SessionCreateParams.metadata
|
|
535
537
|
},
|
|
536
538
|
authenticationNotOptional: true
|
|
537
539
|
},
|
|
@@ -710,6 +712,21 @@ var SessionService = class extends Service {
|
|
|
710
712
|
}
|
|
711
713
|
};
|
|
712
714
|
}
|
|
715
|
+
async checkAvailability(SessionCheckAvailabilityParams, SessionCheckAvailabilityOptions) {
|
|
716
|
+
return await super.sendRequest(
|
|
717
|
+
{
|
|
718
|
+
method: "POST",
|
|
719
|
+
url: "sessions/checkAvailability",
|
|
720
|
+
body: {
|
|
721
|
+
locationId: SessionCheckAvailabilityParams.locationId,
|
|
722
|
+
tariffId: SessionCheckAvailabilityParams.tariffId,
|
|
723
|
+
autoRenew: SessionCheckAvailabilityParams.autoRenew
|
|
724
|
+
},
|
|
725
|
+
authenticationNotOptional: false
|
|
726
|
+
},
|
|
727
|
+
SessionCheckAvailabilityOptions
|
|
728
|
+
);
|
|
729
|
+
}
|
|
713
730
|
};
|
|
714
731
|
|
|
715
732
|
// src/links/links.service.ts
|
|
@@ -3618,7 +3635,8 @@ var ParameterAnomalyGroupTrackersService = class extends Service {
|
|
|
3618
3635
|
url: "parameterAnomalyGroupTrackers/" + ParameterAnomalyGroupTrackerUpdateParams.parameterAnomalyGroupTrackerId,
|
|
3619
3636
|
body: {
|
|
3620
3637
|
name: ParameterAnomalyGroupTrackerUpdateParams.name,
|
|
3621
|
-
description: ParameterAnomalyGroupTrackerUpdateParams.description
|
|
3638
|
+
description: ParameterAnomalyGroupTrackerUpdateParams.description,
|
|
3639
|
+
dataType: ParameterAnomalyGroupTrackerUpdateParams.dataType
|
|
3622
3640
|
},
|
|
3623
3641
|
authenticationNotOptional: true
|
|
3624
3642
|
},
|
package/dist/index.mjs
CHANGED
|
@@ -487,7 +487,9 @@ var SessionService = class extends Service {
|
|
|
487
487
|
type: SessionCreateParams.sessionType,
|
|
488
488
|
isOffSession: SessionCreateParams.isOffSession,
|
|
489
489
|
userId: SessionCreateParams.userId,
|
|
490
|
-
propertyId: SessionCreateParams.propertyId
|
|
490
|
+
propertyId: SessionCreateParams.propertyId,
|
|
491
|
+
scheduledReadyAt: SessionCreateParams.scheduledReadyAt,
|
|
492
|
+
metadata: SessionCreateParams.metadata
|
|
491
493
|
},
|
|
492
494
|
authenticationNotOptional: true
|
|
493
495
|
},
|
|
@@ -666,6 +668,21 @@ var SessionService = class extends Service {
|
|
|
666
668
|
}
|
|
667
669
|
};
|
|
668
670
|
}
|
|
671
|
+
async checkAvailability(SessionCheckAvailabilityParams, SessionCheckAvailabilityOptions) {
|
|
672
|
+
return await super.sendRequest(
|
|
673
|
+
{
|
|
674
|
+
method: "POST",
|
|
675
|
+
url: "sessions/checkAvailability",
|
|
676
|
+
body: {
|
|
677
|
+
locationId: SessionCheckAvailabilityParams.locationId,
|
|
678
|
+
tariffId: SessionCheckAvailabilityParams.tariffId,
|
|
679
|
+
autoRenew: SessionCheckAvailabilityParams.autoRenew
|
|
680
|
+
},
|
|
681
|
+
authenticationNotOptional: false
|
|
682
|
+
},
|
|
683
|
+
SessionCheckAvailabilityOptions
|
|
684
|
+
);
|
|
685
|
+
}
|
|
669
686
|
};
|
|
670
687
|
|
|
671
688
|
// src/links/links.service.ts
|
|
@@ -3574,7 +3591,8 @@ var ParameterAnomalyGroupTrackersService = class extends Service {
|
|
|
3574
3591
|
url: "parameterAnomalyGroupTrackers/" + ParameterAnomalyGroupTrackerUpdateParams.parameterAnomalyGroupTrackerId,
|
|
3575
3592
|
body: {
|
|
3576
3593
|
name: ParameterAnomalyGroupTrackerUpdateParams.name,
|
|
3577
|
-
description: ParameterAnomalyGroupTrackerUpdateParams.description
|
|
3594
|
+
description: ParameterAnomalyGroupTrackerUpdateParams.description,
|
|
3595
|
+
dataType: ParameterAnomalyGroupTrackerUpdateParams.dataType
|
|
3578
3596
|
},
|
|
3579
3597
|
authenticationNotOptional: true
|
|
3580
3598
|
},
|