@juhuu/sdk-ts 1.2.250 → 1.2.252

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[];
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[];
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.250",
3
+ "version": "1.2.252",
4
4
  "description": "Typescript wrapper for JUHUU services",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",