@juhuu/sdk-ts 1.2.89 → 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 +18 -0
- package/dist/index.d.ts +18 -0
- package/dist/index.js +27 -1
- package/dist/index.mjs +27 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
@@ -812,6 +812,11 @@ declare class BoldLockService extends Service {
|
|
812
812
|
grantAccess(BoldLockGrantAccessParams: JUHUU.BoldLock.GrantAccess.Params, BoldLockGrantAccessOptions?: JUHUU.BoldLock.GrantAccess.Options): Promise<JUHUU.HttpResponse<JUHUU.BoldLock.GrantAccess.Response>>;
|
813
813
|
}
|
814
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
|
+
|
815
820
|
declare class Juhuu {
|
816
821
|
constructor(config: JUHUU.SetupConfig);
|
817
822
|
/**
|
@@ -841,6 +846,7 @@ declare class Juhuu {
|
|
841
846
|
readonly chatMessages: ChatMessagesService;
|
842
847
|
readonly articleEmbeddings: ArticleEmbeddingsService;
|
843
848
|
readonly boldLock: BoldLockService;
|
849
|
+
readonly tapkey: TapkeyService;
|
844
850
|
}
|
845
851
|
declare namespace JUHUU {
|
846
852
|
interface SetupConfig {
|
@@ -1268,6 +1274,18 @@ declare namespace JUHUU {
|
|
1268
1274
|
};
|
1269
1275
|
}
|
1270
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
|
+
}
|
1271
1289
|
namespace Term {
|
1272
1290
|
type Object = {
|
1273
1291
|
id: string;
|
package/dist/index.d.ts
CHANGED
@@ -812,6 +812,11 @@ declare class BoldLockService extends Service {
|
|
812
812
|
grantAccess(BoldLockGrantAccessParams: JUHUU.BoldLock.GrantAccess.Params, BoldLockGrantAccessOptions?: JUHUU.BoldLock.GrantAccess.Options): Promise<JUHUU.HttpResponse<JUHUU.BoldLock.GrantAccess.Response>>;
|
813
813
|
}
|
814
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
|
+
|
815
820
|
declare class Juhuu {
|
816
821
|
constructor(config: JUHUU.SetupConfig);
|
817
822
|
/**
|
@@ -841,6 +846,7 @@ declare class Juhuu {
|
|
841
846
|
readonly chatMessages: ChatMessagesService;
|
842
847
|
readonly articleEmbeddings: ArticleEmbeddingsService;
|
843
848
|
readonly boldLock: BoldLockService;
|
849
|
+
readonly tapkey: TapkeyService;
|
844
850
|
}
|
845
851
|
declare namespace JUHUU {
|
846
852
|
interface SetupConfig {
|
@@ -1268,6 +1274,18 @@ declare namespace JUHUU {
|
|
1268
1274
|
};
|
1269
1275
|
}
|
1270
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
|
+
}
|
1271
1289
|
namespace Term {
|
1272
1290
|
type Object = {
|
1273
1291
|
id: string;
|
package/dist/index.js
CHANGED
@@ -1213,7 +1213,9 @@ var LocationsService = class extends Service {
|
|
1213
1213
|
purposeArray: LocationUpdateParams.purposeArray,
|
1214
1214
|
circumstanceArray: LocationUpdateParams.circumstanceArray,
|
1215
1215
|
rentOfferArray: LocationUpdateParams.rentOfferArray,
|
1216
|
-
reservationOfferArray: LocationUpdateParams.reservationOfferArray
|
1216
|
+
reservationOfferArray: LocationUpdateParams.reservationOfferArray,
|
1217
|
+
latitude: LocationUpdateParams.latitude,
|
1218
|
+
longitude: LocationUpdateParams.longitude
|
1217
1219
|
},
|
1218
1220
|
authenticationNotOptional: true
|
1219
1221
|
},
|
@@ -2388,6 +2390,28 @@ var BoldLockService = class extends Service {
|
|
2388
2390
|
}
|
2389
2391
|
};
|
2390
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
|
+
|
2391
2415
|
// src/types/types.ts
|
2392
2416
|
var LanguageCodeArray = [
|
2393
2417
|
"en",
|
@@ -2561,6 +2585,7 @@ var Juhuu = class {
|
|
2561
2585
|
this.chatMessages = new ChatMessagesService(config);
|
2562
2586
|
this.articleEmbeddings = new ArticleEmbeddingsService(config);
|
2563
2587
|
this.boldLock = new BoldLockService(config);
|
2588
|
+
this.tapkey = new TapkeyService(config);
|
2564
2589
|
}
|
2565
2590
|
/**
|
2566
2591
|
* Top Level Resources
|
@@ -2589,6 +2614,7 @@ var Juhuu = class {
|
|
2589
2614
|
chatMessages;
|
2590
2615
|
articleEmbeddings;
|
2591
2616
|
boldLock;
|
2617
|
+
tapkey;
|
2592
2618
|
};
|
2593
2619
|
var JUHUU;
|
2594
2620
|
((JUHUU2) => {
|
package/dist/index.mjs
CHANGED
@@ -1169,7 +1169,9 @@ var LocationsService = class extends Service {
|
|
1169
1169
|
purposeArray: LocationUpdateParams.purposeArray,
|
1170
1170
|
circumstanceArray: LocationUpdateParams.circumstanceArray,
|
1171
1171
|
rentOfferArray: LocationUpdateParams.rentOfferArray,
|
1172
|
-
reservationOfferArray: LocationUpdateParams.reservationOfferArray
|
1172
|
+
reservationOfferArray: LocationUpdateParams.reservationOfferArray,
|
1173
|
+
latitude: LocationUpdateParams.latitude,
|
1174
|
+
longitude: LocationUpdateParams.longitude
|
1173
1175
|
},
|
1174
1176
|
authenticationNotOptional: true
|
1175
1177
|
},
|
@@ -2344,6 +2346,28 @@ var BoldLockService = class extends Service {
|
|
2344
2346
|
}
|
2345
2347
|
};
|
2346
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
|
+
|
2347
2371
|
// src/types/types.ts
|
2348
2372
|
var LanguageCodeArray = [
|
2349
2373
|
"en",
|
@@ -2517,6 +2541,7 @@ var Juhuu = class {
|
|
2517
2541
|
this.chatMessages = new ChatMessagesService(config);
|
2518
2542
|
this.articleEmbeddings = new ArticleEmbeddingsService(config);
|
2519
2543
|
this.boldLock = new BoldLockService(config);
|
2544
|
+
this.tapkey = new TapkeyService(config);
|
2520
2545
|
}
|
2521
2546
|
/**
|
2522
2547
|
* Top Level Resources
|
@@ -2545,6 +2570,7 @@ var Juhuu = class {
|
|
2545
2570
|
chatMessages;
|
2546
2571
|
articleEmbeddings;
|
2547
2572
|
boldLock;
|
2573
|
+
tapkey;
|
2548
2574
|
};
|
2549
2575
|
var JUHUU;
|
2550
2576
|
((JUHUU2) => {
|