@juhuu/sdk-ts 1.3.25 → 1.3.27
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 +3 -22
- package/dist/index.d.ts +3 -22
- package/dist/index.js +1 -5
- package/dist/index.mjs +1 -5
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -153,7 +153,6 @@ interface PayoutSettings {
|
|
|
153
153
|
}
|
|
154
154
|
interface SessionSettings {
|
|
155
155
|
enabled: boolean;
|
|
156
|
-
autoRenewEnabled: boolean;
|
|
157
156
|
}
|
|
158
157
|
interface EnvironmentSettings {
|
|
159
158
|
}
|
|
@@ -161,7 +160,6 @@ type PaymentMethod = "card" | "stripe_account" | "klarna" | "bancontact" | "eps"
|
|
|
161
160
|
type PaymentReason = "custom" | "session";
|
|
162
161
|
type PaymentRefundReason = "requestedByUser" | "expiredUncapturedCharge" | "fraudulent" | "duplicate" | "unknown";
|
|
163
162
|
type SessionStatus = "waitingForPayment" | "waitingForReady" | "ready" | "completed";
|
|
164
|
-
type AutoRenewMode = "off" | "optIn" | "optOut" | "on";
|
|
165
163
|
type RefundStatus = "inTransitToUser" | "succeeded";
|
|
166
164
|
type SessionTerminatedByType = "user" | "system" | "propertyAdmin" | "nodeArray" | "flow" | "apiKey";
|
|
167
165
|
type PermissionTypes = "UserManagement" | "PropertyManagement" | "PayoutManagement" | "InvoiceManagement" | "TarifManagement" | "SessionManagement" | "PaymentManagement" | "LocationManagement" | "LinkManagement" | "TermsManagement";
|
|
@@ -769,7 +767,6 @@ interface SessionCreateBlock extends BaseBlock {
|
|
|
769
767
|
in: {
|
|
770
768
|
locationId: DataEdgeConnection;
|
|
771
769
|
tariffId: DataEdgeConnection;
|
|
772
|
-
autoRenew: DataEdgeConnection;
|
|
773
770
|
sessionType: DataEdgeConnection;
|
|
774
771
|
isOffSession: DataEdgeConnection;
|
|
775
772
|
userId: DataEdgeConnection;
|
|
@@ -783,7 +780,6 @@ interface SessionCreateBlock extends BaseBlock {
|
|
|
783
780
|
data: {
|
|
784
781
|
locationId?: string;
|
|
785
782
|
tariffId?: string;
|
|
786
|
-
autoRenew?: boolean;
|
|
787
783
|
sessionType?: SessionType;
|
|
788
784
|
isOffSession?: boolean;
|
|
789
785
|
userId?: string;
|
|
@@ -795,7 +791,6 @@ interface SessionCreateBlock extends BaseBlock {
|
|
|
795
791
|
interface SessionCreateBlockInputs {
|
|
796
792
|
locationId: string;
|
|
797
793
|
tariffId: string;
|
|
798
|
-
autoRenew?: boolean;
|
|
799
794
|
sessionType?: SessionType;
|
|
800
795
|
isOffSession?: boolean;
|
|
801
796
|
userId: string;
|
|
@@ -1144,21 +1139,18 @@ interface SessionTerminateBlock extends BaseBlock {
|
|
|
1144
1139
|
sessionId: DataEdgeConnection;
|
|
1145
1140
|
ignoreFlowErrors: DataEdgeConnection;
|
|
1146
1141
|
shouldRetry: DataEdgeConnection;
|
|
1147
|
-
autoRenewIfAvailable: DataEdgeConnection;
|
|
1148
1142
|
};
|
|
1149
1143
|
out: Record<string, never>;
|
|
1150
1144
|
data: {
|
|
1151
1145
|
sessionId?: string;
|
|
1152
1146
|
ignoreFlowErrors?: boolean;
|
|
1153
1147
|
shouldRetry?: boolean;
|
|
1154
|
-
autoRenewIfAvailable?: boolean;
|
|
1155
1148
|
};
|
|
1156
1149
|
}
|
|
1157
1150
|
interface SessionTerminateBlockInputs {
|
|
1158
1151
|
sessionId: string;
|
|
1159
1152
|
ignoreFlowErrors: boolean;
|
|
1160
1153
|
shouldRetry: boolean;
|
|
1161
|
-
autoRenewIfAvailable: boolean;
|
|
1162
1154
|
}
|
|
1163
1155
|
interface SystemLogBlock extends BaseBlock {
|
|
1164
1156
|
type: "system.log";
|
|
@@ -2678,13 +2670,10 @@ declare namespace JUHUU {
|
|
|
2678
2670
|
reminderHandler: "cloudFunction" | "cloudTask" | null;
|
|
2679
2671
|
reminderExecuted: boolean;
|
|
2680
2672
|
timeZone: TimeZone;
|
|
2681
|
-
autoRenewManualEnabled: boolean;
|
|
2682
2673
|
manualTerminationEnabled: boolean;
|
|
2683
2674
|
version: number;
|
|
2684
2675
|
isOffSession: boolean;
|
|
2685
2676
|
tariff: JUHUU.Tariff.Object;
|
|
2686
|
-
previousAutoRenewSessionId: string | null;
|
|
2687
|
-
autoRenew: boolean;
|
|
2688
2677
|
locationId: string | null;
|
|
2689
2678
|
locationName: string | null;
|
|
2690
2679
|
locationGroupId: string | null;
|
|
@@ -2697,8 +2686,6 @@ declare namespace JUHUU {
|
|
|
2697
2686
|
type: "rent";
|
|
2698
2687
|
managementUserId: string | null;
|
|
2699
2688
|
deviceIdArray: string[];
|
|
2700
|
-
autoRenew: boolean;
|
|
2701
|
-
previousAutoRenewSessionId: string | null;
|
|
2702
2689
|
surveyId: string | null;
|
|
2703
2690
|
surveyEnabled: boolean;
|
|
2704
2691
|
}
|
|
@@ -2710,7 +2697,6 @@ declare namespace JUHUU {
|
|
|
2710
2697
|
type Params = {
|
|
2711
2698
|
locationId: string;
|
|
2712
2699
|
tariffId: string;
|
|
2713
|
-
autoRenew: boolean;
|
|
2714
2700
|
sessionType: Object["type"];
|
|
2715
2701
|
isOffSession: boolean;
|
|
2716
2702
|
userId: string;
|
|
@@ -2773,7 +2759,7 @@ declare namespace JUHUU {
|
|
|
2773
2759
|
export namespace Update {
|
|
2774
2760
|
type Params = {
|
|
2775
2761
|
sessionId: string;
|
|
2776
|
-
|
|
2762
|
+
metadata?: Record<string, any>;
|
|
2777
2763
|
};
|
|
2778
2764
|
type Options = JUHUU.RequestOptions;
|
|
2779
2765
|
type Response = {
|
|
@@ -2847,7 +2833,6 @@ declare namespace JUHUU {
|
|
|
2847
2833
|
type Params = {
|
|
2848
2834
|
locationId: string;
|
|
2849
2835
|
tariffId: string;
|
|
2850
|
-
autoRenew: boolean;
|
|
2851
2836
|
scheduledReadyAt?: Date;
|
|
2852
2837
|
};
|
|
2853
2838
|
type Options = JUHUU.RequestOptions;
|
|
@@ -3938,9 +3923,7 @@ declare namespace JUHUU {
|
|
|
3938
3923
|
continue: number;
|
|
3939
3924
|
interval: number;
|
|
3940
3925
|
duration: number;
|
|
3941
|
-
autoRenewMode: AutoRenewMode;
|
|
3942
3926
|
roundToMidnight: boolean;
|
|
3943
|
-
autoRenewManualEnabled: boolean;
|
|
3944
3927
|
manualTerminationEnabled: boolean;
|
|
3945
3928
|
salesTaxPercentage: number;
|
|
3946
3929
|
serviceFeePercentage: number;
|
|
@@ -3998,9 +3981,7 @@ declare namespace JUHUU {
|
|
|
3998
3981
|
interval?: number;
|
|
3999
3982
|
name?: LocaleString;
|
|
4000
3983
|
duration?: number;
|
|
4001
|
-
autoRenewMode?: AutoRenewMode;
|
|
4002
3984
|
roundToMidnight?: boolean;
|
|
4003
|
-
autoRenewManualEnabled?: boolean;
|
|
4004
3985
|
manualTerminationEnabled?: boolean;
|
|
4005
3986
|
salesTaxPercentage?: number;
|
|
4006
3987
|
shortDescription?: LocaleString | null;
|
|
@@ -4457,7 +4438,7 @@ declare namespace JUHUU {
|
|
|
4457
4438
|
userId: string;
|
|
4458
4439
|
postingRowArray: PostingRow[];
|
|
4459
4440
|
secondsToPay: number;
|
|
4460
|
-
defaultPaymentMethodConfigurationId
|
|
4441
|
+
defaultPaymentMethodConfigurationId?: string;
|
|
4461
4442
|
};
|
|
4462
4443
|
type Options = JUHUU.RequestOptions;
|
|
4463
4444
|
type Response = {
|
|
@@ -7561,4 +7542,4 @@ declare namespace JUHUU {
|
|
|
7561
7542
|
}
|
|
7562
7543
|
}
|
|
7563
7544
|
|
|
7564
|
-
export { type AccessControlListElement, type AdditionalSubscriptionItem, type Address, type ApiKeyScope, type ApiKeyStatus, type AppStatus, type AppVersionStatus, type ArrayGetBlock, type ArrayGetBlockInputs, type ArrayLengthBlock, type ArrayLengthBlockInputs, type AuthMethodType, type
|
|
7545
|
+
export { type AccessControlListElement, type AdditionalSubscriptionItem, type Address, type ApiKeyScope, type ApiKeyStatus, type AppStatus, type AppVersionStatus, type ArrayGetBlock, type ArrayGetBlockInputs, type ArrayLengthBlock, type ArrayLengthBlockInputs, type AuthMethodType, type BaseBlock, type BenefitCardCopyBlock, type BenefitCardCopyBlockInputs, type BenefitCardListBlock, type BenefitCardListBlockInputs, type BenefitCardRetrieveBlock, type BenefitCardRetrieveBlockInputs, type BenefitCardUpdateBlock, type BenefitCardUpdateBlockInputs, type BlockExecutor, type BusinessType, type Capability, type Category, type Circumstance, type Color, type ColorScheme, type Command, type Condition, ConditionType, type ConstBooleanBlock, type ConstNumberBlock, type ConstTextBlock, type ControlEdgeConnection, type CountryCode, CountryCodeArray, type CurrencyCode, CurrencyCodeArray, type CustomClaims, type DataEdgeConnection, type DeepNullable, type DelaySleepBlock, type DelaySleepBlockInputs, type DevicePermission, type DeviceRetrieveBlock, type DeviceRetrieveBlockInputs, type DeviceStatus, type DeviceType, type DeviceUpdateBlock, type DeviceUpdateBlockInputs, type EndCustomBlock, type Environment, type EnvironmentSettings, type ExtractType, type FlowBlock, type FlowBlockInput, type FlowControlEdge, type FlowDataEdge, type FlowEdge, type FlowExecuteBlock, type FlowExecuteBlockInputs, type FlowExecutionEnvironment, type FlowLog, type FlowStatus, type Frontend, type GeneralSettings, type GeoPoint, type GraphNode, type HttpDeleteBlock, type HttpDeleteBlockInputs, type HttpGetBlock, type HttpGetBlockInputs, type HttpPatchBlock, type HttpPostBlock, type HttpPostBlockInputs, type HttpPutBlock, type HttpPutBlockInputs, type HttpsPatchBlockInputs, type IfBlock, type IncidentCreateBlock, type IncidentCreateBlockInputs, type IncidentRetrieveBlock, type IncidentRetrieveBlockInputs, JUHUU, type JsonLogic, Juhuu, type KitStatus, type LanguageCode, LanguageCodeArray, Layout, type LayoutBlock, type LinkType, type LocaleString, type LocationRetrieveBlock, type LocationRetrieveBlockInputs, type LocationUpdateBlock, type LocationUpdateBlockInputs, type MapConstructBlock, type MapConstructBlockInputs, type MapDestructureBlock, type MapDestructureBlockInputs, type MapFilter, type MathAddBlock, type MathAddBlockInputs, type MathDivideBlock, type MathDivideBlockInputs, type MathMultiplyBlock, type MathMultiplyBlockInputs, type MathSubtractBlock, type MathSubtractBlockInputs, type Modality, type ModbusFunctionCode, type ModbusReadBlock, type ModbusReadBlockInputs, type ModbusWriteBlock, type ModbusWriteBlockInputs, type ModbusWriteFunctionCode, type MqttSendBlock, type MqttSendBlockInputs, Offer, type OfferTime, type PanelDisplay, type ParamDefinition, type ParamType, type ParameterRetrieveBlock, type ParameterRetrieveBlockInputs, type ParameterUpdateBlock, type ParameterUpdateBlockInputs, type Party, type PaymentCreateBlock, type PaymentCreateBlockInputs, type PaymentMethod, type PaymentReason, type PaymentRefundReason, type PaymentRefundStatus, type PaymentServiceProvider, type PaymentStatus, type PayoutSettings, type PayoutStatus, type PermissionTypes, type Person, type PhoneCountryCode, type Platform, type PlatformString, type PlotData, type PostingRow, type PropertyAgreement, type PropertyRetrieveBlock, type PropertyRetrieveBlockInputs, type PropertyUpdateBlock, type PropertyUpdateBlockInputs, type ProximityStrategy, type Purpose, type QuickAction, type QuickView, ReadonlyCategoryArray, ReadonlyModalityArray, ReadonlySectorArray, type RefundStatus, type Rs485BufferBlock, type Rs485BufferBlockInputs, type Rs485SendBlock, type Rs485SendBlockInputs, type Sector, type SessionCannotTerminateReason, type SessionCreateBlock, type SessionCreateBlockInputs, type SessionRetrieveBlock, type SessionRetrieveBlockInputs, type SessionSettings, type SessionStatus, type SessionTerminateBlock, type SessionTerminateBlockInputs, type SessionTerminatedByType, type SessionType, Settings, type SimStatus, type StarRating, type StartCronBlock, type StartCustomBlock, type StartLocationUpdateBlock, type StartParameterUpdateBlock, type StartQuickActionLocationBlock, type StartSessionUpdateBlock, type SwitchBlock, type SystemLogBlock, type SystemLogBlockInputs, type TarifType, type TaxCode, type TextMatchBlock, type TextMatchBlockInputs, type TextTemplateBlock, type TextTemplateBlockInputs, type TimePeriod, type TimeZone, type UiNavigateScreenBlock, type UiNavigateScreenBlockInputs, type Unit, type UserCreateBlock, type UserCreateBlockInputs, type UserGroup, type UserRetrieveBlock, type UserRetrieveBlockInputs, type UserType, type Utilization, type VariableGetBlock, type VariableGetBlockInputs, type VariableSetBlock, type VariableSetBlockInputs, type VeloBrushDeviceDocumentUserManualStep, type Viewport, type ViewportPolygon, type VisualPriority, type hexColor };
|
package/dist/index.d.ts
CHANGED
|
@@ -153,7 +153,6 @@ interface PayoutSettings {
|
|
|
153
153
|
}
|
|
154
154
|
interface SessionSettings {
|
|
155
155
|
enabled: boolean;
|
|
156
|
-
autoRenewEnabled: boolean;
|
|
157
156
|
}
|
|
158
157
|
interface EnvironmentSettings {
|
|
159
158
|
}
|
|
@@ -161,7 +160,6 @@ type PaymentMethod = "card" | "stripe_account" | "klarna" | "bancontact" | "eps"
|
|
|
161
160
|
type PaymentReason = "custom" | "session";
|
|
162
161
|
type PaymentRefundReason = "requestedByUser" | "expiredUncapturedCharge" | "fraudulent" | "duplicate" | "unknown";
|
|
163
162
|
type SessionStatus = "waitingForPayment" | "waitingForReady" | "ready" | "completed";
|
|
164
|
-
type AutoRenewMode = "off" | "optIn" | "optOut" | "on";
|
|
165
163
|
type RefundStatus = "inTransitToUser" | "succeeded";
|
|
166
164
|
type SessionTerminatedByType = "user" | "system" | "propertyAdmin" | "nodeArray" | "flow" | "apiKey";
|
|
167
165
|
type PermissionTypes = "UserManagement" | "PropertyManagement" | "PayoutManagement" | "InvoiceManagement" | "TarifManagement" | "SessionManagement" | "PaymentManagement" | "LocationManagement" | "LinkManagement" | "TermsManagement";
|
|
@@ -769,7 +767,6 @@ interface SessionCreateBlock extends BaseBlock {
|
|
|
769
767
|
in: {
|
|
770
768
|
locationId: DataEdgeConnection;
|
|
771
769
|
tariffId: DataEdgeConnection;
|
|
772
|
-
autoRenew: DataEdgeConnection;
|
|
773
770
|
sessionType: DataEdgeConnection;
|
|
774
771
|
isOffSession: DataEdgeConnection;
|
|
775
772
|
userId: DataEdgeConnection;
|
|
@@ -783,7 +780,6 @@ interface SessionCreateBlock extends BaseBlock {
|
|
|
783
780
|
data: {
|
|
784
781
|
locationId?: string;
|
|
785
782
|
tariffId?: string;
|
|
786
|
-
autoRenew?: boolean;
|
|
787
783
|
sessionType?: SessionType;
|
|
788
784
|
isOffSession?: boolean;
|
|
789
785
|
userId?: string;
|
|
@@ -795,7 +791,6 @@ interface SessionCreateBlock extends BaseBlock {
|
|
|
795
791
|
interface SessionCreateBlockInputs {
|
|
796
792
|
locationId: string;
|
|
797
793
|
tariffId: string;
|
|
798
|
-
autoRenew?: boolean;
|
|
799
794
|
sessionType?: SessionType;
|
|
800
795
|
isOffSession?: boolean;
|
|
801
796
|
userId: string;
|
|
@@ -1144,21 +1139,18 @@ interface SessionTerminateBlock extends BaseBlock {
|
|
|
1144
1139
|
sessionId: DataEdgeConnection;
|
|
1145
1140
|
ignoreFlowErrors: DataEdgeConnection;
|
|
1146
1141
|
shouldRetry: DataEdgeConnection;
|
|
1147
|
-
autoRenewIfAvailable: DataEdgeConnection;
|
|
1148
1142
|
};
|
|
1149
1143
|
out: Record<string, never>;
|
|
1150
1144
|
data: {
|
|
1151
1145
|
sessionId?: string;
|
|
1152
1146
|
ignoreFlowErrors?: boolean;
|
|
1153
1147
|
shouldRetry?: boolean;
|
|
1154
|
-
autoRenewIfAvailable?: boolean;
|
|
1155
1148
|
};
|
|
1156
1149
|
}
|
|
1157
1150
|
interface SessionTerminateBlockInputs {
|
|
1158
1151
|
sessionId: string;
|
|
1159
1152
|
ignoreFlowErrors: boolean;
|
|
1160
1153
|
shouldRetry: boolean;
|
|
1161
|
-
autoRenewIfAvailable: boolean;
|
|
1162
1154
|
}
|
|
1163
1155
|
interface SystemLogBlock extends BaseBlock {
|
|
1164
1156
|
type: "system.log";
|
|
@@ -2678,13 +2670,10 @@ declare namespace JUHUU {
|
|
|
2678
2670
|
reminderHandler: "cloudFunction" | "cloudTask" | null;
|
|
2679
2671
|
reminderExecuted: boolean;
|
|
2680
2672
|
timeZone: TimeZone;
|
|
2681
|
-
autoRenewManualEnabled: boolean;
|
|
2682
2673
|
manualTerminationEnabled: boolean;
|
|
2683
2674
|
version: number;
|
|
2684
2675
|
isOffSession: boolean;
|
|
2685
2676
|
tariff: JUHUU.Tariff.Object;
|
|
2686
|
-
previousAutoRenewSessionId: string | null;
|
|
2687
|
-
autoRenew: boolean;
|
|
2688
2677
|
locationId: string | null;
|
|
2689
2678
|
locationName: string | null;
|
|
2690
2679
|
locationGroupId: string | null;
|
|
@@ -2697,8 +2686,6 @@ declare namespace JUHUU {
|
|
|
2697
2686
|
type: "rent";
|
|
2698
2687
|
managementUserId: string | null;
|
|
2699
2688
|
deviceIdArray: string[];
|
|
2700
|
-
autoRenew: boolean;
|
|
2701
|
-
previousAutoRenewSessionId: string | null;
|
|
2702
2689
|
surveyId: string | null;
|
|
2703
2690
|
surveyEnabled: boolean;
|
|
2704
2691
|
}
|
|
@@ -2710,7 +2697,6 @@ declare namespace JUHUU {
|
|
|
2710
2697
|
type Params = {
|
|
2711
2698
|
locationId: string;
|
|
2712
2699
|
tariffId: string;
|
|
2713
|
-
autoRenew: boolean;
|
|
2714
2700
|
sessionType: Object["type"];
|
|
2715
2701
|
isOffSession: boolean;
|
|
2716
2702
|
userId: string;
|
|
@@ -2773,7 +2759,7 @@ declare namespace JUHUU {
|
|
|
2773
2759
|
export namespace Update {
|
|
2774
2760
|
type Params = {
|
|
2775
2761
|
sessionId: string;
|
|
2776
|
-
|
|
2762
|
+
metadata?: Record<string, any>;
|
|
2777
2763
|
};
|
|
2778
2764
|
type Options = JUHUU.RequestOptions;
|
|
2779
2765
|
type Response = {
|
|
@@ -2847,7 +2833,6 @@ declare namespace JUHUU {
|
|
|
2847
2833
|
type Params = {
|
|
2848
2834
|
locationId: string;
|
|
2849
2835
|
tariffId: string;
|
|
2850
|
-
autoRenew: boolean;
|
|
2851
2836
|
scheduledReadyAt?: Date;
|
|
2852
2837
|
};
|
|
2853
2838
|
type Options = JUHUU.RequestOptions;
|
|
@@ -3938,9 +3923,7 @@ declare namespace JUHUU {
|
|
|
3938
3923
|
continue: number;
|
|
3939
3924
|
interval: number;
|
|
3940
3925
|
duration: number;
|
|
3941
|
-
autoRenewMode: AutoRenewMode;
|
|
3942
3926
|
roundToMidnight: boolean;
|
|
3943
|
-
autoRenewManualEnabled: boolean;
|
|
3944
3927
|
manualTerminationEnabled: boolean;
|
|
3945
3928
|
salesTaxPercentage: number;
|
|
3946
3929
|
serviceFeePercentage: number;
|
|
@@ -3998,9 +3981,7 @@ declare namespace JUHUU {
|
|
|
3998
3981
|
interval?: number;
|
|
3999
3982
|
name?: LocaleString;
|
|
4000
3983
|
duration?: number;
|
|
4001
|
-
autoRenewMode?: AutoRenewMode;
|
|
4002
3984
|
roundToMidnight?: boolean;
|
|
4003
|
-
autoRenewManualEnabled?: boolean;
|
|
4004
3985
|
manualTerminationEnabled?: boolean;
|
|
4005
3986
|
salesTaxPercentage?: number;
|
|
4006
3987
|
shortDescription?: LocaleString | null;
|
|
@@ -4457,7 +4438,7 @@ declare namespace JUHUU {
|
|
|
4457
4438
|
userId: string;
|
|
4458
4439
|
postingRowArray: PostingRow[];
|
|
4459
4440
|
secondsToPay: number;
|
|
4460
|
-
defaultPaymentMethodConfigurationId
|
|
4441
|
+
defaultPaymentMethodConfigurationId?: string;
|
|
4461
4442
|
};
|
|
4462
4443
|
type Options = JUHUU.RequestOptions;
|
|
4463
4444
|
type Response = {
|
|
@@ -7561,4 +7542,4 @@ declare namespace JUHUU {
|
|
|
7561
7542
|
}
|
|
7562
7543
|
}
|
|
7563
7544
|
|
|
7564
|
-
export { type AccessControlListElement, type AdditionalSubscriptionItem, type Address, type ApiKeyScope, type ApiKeyStatus, type AppStatus, type AppVersionStatus, type ArrayGetBlock, type ArrayGetBlockInputs, type ArrayLengthBlock, type ArrayLengthBlockInputs, type AuthMethodType, type
|
|
7545
|
+
export { type AccessControlListElement, type AdditionalSubscriptionItem, type Address, type ApiKeyScope, type ApiKeyStatus, type AppStatus, type AppVersionStatus, type ArrayGetBlock, type ArrayGetBlockInputs, type ArrayLengthBlock, type ArrayLengthBlockInputs, type AuthMethodType, type BaseBlock, type BenefitCardCopyBlock, type BenefitCardCopyBlockInputs, type BenefitCardListBlock, type BenefitCardListBlockInputs, type BenefitCardRetrieveBlock, type BenefitCardRetrieveBlockInputs, type BenefitCardUpdateBlock, type BenefitCardUpdateBlockInputs, type BlockExecutor, type BusinessType, type Capability, type Category, type Circumstance, type Color, type ColorScheme, type Command, type Condition, ConditionType, type ConstBooleanBlock, type ConstNumberBlock, type ConstTextBlock, type ControlEdgeConnection, type CountryCode, CountryCodeArray, type CurrencyCode, CurrencyCodeArray, type CustomClaims, type DataEdgeConnection, type DeepNullable, type DelaySleepBlock, type DelaySleepBlockInputs, type DevicePermission, type DeviceRetrieveBlock, type DeviceRetrieveBlockInputs, type DeviceStatus, type DeviceType, type DeviceUpdateBlock, type DeviceUpdateBlockInputs, type EndCustomBlock, type Environment, type EnvironmentSettings, type ExtractType, type FlowBlock, type FlowBlockInput, type FlowControlEdge, type FlowDataEdge, type FlowEdge, type FlowExecuteBlock, type FlowExecuteBlockInputs, type FlowExecutionEnvironment, type FlowLog, type FlowStatus, type Frontend, type GeneralSettings, type GeoPoint, type GraphNode, type HttpDeleteBlock, type HttpDeleteBlockInputs, type HttpGetBlock, type HttpGetBlockInputs, type HttpPatchBlock, type HttpPostBlock, type HttpPostBlockInputs, type HttpPutBlock, type HttpPutBlockInputs, type HttpsPatchBlockInputs, type IfBlock, type IncidentCreateBlock, type IncidentCreateBlockInputs, type IncidentRetrieveBlock, type IncidentRetrieveBlockInputs, JUHUU, type JsonLogic, Juhuu, type KitStatus, type LanguageCode, LanguageCodeArray, Layout, type LayoutBlock, type LinkType, type LocaleString, type LocationRetrieveBlock, type LocationRetrieveBlockInputs, type LocationUpdateBlock, type LocationUpdateBlockInputs, type MapConstructBlock, type MapConstructBlockInputs, type MapDestructureBlock, type MapDestructureBlockInputs, type MapFilter, type MathAddBlock, type MathAddBlockInputs, type MathDivideBlock, type MathDivideBlockInputs, type MathMultiplyBlock, type MathMultiplyBlockInputs, type MathSubtractBlock, type MathSubtractBlockInputs, type Modality, type ModbusFunctionCode, type ModbusReadBlock, type ModbusReadBlockInputs, type ModbusWriteBlock, type ModbusWriteBlockInputs, type ModbusWriteFunctionCode, type MqttSendBlock, type MqttSendBlockInputs, Offer, type OfferTime, type PanelDisplay, type ParamDefinition, type ParamType, type ParameterRetrieveBlock, type ParameterRetrieveBlockInputs, type ParameterUpdateBlock, type ParameterUpdateBlockInputs, type Party, type PaymentCreateBlock, type PaymentCreateBlockInputs, type PaymentMethod, type PaymentReason, type PaymentRefundReason, type PaymentRefundStatus, type PaymentServiceProvider, type PaymentStatus, type PayoutSettings, type PayoutStatus, type PermissionTypes, type Person, type PhoneCountryCode, type Platform, type PlatformString, type PlotData, type PostingRow, type PropertyAgreement, type PropertyRetrieveBlock, type PropertyRetrieveBlockInputs, type PropertyUpdateBlock, type PropertyUpdateBlockInputs, type ProximityStrategy, type Purpose, type QuickAction, type QuickView, ReadonlyCategoryArray, ReadonlyModalityArray, ReadonlySectorArray, type RefundStatus, type Rs485BufferBlock, type Rs485BufferBlockInputs, type Rs485SendBlock, type Rs485SendBlockInputs, type Sector, type SessionCannotTerminateReason, type SessionCreateBlock, type SessionCreateBlockInputs, type SessionRetrieveBlock, type SessionRetrieveBlockInputs, type SessionSettings, type SessionStatus, type SessionTerminateBlock, type SessionTerminateBlockInputs, type SessionTerminatedByType, type SessionType, Settings, type SimStatus, type StarRating, type StartCronBlock, type StartCustomBlock, type StartLocationUpdateBlock, type StartParameterUpdateBlock, type StartQuickActionLocationBlock, type StartSessionUpdateBlock, type SwitchBlock, type SystemLogBlock, type SystemLogBlockInputs, type TarifType, type TaxCode, type TextMatchBlock, type TextMatchBlockInputs, type TextTemplateBlock, type TextTemplateBlockInputs, type TimePeriod, type TimeZone, type UiNavigateScreenBlock, type UiNavigateScreenBlockInputs, type Unit, type UserCreateBlock, type UserCreateBlockInputs, type UserGroup, type UserRetrieveBlock, type UserRetrieveBlockInputs, type UserType, type Utilization, type VariableGetBlock, type VariableGetBlockInputs, type VariableSetBlock, type VariableSetBlockInputs, type VeloBrushDeviceDocumentUserManualStep, type Viewport, type ViewportPolygon, type VisualPriority, type hexColor };
|
package/dist/index.js
CHANGED
|
@@ -813,7 +813,6 @@ var SessionService = class extends Service {
|
|
|
813
813
|
body: {
|
|
814
814
|
locationId: SessionCreateParams.locationId,
|
|
815
815
|
tariffId: SessionCreateParams.tariffId,
|
|
816
|
-
autoRenew: SessionCreateParams.autoRenew,
|
|
817
816
|
type: SessionCreateParams.sessionType,
|
|
818
817
|
isOffSession: SessionCreateParams.isOffSession,
|
|
819
818
|
userId: SessionCreateParams.userId,
|
|
@@ -912,7 +911,7 @@ var SessionService = class extends Service {
|
|
|
912
911
|
method: "PATCH",
|
|
913
912
|
url: "sessions/" + SessionUpdateParams.sessionId,
|
|
914
913
|
body: {
|
|
915
|
-
|
|
914
|
+
metadata: SessionUpdateParams?.metadata
|
|
916
915
|
},
|
|
917
916
|
authenticationNotOptional: true
|
|
918
917
|
},
|
|
@@ -1002,7 +1001,6 @@ var SessionService = class extends Service {
|
|
|
1002
1001
|
const queryArray = [];
|
|
1003
1002
|
queryArray.push("locationId=" + SessionCheckAvailabilityParams.locationId);
|
|
1004
1003
|
queryArray.push("tariffId=" + SessionCheckAvailabilityParams.tariffId);
|
|
1005
|
-
queryArray.push("autoRenew=" + SessionCheckAvailabilityParams.autoRenew);
|
|
1006
1004
|
if (SessionCheckAvailabilityParams.scheduledReadyAt !== void 0) {
|
|
1007
1005
|
queryArray.push(
|
|
1008
1006
|
"scheduledReadyAt=" + SessionCheckAvailabilityParams.scheduledReadyAt.toISOString()
|
|
@@ -2255,9 +2253,7 @@ var TariffsService = class extends Service {
|
|
|
2255
2253
|
interval: TariffUpdateParams.interval,
|
|
2256
2254
|
duration: TariffUpdateParams.duration,
|
|
2257
2255
|
name: TariffUpdateParams.name,
|
|
2258
|
-
autoRenewMode: TariffUpdateParams.autoRenewMode,
|
|
2259
2256
|
roundToMidnight: TariffUpdateParams.roundToMidnight,
|
|
2260
|
-
autoRenewManualEnabled: TariffUpdateParams.autoRenewManualEnabled,
|
|
2261
2257
|
manualTerminationEnabled: TariffUpdateParams.manualTerminationEnabled
|
|
2262
2258
|
},
|
|
2263
2259
|
authenticationNotOptional: true
|
package/dist/index.mjs
CHANGED
|
@@ -769,7 +769,6 @@ var SessionService = class extends Service {
|
|
|
769
769
|
body: {
|
|
770
770
|
locationId: SessionCreateParams.locationId,
|
|
771
771
|
tariffId: SessionCreateParams.tariffId,
|
|
772
|
-
autoRenew: SessionCreateParams.autoRenew,
|
|
773
772
|
type: SessionCreateParams.sessionType,
|
|
774
773
|
isOffSession: SessionCreateParams.isOffSession,
|
|
775
774
|
userId: SessionCreateParams.userId,
|
|
@@ -868,7 +867,7 @@ var SessionService = class extends Service {
|
|
|
868
867
|
method: "PATCH",
|
|
869
868
|
url: "sessions/" + SessionUpdateParams.sessionId,
|
|
870
869
|
body: {
|
|
871
|
-
|
|
870
|
+
metadata: SessionUpdateParams?.metadata
|
|
872
871
|
},
|
|
873
872
|
authenticationNotOptional: true
|
|
874
873
|
},
|
|
@@ -958,7 +957,6 @@ var SessionService = class extends Service {
|
|
|
958
957
|
const queryArray = [];
|
|
959
958
|
queryArray.push("locationId=" + SessionCheckAvailabilityParams.locationId);
|
|
960
959
|
queryArray.push("tariffId=" + SessionCheckAvailabilityParams.tariffId);
|
|
961
|
-
queryArray.push("autoRenew=" + SessionCheckAvailabilityParams.autoRenew);
|
|
962
960
|
if (SessionCheckAvailabilityParams.scheduledReadyAt !== void 0) {
|
|
963
961
|
queryArray.push(
|
|
964
962
|
"scheduledReadyAt=" + SessionCheckAvailabilityParams.scheduledReadyAt.toISOString()
|
|
@@ -2211,9 +2209,7 @@ var TariffsService = class extends Service {
|
|
|
2211
2209
|
interval: TariffUpdateParams.interval,
|
|
2212
2210
|
duration: TariffUpdateParams.duration,
|
|
2213
2211
|
name: TariffUpdateParams.name,
|
|
2214
|
-
autoRenewMode: TariffUpdateParams.autoRenewMode,
|
|
2215
2212
|
roundToMidnight: TariffUpdateParams.roundToMidnight,
|
|
2216
|
-
autoRenewManualEnabled: TariffUpdateParams.autoRenewManualEnabled,
|
|
2217
2213
|
manualTerminationEnabled: TariffUpdateParams.manualTerminationEnabled
|
|
2218
2214
|
},
|
|
2219
2215
|
authenticationNotOptional: true
|