@cirrobio/api-client 0.2.18 → 0.2.19
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/README.md
CHANGED
|
@@ -21,6 +21,12 @@ export interface RequirementFulfillmentInput {
|
|
|
21
21
|
* @memberof RequirementFulfillmentInput
|
|
22
22
|
*/
|
|
23
23
|
file?: string | null;
|
|
24
|
+
/**
|
|
25
|
+
* If not provided, defaults to the current instant
|
|
26
|
+
* @type {Date}
|
|
27
|
+
* @memberof RequirementFulfillmentInput
|
|
28
|
+
*/
|
|
29
|
+
completedOn?: Date | null;
|
|
24
30
|
}
|
|
25
31
|
/**
|
|
26
32
|
* Check if a given object implements the RequirementFulfillmentInput interface.
|
|
@@ -33,6 +33,7 @@ function RequirementFulfillmentInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
33
33
|
}
|
|
34
34
|
return {
|
|
35
35
|
'file': !(0, runtime_1.exists)(json, 'file') ? undefined : json['file'],
|
|
36
|
+
'completedOn': !(0, runtime_1.exists)(json, 'completedOn') ? undefined : (json['completedOn'] === null ? null : new Date(json['completedOn'])),
|
|
36
37
|
};
|
|
37
38
|
}
|
|
38
39
|
exports.RequirementFulfillmentInputFromJSONTyped = RequirementFulfillmentInputFromJSONTyped;
|
|
@@ -45,6 +46,7 @@ function RequirementFulfillmentInputToJSON(value) {
|
|
|
45
46
|
}
|
|
46
47
|
return {
|
|
47
48
|
'file': value.file,
|
|
49
|
+
'completedOn': value.completedOn === undefined ? undefined : (value.completedOn === null ? null : value.completedOn.toISOString()),
|
|
48
50
|
};
|
|
49
51
|
}
|
|
50
52
|
exports.RequirementFulfillmentInputToJSON = RequirementFulfillmentInputToJSON;
|
package/package.json
CHANGED
|
@@ -25,6 +25,12 @@ export interface RequirementFulfillmentInput {
|
|
|
25
25
|
* @memberof RequirementFulfillmentInput
|
|
26
26
|
*/
|
|
27
27
|
file?: string | null;
|
|
28
|
+
/**
|
|
29
|
+
* If not provided, defaults to the current instant
|
|
30
|
+
* @type {Date}
|
|
31
|
+
* @memberof RequirementFulfillmentInput
|
|
32
|
+
*/
|
|
33
|
+
completedOn?: Date | null;
|
|
28
34
|
}
|
|
29
35
|
|
|
30
36
|
/**
|
|
@@ -47,6 +53,7 @@ export function RequirementFulfillmentInputFromJSONTyped(json: any, ignoreDiscri
|
|
|
47
53
|
return {
|
|
48
54
|
|
|
49
55
|
'file': !exists(json, 'file') ? undefined : json['file'],
|
|
56
|
+
'completedOn': !exists(json, 'completedOn') ? undefined : (json['completedOn'] === null ? null : new Date(json['completedOn'])),
|
|
50
57
|
};
|
|
51
58
|
}
|
|
52
59
|
|
|
@@ -60,6 +67,7 @@ export function RequirementFulfillmentInputToJSON(value?: RequirementFulfillment
|
|
|
60
67
|
return {
|
|
61
68
|
|
|
62
69
|
'file': value.file,
|
|
70
|
+
'completedOn': value.completedOn === undefined ? undefined : (value.completedOn === null ? null : value.completedOn.toISOString()),
|
|
63
71
|
};
|
|
64
72
|
}
|
|
65
73
|
|