@juhuu/sdk-ts 1.2.116 → 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 +9 -1
- package/dist/index.d.ts +9 -1
- package/package.json +1 -1
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
|
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 = {
|
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
|
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 = {
|