@fragus/sam-types 1.0.25 → 1.0.27

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/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.25",
2
+ "version": "1.0.27",
3
3
  "name": "@fragus/sam-types",
4
4
  "description": "Typescript interfaces for all types used to communicate between SAM client(s) and the SAM API",
5
5
  "author": "Fragus",
@@ -1,12 +1,8 @@
1
1
  /**
2
2
  * Used in Superadmin for Warranty Expiration Conditions text management
3
3
  */
4
- export interface WarrantyExpirationConditionResponse {
5
- /**
6
- * Unique ID of the condition text entry
7
- * (primary key)
8
- */
9
- conditionTextId: number
4
+
5
+ export interface WarrantyExpirationConditionRequest {
10
6
  /**
11
7
  * The actual text of the condition that will be shown in PDF
12
8
  */
@@ -21,6 +17,14 @@ export interface WarrantyExpirationConditionResponse {
21
17
  * Used to link the condition text to the correct ServiceContract
22
18
  */
23
19
  v4ProductId: number
20
+ }
21
+
22
+ export interface WarrantyExpirationConditionResponse extends WarrantyExpirationConditionRequest {
23
+ /**
24
+ * Unique ID of the condition text entry
25
+ * (primary key)
26
+ */
27
+ conditionTextId: number
24
28
  /**
25
29
  * Email of the user who last updated the condition text
26
30
  */