@juhuu/sdk-ts 1.2.21 → 1.2.23
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 +9 -8
- package/dist/index.d.ts +9 -8
- package/dist/index.js +0 -6
- package/dist/index.mjs +0 -6
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
@@ -306,6 +306,7 @@ declare namespace Layout {
|
|
306
306
|
type: "image";
|
307
307
|
urlDark: string;
|
308
308
|
urlLight: string;
|
309
|
+
height: number;
|
309
310
|
}
|
310
311
|
export namespace Button {
|
311
312
|
interface General extends Block {
|
@@ -368,7 +369,7 @@ declare namespace Layout {
|
|
368
369
|
export { };
|
369
370
|
}
|
370
371
|
type LayoutBlock = Layout.Text.Plain | Layout.Text.Heading | Layout.Text.Subtitle | Layout.Image | Layout.Button.Small | Layout.Button.Large | Layout.Form.General;
|
371
|
-
type
|
372
|
+
type GraphNode = {
|
372
373
|
id: string;
|
373
374
|
type: "flow.start";
|
374
375
|
trigger: "session.terminate";
|
@@ -605,8 +606,6 @@ declare class DevicesService extends Service {
|
|
605
606
|
create(): Promise<void>;
|
606
607
|
retrieve(DeviceRetrieveParams: JUHUU.Device.Retrieve.Params, DeviceRetrieveOptions?: JUHUU.Device.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.Device.Retrieve.Response>>;
|
607
608
|
list(DeviceListParams: JUHUU.Device.List.Params, DeviceListOptions?: JUHUU.Device.List.Options): Promise<JUHUU.HttpResponse<JUHUU.Device.List.Response>>;
|
608
|
-
update(): Promise<void>;
|
609
|
-
delete(): Promise<void>;
|
610
609
|
listen(DeviceRealtimeParams: JUHUU.Device.Realtime.Params, DeviceRealtimeOptions?: JUHUU.Device.Realtime.Options): JUHUU.Device.Realtime.Response;
|
611
610
|
message(DeviceMessageParams: JUHUU.Device.Message.Params, DeviceMessageOptions?: JUHUU.Device.Message.Options): Promise<JUHUU.HttpResponse<JUHUU.Device.Message.Response>>;
|
612
611
|
parameterUpdate(DeviceParameterParams: JUHUU.Device.ParameterUpdate.Params, DeviceParameterOptions?: JUHUU.Device.ParameterUpdate.Options): Promise<JUHUU.HttpResponse<JUHUU.Device.ParameterUpdate.Response>>;
|
@@ -615,7 +614,6 @@ declare class DevicesService extends Service {
|
|
615
614
|
|
616
615
|
declare class DeviceTemplatesService extends Service {
|
617
616
|
constructor(config: JUHUU.SetupConfig);
|
618
|
-
create(): Promise<void>;
|
619
617
|
retrieve(DeviceTemplateRetrieveParams: JUHUU.DeviceTemplate.Retrieve.Params, DeviceTemplateRetrieveOptions?: JUHUU.DeviceTemplate.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.DeviceTemplate.Retrieve.Response>>;
|
620
618
|
list(DeviceTemplateListParams: JUHUU.DeviceTemplate.List.Params, DeviceTemplateListOptions?: JUHUU.DeviceTemplate.List.Options): Promise<JUHUU.HttpResponse<JUHUU.DeviceTemplate.List.Response>>;
|
621
619
|
}
|
@@ -758,7 +756,6 @@ declare namespace JUHUU {
|
|
758
756
|
* If this is true, a new accessToken will be requested if the current one is expired.
|
759
757
|
*/
|
760
758
|
refreshTokensIfNecessary?: boolean;
|
761
|
-
expand?: Array<"property" | "tariffArray">;
|
762
759
|
};
|
763
760
|
type LocaleString = {
|
764
761
|
[locale: string]: string;
|
@@ -1656,7 +1653,9 @@ declare namespace JUHUU {
|
|
1656
1653
|
type Params = {
|
1657
1654
|
productId: string;
|
1658
1655
|
};
|
1659
|
-
type Options =
|
1656
|
+
type Options = {
|
1657
|
+
expand: Array<"property">;
|
1658
|
+
} & JUHUU.RequestOptions;
|
1660
1659
|
type Response = {
|
1661
1660
|
product: Product.Object;
|
1662
1661
|
};
|
@@ -1845,7 +1844,9 @@ declare namespace JUHUU {
|
|
1845
1844
|
type Params = {
|
1846
1845
|
connectorId: string;
|
1847
1846
|
};
|
1848
|
-
type Options =
|
1847
|
+
type Options = {
|
1848
|
+
expand: Array<"property">;
|
1849
|
+
} & JUHUU.RequestOptions;
|
1849
1850
|
type Response = {
|
1850
1851
|
connector: JUHUU.Connector.Object;
|
1851
1852
|
};
|
@@ -1976,4 +1977,4 @@ declare namespace JUHUU {
|
|
1976
1977
|
}
|
1977
1978
|
}
|
1978
1979
|
|
1979
|
-
export { type AccessControlListElement, type Address, type AutoRenewMode, type BusinessType, type Category, type Circumstance, type Color, type ColorScheme, type Command, type Condition, ConditionType, type CountryCode, CountryCodeArray, type CurrencyCode, CurrencyCodeArray, type CustomClaims, type DeepNullable, type DeviceStatus, type DeviceType, type Environment, type EnvironmentSettings, type ExtractType, type FuelType, type GeneralSettings, type GeoPoint, type IntegrationState, JUHUU, Juhuu, type LanguageCode, LanguageCodeArray, Layout, type LayoutBlock, type LicenseTariffIdMap, type LinkType, type LocaleString, type MapFilter, type Modality, type
|
1980
|
+
export { type AccessControlListElement, type Address, type AutoRenewMode, type BusinessType, type Category, type Circumstance, type Color, type ColorScheme, type Command, type Condition, ConditionType, type CountryCode, CountryCodeArray, type CurrencyCode, CurrencyCodeArray, type CustomClaims, type DeepNullable, type DeviceStatus, type DeviceType, type Environment, type EnvironmentSettings, type ExtractType, type FuelType, type GeneralSettings, type GeoPoint, type GraphNode, type IntegrationState, JUHUU, Juhuu, type LanguageCode, LanguageCodeArray, Layout, type LayoutBlock, type LicenseTariffIdMap, type LinkType, type LocaleString, type MapFilter, type Modality, type Offer, type OfferTime, type Parameter, type Party, type PaymentMethod, type PaymentReason, type PaymentServiceProvider, type PaymentStatus, type PayoutSettings, type PayoutStatus, type PermissionTypes, type Person, type Platform, type PlatformUrl, type PostingRow, Purpose, type PushToken, ReadonlyCategoryArray, ReadonlyIntegrationStateArray, ReadonlyModalityArray, ReadonlySectorArray, type RefundReason, type RefundStatus, type Sector, type SessionCannotTerminateReason, type SessionSettings, type SessionStatus, type SessionTerminatedByType, type SessionType, type Settings, type SimStatus, type StarRating, type TarifType, type TimeZone, type Unit, type UserType, type Utilization, type VeloBrushDeviceDocumentUserManualStep, type Viewport, type ViewportPolygon, type hexColor };
|
package/dist/index.d.ts
CHANGED
@@ -306,6 +306,7 @@ declare namespace Layout {
|
|
306
306
|
type: "image";
|
307
307
|
urlDark: string;
|
308
308
|
urlLight: string;
|
309
|
+
height: number;
|
309
310
|
}
|
310
311
|
export namespace Button {
|
311
312
|
interface General extends Block {
|
@@ -368,7 +369,7 @@ declare namespace Layout {
|
|
368
369
|
export { };
|
369
370
|
}
|
370
371
|
type LayoutBlock = Layout.Text.Plain | Layout.Text.Heading | Layout.Text.Subtitle | Layout.Image | Layout.Button.Small | Layout.Button.Large | Layout.Form.General;
|
371
|
-
type
|
372
|
+
type GraphNode = {
|
372
373
|
id: string;
|
373
374
|
type: "flow.start";
|
374
375
|
trigger: "session.terminate";
|
@@ -605,8 +606,6 @@ declare class DevicesService extends Service {
|
|
605
606
|
create(): Promise<void>;
|
606
607
|
retrieve(DeviceRetrieveParams: JUHUU.Device.Retrieve.Params, DeviceRetrieveOptions?: JUHUU.Device.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.Device.Retrieve.Response>>;
|
607
608
|
list(DeviceListParams: JUHUU.Device.List.Params, DeviceListOptions?: JUHUU.Device.List.Options): Promise<JUHUU.HttpResponse<JUHUU.Device.List.Response>>;
|
608
|
-
update(): Promise<void>;
|
609
|
-
delete(): Promise<void>;
|
610
609
|
listen(DeviceRealtimeParams: JUHUU.Device.Realtime.Params, DeviceRealtimeOptions?: JUHUU.Device.Realtime.Options): JUHUU.Device.Realtime.Response;
|
611
610
|
message(DeviceMessageParams: JUHUU.Device.Message.Params, DeviceMessageOptions?: JUHUU.Device.Message.Options): Promise<JUHUU.HttpResponse<JUHUU.Device.Message.Response>>;
|
612
611
|
parameterUpdate(DeviceParameterParams: JUHUU.Device.ParameterUpdate.Params, DeviceParameterOptions?: JUHUU.Device.ParameterUpdate.Options): Promise<JUHUU.HttpResponse<JUHUU.Device.ParameterUpdate.Response>>;
|
@@ -615,7 +614,6 @@ declare class DevicesService extends Service {
|
|
615
614
|
|
616
615
|
declare class DeviceTemplatesService extends Service {
|
617
616
|
constructor(config: JUHUU.SetupConfig);
|
618
|
-
create(): Promise<void>;
|
619
617
|
retrieve(DeviceTemplateRetrieveParams: JUHUU.DeviceTemplate.Retrieve.Params, DeviceTemplateRetrieveOptions?: JUHUU.DeviceTemplate.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.DeviceTemplate.Retrieve.Response>>;
|
620
618
|
list(DeviceTemplateListParams: JUHUU.DeviceTemplate.List.Params, DeviceTemplateListOptions?: JUHUU.DeviceTemplate.List.Options): Promise<JUHUU.HttpResponse<JUHUU.DeviceTemplate.List.Response>>;
|
621
619
|
}
|
@@ -758,7 +756,6 @@ declare namespace JUHUU {
|
|
758
756
|
* If this is true, a new accessToken will be requested if the current one is expired.
|
759
757
|
*/
|
760
758
|
refreshTokensIfNecessary?: boolean;
|
761
|
-
expand?: Array<"property" | "tariffArray">;
|
762
759
|
};
|
763
760
|
type LocaleString = {
|
764
761
|
[locale: string]: string;
|
@@ -1656,7 +1653,9 @@ declare namespace JUHUU {
|
|
1656
1653
|
type Params = {
|
1657
1654
|
productId: string;
|
1658
1655
|
};
|
1659
|
-
type Options =
|
1656
|
+
type Options = {
|
1657
|
+
expand: Array<"property">;
|
1658
|
+
} & JUHUU.RequestOptions;
|
1660
1659
|
type Response = {
|
1661
1660
|
product: Product.Object;
|
1662
1661
|
};
|
@@ -1845,7 +1844,9 @@ declare namespace JUHUU {
|
|
1845
1844
|
type Params = {
|
1846
1845
|
connectorId: string;
|
1847
1846
|
};
|
1848
|
-
type Options =
|
1847
|
+
type Options = {
|
1848
|
+
expand: Array<"property">;
|
1849
|
+
} & JUHUU.RequestOptions;
|
1849
1850
|
type Response = {
|
1850
1851
|
connector: JUHUU.Connector.Object;
|
1851
1852
|
};
|
@@ -1976,4 +1977,4 @@ declare namespace JUHUU {
|
|
1976
1977
|
}
|
1977
1978
|
}
|
1978
1979
|
|
1979
|
-
export { type AccessControlListElement, type Address, type AutoRenewMode, type BusinessType, type Category, type Circumstance, type Color, type ColorScheme, type Command, type Condition, ConditionType, type CountryCode, CountryCodeArray, type CurrencyCode, CurrencyCodeArray, type CustomClaims, type DeepNullable, type DeviceStatus, type DeviceType, type Environment, type EnvironmentSettings, type ExtractType, type FuelType, type GeneralSettings, type GeoPoint, type IntegrationState, JUHUU, Juhuu, type LanguageCode, LanguageCodeArray, Layout, type LayoutBlock, type LicenseTariffIdMap, type LinkType, type LocaleString, type MapFilter, type Modality, type
|
1980
|
+
export { type AccessControlListElement, type Address, type AutoRenewMode, type BusinessType, type Category, type Circumstance, type Color, type ColorScheme, type Command, type Condition, ConditionType, type CountryCode, CountryCodeArray, type CurrencyCode, CurrencyCodeArray, type CustomClaims, type DeepNullable, type DeviceStatus, type DeviceType, type Environment, type EnvironmentSettings, type ExtractType, type FuelType, type GeneralSettings, type GeoPoint, type GraphNode, type IntegrationState, JUHUU, Juhuu, type LanguageCode, LanguageCodeArray, Layout, type LayoutBlock, type LicenseTariffIdMap, type LinkType, type LocaleString, type MapFilter, type Modality, type Offer, type OfferTime, type Parameter, type Party, type PaymentMethod, type PaymentReason, type PaymentServiceProvider, type PaymentStatus, type PayoutSettings, type PayoutStatus, type PermissionTypes, type Person, type Platform, type PlatformUrl, type PostingRow, Purpose, type PushToken, ReadonlyCategoryArray, ReadonlyIntegrationStateArray, ReadonlyModalityArray, ReadonlySectorArray, type RefundReason, type RefundStatus, type Sector, type SessionCannotTerminateReason, type SessionSettings, type SessionStatus, type SessionTerminatedByType, type SessionType, type Settings, type SimStatus, type StarRating, type TarifType, type TimeZone, type Unit, type UserType, type Utilization, type VeloBrushDeviceDocumentUserManualStep, type Viewport, type ViewportPolygon, type hexColor };
|
package/dist/index.js
CHANGED
@@ -853,10 +853,6 @@ var DevicesService = class extends Service {
|
|
853
853
|
DeviceListOptions
|
854
854
|
);
|
855
855
|
}
|
856
|
-
async update() {
|
857
|
-
}
|
858
|
-
async delete() {
|
859
|
-
}
|
860
856
|
listen(DeviceRealtimeParams, DeviceRealtimeOptions) {
|
861
857
|
const socket = super.connectToWebsocket({
|
862
858
|
url: "devices/" + DeviceRealtimeParams.deviceId + "/websocket"
|
@@ -918,8 +914,6 @@ var DeviceTemplatesService = class extends Service {
|
|
918
914
|
constructor(config) {
|
919
915
|
super(config);
|
920
916
|
}
|
921
|
-
async create() {
|
922
|
-
}
|
923
917
|
async retrieve(DeviceTemplateRetrieveParams, DeviceTemplateRetrieveOptions) {
|
924
918
|
const queryArray = [];
|
925
919
|
if (DeviceTemplateRetrieveParams?.source !== void 0) {
|
package/dist/index.mjs
CHANGED
@@ -808,10 +808,6 @@ var DevicesService = class extends Service {
|
|
808
808
|
DeviceListOptions
|
809
809
|
);
|
810
810
|
}
|
811
|
-
async update() {
|
812
|
-
}
|
813
|
-
async delete() {
|
814
|
-
}
|
815
811
|
listen(DeviceRealtimeParams, DeviceRealtimeOptions) {
|
816
812
|
const socket = super.connectToWebsocket({
|
817
813
|
url: "devices/" + DeviceRealtimeParams.deviceId + "/websocket"
|
@@ -873,8 +869,6 @@ var DeviceTemplatesService = class extends Service {
|
|
873
869
|
constructor(config) {
|
874
870
|
super(config);
|
875
871
|
}
|
876
|
-
async create() {
|
877
|
-
}
|
878
872
|
async retrieve(DeviceTemplateRetrieveParams, DeviceTemplateRetrieveOptions) {
|
879
873
|
const queryArray = [];
|
880
874
|
if (DeviceTemplateRetrieveParams?.source !== void 0) {
|