@sonatype/nexus-iq-api-client 0.196.3 → 0.196.5

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.
@@ -51,10 +51,10 @@ export interface ApiReportPolicyDataDTOV2 {
51
51
  initiator?: string;
52
52
  /**
53
53
  *
54
- * @type {Date}
54
+ * @type {number}
55
55
  * @memberof ApiReportPolicyDataDTOV2
56
56
  */
57
- reportTime?: Date;
57
+ reportTime?: number;
58
58
  /**
59
59
  *
60
60
  * @type {string}
@@ -32,7 +32,7 @@ export function ApiReportPolicyDataDTOV2FromJSONTyped(json, ignoreDiscriminator)
32
32
  'components': json['components'] == null ? undefined : (json['components'].map(ApiReportComponentPolicyViolationsDTOV2FromJSON)),
33
33
  'counts': json['counts'] == null ? undefined : json['counts'],
34
34
  'initiator': json['initiator'] == null ? undefined : json['initiator'],
35
- 'reportTime': json['reportTime'] == null ? undefined : (new Date(json['reportTime'])),
35
+ 'reportTime': json['reportTime'] == null ? undefined : json['reportTime'],
36
36
  'reportTitle': json['reportTitle'] == null ? undefined : json['reportTitle'],
37
37
  };
38
38
  }
@@ -49,7 +49,7 @@ export function ApiReportPolicyDataDTOV2ToJSONTyped(value, ignoreDiscriminator =
49
49
  'components': value['components'] == null ? undefined : (value['components'].map(ApiReportComponentPolicyViolationsDTOV2ToJSON)),
50
50
  'counts': value['counts'],
51
51
  'initiator': value['initiator'],
52
- 'reportTime': value['reportTime'] == null ? value['reportTime'] : value['reportTime'].toISOString(),
52
+ 'reportTime': value['reportTime'],
53
53
  'reportTitle': value['reportTitle'],
54
54
  };
55
55
  }
@@ -35,10 +35,10 @@ export interface ContainerImageInQuarantineData {
35
35
  applicationPublicId?: string;
36
36
  /**
37
37
  *
38
- * @type {string}
38
+ * @type {number}
39
39
  * @memberof ContainerImageInQuarantineData
40
40
  */
41
- openTime?: string;
41
+ openTime?: number;
42
42
  /**
43
43
  *
44
44
  * @type {number}
@@ -51,10 +51,10 @@ export interface ApiReportPolicyDataDTOV2 {
51
51
  initiator?: string;
52
52
  /**
53
53
  *
54
- * @type {Date}
54
+ * @type {number}
55
55
  * @memberof ApiReportPolicyDataDTOV2
56
56
  */
57
- reportTime?: Date;
57
+ reportTime?: number;
58
58
  /**
59
59
  *
60
60
  * @type {string}
@@ -39,7 +39,7 @@ function ApiReportPolicyDataDTOV2FromJSONTyped(json, ignoreDiscriminator) {
39
39
  'components': json['components'] == null ? undefined : (json['components'].map(ApiReportComponentPolicyViolationsDTOV2_1.ApiReportComponentPolicyViolationsDTOV2FromJSON)),
40
40
  'counts': json['counts'] == null ? undefined : json['counts'],
41
41
  'initiator': json['initiator'] == null ? undefined : json['initiator'],
42
- 'reportTime': json['reportTime'] == null ? undefined : (new Date(json['reportTime'])),
42
+ 'reportTime': json['reportTime'] == null ? undefined : json['reportTime'],
43
43
  'reportTitle': json['reportTitle'] == null ? undefined : json['reportTitle'],
44
44
  };
45
45
  }
@@ -56,7 +56,7 @@ function ApiReportPolicyDataDTOV2ToJSONTyped(value, ignoreDiscriminator = false)
56
56
  'components': value['components'] == null ? undefined : (value['components'].map(ApiReportComponentPolicyViolationsDTOV2_1.ApiReportComponentPolicyViolationsDTOV2ToJSON)),
57
57
  'counts': value['counts'],
58
58
  'initiator': value['initiator'],
59
- 'reportTime': value['reportTime'] == null ? value['reportTime'] : value['reportTime'].toISOString(),
59
+ 'reportTime': value['reportTime'],
60
60
  'reportTitle': value['reportTitle'],
61
61
  };
62
62
  }
@@ -35,10 +35,10 @@ export interface ContainerImageInQuarantineData {
35
35
  applicationPublicId?: string;
36
36
  /**
37
37
  *
38
- * @type {string}
38
+ * @type {number}
39
39
  * @memberof ContainerImageInQuarantineData
40
40
  */
41
- openTime?: string;
41
+ openTime?: number;
42
42
  /**
43
43
  *
44
44
  * @type {number}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sonatype/nexus-iq-api-client",
3
- "version": "0.196.3",
3
+ "version": "0.196.5",
4
4
  "description": "OpenAPI client for @sonatype/nexus-iq-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -66,10 +66,10 @@ export interface ApiReportPolicyDataDTOV2 {
66
66
  initiator?: string;
67
67
  /**
68
68
  *
69
- * @type {Date}
69
+ * @type {number}
70
70
  * @memberof ApiReportPolicyDataDTOV2
71
71
  */
72
- reportTime?: Date;
72
+ reportTime?: number;
73
73
  /**
74
74
  *
75
75
  * @type {string}
@@ -100,7 +100,7 @@ export function ApiReportPolicyDataDTOV2FromJSONTyped(json: any, ignoreDiscrimin
100
100
  'components': json['components'] == null ? undefined : ((json['components'] as Array<any>).map(ApiReportComponentPolicyViolationsDTOV2FromJSON)),
101
101
  'counts': json['counts'] == null ? undefined : json['counts'],
102
102
  'initiator': json['initiator'] == null ? undefined : json['initiator'],
103
- 'reportTime': json['reportTime'] == null ? undefined : (new Date(json['reportTime'])),
103
+ 'reportTime': json['reportTime'] == null ? undefined : json['reportTime'],
104
104
  'reportTitle': json['reportTitle'] == null ? undefined : json['reportTitle'],
105
105
  };
106
106
  }
@@ -121,7 +121,7 @@ export function ApiReportPolicyDataDTOV2ToJSONTyped(value?: ApiReportPolicyDataD
121
121
  'components': value['components'] == null ? undefined : ((value['components'] as Array<any>).map(ApiReportComponentPolicyViolationsDTOV2ToJSON)),
122
122
  'counts': value['counts'],
123
123
  'initiator': value['initiator'],
124
- 'reportTime': value['reportTime'] == null ? value['reportTime'] : value['reportTime'].toISOString(),
124
+ 'reportTime': value['reportTime'],
125
125
  'reportTitle': value['reportTitle'],
126
126
  };
127
127
  }
@@ -39,10 +39,10 @@ export interface ContainerImageInQuarantineData {
39
39
  applicationPublicId?: string;
40
40
  /**
41
41
  *
42
- * @type {string}
42
+ * @type {number}
43
43
  * @memberof ContainerImageInQuarantineData
44
44
  */
45
- openTime?: string;
45
+ openTime?: number;
46
46
  /**
47
47
  *
48
48
  * @type {number}