@juhuu/sdk-ts 1.2.75 → 1.2.77

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
@@ -1741,9 +1741,9 @@ declare namespace JUHUU {
1741
1741
  export namespace Create {
1742
1742
  type Params = {
1743
1743
  propertyId: string;
1744
- name: LocaleString;
1744
+ name?: LocaleString;
1745
1745
  type: string;
1746
- regex: string;
1746
+ regex?: string;
1747
1747
  };
1748
1748
  type Options = JUHUU.RequestOptions;
1749
1749
  type Response = {
@@ -2132,7 +2132,7 @@ declare namespace JUHUU {
2132
2132
  export namespace Create {
2133
2133
  type Params = {
2134
2134
  propertyId: string;
2135
- name: string;
2135
+ name?: string;
2136
2136
  type: string;
2137
2137
  };
2138
2138
  type Options = JUHUU.RequestOptions;
@@ -2232,7 +2232,7 @@ declare namespace JUHUU {
2232
2232
  namespace Create {
2233
2233
  type Params = {
2234
2234
  propertyId: string;
2235
- name: string;
2235
+ name?: string;
2236
2236
  };
2237
2237
  type Options = JUHUU.RequestOptions;
2238
2238
  type Response = {
@@ -2286,8 +2286,9 @@ declare namespace JUHUU {
2286
2286
  export namespace Create {
2287
2287
  type Params = {
2288
2288
  propertyId: string;
2289
- name: string;
2290
- fiveLetterQr: string;
2289
+ name?: string;
2290
+ fiveLetterQr?: string;
2291
+ type: JUHUU.Link.Object["type"];
2291
2292
  };
2292
2293
  type Options = JUHUU.RequestOptions;
2293
2294
  type Response = {
@@ -2356,7 +2357,7 @@ declare namespace JUHUU {
2356
2357
  namespace Create {
2357
2358
  type Params = {
2358
2359
  propertyId: string;
2359
- name: string;
2360
+ name?: string;
2360
2361
  deviceTemplateId: string;
2361
2362
  };
2362
2363
  type Options = JUHUU.RequestOptions;
@@ -2465,7 +2466,7 @@ declare namespace JUHUU {
2465
2466
  export namespace Create {
2466
2467
  type Params = {
2467
2468
  propertyId: string;
2468
- name: string;
2469
+ name?: string;
2469
2470
  username?: string;
2470
2471
  password?: string;
2471
2472
  clientId?: string;
@@ -2608,7 +2609,7 @@ declare namespace JUHUU {
2608
2609
  namespace Create {
2609
2610
  type Params = {
2610
2611
  propertyId: string;
2611
- iccid: string;
2612
+ iccid?: string;
2612
2613
  name?: string;
2613
2614
  };
2614
2615
  type Options = JUHUU.RequestOptions;
package/dist/index.d.ts CHANGED
@@ -1741,9 +1741,9 @@ declare namespace JUHUU {
1741
1741
  export namespace Create {
1742
1742
  type Params = {
1743
1743
  propertyId: string;
1744
- name: LocaleString;
1744
+ name?: LocaleString;
1745
1745
  type: string;
1746
- regex: string;
1746
+ regex?: string;
1747
1747
  };
1748
1748
  type Options = JUHUU.RequestOptions;
1749
1749
  type Response = {
@@ -2132,7 +2132,7 @@ declare namespace JUHUU {
2132
2132
  export namespace Create {
2133
2133
  type Params = {
2134
2134
  propertyId: string;
2135
- name: string;
2135
+ name?: string;
2136
2136
  type: string;
2137
2137
  };
2138
2138
  type Options = JUHUU.RequestOptions;
@@ -2232,7 +2232,7 @@ declare namespace JUHUU {
2232
2232
  namespace Create {
2233
2233
  type Params = {
2234
2234
  propertyId: string;
2235
- name: string;
2235
+ name?: string;
2236
2236
  };
2237
2237
  type Options = JUHUU.RequestOptions;
2238
2238
  type Response = {
@@ -2286,8 +2286,9 @@ declare namespace JUHUU {
2286
2286
  export namespace Create {
2287
2287
  type Params = {
2288
2288
  propertyId: string;
2289
- name: string;
2290
- fiveLetterQr: string;
2289
+ name?: string;
2290
+ fiveLetterQr?: string;
2291
+ type: JUHUU.Link.Object["type"];
2291
2292
  };
2292
2293
  type Options = JUHUU.RequestOptions;
2293
2294
  type Response = {
@@ -2356,7 +2357,7 @@ declare namespace JUHUU {
2356
2357
  namespace Create {
2357
2358
  type Params = {
2358
2359
  propertyId: string;
2359
- name: string;
2360
+ name?: string;
2360
2361
  deviceTemplateId: string;
2361
2362
  };
2362
2363
  type Options = JUHUU.RequestOptions;
@@ -2465,7 +2466,7 @@ declare namespace JUHUU {
2465
2466
  export namespace Create {
2466
2467
  type Params = {
2467
2468
  propertyId: string;
2468
- name: string;
2469
+ name?: string;
2469
2470
  username?: string;
2470
2471
  password?: string;
2471
2472
  clientId?: string;
@@ -2608,7 +2609,7 @@ declare namespace JUHUU {
2608
2609
  namespace Create {
2609
2610
  type Params = {
2610
2611
  propertyId: string;
2611
- iccid: string;
2612
+ iccid?: string;
2612
2613
  name?: string;
2613
2614
  };
2614
2615
  type Options = JUHUU.RequestOptions;
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.75",
3
+ "version": "1.2.77",
4
4
  "description": "Typescript wrapper for JUHUU services",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",