@juhuu/sdk-ts 1.3.2 → 1.3.4
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 +40 -3
- package/dist/index.d.ts +40 -3
- package/dist/index.js +12 -7
- package/dist/index.mjs +12 -7
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1590,8 +1590,44 @@ interface EndCustomBlock extends BaseBlock {
|
|
|
1590
1590
|
outputParamDefinitionArray: ParamDefinition[];
|
|
1591
1591
|
};
|
|
1592
1592
|
}
|
|
1593
|
-
|
|
1594
|
-
type
|
|
1593
|
+
interface PaymentCreateBlock extends BaseBlock {
|
|
1594
|
+
type: "payment.create";
|
|
1595
|
+
in: {
|
|
1596
|
+
accountingAreaId: DataEdgeConnection;
|
|
1597
|
+
amountWithoutServiceFee: DataEdgeConnection;
|
|
1598
|
+
currencyCode: DataEdgeConnection;
|
|
1599
|
+
propertyId: DataEdgeConnection;
|
|
1600
|
+
userId: DataEdgeConnection;
|
|
1601
|
+
isOffSession: DataEdgeConnection;
|
|
1602
|
+
salesTaxPercentage: DataEdgeConnection;
|
|
1603
|
+
postingRowArray: DataEdgeConnection;
|
|
1604
|
+
};
|
|
1605
|
+
out: {
|
|
1606
|
+
payment: DataEdgeConnection;
|
|
1607
|
+
};
|
|
1608
|
+
data: {
|
|
1609
|
+
accountingAreaId?: string | null;
|
|
1610
|
+
amountWithoutServiceFee?: number | null;
|
|
1611
|
+
currencyCode?: CurrencyCode | null;
|
|
1612
|
+
propertyId?: string | null;
|
|
1613
|
+
userId?: string | null;
|
|
1614
|
+
isOffSession?: boolean | null;
|
|
1615
|
+
salesTaxPercentage?: number | null;
|
|
1616
|
+
postingRowArray?: PostingRow[] | null;
|
|
1617
|
+
};
|
|
1618
|
+
}
|
|
1619
|
+
interface PaymentCreateBlockInputs {
|
|
1620
|
+
accountingAreaId: string;
|
|
1621
|
+
amountWithoutServiceFee: number;
|
|
1622
|
+
currencyCode: CurrencyCode;
|
|
1623
|
+
propertyId: string;
|
|
1624
|
+
userId: string;
|
|
1625
|
+
isOffSession: boolean;
|
|
1626
|
+
salesTaxPercentage?: number | null;
|
|
1627
|
+
postingRowArray?: PostingRow[] | null;
|
|
1628
|
+
}
|
|
1629
|
+
type FlowBlock = StartCustomBlock | StartQuickActionLocationBlock | StartSessionUpdateBlock | StartLocationUpdateBlock | StartParameterUpdateBlock | ConstNumberBlock | ConstTextBlock | ConstBooleanBlock | MathAddBlock | MathSubtractBlock | MathMultiplyBlock | MathDivideBlock | MapDestructureBlock | MapConstructBlock | ArrayLengthBlock | ArrayGetBlock | ParameterRetrieveBlock | PropertyRetrieveBlock | LocationRetrieveBlock | SessionRetrieveBlock | DeviceRetrieveBlock | UserRetrieveBlock | UserCreateBlock | IncidentRetrieveBlock | BenefitCardRetrieveBlock | BenefitCardListBlock | BenefitCardCopyBlock | BenefitCardUpdateBlock | TextMatchBlock | TextTemplateBlock | ParameterUpdateBlock | DeviceUpdateBlock | LocationUpdateBlock | PropertyUpdateBlock | SessionTerminateBlock | SystemLogBlock | UiNavigateScreenBlock | IncidentCreateBlock | IfBlock | SwitchBlock | HttpPatchBlock | HttpGetBlock | HttpPostBlock | HttpDeleteBlock | HttpPutBlock | MqttSendBlock | FlowExecuteBlock | VariableSetBlock | VariableGetBlock | DelaySleepBlock | EndCustomBlock | PaymentCreateBlock;
|
|
1630
|
+
type FlowBlockInput = MathAddBlockInputs | MathSubtractBlockInputs | MathMultiplyBlockInputs | MathDivideBlockInputs | ParameterRetrieveBlockInputs | PropertyRetrieveBlockInputs | LocationRetrieveBlockInputs | SessionRetrieveBlockInputs | DeviceRetrieveBlockInputs | UserRetrieveBlockInputs | UserCreateBlockInputs | IncidentRetrieveBlockInputs | BenefitCardRetrieveBlockInputs | BenefitCardListBlockInputs | BenefitCardCopyBlockInputs | BenefitCardUpdateBlockInputs | TextMatchBlockInputs | TextTemplateBlockInputs | ParameterUpdateBlockInputs | DeviceUpdateBlockInputs | LocationUpdateBlockInputs | PropertyUpdateBlockInputs | SessionTerminateBlockInputs | SystemLogBlockInputs | UiNavigateScreenBlockInputs | IncidentCreateBlockInputs | HttpsPatchBlockInputs | HttpGetBlockInputs | HttpPostBlockInputs | HttpDeleteBlockInputs | HttpPutBlockInputs | MqttSendBlockInputs | FlowExecuteBlockInputs | MapDestructureBlockInputs | MapConstructBlockInputs | ArrayLengthBlockInputs | ArrayGetBlockInputs | VariableSetBlockInputs | VariableGetBlockInputs | DelaySleepBlockInputs | Record<string, unknown> | PaymentCreateBlockInputs;
|
|
1595
1631
|
interface FlowDataEdge {
|
|
1596
1632
|
id: string;
|
|
1597
1633
|
type: "data";
|
|
@@ -2650,6 +2686,7 @@ declare namespace JUHUU {
|
|
|
2650
2686
|
locationId: string;
|
|
2651
2687
|
tariffId: string;
|
|
2652
2688
|
autoRenew: boolean;
|
|
2689
|
+
scheduledReadyAt?: Date;
|
|
2653
2690
|
};
|
|
2654
2691
|
type Options = JUHUU.RequestOptions;
|
|
2655
2692
|
type Response = {
|
|
@@ -7082,4 +7119,4 @@ declare namespace JUHUU {
|
|
|
7082
7119
|
}
|
|
7083
7120
|
}
|
|
7084
7121
|
|
|
7085
|
-
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 };
|
|
7122
|
+
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 PaymentCreateBlock, type PaymentCreateBlockInputs, 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
|
@@ -1590,8 +1590,44 @@ interface EndCustomBlock extends BaseBlock {
|
|
|
1590
1590
|
outputParamDefinitionArray: ParamDefinition[];
|
|
1591
1591
|
};
|
|
1592
1592
|
}
|
|
1593
|
-
|
|
1594
|
-
type
|
|
1593
|
+
interface PaymentCreateBlock extends BaseBlock {
|
|
1594
|
+
type: "payment.create";
|
|
1595
|
+
in: {
|
|
1596
|
+
accountingAreaId: DataEdgeConnection;
|
|
1597
|
+
amountWithoutServiceFee: DataEdgeConnection;
|
|
1598
|
+
currencyCode: DataEdgeConnection;
|
|
1599
|
+
propertyId: DataEdgeConnection;
|
|
1600
|
+
userId: DataEdgeConnection;
|
|
1601
|
+
isOffSession: DataEdgeConnection;
|
|
1602
|
+
salesTaxPercentage: DataEdgeConnection;
|
|
1603
|
+
postingRowArray: DataEdgeConnection;
|
|
1604
|
+
};
|
|
1605
|
+
out: {
|
|
1606
|
+
payment: DataEdgeConnection;
|
|
1607
|
+
};
|
|
1608
|
+
data: {
|
|
1609
|
+
accountingAreaId?: string | null;
|
|
1610
|
+
amountWithoutServiceFee?: number | null;
|
|
1611
|
+
currencyCode?: CurrencyCode | null;
|
|
1612
|
+
propertyId?: string | null;
|
|
1613
|
+
userId?: string | null;
|
|
1614
|
+
isOffSession?: boolean | null;
|
|
1615
|
+
salesTaxPercentage?: number | null;
|
|
1616
|
+
postingRowArray?: PostingRow[] | null;
|
|
1617
|
+
};
|
|
1618
|
+
}
|
|
1619
|
+
interface PaymentCreateBlockInputs {
|
|
1620
|
+
accountingAreaId: string;
|
|
1621
|
+
amountWithoutServiceFee: number;
|
|
1622
|
+
currencyCode: CurrencyCode;
|
|
1623
|
+
propertyId: string;
|
|
1624
|
+
userId: string;
|
|
1625
|
+
isOffSession: boolean;
|
|
1626
|
+
salesTaxPercentage?: number | null;
|
|
1627
|
+
postingRowArray?: PostingRow[] | null;
|
|
1628
|
+
}
|
|
1629
|
+
type FlowBlock = StartCustomBlock | StartQuickActionLocationBlock | StartSessionUpdateBlock | StartLocationUpdateBlock | StartParameterUpdateBlock | ConstNumberBlock | ConstTextBlock | ConstBooleanBlock | MathAddBlock | MathSubtractBlock | MathMultiplyBlock | MathDivideBlock | MapDestructureBlock | MapConstructBlock | ArrayLengthBlock | ArrayGetBlock | ParameterRetrieveBlock | PropertyRetrieveBlock | LocationRetrieveBlock | SessionRetrieveBlock | DeviceRetrieveBlock | UserRetrieveBlock | UserCreateBlock | IncidentRetrieveBlock | BenefitCardRetrieveBlock | BenefitCardListBlock | BenefitCardCopyBlock | BenefitCardUpdateBlock | TextMatchBlock | TextTemplateBlock | ParameterUpdateBlock | DeviceUpdateBlock | LocationUpdateBlock | PropertyUpdateBlock | SessionTerminateBlock | SystemLogBlock | UiNavigateScreenBlock | IncidentCreateBlock | IfBlock | SwitchBlock | HttpPatchBlock | HttpGetBlock | HttpPostBlock | HttpDeleteBlock | HttpPutBlock | MqttSendBlock | FlowExecuteBlock | VariableSetBlock | VariableGetBlock | DelaySleepBlock | EndCustomBlock | PaymentCreateBlock;
|
|
1630
|
+
type FlowBlockInput = MathAddBlockInputs | MathSubtractBlockInputs | MathMultiplyBlockInputs | MathDivideBlockInputs | ParameterRetrieveBlockInputs | PropertyRetrieveBlockInputs | LocationRetrieveBlockInputs | SessionRetrieveBlockInputs | DeviceRetrieveBlockInputs | UserRetrieveBlockInputs | UserCreateBlockInputs | IncidentRetrieveBlockInputs | BenefitCardRetrieveBlockInputs | BenefitCardListBlockInputs | BenefitCardCopyBlockInputs | BenefitCardUpdateBlockInputs | TextMatchBlockInputs | TextTemplateBlockInputs | ParameterUpdateBlockInputs | DeviceUpdateBlockInputs | LocationUpdateBlockInputs | PropertyUpdateBlockInputs | SessionTerminateBlockInputs | SystemLogBlockInputs | UiNavigateScreenBlockInputs | IncidentCreateBlockInputs | HttpsPatchBlockInputs | HttpGetBlockInputs | HttpPostBlockInputs | HttpDeleteBlockInputs | HttpPutBlockInputs | MqttSendBlockInputs | FlowExecuteBlockInputs | MapDestructureBlockInputs | MapConstructBlockInputs | ArrayLengthBlockInputs | ArrayGetBlockInputs | VariableSetBlockInputs | VariableGetBlockInputs | DelaySleepBlockInputs | Record<string, unknown> | PaymentCreateBlockInputs;
|
|
1595
1631
|
interface FlowDataEdge {
|
|
1596
1632
|
id: string;
|
|
1597
1633
|
type: "data";
|
|
@@ -2650,6 +2686,7 @@ declare namespace JUHUU {
|
|
|
2650
2686
|
locationId: string;
|
|
2651
2687
|
tariffId: string;
|
|
2652
2688
|
autoRenew: boolean;
|
|
2689
|
+
scheduledReadyAt?: Date;
|
|
2653
2690
|
};
|
|
2654
2691
|
type Options = JUHUU.RequestOptions;
|
|
2655
2692
|
type Response = {
|
|
@@ -7082,4 +7119,4 @@ declare namespace JUHUU {
|
|
|
7082
7119
|
}
|
|
7083
7120
|
}
|
|
7084
7121
|
|
|
7085
|
-
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 };
|
|
7122
|
+
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 PaymentCreateBlock, type PaymentCreateBlockInputs, 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
|
@@ -713,15 +713,20 @@ var SessionService = class extends Service {
|
|
|
713
713
|
};
|
|
714
714
|
}
|
|
715
715
|
async checkAvailability(SessionCheckAvailabilityParams, SessionCheckAvailabilityOptions) {
|
|
716
|
+
const queryArray = [];
|
|
717
|
+
queryArray.push("locationId=" + SessionCheckAvailabilityParams.locationId);
|
|
718
|
+
queryArray.push("tariffId=" + SessionCheckAvailabilityParams.tariffId);
|
|
719
|
+
queryArray.push("autoRenew=" + SessionCheckAvailabilityParams.autoRenew);
|
|
720
|
+
if (SessionCheckAvailabilityParams.scheduledReadyAt !== void 0) {
|
|
721
|
+
queryArray.push(
|
|
722
|
+
"scheduledReadyAt=" + SessionCheckAvailabilityParams.scheduledReadyAt.toISOString()
|
|
723
|
+
);
|
|
724
|
+
}
|
|
716
725
|
return await super.sendRequest(
|
|
717
726
|
{
|
|
718
|
-
method: "
|
|
719
|
-
url: "sessions/checkAvailability",
|
|
720
|
-
body:
|
|
721
|
-
locationId: SessionCheckAvailabilityParams.locationId,
|
|
722
|
-
tariffId: SessionCheckAvailabilityParams.tariffId,
|
|
723
|
-
autoRenew: SessionCheckAvailabilityParams.autoRenew
|
|
724
|
-
},
|
|
727
|
+
method: "GET",
|
|
728
|
+
url: "sessions/checkAvailability?" + queryArray.join("&"),
|
|
729
|
+
body: void 0,
|
|
725
730
|
authenticationNotOptional: false
|
|
726
731
|
},
|
|
727
732
|
SessionCheckAvailabilityOptions
|
package/dist/index.mjs
CHANGED
|
@@ -669,15 +669,20 @@ var SessionService = class extends Service {
|
|
|
669
669
|
};
|
|
670
670
|
}
|
|
671
671
|
async checkAvailability(SessionCheckAvailabilityParams, SessionCheckAvailabilityOptions) {
|
|
672
|
+
const queryArray = [];
|
|
673
|
+
queryArray.push("locationId=" + SessionCheckAvailabilityParams.locationId);
|
|
674
|
+
queryArray.push("tariffId=" + SessionCheckAvailabilityParams.tariffId);
|
|
675
|
+
queryArray.push("autoRenew=" + SessionCheckAvailabilityParams.autoRenew);
|
|
676
|
+
if (SessionCheckAvailabilityParams.scheduledReadyAt !== void 0) {
|
|
677
|
+
queryArray.push(
|
|
678
|
+
"scheduledReadyAt=" + SessionCheckAvailabilityParams.scheduledReadyAt.toISOString()
|
|
679
|
+
);
|
|
680
|
+
}
|
|
672
681
|
return await super.sendRequest(
|
|
673
682
|
{
|
|
674
|
-
method: "
|
|
675
|
-
url: "sessions/checkAvailability",
|
|
676
|
-
body:
|
|
677
|
-
locationId: SessionCheckAvailabilityParams.locationId,
|
|
678
|
-
tariffId: SessionCheckAvailabilityParams.tariffId,
|
|
679
|
-
autoRenew: SessionCheckAvailabilityParams.autoRenew
|
|
680
|
-
},
|
|
683
|
+
method: "GET",
|
|
684
|
+
url: "sessions/checkAvailability?" + queryArray.join("&"),
|
|
685
|
+
body: void 0,
|
|
681
686
|
authenticationNotOptional: false
|
|
682
687
|
},
|
|
683
688
|
SessionCheckAvailabilityOptions
|