@juhuu/sdk-ts 1.2.84 → 1.2.86

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
@@ -1871,7 +1871,9 @@ declare namespace JUHUU {
1871
1871
  };
1872
1872
  }
1873
1873
  export namespace List {
1874
- type Params = {};
1874
+ type Params = {
1875
+ userId?: string;
1876
+ };
1875
1877
  type Options = JUHUU.RequestOptions;
1876
1878
  type Response = JUHUU.Property.Object[];
1877
1879
  }
@@ -2604,7 +2606,7 @@ declare namespace JUHUU {
2604
2606
  type Object = {
2605
2607
  id: string;
2606
2608
  readonly object: "sim";
2607
- iccid: string;
2609
+ iccid: string | null;
2608
2610
  status: SimStatus;
2609
2611
  provider: "1nce" | null;
2610
2612
  countryCode: CountryCode | null;
package/dist/index.d.ts CHANGED
@@ -1871,7 +1871,9 @@ declare namespace JUHUU {
1871
1871
  };
1872
1872
  }
1873
1873
  export namespace List {
1874
- type Params = {};
1874
+ type Params = {
1875
+ userId?: string;
1876
+ };
1875
1877
  type Options = JUHUU.RequestOptions;
1876
1878
  type Response = JUHUU.Property.Object[];
1877
1879
  }
@@ -2604,7 +2606,7 @@ declare namespace JUHUU {
2604
2606
  type Object = {
2605
2607
  id: string;
2606
2608
  readonly object: "sim";
2607
- iccid: string;
2609
+ iccid: string | null;
2608
2610
  status: SimStatus;
2609
2611
  provider: "1nce" | null;
2610
2612
  countryCode: CountryCode | null;
package/dist/index.js CHANGED
@@ -792,6 +792,9 @@ var PropertiesService = class extends Service {
792
792
  }
793
793
  async list(PropertyListParams, PropertyListOptions) {
794
794
  const queryArray = [];
795
+ if (PropertyListParams.userId !== void 0) {
796
+ queryArray.push("userId=" + PropertyListParams.userId);
797
+ }
795
798
  return await super.sendRequest(
796
799
  {
797
800
  method: "GET",
package/dist/index.mjs CHANGED
@@ -748,6 +748,9 @@ var PropertiesService = class extends Service {
748
748
  }
749
749
  async list(PropertyListParams, PropertyListOptions) {
750
750
  const queryArray = [];
751
+ if (PropertyListParams.userId !== void 0) {
752
+ queryArray.push("userId=" + PropertyListParams.userId);
753
+ }
751
754
  return await super.sendRequest(
752
755
  {
753
756
  method: "GET",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juhuu/sdk-ts",
3
- "version": "1.2.84",
3
+ "version": "1.2.86",
4
4
  "description": "Typescript wrapper for JUHUU services",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",