@trustify-da/trustify-da-api-model 2.0.4-ea.b303022 → 2.0.5-ea.f9d6a21

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
@@ -20,7 +20,7 @@ The packages are published to the GitHub maven repository. Make sure to add it t
20
20
  <dependency>
21
21
  <groupId>io.github.guacsec</groupId>
22
22
  <artifactId>trustify-da-api-model</artifactId>
23
- <version>2.0.4-SNAPSHOT</version>
23
+ <version>2.0.5-SNAPSHOT</version>
24
24
  </dependency>
25
25
  ```
26
26
 
@@ -29,5 +29,5 @@ The packages are published to the GitHub maven repository. Make sure to add it t
29
29
  Add it to your project as follows:
30
30
 
31
31
  ```bash
32
- npm install @guacsec/trustify-da-api-model@2.0.4-SNAPSHOT
32
+ npm install @guacsec/trustify-da-api-model@2.0.5-SNAPSHOT
33
33
  ```
@@ -1 +1 @@
1
- ee37155c5876a1f5c3ec080e9e5f76a3948ff12aa40dbe3d7e458d6044b81490
1
+ 1e119953e6ee6338e11d93221551814d9bc2f59ddd954162be103ec5b350f381
@@ -2,7 +2,7 @@
2
2
  * Trustify Dependency Analytics API
3
3
  * Trustify Dependency Analytics API
4
4
  *
5
- * OpenAPI spec version: 5.0.0
5
+ * OpenAPI spec version: 5.1.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -10,12 +10,14 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
 
13
+ import { LicenseProviderResult } from './LicenseProviderResult';
13
14
  import { ProviderReport } from './ProviderReport';
14
15
  import { Scanned } from './Scanned';
15
16
 
16
17
  export class AnalysisReport {
17
18
  'scanned'?: Scanned;
18
19
  'providers'?: { [key: string]: ProviderReport; };
20
+ 'licenses'?: Array<LicenseProviderResult>;
19
21
 
20
22
  static readonly discriminator: string | undefined = undefined;
21
23
 
@@ -31,6 +33,12 @@ export class AnalysisReport {
31
33
  "baseName": "providers",
32
34
  "type": "{ [key: string]: ProviderReport; }",
33
35
  "format": ""
36
+ },
37
+ {
38
+ "name": "licenses",
39
+ "baseName": "licenses",
40
+ "type": "Array<LicenseProviderResult>",
41
+ "format": ""
34
42
  } ];
35
43
 
36
44
  static getAttributeTypeMap() {
@@ -2,7 +2,7 @@
2
2
  * Trustify Dependency Analytics API
3
3
  * Trustify Dependency Analytics API
4
4
  *
5
- * OpenAPI spec version: 5.0.0
5
+ * OpenAPI spec version: 5.1.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Trustify Dependency Analytics API
3
3
  * Trustify Dependency Analytics API
4
4
  *
5
- * OpenAPI spec version: 5.0.0
5
+ * OpenAPI spec version: 5.1.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Trustify Dependency Analytics API
3
3
  * Trustify Dependency Analytics API
4
4
  *
5
- * OpenAPI spec version: 5.0.0
5
+ * OpenAPI spec version: 5.1.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Trustify Dependency Analytics API
3
3
  * Trustify Dependency Analytics API
4
4
  *
5
- * OpenAPI spec version: 5.0.0
5
+ * OpenAPI spec version: 5.1.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/model/v5/Issue.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Trustify Dependency Analytics API
3
3
  * Trustify Dependency Analytics API
4
4
  *
5
- * OpenAPI spec version: 5.0.0
5
+ * OpenAPI spec version: 5.1.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -0,0 +1,95 @@
1
+ /**
2
+ * Trustify Dependency Analytics API
3
+ * Trustify Dependency Analytics API
4
+ *
5
+ * OpenAPI spec version: 5.1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+
13
+
14
+ export class LicenseInfo {
15
+ /**
16
+ * List of license identifiers found for the package
17
+ */
18
+ 'identifiers'?: Array<string>;
19
+ /**
20
+ * SPDX license expression
21
+ */
22
+ 'expression'?: string;
23
+ /**
24
+ * Human readable license name
25
+ */
26
+ 'name'?: string;
27
+ /**
28
+ * Category of the license
29
+ */
30
+ 'category'?: LicenseInfoCategoryEnum;
31
+ /**
32
+ * Source of the license information
33
+ */
34
+ 'source'?: string;
35
+ /**
36
+ * URL of the source of the license information
37
+ */
38
+ 'sourceUrl'?: string;
39
+
40
+ static readonly discriminator: string | undefined = undefined;
41
+
42
+ static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
43
+ {
44
+ "name": "identifiers",
45
+ "baseName": "identifiers",
46
+ "type": "Array<string>",
47
+ "format": ""
48
+ },
49
+ {
50
+ "name": "expression",
51
+ "baseName": "expression",
52
+ "type": "string",
53
+ "format": ""
54
+ },
55
+ {
56
+ "name": "name",
57
+ "baseName": "name",
58
+ "type": "string",
59
+ "format": ""
60
+ },
61
+ {
62
+ "name": "category",
63
+ "baseName": "category",
64
+ "type": "LicenseInfoCategoryEnum",
65
+ "format": ""
66
+ },
67
+ {
68
+ "name": "source",
69
+ "baseName": "source",
70
+ "type": "string",
71
+ "format": ""
72
+ },
73
+ {
74
+ "name": "sourceUrl",
75
+ "baseName": "sourceUrl",
76
+ "type": "string",
77
+ "format": ""
78
+ } ];
79
+
80
+ static getAttributeTypeMap() {
81
+ return LicenseInfo.attributeTypeMap;
82
+ }
83
+
84
+ public constructor() {
85
+ }
86
+ }
87
+
88
+
89
+ export enum LicenseInfoCategoryEnum {
90
+ Permissive = 'PERMISSIVE',
91
+ WeakCopyleft = 'WEAK_COPYLEFT',
92
+ StrongCopyleft = 'STRONG_COPYLEFT',
93
+ Unknown = 'UNKNOWN'
94
+ }
95
+
@@ -0,0 +1,54 @@
1
+ /**
2
+ * Trustify Dependency Analytics API
3
+ * Trustify Dependency Analytics API
4
+ *
5
+ * OpenAPI spec version: 5.1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+
13
+ import { LicensesSummary } from './LicensesSummary';
14
+ import { PackageLicenseResult } from './PackageLicenseResult';
15
+ import { ProviderStatus } from './ProviderStatus';
16
+
17
+ export class LicenseProviderResult {
18
+ 'status'?: ProviderStatus;
19
+ 'summary'?: LicensesSummary;
20
+ /**
21
+ * Package purl as key, license result as value
22
+ */
23
+ 'packages'?: { [key: string]: PackageLicenseResult; };
24
+
25
+ static readonly discriminator: string | undefined = undefined;
26
+
27
+ static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
28
+ {
29
+ "name": "status",
30
+ "baseName": "status",
31
+ "type": "ProviderStatus",
32
+ "format": ""
33
+ },
34
+ {
35
+ "name": "summary",
36
+ "baseName": "summary",
37
+ "type": "LicensesSummary",
38
+ "format": ""
39
+ },
40
+ {
41
+ "name": "packages",
42
+ "baseName": "packages",
43
+ "type": "{ [key: string]: PackageLicenseResult; }",
44
+ "format": ""
45
+ } ];
46
+
47
+ static getAttributeTypeMap() {
48
+ return LicenseProviderResult.attributeTypeMap;
49
+ }
50
+
51
+ public constructor() {
52
+ }
53
+ }
54
+
@@ -0,0 +1,37 @@
1
+ /**
2
+ * Trustify Dependency Analytics API
3
+ * Trustify Dependency Analytics API
4
+ *
5
+ * OpenAPI spec version: 5.1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+
13
+
14
+ /**
15
+ * List of package URLs (purls) to fetch license information for
16
+ */
17
+ export class LicensesRequest {
18
+ 'purls'?: Array<string>;
19
+
20
+ static readonly discriminator: string | undefined = undefined;
21
+
22
+ static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
23
+ {
24
+ "name": "purls",
25
+ "baseName": "purls",
26
+ "type": "Array<string>",
27
+ "format": ""
28
+ } ];
29
+
30
+ static getAttributeTypeMap() {
31
+ return LicensesRequest.attributeTypeMap;
32
+ }
33
+
34
+ public constructor() {
35
+ }
36
+ }
37
+
@@ -0,0 +1,75 @@
1
+ /**
2
+ * Trustify Dependency Analytics API
3
+ * Trustify Dependency Analytics API
4
+ *
5
+ * OpenAPI spec version: 5.1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+
13
+
14
+ export class LicensesSummary {
15
+ /**
16
+ * Total number of licenses found. Including packages with multiple licenses.
17
+ */
18
+ 'total'?: number;
19
+ /**
20
+ * Number of licenses that were concluded.
21
+ */
22
+ 'concluded'?: number;
23
+ 'permissive'?: number;
24
+ 'weakCopyleft'?: number;
25
+ 'strongCopyleft'?: number;
26
+ 'unknown'?: number;
27
+
28
+ static readonly discriminator: string | undefined = undefined;
29
+
30
+ static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
31
+ {
32
+ "name": "total",
33
+ "baseName": "total",
34
+ "type": "number",
35
+ "format": ""
36
+ },
37
+ {
38
+ "name": "concluded",
39
+ "baseName": "concluded",
40
+ "type": "number",
41
+ "format": ""
42
+ },
43
+ {
44
+ "name": "permissive",
45
+ "baseName": "permissive",
46
+ "type": "number",
47
+ "format": ""
48
+ },
49
+ {
50
+ "name": "weakCopyleft",
51
+ "baseName": "weak-copyleft",
52
+ "type": "number",
53
+ "format": ""
54
+ },
55
+ {
56
+ "name": "strongCopyleft",
57
+ "baseName": "strong-copyleft",
58
+ "type": "number",
59
+ "format": ""
60
+ },
61
+ {
62
+ "name": "unknown",
63
+ "baseName": "unknown",
64
+ "type": "number",
65
+ "format": ""
66
+ } ];
67
+
68
+ static getAttributeTypeMap() {
69
+ return LicensesSummary.attributeTypeMap;
70
+ }
71
+
72
+ public constructor() {
73
+ }
74
+ }
75
+
@@ -0,0 +1,42 @@
1
+ /**
2
+ * Trustify Dependency Analytics API
3
+ * Trustify Dependency Analytics API
4
+ *
5
+ * OpenAPI spec version: 5.1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+
13
+ import { LicenseInfo } from './LicenseInfo';
14
+
15
+ export class PackageLicenseResult {
16
+ 'concluded'?: LicenseInfo;
17
+ 'evidence'?: Array<LicenseInfo>;
18
+
19
+ static readonly discriminator: string | undefined = undefined;
20
+
21
+ static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
22
+ {
23
+ "name": "concluded",
24
+ "baseName": "concluded",
25
+ "type": "LicenseInfo",
26
+ "format": ""
27
+ },
28
+ {
29
+ "name": "evidence",
30
+ "baseName": "evidence",
31
+ "type": "Array<LicenseInfo>",
32
+ "format": ""
33
+ } ];
34
+
35
+ static getAttributeTypeMap() {
36
+ return PackageLicenseResult.attributeTypeMap;
37
+ }
38
+
39
+ public constructor() {
40
+ }
41
+ }
42
+
@@ -2,7 +2,7 @@
2
2
  * Trustify Dependency Analytics API
3
3
  * Trustify Dependency Analytics API
4
4
  *
5
- * OpenAPI spec version: 5.0.0
5
+ * OpenAPI spec version: 5.1.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Trustify Dependency Analytics API
3
3
  * Trustify Dependency Analytics API
4
4
  *
5
- * OpenAPI spec version: 5.0.0
5
+ * OpenAPI spec version: 5.1.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Trustify Dependency Analytics API
3
3
  * Trustify Dependency Analytics API
4
4
  *
5
- * OpenAPI spec version: 5.0.0
5
+ * OpenAPI spec version: 5.1.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Trustify Dependency Analytics API
3
3
  * Trustify Dependency Analytics API
4
4
  *
5
- * OpenAPI spec version: 5.0.0
5
+ * OpenAPI spec version: 5.1.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Trustify Dependency Analytics API
3
3
  * Trustify Dependency Analytics API
4
4
  *
5
- * OpenAPI spec version: 5.0.0
5
+ * OpenAPI spec version: 5.1.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Trustify Dependency Analytics API
3
3
  * Trustify Dependency Analytics API
4
4
  *
5
- * OpenAPI spec version: 5.0.0
5
+ * OpenAPI spec version: 5.1.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Trustify Dependency Analytics API
3
3
  * Trustify Dependency Analytics API
4
4
  *
5
- * OpenAPI spec version: 5.0.0
5
+ * OpenAPI spec version: 5.1.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Trustify Dependency Analytics API
3
3
  * Trustify Dependency Analytics API
4
4
  *
5
- * OpenAPI spec version: 5.0.0
5
+ * OpenAPI spec version: 5.1.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Trustify Dependency Analytics API
3
3
  * Trustify Dependency Analytics API
4
4
  *
5
- * OpenAPI spec version: 5.0.0
5
+ * OpenAPI spec version: 5.1.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Trustify Dependency Analytics API
3
3
  * Trustify Dependency Analytics API
4
4
  *
5
- * OpenAPI spec version: 5.0.0
5
+ * OpenAPI spec version: 5.1.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trustify-da/trustify-da-api-model",
3
- "version": "2.0.4-ea.b303022",
3
+ "version": "2.0.5-ea.f9d6a21",
4
4
  "description": "Trustify :: Dependency Analytics :: API",
5
5
  "author": "Trustify Dependency Analytics Authors",
6
6
  "type": "commonjs",