@juhuu/sdk-ts 1.2.74 → 1.2.76

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 CHANGED
@@ -1227,12 +1227,12 @@ declare namespace JUHUU {
1227
1227
  namespace Credentials {
1228
1228
  type Params = {
1229
1229
  userId: string;
1230
+ deviceId: string;
1230
1231
  };
1231
1232
  type Options = JUHUU.RequestOptions;
1232
1233
  type Response = {
1233
1234
  boldClientId: string;
1234
1235
  boldClientSecret: string;
1235
- boldDeviceId: number;
1236
1236
  boldAuthorizationCode: string;
1237
1237
  boldRedirectUri: string;
1238
1238
  };
package/dist/index.d.ts CHANGED
@@ -1227,12 +1227,12 @@ declare namespace JUHUU {
1227
1227
  namespace Credentials {
1228
1228
  type Params = {
1229
1229
  userId: string;
1230
+ deviceId: string;
1230
1231
  };
1231
1232
  type Options = JUHUU.RequestOptions;
1232
1233
  type Response = {
1233
1234
  boldClientId: string;
1234
1235
  boldClientSecret: string;
1235
- boldDeviceId: number;
1236
1236
  boldAuthorizationCode: string;
1237
1237
  boldRedirectUri: string;
1238
1238
  };
package/dist/index.js CHANGED
@@ -2243,9 +2243,12 @@ var BoldLockService = class extends Service {
2243
2243
  const queryArray = [];
2244
2244
  return await super.sendRequest(
2245
2245
  {
2246
- method: "GET",
2247
- url: "boldLock/credentials?userId=" + BoldLockCredentialsParams.userId,
2248
- body: void 0,
2246
+ method: "POST",
2247
+ url: "boldLock/credentials",
2248
+ body: {
2249
+ userId: BoldLockCredentialsParams.userId,
2250
+ deviceId: BoldLockCredentialsParams.deviceId
2251
+ },
2249
2252
  authenticationNotOptional: true
2250
2253
  },
2251
2254
  BoldLockCredentialsOptions
package/dist/index.mjs CHANGED
@@ -2199,9 +2199,12 @@ var BoldLockService = class extends Service {
2199
2199
  const queryArray = [];
2200
2200
  return await super.sendRequest(
2201
2201
  {
2202
- method: "GET",
2203
- url: "boldLock/credentials?userId=" + BoldLockCredentialsParams.userId,
2204
- body: void 0,
2202
+ method: "POST",
2203
+ url: "boldLock/credentials",
2204
+ body: {
2205
+ userId: BoldLockCredentialsParams.userId,
2206
+ deviceId: BoldLockCredentialsParams.deviceId
2207
+ },
2205
2208
  authenticationNotOptional: true
2206
2209
  },
2207
2210
  BoldLockCredentialsOptions
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juhuu/sdk-ts",
3
- "version": "1.2.74",
3
+ "version": "1.2.76",
4
4
  "description": "Typescript wrapper for JUHUU services",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",