@juhuu/sdk-ts 1.2.115 → 1.2.117

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
@@ -14,7 +14,15 @@ type UserGroup = "retailer" | "engineer" | "operator" | "user";
14
14
  type Frontend = "dashboard" | "app";
15
15
  interface Offer {
16
16
  tariffId: string;
17
- licenseTemplateIdArray: string[];
17
+ licenseTemplateIdArray?: string[];
18
+ /**
19
+ * Array of arrays of licenseTemplateIds
20
+ * The first array is and "or" and the second array is an "and" condition.
21
+ * Example: [["licenseTemplateId1", "licenseTemplateId2"], ["licenseTemplateId3", "licenseTemplateId4"]]
22
+ * This would mean that the offer is only valid if the user has either (licenseTemplateId1 and licenseTemplateId2) or (licenseTemplateId3 and licenseTemplateId4)
23
+ * If the user does not own a license the app will guide the user to acquire the necessary licenses in the order of the array.
24
+ */
25
+ licenseTemplateCascadeArray?: string[][];
18
26
  offerTime: OfferTime;
19
27
  }
20
28
  type DevicePermission = {
@@ -1756,7 +1764,7 @@ declare namespace JUHUU {
1756
1764
  serviceFeePercentage: number;
1757
1765
  serviceFeeMin: number;
1758
1766
  serviceFeeMax: number;
1759
- previewDescription: LocaleString | null;
1767
+ shortDescription: LocaleString | null;
1760
1768
  longDescription: LocaleString | null;
1761
1769
  };
1762
1770
  namespace Create {
package/dist/index.d.ts CHANGED
@@ -14,7 +14,15 @@ type UserGroup = "retailer" | "engineer" | "operator" | "user";
14
14
  type Frontend = "dashboard" | "app";
15
15
  interface Offer {
16
16
  tariffId: string;
17
- licenseTemplateIdArray: string[];
17
+ licenseTemplateIdArray?: string[];
18
+ /**
19
+ * Array of arrays of licenseTemplateIds
20
+ * The first array is and "or" and the second array is an "and" condition.
21
+ * Example: [["licenseTemplateId1", "licenseTemplateId2"], ["licenseTemplateId3", "licenseTemplateId4"]]
22
+ * This would mean that the offer is only valid if the user has either (licenseTemplateId1 and licenseTemplateId2) or (licenseTemplateId3 and licenseTemplateId4)
23
+ * If the user does not own a license the app will guide the user to acquire the necessary licenses in the order of the array.
24
+ */
25
+ licenseTemplateCascadeArray?: string[][];
18
26
  offerTime: OfferTime;
19
27
  }
20
28
  type DevicePermission = {
@@ -1756,7 +1764,7 @@ declare namespace JUHUU {
1756
1764
  serviceFeePercentage: number;
1757
1765
  serviceFeeMin: number;
1758
1766
  serviceFeeMax: number;
1759
- previewDescription: LocaleString | null;
1767
+ shortDescription: LocaleString | null;
1760
1768
  longDescription: LocaleString | null;
1761
1769
  };
1762
1770
  namespace Create {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juhuu/sdk-ts",
3
- "version": "1.2.115",
3
+ "version": "1.2.117",
4
4
  "description": "Typescript wrapper for JUHUU services",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",