@juhuu/sdk-ts 1.2.104 → 1.2.106
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 +7 -1
- package/dist/index.d.ts +7 -1
- package/dist/index.js +6 -4
- package/dist/index.mjs +6 -4
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
@@ -621,7 +621,7 @@ declare class PaymentsService extends Service {
|
|
621
621
|
search(PaymentSearchParams: JUHUU.Payment.Search.Params, PaymentSearchOptions?: JUHUU.Payment.Search.Options): Promise<JUHUU.HttpResponse<JUHUU.Payment.Search.Response>>;
|
622
622
|
tokens(PaymentTokensParams: JUHUU.Payment.Tokens.Params, PaymentTokensOptions?: JUHUU.Payment.Tokens.Options): Promise<JUHUU.HttpResponse<JUHUU.Payment.Tokens.Response>>;
|
623
623
|
retrieveInvoiceUrl(PaymentRetrieveInvoiceUrlParams: JUHUU.Payment.RetrieveInvoiceUrl.Params, PaymentRetrieveInvoiceUrlOptions?: JUHUU.Payment.RetrieveInvoiceUrl.Options): Promise<JUHUU.HttpResponse<JUHUU.Payment.RetrieveInvoiceUrl.Response>>;
|
624
|
-
|
624
|
+
capture(PaymentCaptureParams: JUHUU.Payment.Capture.Params, PaymentCaptureOptions?: JUHUU.Payment.Capture.Options): Promise<JUHUU.HttpResponse<JUHUU.Payment.Capture.Response>>;
|
625
625
|
}
|
626
626
|
|
627
627
|
declare class PropertiesService extends Service {
|
@@ -2302,6 +2302,8 @@ declare namespace JUHUU {
|
|
2302
2302
|
timeZone: TimeZone | null;
|
2303
2303
|
version: number;
|
2304
2304
|
devicePermissionArray: DevicePermission[];
|
2305
|
+
disabled: boolean;
|
2306
|
+
disabledBy: "propertyAdmin" | "deviceNodeArray" | null;
|
2305
2307
|
};
|
2306
2308
|
export interface RentableDeviceGroup extends Base {
|
2307
2309
|
type: "rentableDeviceGroup";
|
@@ -2375,6 +2377,7 @@ declare namespace JUHUU {
|
|
2375
2377
|
circumstanceArray?: Circumstance[];
|
2376
2378
|
rentOfferArray?: Offer[];
|
2377
2379
|
reservationOfferArray?: Offer[];
|
2380
|
+
disabled?: boolean;
|
2378
2381
|
};
|
2379
2382
|
type Options = JUHUU.RequestOptions;
|
2380
2383
|
type Response = {
|
@@ -2548,6 +2551,8 @@ declare namespace JUHUU {
|
|
2548
2551
|
invalidAt: Date | null;
|
2549
2552
|
connectorId: string | null;
|
2550
2553
|
connectorParameter: string | null;
|
2554
|
+
disabled: boolean;
|
2555
|
+
disabledBy: "propertyAdmin" | "nodeArray" | null;
|
2551
2556
|
};
|
2552
2557
|
namespace Create {
|
2553
2558
|
type Params = {
|
@@ -2606,6 +2611,7 @@ declare namespace JUHUU {
|
|
2606
2611
|
rangeRemaining?: number | null;
|
2607
2612
|
connectorId?: string | null;
|
2608
2613
|
connectorParameter?: string | null;
|
2614
|
+
disabled?: boolean;
|
2609
2615
|
};
|
2610
2616
|
type Options = JUHUU.RequestOptions;
|
2611
2617
|
type Response = {
|
package/dist/index.d.ts
CHANGED
@@ -621,7 +621,7 @@ declare class PaymentsService extends Service {
|
|
621
621
|
search(PaymentSearchParams: JUHUU.Payment.Search.Params, PaymentSearchOptions?: JUHUU.Payment.Search.Options): Promise<JUHUU.HttpResponse<JUHUU.Payment.Search.Response>>;
|
622
622
|
tokens(PaymentTokensParams: JUHUU.Payment.Tokens.Params, PaymentTokensOptions?: JUHUU.Payment.Tokens.Options): Promise<JUHUU.HttpResponse<JUHUU.Payment.Tokens.Response>>;
|
623
623
|
retrieveInvoiceUrl(PaymentRetrieveInvoiceUrlParams: JUHUU.Payment.RetrieveInvoiceUrl.Params, PaymentRetrieveInvoiceUrlOptions?: JUHUU.Payment.RetrieveInvoiceUrl.Options): Promise<JUHUU.HttpResponse<JUHUU.Payment.RetrieveInvoiceUrl.Response>>;
|
624
|
-
|
624
|
+
capture(PaymentCaptureParams: JUHUU.Payment.Capture.Params, PaymentCaptureOptions?: JUHUU.Payment.Capture.Options): Promise<JUHUU.HttpResponse<JUHUU.Payment.Capture.Response>>;
|
625
625
|
}
|
626
626
|
|
627
627
|
declare class PropertiesService extends Service {
|
@@ -2302,6 +2302,8 @@ declare namespace JUHUU {
|
|
2302
2302
|
timeZone: TimeZone | null;
|
2303
2303
|
version: number;
|
2304
2304
|
devicePermissionArray: DevicePermission[];
|
2305
|
+
disabled: boolean;
|
2306
|
+
disabledBy: "propertyAdmin" | "deviceNodeArray" | null;
|
2305
2307
|
};
|
2306
2308
|
export interface RentableDeviceGroup extends Base {
|
2307
2309
|
type: "rentableDeviceGroup";
|
@@ -2375,6 +2377,7 @@ declare namespace JUHUU {
|
|
2375
2377
|
circumstanceArray?: Circumstance[];
|
2376
2378
|
rentOfferArray?: Offer[];
|
2377
2379
|
reservationOfferArray?: Offer[];
|
2380
|
+
disabled?: boolean;
|
2378
2381
|
};
|
2379
2382
|
type Options = JUHUU.RequestOptions;
|
2380
2383
|
type Response = {
|
@@ -2548,6 +2551,8 @@ declare namespace JUHUU {
|
|
2548
2551
|
invalidAt: Date | null;
|
2549
2552
|
connectorId: string | null;
|
2550
2553
|
connectorParameter: string | null;
|
2554
|
+
disabled: boolean;
|
2555
|
+
disabledBy: "propertyAdmin" | "nodeArray" | null;
|
2551
2556
|
};
|
2552
2557
|
namespace Create {
|
2553
2558
|
type Params = {
|
@@ -2606,6 +2611,7 @@ declare namespace JUHUU {
|
|
2606
2611
|
rangeRemaining?: number | null;
|
2607
2612
|
connectorId?: string | null;
|
2608
2613
|
connectorParameter?: string | null;
|
2614
|
+
disabled?: boolean;
|
2609
2615
|
};
|
2610
2616
|
type Options = JUHUU.RequestOptions;
|
2611
2617
|
type Response = {
|
package/dist/index.js
CHANGED
@@ -764,7 +764,7 @@ var PaymentsService = class extends Service {
|
|
764
764
|
PaymentRetrieveInvoiceUrlOptions
|
765
765
|
);
|
766
766
|
}
|
767
|
-
async
|
767
|
+
async capture(PaymentCaptureParams, PaymentCaptureOptions) {
|
768
768
|
return await super.sendRequest(
|
769
769
|
{
|
770
770
|
method: "PATCH",
|
@@ -1019,7 +1019,8 @@ var DevicesService = class extends Service {
|
|
1019
1019
|
fuel: DeviceUpdateParams.fuel,
|
1020
1020
|
rangeRemaining: DeviceUpdateParams.rangeRemaining,
|
1021
1021
|
connectorId: DeviceUpdateParams.connectorId,
|
1022
|
-
connectorParameter: DeviceUpdateParams.connectorParameter
|
1022
|
+
connectorParameter: DeviceUpdateParams.connectorParameter,
|
1023
|
+
disabled: DeviceUpdateParams.disabled
|
1023
1024
|
},
|
1024
1025
|
authenticationNotOptional: true
|
1025
1026
|
},
|
@@ -1047,7 +1048,7 @@ var DevicesService = class extends Service {
|
|
1047
1048
|
return await super.sendRequest(
|
1048
1049
|
{
|
1049
1050
|
method: "POST",
|
1050
|
-
url: "devices
|
1051
|
+
url: "devices/" + DeviceMessageParams.deviceId + "/message",
|
1051
1052
|
body: {
|
1052
1053
|
message: DeviceMessageParams.message
|
1053
1054
|
},
|
@@ -1230,7 +1231,8 @@ var LocationsService = class extends Service {
|
|
1230
1231
|
rentOfferArray: LocationUpdateParams.rentOfferArray,
|
1231
1232
|
reservationOfferArray: LocationUpdateParams.reservationOfferArray,
|
1232
1233
|
latitude: LocationUpdateParams.latitude,
|
1233
|
-
longitude: LocationUpdateParams.longitude
|
1234
|
+
longitude: LocationUpdateParams.longitude,
|
1235
|
+
disabled: LocationUpdateParams.disabled
|
1234
1236
|
},
|
1235
1237
|
authenticationNotOptional: true
|
1236
1238
|
},
|
package/dist/index.mjs
CHANGED
@@ -720,7 +720,7 @@ var PaymentsService = class extends Service {
|
|
720
720
|
PaymentRetrieveInvoiceUrlOptions
|
721
721
|
);
|
722
722
|
}
|
723
|
-
async
|
723
|
+
async capture(PaymentCaptureParams, PaymentCaptureOptions) {
|
724
724
|
return await super.sendRequest(
|
725
725
|
{
|
726
726
|
method: "PATCH",
|
@@ -975,7 +975,8 @@ var DevicesService = class extends Service {
|
|
975
975
|
fuel: DeviceUpdateParams.fuel,
|
976
976
|
rangeRemaining: DeviceUpdateParams.rangeRemaining,
|
977
977
|
connectorId: DeviceUpdateParams.connectorId,
|
978
|
-
connectorParameter: DeviceUpdateParams.connectorParameter
|
978
|
+
connectorParameter: DeviceUpdateParams.connectorParameter,
|
979
|
+
disabled: DeviceUpdateParams.disabled
|
979
980
|
},
|
980
981
|
authenticationNotOptional: true
|
981
982
|
},
|
@@ -1003,7 +1004,7 @@ var DevicesService = class extends Service {
|
|
1003
1004
|
return await super.sendRequest(
|
1004
1005
|
{
|
1005
1006
|
method: "POST",
|
1006
|
-
url: "devices
|
1007
|
+
url: "devices/" + DeviceMessageParams.deviceId + "/message",
|
1007
1008
|
body: {
|
1008
1009
|
message: DeviceMessageParams.message
|
1009
1010
|
},
|
@@ -1186,7 +1187,8 @@ var LocationsService = class extends Service {
|
|
1186
1187
|
rentOfferArray: LocationUpdateParams.rentOfferArray,
|
1187
1188
|
reservationOfferArray: LocationUpdateParams.reservationOfferArray,
|
1188
1189
|
latitude: LocationUpdateParams.latitude,
|
1189
|
-
longitude: LocationUpdateParams.longitude
|
1190
|
+
longitude: LocationUpdateParams.longitude,
|
1191
|
+
disabled: LocationUpdateParams.disabled
|
1190
1192
|
},
|
1191
1193
|
authenticationNotOptional: true
|
1192
1194
|
},
|