@juhuu/sdk-ts 1.2.124 → 1.2.126
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 +16 -1
- package/dist/index.d.ts +16 -1
- package/dist/index.js +3 -0
- package/dist/index.mjs +3 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
@@ -1918,7 +1918,7 @@ declare namespace JUHUU {
|
|
1918
1918
|
vat: string;
|
1919
1919
|
invoiceImage: string;
|
1920
1920
|
invoiceNumberPrefix: string;
|
1921
|
-
stripeConnectedAccountId: string;
|
1921
|
+
stripeConnectedAccountId: string | null;
|
1922
1922
|
payoutPostProcessIdentifier: "oebbV1" | null;
|
1923
1923
|
iban: string;
|
1924
1924
|
bic: string;
|
@@ -1933,6 +1933,19 @@ declare namespace JUHUU {
|
|
1933
1933
|
* Email only used for Stripe
|
1934
1934
|
*/
|
1935
1935
|
stripeEmail: string | null;
|
1936
|
+
/**
|
1937
|
+
* Timestamp of the next subscription update
|
1938
|
+
* A subscription update retrieves all the information of
|
1939
|
+
* a property that it will be charged for and then updates
|
1940
|
+
* the stripe subscription with the new information.
|
1941
|
+
*/
|
1942
|
+
nextSubscriptionUpdateAt: Date | null;
|
1943
|
+
/**
|
1944
|
+
* ID of the subscription from stripe
|
1945
|
+
* If null, the property is not subscribed to a plan
|
1946
|
+
*/
|
1947
|
+
stripeSubscriptionId: string | null;
|
1948
|
+
subscriptionStatus: "inactive" | "waitingForActivationConfirmation" | "active" | "waitingForExpiry";
|
1936
1949
|
}
|
1937
1950
|
export interface External extends Base {
|
1938
1951
|
type: "external";
|
@@ -2347,6 +2360,7 @@ declare namespace JUHUU {
|
|
2347
2360
|
devicePermissionArray: DevicePermission[];
|
2348
2361
|
disabled: boolean;
|
2349
2362
|
disabledBy: "propertyAdmin" | "deviceNodeArray" | null;
|
2363
|
+
visible: boolean;
|
2350
2364
|
};
|
2351
2365
|
export interface RentableDeviceGroup extends Base {
|
2352
2366
|
type: "rentableDeviceGroup";
|
@@ -2400,6 +2414,7 @@ declare namespace JUHUU {
|
|
2400
2414
|
type Params = {
|
2401
2415
|
rentableDeviceGroupLocationId?: string | null;
|
2402
2416
|
propertyId?: string;
|
2417
|
+
visible?: boolean;
|
2403
2418
|
};
|
2404
2419
|
type Options = JUHUU.RequestOptions;
|
2405
2420
|
type Response = JUHUU.Location.Object[];
|
package/dist/index.d.ts
CHANGED
@@ -1918,7 +1918,7 @@ declare namespace JUHUU {
|
|
1918
1918
|
vat: string;
|
1919
1919
|
invoiceImage: string;
|
1920
1920
|
invoiceNumberPrefix: string;
|
1921
|
-
stripeConnectedAccountId: string;
|
1921
|
+
stripeConnectedAccountId: string | null;
|
1922
1922
|
payoutPostProcessIdentifier: "oebbV1" | null;
|
1923
1923
|
iban: string;
|
1924
1924
|
bic: string;
|
@@ -1933,6 +1933,19 @@ declare namespace JUHUU {
|
|
1933
1933
|
* Email only used for Stripe
|
1934
1934
|
*/
|
1935
1935
|
stripeEmail: string | null;
|
1936
|
+
/**
|
1937
|
+
* Timestamp of the next subscription update
|
1938
|
+
* A subscription update retrieves all the information of
|
1939
|
+
* a property that it will be charged for and then updates
|
1940
|
+
* the stripe subscription with the new information.
|
1941
|
+
*/
|
1942
|
+
nextSubscriptionUpdateAt: Date | null;
|
1943
|
+
/**
|
1944
|
+
* ID of the subscription from stripe
|
1945
|
+
* If null, the property is not subscribed to a plan
|
1946
|
+
*/
|
1947
|
+
stripeSubscriptionId: string | null;
|
1948
|
+
subscriptionStatus: "inactive" | "waitingForActivationConfirmation" | "active" | "waitingForExpiry";
|
1936
1949
|
}
|
1937
1950
|
export interface External extends Base {
|
1938
1951
|
type: "external";
|
@@ -2347,6 +2360,7 @@ declare namespace JUHUU {
|
|
2347
2360
|
devicePermissionArray: DevicePermission[];
|
2348
2361
|
disabled: boolean;
|
2349
2362
|
disabledBy: "propertyAdmin" | "deviceNodeArray" | null;
|
2363
|
+
visible: boolean;
|
2350
2364
|
};
|
2351
2365
|
export interface RentableDeviceGroup extends Base {
|
2352
2366
|
type: "rentableDeviceGroup";
|
@@ -2400,6 +2414,7 @@ declare namespace JUHUU {
|
|
2400
2414
|
type Params = {
|
2401
2415
|
rentableDeviceGroupLocationId?: string | null;
|
2402
2416
|
propertyId?: string;
|
2417
|
+
visible?: boolean;
|
2403
2418
|
};
|
2404
2419
|
type Options = JUHUU.RequestOptions;
|
2405
2420
|
type Response = JUHUU.Location.Object[];
|
package/dist/index.js
CHANGED
@@ -1252,6 +1252,9 @@ var LocationsService = class extends Service {
|
|
1252
1252
|
if (LocationListParams?.propertyId !== void 0) {
|
1253
1253
|
queryArray.push("propertyId=" + LocationListParams.propertyId);
|
1254
1254
|
}
|
1255
|
+
if (LocationListParams?.visible !== void 0) {
|
1256
|
+
queryArray.push("visible=" + LocationListParams.visible);
|
1257
|
+
}
|
1255
1258
|
return await super.sendRequest(
|
1256
1259
|
{
|
1257
1260
|
method: "GET",
|
package/dist/index.mjs
CHANGED
@@ -1208,6 +1208,9 @@ var LocationsService = class extends Service {
|
|
1208
1208
|
if (LocationListParams?.propertyId !== void 0) {
|
1209
1209
|
queryArray.push("propertyId=" + LocationListParams.propertyId);
|
1210
1210
|
}
|
1211
|
+
if (LocationListParams?.visible !== void 0) {
|
1212
|
+
queryArray.push("visible=" + LocationListParams.visible);
|
1213
|
+
}
|
1211
1214
|
return await super.sendRequest(
|
1212
1215
|
{
|
1213
1216
|
method: "GET",
|