@juhuu/sdk-ts 1.2.88 → 1.2.90
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 +70 -3
- package/dist/index.d.ts +70 -3
- package/dist/index.js +78 -1
- package/dist/index.mjs +78 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
@@ -646,6 +646,7 @@ declare class DevicesService extends Service {
|
|
646
646
|
create(DeviceCreateParams: JUHUU.Device.Create.Params, DeviceCreateOptions?: JUHUU.Device.Create.Options): Promise<JUHUU.HttpResponse<JUHUU.Device.Create.Response>>;
|
647
647
|
retrieve(DeviceRetrieveParams: JUHUU.Device.Retrieve.Params, DeviceRetrieveOptions?: JUHUU.Device.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.Device.Retrieve.Response>>;
|
648
648
|
list(DeviceListParams: JUHUU.Device.List.Params, DeviceListOptions?: JUHUU.Device.List.Options): Promise<JUHUU.HttpResponse<JUHUU.Device.List.Response>>;
|
649
|
+
update(DeviceUpdateParams: JUHUU.Device.Update.Params, DeviceUpdateOptions?: JUHUU.Device.Update.Options): Promise<JUHUU.HttpResponse<JUHUU.Device.Update.Response>>;
|
649
650
|
listen(DeviceRealtimeParams: JUHUU.Device.Realtime.Params, DeviceRealtimeOptions?: JUHUU.Device.Realtime.Options): JUHUU.Device.Realtime.Response;
|
650
651
|
message(DeviceMessageParams: JUHUU.Device.Message.Params, DeviceMessageOptions?: JUHUU.Device.Message.Options): Promise<JUHUU.HttpResponse<JUHUU.Device.Message.Response>>;
|
651
652
|
parameterUpdate(DeviceParameterParams: JUHUU.Device.ParameterUpdate.Params, DeviceParameterOptions?: JUHUU.Device.ParameterUpdate.Options): Promise<JUHUU.HttpResponse<JUHUU.Device.ParameterUpdate.Response>>;
|
@@ -726,6 +727,7 @@ declare class AccountingAreasService extends Service {
|
|
726
727
|
create(AccountingAreaCreateParams: JUHUU.AccountingArea.Create.Params, AccountingAreaCreateOptions?: JUHUU.AccountingArea.Create.Options): Promise<JUHUU.HttpResponse<JUHUU.AccountingArea.Create.Response>>;
|
727
728
|
retrieve(AccountingAreaRetrieveParams: JUHUU.AccountingArea.Retrieve.Params, AccountingAreaRetrieveOptions?: JUHUU.AccountingArea.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.AccountingArea.Retrieve.Response>>;
|
728
729
|
list(AccountingAreaListParams: JUHUU.AccountingArea.List.Params, AccountingAreaListOptions?: JUHUU.AccountingArea.List.Options): Promise<JUHUU.HttpResponse<JUHUU.AccountingArea.List.Response>>;
|
730
|
+
update(AccountingAreaUpdateParams: JUHUU.AccountingArea.Update.Params, AccountingAreaUpdateOptions?: JUHUU.AccountingArea.Update.Options): Promise<JUHUU.HttpResponse<JUHUU.AccountingArea.Update.Response>>;
|
729
731
|
delete(AccountingAreaDeleteParams: JUHUU.AccountingArea.Delete.Params, AccountingAreaDeleteOptions?: JUHUU.AccountingArea.Delete.Options): Promise<JUHUU.HttpResponse<JUHUU.AccountingArea.Delete.Response>>;
|
730
732
|
}
|
731
733
|
|
@@ -734,6 +736,7 @@ declare class ConnectorsService extends Service {
|
|
734
736
|
create(ConnectorCreateParams: JUHUU.Connector.Create.Params, ConnectorCreateOptions?: JUHUU.Connector.Create.Options): Promise<JUHUU.HttpResponse<JUHUU.Connector.Create.Response>>;
|
735
737
|
retrieve(ConnectorRetrieveParams: JUHUU.Connector.Retrieve.Params, ConnectorRetrieveOptions?: JUHUU.Connector.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.Connector.Retrieve.Response>>;
|
736
738
|
list(ConnectorListParams: JUHUU.Connector.List.Params, ConnectorListOptions?: JUHUU.Connector.List.Options): Promise<JUHUU.HttpResponse<JUHUU.Connector.List.Response>>;
|
739
|
+
update(ConnectorUpdateParams: JUHUU.Connector.Update.Params, ConnectorUpdateOptions?: JUHUU.Connector.Update.Options): Promise<JUHUU.HttpResponse<JUHUU.Connector.Update.Response>>;
|
737
740
|
delete(ConnectorDeleteParams: JUHUU.Connector.Delete.Params, ConnectorDeleteOptions?: JUHUU.Connector.Delete.Options): Promise<JUHUU.HttpResponse<JUHUU.Connector.Delete.Response>>;
|
738
741
|
}
|
739
742
|
|
@@ -809,6 +812,11 @@ declare class BoldLockService extends Service {
|
|
809
812
|
grantAccess(BoldLockGrantAccessParams: JUHUU.BoldLock.GrantAccess.Params, BoldLockGrantAccessOptions?: JUHUU.BoldLock.GrantAccess.Options): Promise<JUHUU.HttpResponse<JUHUU.BoldLock.GrantAccess.Response>>;
|
810
813
|
}
|
811
814
|
|
815
|
+
declare class TapkeyService extends Service {
|
816
|
+
constructor(config: JUHUU.SetupConfig);
|
817
|
+
credentials(TapkeyCredentialsParams: JUHUU.Tapkey.Credentials.Params, TapkeyCredentialsOptions?: JUHUU.Tapkey.Credentials.Options): Promise<JUHUU.HttpResponse<JUHUU.Tapkey.Credentials.Response>>;
|
818
|
+
}
|
819
|
+
|
812
820
|
declare class Juhuu {
|
813
821
|
constructor(config: JUHUU.SetupConfig);
|
814
822
|
/**
|
@@ -838,6 +846,7 @@ declare class Juhuu {
|
|
838
846
|
readonly chatMessages: ChatMessagesService;
|
839
847
|
readonly articleEmbeddings: ArticleEmbeddingsService;
|
840
848
|
readonly boldLock: BoldLockService;
|
849
|
+
readonly tapkey: TapkeyService;
|
841
850
|
}
|
842
851
|
declare namespace JUHUU {
|
843
852
|
interface SetupConfig {
|
@@ -1265,6 +1274,18 @@ declare namespace JUHUU {
|
|
1265
1274
|
};
|
1266
1275
|
}
|
1267
1276
|
}
|
1277
|
+
namespace Tapkey {
|
1278
|
+
namespace Credentials {
|
1279
|
+
type Params = {
|
1280
|
+
userId: string;
|
1281
|
+
deviceId: string;
|
1282
|
+
};
|
1283
|
+
type Options = JUHUU.RequestOptions;
|
1284
|
+
type Response = {
|
1285
|
+
tapkeyJwt: string;
|
1286
|
+
};
|
1287
|
+
}
|
1288
|
+
}
|
1268
1289
|
namespace Term {
|
1269
1290
|
type Object = {
|
1270
1291
|
id: string;
|
@@ -1311,7 +1332,7 @@ declare namespace JUHUU {
|
|
1311
1332
|
};
|
1312
1333
|
type Options = JUHUU.RequestOptions;
|
1313
1334
|
type Response = {
|
1314
|
-
|
1335
|
+
term: JUHUU.Term.Object;
|
1315
1336
|
};
|
1316
1337
|
}
|
1317
1338
|
namespace Accept {
|
@@ -1372,6 +1393,18 @@ declare namespace JUHUU {
|
|
1372
1393
|
type Options = JUHUU.RequestOptions;
|
1373
1394
|
type Response = JUHUU.AccountingArea.Object[];
|
1374
1395
|
}
|
1396
|
+
namespace Update {
|
1397
|
+
type Params = {
|
1398
|
+
accountingAreaId: string;
|
1399
|
+
name?: string;
|
1400
|
+
creditPostingRowDescription?: string;
|
1401
|
+
orderNumber?: string;
|
1402
|
+
};
|
1403
|
+
type Options = JUHUU.RequestOptions;
|
1404
|
+
type Response = {
|
1405
|
+
accountingArea: JUHUU.AccountingArea.Object;
|
1406
|
+
};
|
1407
|
+
}
|
1375
1408
|
namespace Delete {
|
1376
1409
|
type Params = {
|
1377
1410
|
accountingAreaId?: string;
|
@@ -2304,14 +2337,14 @@ declare namespace JUHUU {
|
|
2304
2337
|
name?: string;
|
2305
2338
|
previewText?: LocaleString;
|
2306
2339
|
description?: LocaleString;
|
2307
|
-
highlightArray
|
2340
|
+
highlightArray?: LocaleString[];
|
2308
2341
|
purposeArray?: Purpose[];
|
2309
2342
|
technologyArray?: Technology[];
|
2310
2343
|
articleId?: string | null;
|
2311
2344
|
};
|
2312
2345
|
type Options = JUHUU.RequestOptions;
|
2313
2346
|
type Response = {
|
2314
|
-
|
2347
|
+
product: JUHUU.Product.Object;
|
2315
2348
|
};
|
2316
2349
|
}
|
2317
2350
|
namespace Delete {
|
@@ -2449,6 +2482,27 @@ declare namespace JUHUU {
|
|
2449
2482
|
hasMore: boolean;
|
2450
2483
|
};
|
2451
2484
|
}
|
2485
|
+
namespace Update {
|
2486
|
+
type Params = {
|
2487
|
+
deviceId: string;
|
2488
|
+
name?: string;
|
2489
|
+
status?: JUHUU.Device.Object["status"];
|
2490
|
+
description?: string | null;
|
2491
|
+
latitude?: number | null;
|
2492
|
+
longitude?: number | null;
|
2493
|
+
fuel?: {
|
2494
|
+
type?: FuelType;
|
2495
|
+
level?: number;
|
2496
|
+
} | null;
|
2497
|
+
rangeRemaining?: number | null;
|
2498
|
+
connectorId?: string | null;
|
2499
|
+
connectorParameter?: string | null;
|
2500
|
+
};
|
2501
|
+
type Options = JUHUU.RequestOptions;
|
2502
|
+
type Response = {
|
2503
|
+
device: JUHUU.Device.Object;
|
2504
|
+
};
|
2505
|
+
}
|
2452
2506
|
namespace Realtime {
|
2453
2507
|
type Params = {
|
2454
2508
|
deviceId: string;
|
@@ -2574,6 +2628,19 @@ declare namespace JUHUU {
|
|
2574
2628
|
type Options = JUHUU.RequestOptions;
|
2575
2629
|
type Response = JUHUU.Connector.Object[];
|
2576
2630
|
}
|
2631
|
+
export namespace Update {
|
2632
|
+
type Params = {
|
2633
|
+
connectorId: string;
|
2634
|
+
name?: string;
|
2635
|
+
description?: string | null;
|
2636
|
+
connectionMode?: "alwaysOnline" | "temporaryOnline";
|
2637
|
+
simId?: string | null;
|
2638
|
+
};
|
2639
|
+
type Options = JUHUU.RequestOptions;
|
2640
|
+
type Response = {
|
2641
|
+
connector: JUHUU.Connector.Object;
|
2642
|
+
};
|
2643
|
+
}
|
2577
2644
|
export namespace Delete {
|
2578
2645
|
type Params = {
|
2579
2646
|
connectorId?: string;
|
package/dist/index.d.ts
CHANGED
@@ -646,6 +646,7 @@ declare class DevicesService extends Service {
|
|
646
646
|
create(DeviceCreateParams: JUHUU.Device.Create.Params, DeviceCreateOptions?: JUHUU.Device.Create.Options): Promise<JUHUU.HttpResponse<JUHUU.Device.Create.Response>>;
|
647
647
|
retrieve(DeviceRetrieveParams: JUHUU.Device.Retrieve.Params, DeviceRetrieveOptions?: JUHUU.Device.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.Device.Retrieve.Response>>;
|
648
648
|
list(DeviceListParams: JUHUU.Device.List.Params, DeviceListOptions?: JUHUU.Device.List.Options): Promise<JUHUU.HttpResponse<JUHUU.Device.List.Response>>;
|
649
|
+
update(DeviceUpdateParams: JUHUU.Device.Update.Params, DeviceUpdateOptions?: JUHUU.Device.Update.Options): Promise<JUHUU.HttpResponse<JUHUU.Device.Update.Response>>;
|
649
650
|
listen(DeviceRealtimeParams: JUHUU.Device.Realtime.Params, DeviceRealtimeOptions?: JUHUU.Device.Realtime.Options): JUHUU.Device.Realtime.Response;
|
650
651
|
message(DeviceMessageParams: JUHUU.Device.Message.Params, DeviceMessageOptions?: JUHUU.Device.Message.Options): Promise<JUHUU.HttpResponse<JUHUU.Device.Message.Response>>;
|
651
652
|
parameterUpdate(DeviceParameterParams: JUHUU.Device.ParameterUpdate.Params, DeviceParameterOptions?: JUHUU.Device.ParameterUpdate.Options): Promise<JUHUU.HttpResponse<JUHUU.Device.ParameterUpdate.Response>>;
|
@@ -726,6 +727,7 @@ declare class AccountingAreasService extends Service {
|
|
726
727
|
create(AccountingAreaCreateParams: JUHUU.AccountingArea.Create.Params, AccountingAreaCreateOptions?: JUHUU.AccountingArea.Create.Options): Promise<JUHUU.HttpResponse<JUHUU.AccountingArea.Create.Response>>;
|
727
728
|
retrieve(AccountingAreaRetrieveParams: JUHUU.AccountingArea.Retrieve.Params, AccountingAreaRetrieveOptions?: JUHUU.AccountingArea.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.AccountingArea.Retrieve.Response>>;
|
728
729
|
list(AccountingAreaListParams: JUHUU.AccountingArea.List.Params, AccountingAreaListOptions?: JUHUU.AccountingArea.List.Options): Promise<JUHUU.HttpResponse<JUHUU.AccountingArea.List.Response>>;
|
730
|
+
update(AccountingAreaUpdateParams: JUHUU.AccountingArea.Update.Params, AccountingAreaUpdateOptions?: JUHUU.AccountingArea.Update.Options): Promise<JUHUU.HttpResponse<JUHUU.AccountingArea.Update.Response>>;
|
729
731
|
delete(AccountingAreaDeleteParams: JUHUU.AccountingArea.Delete.Params, AccountingAreaDeleteOptions?: JUHUU.AccountingArea.Delete.Options): Promise<JUHUU.HttpResponse<JUHUU.AccountingArea.Delete.Response>>;
|
730
732
|
}
|
731
733
|
|
@@ -734,6 +736,7 @@ declare class ConnectorsService extends Service {
|
|
734
736
|
create(ConnectorCreateParams: JUHUU.Connector.Create.Params, ConnectorCreateOptions?: JUHUU.Connector.Create.Options): Promise<JUHUU.HttpResponse<JUHUU.Connector.Create.Response>>;
|
735
737
|
retrieve(ConnectorRetrieveParams: JUHUU.Connector.Retrieve.Params, ConnectorRetrieveOptions?: JUHUU.Connector.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.Connector.Retrieve.Response>>;
|
736
738
|
list(ConnectorListParams: JUHUU.Connector.List.Params, ConnectorListOptions?: JUHUU.Connector.List.Options): Promise<JUHUU.HttpResponse<JUHUU.Connector.List.Response>>;
|
739
|
+
update(ConnectorUpdateParams: JUHUU.Connector.Update.Params, ConnectorUpdateOptions?: JUHUU.Connector.Update.Options): Promise<JUHUU.HttpResponse<JUHUU.Connector.Update.Response>>;
|
737
740
|
delete(ConnectorDeleteParams: JUHUU.Connector.Delete.Params, ConnectorDeleteOptions?: JUHUU.Connector.Delete.Options): Promise<JUHUU.HttpResponse<JUHUU.Connector.Delete.Response>>;
|
738
741
|
}
|
739
742
|
|
@@ -809,6 +812,11 @@ declare class BoldLockService extends Service {
|
|
809
812
|
grantAccess(BoldLockGrantAccessParams: JUHUU.BoldLock.GrantAccess.Params, BoldLockGrantAccessOptions?: JUHUU.BoldLock.GrantAccess.Options): Promise<JUHUU.HttpResponse<JUHUU.BoldLock.GrantAccess.Response>>;
|
810
813
|
}
|
811
814
|
|
815
|
+
declare class TapkeyService extends Service {
|
816
|
+
constructor(config: JUHUU.SetupConfig);
|
817
|
+
credentials(TapkeyCredentialsParams: JUHUU.Tapkey.Credentials.Params, TapkeyCredentialsOptions?: JUHUU.Tapkey.Credentials.Options): Promise<JUHUU.HttpResponse<JUHUU.Tapkey.Credentials.Response>>;
|
818
|
+
}
|
819
|
+
|
812
820
|
declare class Juhuu {
|
813
821
|
constructor(config: JUHUU.SetupConfig);
|
814
822
|
/**
|
@@ -838,6 +846,7 @@ declare class Juhuu {
|
|
838
846
|
readonly chatMessages: ChatMessagesService;
|
839
847
|
readonly articleEmbeddings: ArticleEmbeddingsService;
|
840
848
|
readonly boldLock: BoldLockService;
|
849
|
+
readonly tapkey: TapkeyService;
|
841
850
|
}
|
842
851
|
declare namespace JUHUU {
|
843
852
|
interface SetupConfig {
|
@@ -1265,6 +1274,18 @@ declare namespace JUHUU {
|
|
1265
1274
|
};
|
1266
1275
|
}
|
1267
1276
|
}
|
1277
|
+
namespace Tapkey {
|
1278
|
+
namespace Credentials {
|
1279
|
+
type Params = {
|
1280
|
+
userId: string;
|
1281
|
+
deviceId: string;
|
1282
|
+
};
|
1283
|
+
type Options = JUHUU.RequestOptions;
|
1284
|
+
type Response = {
|
1285
|
+
tapkeyJwt: string;
|
1286
|
+
};
|
1287
|
+
}
|
1288
|
+
}
|
1268
1289
|
namespace Term {
|
1269
1290
|
type Object = {
|
1270
1291
|
id: string;
|
@@ -1311,7 +1332,7 @@ declare namespace JUHUU {
|
|
1311
1332
|
};
|
1312
1333
|
type Options = JUHUU.RequestOptions;
|
1313
1334
|
type Response = {
|
1314
|
-
|
1335
|
+
term: JUHUU.Term.Object;
|
1315
1336
|
};
|
1316
1337
|
}
|
1317
1338
|
namespace Accept {
|
@@ -1372,6 +1393,18 @@ declare namespace JUHUU {
|
|
1372
1393
|
type Options = JUHUU.RequestOptions;
|
1373
1394
|
type Response = JUHUU.AccountingArea.Object[];
|
1374
1395
|
}
|
1396
|
+
namespace Update {
|
1397
|
+
type Params = {
|
1398
|
+
accountingAreaId: string;
|
1399
|
+
name?: string;
|
1400
|
+
creditPostingRowDescription?: string;
|
1401
|
+
orderNumber?: string;
|
1402
|
+
};
|
1403
|
+
type Options = JUHUU.RequestOptions;
|
1404
|
+
type Response = {
|
1405
|
+
accountingArea: JUHUU.AccountingArea.Object;
|
1406
|
+
};
|
1407
|
+
}
|
1375
1408
|
namespace Delete {
|
1376
1409
|
type Params = {
|
1377
1410
|
accountingAreaId?: string;
|
@@ -2304,14 +2337,14 @@ declare namespace JUHUU {
|
|
2304
2337
|
name?: string;
|
2305
2338
|
previewText?: LocaleString;
|
2306
2339
|
description?: LocaleString;
|
2307
|
-
highlightArray
|
2340
|
+
highlightArray?: LocaleString[];
|
2308
2341
|
purposeArray?: Purpose[];
|
2309
2342
|
technologyArray?: Technology[];
|
2310
2343
|
articleId?: string | null;
|
2311
2344
|
};
|
2312
2345
|
type Options = JUHUU.RequestOptions;
|
2313
2346
|
type Response = {
|
2314
|
-
|
2347
|
+
product: JUHUU.Product.Object;
|
2315
2348
|
};
|
2316
2349
|
}
|
2317
2350
|
namespace Delete {
|
@@ -2449,6 +2482,27 @@ declare namespace JUHUU {
|
|
2449
2482
|
hasMore: boolean;
|
2450
2483
|
};
|
2451
2484
|
}
|
2485
|
+
namespace Update {
|
2486
|
+
type Params = {
|
2487
|
+
deviceId: string;
|
2488
|
+
name?: string;
|
2489
|
+
status?: JUHUU.Device.Object["status"];
|
2490
|
+
description?: string | null;
|
2491
|
+
latitude?: number | null;
|
2492
|
+
longitude?: number | null;
|
2493
|
+
fuel?: {
|
2494
|
+
type?: FuelType;
|
2495
|
+
level?: number;
|
2496
|
+
} | null;
|
2497
|
+
rangeRemaining?: number | null;
|
2498
|
+
connectorId?: string | null;
|
2499
|
+
connectorParameter?: string | null;
|
2500
|
+
};
|
2501
|
+
type Options = JUHUU.RequestOptions;
|
2502
|
+
type Response = {
|
2503
|
+
device: JUHUU.Device.Object;
|
2504
|
+
};
|
2505
|
+
}
|
2452
2506
|
namespace Realtime {
|
2453
2507
|
type Params = {
|
2454
2508
|
deviceId: string;
|
@@ -2574,6 +2628,19 @@ declare namespace JUHUU {
|
|
2574
2628
|
type Options = JUHUU.RequestOptions;
|
2575
2629
|
type Response = JUHUU.Connector.Object[];
|
2576
2630
|
}
|
2631
|
+
export namespace Update {
|
2632
|
+
type Params = {
|
2633
|
+
connectorId: string;
|
2634
|
+
name?: string;
|
2635
|
+
description?: string | null;
|
2636
|
+
connectionMode?: "alwaysOnline" | "temporaryOnline";
|
2637
|
+
simId?: string | null;
|
2638
|
+
};
|
2639
|
+
type Options = JUHUU.RequestOptions;
|
2640
|
+
type Response = {
|
2641
|
+
connector: JUHUU.Connector.Object;
|
2642
|
+
};
|
2643
|
+
}
|
2577
2644
|
export namespace Delete {
|
2578
2645
|
type Params = {
|
2579
2646
|
connectorId?: string;
|
package/dist/index.js
CHANGED
@@ -991,6 +991,26 @@ var DevicesService = class extends Service {
|
|
991
991
|
DeviceListOptions
|
992
992
|
);
|
993
993
|
}
|
994
|
+
async update(DeviceUpdateParams, DeviceUpdateOptions) {
|
995
|
+
return await super.sendRequest(
|
996
|
+
{
|
997
|
+
method: "PATCH",
|
998
|
+
url: "devices/" + DeviceUpdateParams.deviceId,
|
999
|
+
body: {
|
1000
|
+
name: DeviceUpdateParams.name,
|
1001
|
+
description: DeviceUpdateParams.description,
|
1002
|
+
latitude: DeviceUpdateParams.latitude,
|
1003
|
+
longitude: DeviceUpdateParams.longitude,
|
1004
|
+
fuel: DeviceUpdateParams.fuel,
|
1005
|
+
rangeRemaining: DeviceUpdateParams.rangeRemaining,
|
1006
|
+
connectorId: DeviceUpdateParams.connectorId,
|
1007
|
+
connectorParameter: DeviceUpdateParams.connectorParameter
|
1008
|
+
},
|
1009
|
+
authenticationNotOptional: true
|
1010
|
+
},
|
1011
|
+
DeviceUpdateOptions
|
1012
|
+
);
|
1013
|
+
}
|
994
1014
|
listen(DeviceRealtimeParams, DeviceRealtimeOptions) {
|
995
1015
|
const socket = super.connectToWebsocket({
|
996
1016
|
url: "devices/" + DeviceRealtimeParams.deviceId + "/websocket"
|
@@ -1193,7 +1213,9 @@ var LocationsService = class extends Service {
|
|
1193
1213
|
purposeArray: LocationUpdateParams.purposeArray,
|
1194
1214
|
circumstanceArray: LocationUpdateParams.circumstanceArray,
|
1195
1215
|
rentOfferArray: LocationUpdateParams.rentOfferArray,
|
1196
|
-
reservationOfferArray: LocationUpdateParams.reservationOfferArray
|
1216
|
+
reservationOfferArray: LocationUpdateParams.reservationOfferArray,
|
1217
|
+
latitude: LocationUpdateParams.latitude,
|
1218
|
+
longitude: LocationUpdateParams.longitude
|
1197
1219
|
},
|
1198
1220
|
authenticationNotOptional: true
|
1199
1221
|
},
|
@@ -1640,6 +1662,21 @@ var AccountingAreasService = class extends Service {
|
|
1640
1662
|
AccountingAreaListOptions
|
1641
1663
|
);
|
1642
1664
|
}
|
1665
|
+
async update(AccountingAreaUpdateParams, AccountingAreaUpdateOptions) {
|
1666
|
+
return await super.sendRequest(
|
1667
|
+
{
|
1668
|
+
method: "PATCH",
|
1669
|
+
url: "accountingAreas/" + AccountingAreaUpdateParams.accountingAreaId,
|
1670
|
+
body: {
|
1671
|
+
name: AccountingAreaUpdateParams.name,
|
1672
|
+
creditPostingRowDescription: AccountingAreaUpdateParams.creditPostingRowDescription,
|
1673
|
+
orderNumber: AccountingAreaUpdateParams.orderNumber
|
1674
|
+
},
|
1675
|
+
authenticationNotOptional: true
|
1676
|
+
},
|
1677
|
+
AccountingAreaUpdateOptions
|
1678
|
+
);
|
1679
|
+
}
|
1643
1680
|
async delete(AccountingAreaDeleteParams, AccountingAreaDeleteOptions) {
|
1644
1681
|
return await super.sendRequest(
|
1645
1682
|
{
|
@@ -1713,6 +1750,22 @@ var ConnectorsService = class extends Service {
|
|
1713
1750
|
ConnectorListOptions
|
1714
1751
|
);
|
1715
1752
|
}
|
1753
|
+
async update(ConnectorUpdateParams, ConnectorUpdateOptions) {
|
1754
|
+
return await super.sendRequest(
|
1755
|
+
{
|
1756
|
+
method: "PATCH",
|
1757
|
+
url: "connectors/" + ConnectorUpdateParams.connectorId,
|
1758
|
+
body: {
|
1759
|
+
name: ConnectorUpdateParams.name,
|
1760
|
+
description: ConnectorUpdateParams.description,
|
1761
|
+
connectionMode: ConnectorUpdateParams.connectionMode,
|
1762
|
+
simId: ConnectorUpdateParams.simId
|
1763
|
+
},
|
1764
|
+
authenticationNotOptional: true
|
1765
|
+
},
|
1766
|
+
ConnectorUpdateOptions
|
1767
|
+
);
|
1768
|
+
}
|
1716
1769
|
async delete(ConnectorDeleteParams, ConnectorDeleteOptions) {
|
1717
1770
|
return await super.sendRequest(
|
1718
1771
|
{
|
@@ -2337,6 +2390,28 @@ var BoldLockService = class extends Service {
|
|
2337
2390
|
}
|
2338
2391
|
};
|
2339
2392
|
|
2393
|
+
// src/tapkey/tapkey.service.ts
|
2394
|
+
var TapkeyService = class extends Service {
|
2395
|
+
constructor(config) {
|
2396
|
+
super(config);
|
2397
|
+
}
|
2398
|
+
async credentials(TapkeyCredentialsParams, TapkeyCredentialsOptions) {
|
2399
|
+
const queryArray = [];
|
2400
|
+
return await super.sendRequest(
|
2401
|
+
{
|
2402
|
+
method: "POST",
|
2403
|
+
url: "tapkey/credentials",
|
2404
|
+
body: {
|
2405
|
+
userId: TapkeyCredentialsParams.userId,
|
2406
|
+
deviceId: TapkeyCredentialsParams.deviceId
|
2407
|
+
},
|
2408
|
+
authenticationNotOptional: true
|
2409
|
+
},
|
2410
|
+
TapkeyCredentialsOptions
|
2411
|
+
);
|
2412
|
+
}
|
2413
|
+
};
|
2414
|
+
|
2340
2415
|
// src/types/types.ts
|
2341
2416
|
var LanguageCodeArray = [
|
2342
2417
|
"en",
|
@@ -2510,6 +2585,7 @@ var Juhuu = class {
|
|
2510
2585
|
this.chatMessages = new ChatMessagesService(config);
|
2511
2586
|
this.articleEmbeddings = new ArticleEmbeddingsService(config);
|
2512
2587
|
this.boldLock = new BoldLockService(config);
|
2588
|
+
this.tapkey = new TapkeyService(config);
|
2513
2589
|
}
|
2514
2590
|
/**
|
2515
2591
|
* Top Level Resources
|
@@ -2538,6 +2614,7 @@ var Juhuu = class {
|
|
2538
2614
|
chatMessages;
|
2539
2615
|
articleEmbeddings;
|
2540
2616
|
boldLock;
|
2617
|
+
tapkey;
|
2541
2618
|
};
|
2542
2619
|
var JUHUU;
|
2543
2620
|
((JUHUU2) => {
|
package/dist/index.mjs
CHANGED
@@ -947,6 +947,26 @@ var DevicesService = class extends Service {
|
|
947
947
|
DeviceListOptions
|
948
948
|
);
|
949
949
|
}
|
950
|
+
async update(DeviceUpdateParams, DeviceUpdateOptions) {
|
951
|
+
return await super.sendRequest(
|
952
|
+
{
|
953
|
+
method: "PATCH",
|
954
|
+
url: "devices/" + DeviceUpdateParams.deviceId,
|
955
|
+
body: {
|
956
|
+
name: DeviceUpdateParams.name,
|
957
|
+
description: DeviceUpdateParams.description,
|
958
|
+
latitude: DeviceUpdateParams.latitude,
|
959
|
+
longitude: DeviceUpdateParams.longitude,
|
960
|
+
fuel: DeviceUpdateParams.fuel,
|
961
|
+
rangeRemaining: DeviceUpdateParams.rangeRemaining,
|
962
|
+
connectorId: DeviceUpdateParams.connectorId,
|
963
|
+
connectorParameter: DeviceUpdateParams.connectorParameter
|
964
|
+
},
|
965
|
+
authenticationNotOptional: true
|
966
|
+
},
|
967
|
+
DeviceUpdateOptions
|
968
|
+
);
|
969
|
+
}
|
950
970
|
listen(DeviceRealtimeParams, DeviceRealtimeOptions) {
|
951
971
|
const socket = super.connectToWebsocket({
|
952
972
|
url: "devices/" + DeviceRealtimeParams.deviceId + "/websocket"
|
@@ -1149,7 +1169,9 @@ var LocationsService = class extends Service {
|
|
1149
1169
|
purposeArray: LocationUpdateParams.purposeArray,
|
1150
1170
|
circumstanceArray: LocationUpdateParams.circumstanceArray,
|
1151
1171
|
rentOfferArray: LocationUpdateParams.rentOfferArray,
|
1152
|
-
reservationOfferArray: LocationUpdateParams.reservationOfferArray
|
1172
|
+
reservationOfferArray: LocationUpdateParams.reservationOfferArray,
|
1173
|
+
latitude: LocationUpdateParams.latitude,
|
1174
|
+
longitude: LocationUpdateParams.longitude
|
1153
1175
|
},
|
1154
1176
|
authenticationNotOptional: true
|
1155
1177
|
},
|
@@ -1596,6 +1618,21 @@ var AccountingAreasService = class extends Service {
|
|
1596
1618
|
AccountingAreaListOptions
|
1597
1619
|
);
|
1598
1620
|
}
|
1621
|
+
async update(AccountingAreaUpdateParams, AccountingAreaUpdateOptions) {
|
1622
|
+
return await super.sendRequest(
|
1623
|
+
{
|
1624
|
+
method: "PATCH",
|
1625
|
+
url: "accountingAreas/" + AccountingAreaUpdateParams.accountingAreaId,
|
1626
|
+
body: {
|
1627
|
+
name: AccountingAreaUpdateParams.name,
|
1628
|
+
creditPostingRowDescription: AccountingAreaUpdateParams.creditPostingRowDescription,
|
1629
|
+
orderNumber: AccountingAreaUpdateParams.orderNumber
|
1630
|
+
},
|
1631
|
+
authenticationNotOptional: true
|
1632
|
+
},
|
1633
|
+
AccountingAreaUpdateOptions
|
1634
|
+
);
|
1635
|
+
}
|
1599
1636
|
async delete(AccountingAreaDeleteParams, AccountingAreaDeleteOptions) {
|
1600
1637
|
return await super.sendRequest(
|
1601
1638
|
{
|
@@ -1669,6 +1706,22 @@ var ConnectorsService = class extends Service {
|
|
1669
1706
|
ConnectorListOptions
|
1670
1707
|
);
|
1671
1708
|
}
|
1709
|
+
async update(ConnectorUpdateParams, ConnectorUpdateOptions) {
|
1710
|
+
return await super.sendRequest(
|
1711
|
+
{
|
1712
|
+
method: "PATCH",
|
1713
|
+
url: "connectors/" + ConnectorUpdateParams.connectorId,
|
1714
|
+
body: {
|
1715
|
+
name: ConnectorUpdateParams.name,
|
1716
|
+
description: ConnectorUpdateParams.description,
|
1717
|
+
connectionMode: ConnectorUpdateParams.connectionMode,
|
1718
|
+
simId: ConnectorUpdateParams.simId
|
1719
|
+
},
|
1720
|
+
authenticationNotOptional: true
|
1721
|
+
},
|
1722
|
+
ConnectorUpdateOptions
|
1723
|
+
);
|
1724
|
+
}
|
1672
1725
|
async delete(ConnectorDeleteParams, ConnectorDeleteOptions) {
|
1673
1726
|
return await super.sendRequest(
|
1674
1727
|
{
|
@@ -2293,6 +2346,28 @@ var BoldLockService = class extends Service {
|
|
2293
2346
|
}
|
2294
2347
|
};
|
2295
2348
|
|
2349
|
+
// src/tapkey/tapkey.service.ts
|
2350
|
+
var TapkeyService = class extends Service {
|
2351
|
+
constructor(config) {
|
2352
|
+
super(config);
|
2353
|
+
}
|
2354
|
+
async credentials(TapkeyCredentialsParams, TapkeyCredentialsOptions) {
|
2355
|
+
const queryArray = [];
|
2356
|
+
return await super.sendRequest(
|
2357
|
+
{
|
2358
|
+
method: "POST",
|
2359
|
+
url: "tapkey/credentials",
|
2360
|
+
body: {
|
2361
|
+
userId: TapkeyCredentialsParams.userId,
|
2362
|
+
deviceId: TapkeyCredentialsParams.deviceId
|
2363
|
+
},
|
2364
|
+
authenticationNotOptional: true
|
2365
|
+
},
|
2366
|
+
TapkeyCredentialsOptions
|
2367
|
+
);
|
2368
|
+
}
|
2369
|
+
};
|
2370
|
+
|
2296
2371
|
// src/types/types.ts
|
2297
2372
|
var LanguageCodeArray = [
|
2298
2373
|
"en",
|
@@ -2466,6 +2541,7 @@ var Juhuu = class {
|
|
2466
2541
|
this.chatMessages = new ChatMessagesService(config);
|
2467
2542
|
this.articleEmbeddings = new ArticleEmbeddingsService(config);
|
2468
2543
|
this.boldLock = new BoldLockService(config);
|
2544
|
+
this.tapkey = new TapkeyService(config);
|
2469
2545
|
}
|
2470
2546
|
/**
|
2471
2547
|
* Top Level Resources
|
@@ -2494,6 +2570,7 @@ var Juhuu = class {
|
|
2494
2570
|
chatMessages;
|
2495
2571
|
articleEmbeddings;
|
2496
2572
|
boldLock;
|
2573
|
+
tapkey;
|
2497
2574
|
};
|
2498
2575
|
var JUHUU;
|
2499
2576
|
((JUHUU2) => {
|