@juhuu/sdk-ts 1.2.249 → 1.2.251

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
@@ -3771,7 +3771,6 @@ declare namespace JUHUU {
3771
3771
  export { };
3772
3772
  }
3773
3773
  namespace Product {
3774
- type ProductType = "benefitCard" | "session" | "marketplace" | "default";
3775
3774
  type BaseProduct = {
3776
3775
  id: string;
3777
3776
  readonly object: "product";
@@ -3809,19 +3808,6 @@ declare namespace JUHUU {
3809
3808
  type Params = {
3810
3809
  name?: string;
3811
3810
  propertyId: string;
3812
- template: {
3813
- type: "benefitCard";
3814
- benefitCardConfig: string;
3815
- } | {
3816
- type: "session";
3817
- sessionConfig: string;
3818
- } | {
3819
- type: "marketplace";
3820
- marketplaceConfig: string;
3821
- } | {
3822
- type: "default";
3823
- defaultConfig: string;
3824
- };
3825
3811
  };
3826
3812
  type Options = JUHUU.RequestOptions;
3827
3813
  type Response = {
@@ -3842,7 +3828,7 @@ declare namespace JUHUU {
3842
3828
  namespace List {
3843
3829
  type Params = {
3844
3830
  propertyId?: string;
3845
- type?: ProductType;
3831
+ type?: JUHUU.Product.Object["type"];
3846
3832
  categoryArray?: Category[];
3847
3833
  modalityArray?: Modality[];
3848
3834
  sectorArray?: Sector[];
@@ -4399,12 +4385,14 @@ declare namespace JUHUU {
4399
4385
  name: string;
4400
4386
  anomalyScore: number | null;
4401
4387
  isOutlier: boolean;
4388
+ incidentId: string | null;
4402
4389
  featureReferenceParameterIdArray: Array<{
4403
4390
  parameterId: string;
4404
4391
  featureReference: string;
4405
4392
  shapValues: [number, number, number] | null;
4406
4393
  isOutlier: boolean;
4407
4394
  }>;
4395
+ anomalyDescription: string | null;
4408
4396
  };
4409
4397
  namespace Create {
4410
4398
  type Params = {
@@ -4471,6 +4459,7 @@ declare namespace JUHUU {
4471
4459
  name: string;
4472
4460
  propertyId: string;
4473
4461
  featureReferenceArray: string[];
4462
+ description: null | string;
4474
4463
  };
4475
4464
  namespace Create {
4476
4465
  type Params = {
@@ -5970,7 +5959,7 @@ declare namespace JUHUU {
5970
5959
  }
5971
5960
  }
5972
5961
  namespace Kit {
5973
- type KitType = "controlKitV1" | "tapkeyV1" | "emzV1" | "survisionNanopakTotemV1";
5962
+ type KitType = "controlKitV1" | "tapkeyV1" | "emzV1";
5974
5963
  type BaseKit = {
5975
5964
  id: string;
5976
5965
  readonly object: "kit";
@@ -5996,11 +5985,7 @@ declare namespace JUHUU {
5996
5985
  username: string;
5997
5986
  password: string;
5998
5987
  };
5999
- type SurvisionNanopakTotemV1 = BaseKit & {
6000
- type: "survisionNanopakTotemV1";
6001
- anpr: string;
6002
- };
6003
- type Object = ControlKitV1 | TapkeyV1 | EmzV1 | SurvisionNanopakTotemV1;
5988
+ type Object = ControlKitV1 | TapkeyV1 | EmzV1;
6004
5989
  namespace Create {
6005
5990
  type Params = {
6006
5991
  name?: string;
@@ -6021,9 +6006,6 @@ declare namespace JUHUU {
6021
6006
  userId: string;
6022
6007
  username: string;
6023
6008
  password: string;
6024
- } | {
6025
- type: "survisionNanopakTotemV1";
6026
- anpr: string;
6027
6009
  };
6028
6010
  };
6029
6011
  type Options = JUHUU.RequestOptions;
package/dist/index.d.ts CHANGED
@@ -3771,7 +3771,6 @@ declare namespace JUHUU {
3771
3771
  export { };
3772
3772
  }
3773
3773
  namespace Product {
3774
- type ProductType = "benefitCard" | "session" | "marketplace" | "default";
3775
3774
  type BaseProduct = {
3776
3775
  id: string;
3777
3776
  readonly object: "product";
@@ -3809,19 +3808,6 @@ declare namespace JUHUU {
3809
3808
  type Params = {
3810
3809
  name?: string;
3811
3810
  propertyId: string;
3812
- template: {
3813
- type: "benefitCard";
3814
- benefitCardConfig: string;
3815
- } | {
3816
- type: "session";
3817
- sessionConfig: string;
3818
- } | {
3819
- type: "marketplace";
3820
- marketplaceConfig: string;
3821
- } | {
3822
- type: "default";
3823
- defaultConfig: string;
3824
- };
3825
3811
  };
3826
3812
  type Options = JUHUU.RequestOptions;
3827
3813
  type Response = {
@@ -3842,7 +3828,7 @@ declare namespace JUHUU {
3842
3828
  namespace List {
3843
3829
  type Params = {
3844
3830
  propertyId?: string;
3845
- type?: ProductType;
3831
+ type?: JUHUU.Product.Object["type"];
3846
3832
  categoryArray?: Category[];
3847
3833
  modalityArray?: Modality[];
3848
3834
  sectorArray?: Sector[];
@@ -4399,12 +4385,14 @@ declare namespace JUHUU {
4399
4385
  name: string;
4400
4386
  anomalyScore: number | null;
4401
4387
  isOutlier: boolean;
4388
+ incidentId: string | null;
4402
4389
  featureReferenceParameterIdArray: Array<{
4403
4390
  parameterId: string;
4404
4391
  featureReference: string;
4405
4392
  shapValues: [number, number, number] | null;
4406
4393
  isOutlier: boolean;
4407
4394
  }>;
4395
+ anomalyDescription: string | null;
4408
4396
  };
4409
4397
  namespace Create {
4410
4398
  type Params = {
@@ -4471,6 +4459,7 @@ declare namespace JUHUU {
4471
4459
  name: string;
4472
4460
  propertyId: string;
4473
4461
  featureReferenceArray: string[];
4462
+ description: null | string;
4474
4463
  };
4475
4464
  namespace Create {
4476
4465
  type Params = {
@@ -5970,7 +5959,7 @@ declare namespace JUHUU {
5970
5959
  }
5971
5960
  }
5972
5961
  namespace Kit {
5973
- type KitType = "controlKitV1" | "tapkeyV1" | "emzV1" | "survisionNanopakTotemV1";
5962
+ type KitType = "controlKitV1" | "tapkeyV1" | "emzV1";
5974
5963
  type BaseKit = {
5975
5964
  id: string;
5976
5965
  readonly object: "kit";
@@ -5996,11 +5985,7 @@ declare namespace JUHUU {
5996
5985
  username: string;
5997
5986
  password: string;
5998
5987
  };
5999
- type SurvisionNanopakTotemV1 = BaseKit & {
6000
- type: "survisionNanopakTotemV1";
6001
- anpr: string;
6002
- };
6003
- type Object = ControlKitV1 | TapkeyV1 | EmzV1 | SurvisionNanopakTotemV1;
5988
+ type Object = ControlKitV1 | TapkeyV1 | EmzV1;
6004
5989
  namespace Create {
6005
5990
  type Params = {
6006
5991
  name?: string;
@@ -6021,9 +6006,6 @@ declare namespace JUHUU {
6021
6006
  userId: string;
6022
6007
  username: string;
6023
6008
  password: string;
6024
- } | {
6025
- type: "survisionNanopakTotemV1";
6026
- anpr: string;
6027
6009
  };
6028
6010
  };
6029
6011
  type Options = JUHUU.RequestOptions;
package/dist/index.js CHANGED
@@ -1897,8 +1897,7 @@ var ProductService = class extends Service {
1897
1897
  url: "products",
1898
1898
  body: {
1899
1899
  name: ProductCreateParams.name,
1900
- propertyId: ProductCreateParams.propertyId,
1901
- template: ProductCreateParams.template
1900
+ propertyId: ProductCreateParams.propertyId
1902
1901
  },
1903
1902
  authenticationNotOptional: true
1904
1903
  },
package/dist/index.mjs CHANGED
@@ -1853,8 +1853,7 @@ var ProductService = class extends Service {
1853
1853
  url: "products",
1854
1854
  body: {
1855
1855
  name: ProductCreateParams.name,
1856
- propertyId: ProductCreateParams.propertyId,
1857
- template: ProductCreateParams.template
1856
+ propertyId: ProductCreateParams.propertyId
1858
1857
  },
1859
1858
  authenticationNotOptional: true
1860
1859
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juhuu/sdk-ts",
3
- "version": "1.2.249",
3
+ "version": "1.2.251",
4
4
  "description": "Typescript wrapper for JUHUU services",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",