@supermodeltools/sdk 0.3.7 → 0.4.0
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 +40 -31
- package/dist/apis/DefaultApi.d.ts +1 -1
- package/dist/apis/DefaultApi.js +1 -1
- package/dist/esm/apis/DefaultApi.d.ts +1 -1
- package/dist/esm/apis/DefaultApi.js +1 -1
- package/dist/esm/models/ClassificationStats.d.ts +1 -1
- package/dist/esm/models/ClassificationStats.js +1 -1
- package/dist/esm/models/CodeGraphEnvelope.d.ts +1 -1
- package/dist/esm/models/CodeGraphEnvelope.js +1 -1
- package/dist/esm/models/CodeGraphEnvelopeGraph.d.ts +1 -1
- package/dist/esm/models/CodeGraphEnvelopeGraph.js +1 -1
- package/dist/esm/models/CodeGraphNode.d.ts +1 -1
- package/dist/esm/models/CodeGraphNode.js +1 -1
- package/dist/esm/models/CodeGraphRelationship.d.ts +1 -1
- package/dist/esm/models/CodeGraphRelationship.js +1 -1
- package/dist/esm/models/CodeGraphStats.d.ts +1 -1
- package/dist/esm/models/CodeGraphStats.js +1 -1
- package/dist/esm/models/DomainClassAssignment.d.ts +1 -1
- package/dist/esm/models/DomainClassAssignment.js +1 -1
- package/dist/esm/models/DomainClassificationResponse.d.ts +1 -1
- package/dist/esm/models/DomainClassificationResponse.js +1 -1
- package/dist/esm/models/DomainFileAssignment.d.ts +1 -1
- package/dist/esm/models/DomainFileAssignment.js +1 -1
- package/dist/esm/models/DomainFunctionAssignment.d.ts +1 -1
- package/dist/esm/models/DomainFunctionAssignment.js +1 -1
- package/dist/esm/models/DomainRelationship.d.ts +1 -1
- package/dist/esm/models/DomainRelationship.js +1 -1
- package/dist/esm/models/DomainSummary.d.ts +1 -1
- package/dist/esm/models/DomainSummary.js +1 -1
- package/dist/esm/models/ErrorDetailsInner.d.ts +1 -1
- package/dist/esm/models/ErrorDetailsInner.js +1 -1
- package/dist/esm/models/FunctionDescription.d.ts +1 -1
- package/dist/esm/models/FunctionDescription.js +1 -1
- package/dist/esm/models/ModelError.d.ts +1 -1
- package/dist/esm/models/ModelError.js +1 -1
- package/dist/esm/models/SubdomainSummary.d.ts +1 -1
- package/dist/esm/models/SubdomainSummary.js +1 -1
- package/dist/esm/models/SupermodelArtifact.d.ts +1 -1
- package/dist/esm/models/SupermodelArtifact.js +1 -1
- package/dist/esm/models/SupermodelIR.d.ts +1 -1
- package/dist/esm/models/SupermodelIR.js +1 -1
- package/dist/esm/models/SupermodelIRGraph.d.ts +1 -1
- package/dist/esm/models/SupermodelIRGraph.js +1 -1
- package/dist/esm/models/UnassignedFunction.d.ts +1 -1
- package/dist/esm/models/UnassignedFunction.js +1 -1
- package/dist/esm/runtime.d.ts +1 -1
- package/dist/esm/runtime.js +1 -1
- package/dist/models/ClassificationStats.d.ts +1 -1
- package/dist/models/ClassificationStats.js +1 -1
- package/dist/models/CodeGraphEnvelope.d.ts +1 -1
- package/dist/models/CodeGraphEnvelope.js +1 -1
- package/dist/models/CodeGraphEnvelopeGraph.d.ts +1 -1
- package/dist/models/CodeGraphEnvelopeGraph.js +1 -1
- package/dist/models/CodeGraphNode.d.ts +1 -1
- package/dist/models/CodeGraphNode.js +1 -1
- package/dist/models/CodeGraphRelationship.d.ts +1 -1
- package/dist/models/CodeGraphRelationship.js +1 -1
- package/dist/models/CodeGraphStats.d.ts +1 -1
- package/dist/models/CodeGraphStats.js +1 -1
- package/dist/models/DomainClassAssignment.d.ts +1 -1
- package/dist/models/DomainClassAssignment.js +1 -1
- package/dist/models/DomainClassificationResponse.d.ts +1 -1
- package/dist/models/DomainClassificationResponse.js +1 -1
- package/dist/models/DomainFileAssignment.d.ts +1 -1
- package/dist/models/DomainFileAssignment.js +1 -1
- package/dist/models/DomainFunctionAssignment.d.ts +1 -1
- package/dist/models/DomainFunctionAssignment.js +1 -1
- package/dist/models/DomainRelationship.d.ts +1 -1
- package/dist/models/DomainRelationship.js +1 -1
- package/dist/models/DomainSummary.d.ts +1 -1
- package/dist/models/DomainSummary.js +1 -1
- package/dist/models/ErrorDetailsInner.d.ts +1 -1
- package/dist/models/ErrorDetailsInner.js +1 -1
- package/dist/models/FunctionDescription.d.ts +1 -1
- package/dist/models/FunctionDescription.js +1 -1
- package/dist/models/ModelError.d.ts +1 -1
- package/dist/models/ModelError.js +1 -1
- package/dist/models/SubdomainSummary.d.ts +1 -1
- package/dist/models/SubdomainSummary.js +1 -1
- package/dist/models/SupermodelArtifact.d.ts +1 -1
- package/dist/models/SupermodelArtifact.js +1 -1
- package/dist/models/SupermodelIR.d.ts +1 -1
- package/dist/models/SupermodelIR.js +1 -1
- package/dist/models/SupermodelIRGraph.d.ts +1 -1
- package/dist/models/SupermodelIRGraph.js +1 -1
- package/dist/models/UnassignedFunction.d.ts +1 -1
- package/dist/models/UnassignedFunction.js +1 -1
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +1 -1
- package/package.json +22 -5
- package/.openapi-generator/FILES +0 -32
- package/.openapi-generator/VERSION +0 -1
- package/.openapi-generator/openapi.yaml-generate-typescript-client.sha256 +0 -1
- package/.openapi-generator-ignore +0 -23
- package/src/apis/DefaultApi.ts +0 -416
- package/src/apis/index.ts +0 -3
- package/src/index.ts +0 -5
- package/src/models/ClassificationStats.ts +0 -106
- package/src/models/CodeGraphEnvelope.ts +0 -98
- package/src/models/CodeGraphEnvelopeGraph.ts +0 -83
- package/src/models/CodeGraphNode.ts +0 -77
- package/src/models/CodeGraphRelationship.ts +0 -96
- package/src/models/CodeGraphStats.ts +0 -92
- package/src/models/DomainClassAssignment.ts +0 -70
- package/src/models/DomainClassificationResponse.ts +0 -181
- package/src/models/DomainFileAssignment.ts +0 -70
- package/src/models/DomainFunctionAssignment.ts +0 -78
- package/src/models/DomainRelationship.ts +0 -96
- package/src/models/DomainSummary.ts +0 -104
- package/src/models/ErrorDetailsInner.ts +0 -78
- package/src/models/FunctionDescription.ts +0 -78
- package/src/models/ModelError.ts +0 -111
- package/src/models/SubdomainSummary.ts +0 -70
- package/src/models/SupermodelArtifact.ts +0 -87
- package/src/models/SupermodelIR.ts +0 -126
- package/src/models/SupermodelIRGraph.ts +0 -83
- package/src/models/UnassignedFunction.ts +0 -70
- package/src/models/index.ts +0 -22
- package/src/runtime.ts +0 -426
- package/tsconfig.esm.json +0 -7
- package/tsconfig.json +0 -16
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Supermodel
|
|
5
|
-
* Code Graphing & Analysis API
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 0.3.7
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
import type { CodeGraphNode } from './CodeGraphNode';
|
|
17
|
-
import {
|
|
18
|
-
CodeGraphNodeFromJSON,
|
|
19
|
-
CodeGraphNodeFromJSONTyped,
|
|
20
|
-
CodeGraphNodeToJSON,
|
|
21
|
-
} from './CodeGraphNode';
|
|
22
|
-
import type { CodeGraphRelationship } from './CodeGraphRelationship';
|
|
23
|
-
import {
|
|
24
|
-
CodeGraphRelationshipFromJSON,
|
|
25
|
-
CodeGraphRelationshipFromJSONTyped,
|
|
26
|
-
CodeGraphRelationshipToJSON,
|
|
27
|
-
} from './CodeGraphRelationship';
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
*
|
|
31
|
-
* @export
|
|
32
|
-
* @interface CodeGraphEnvelopeGraph
|
|
33
|
-
*/
|
|
34
|
-
export interface CodeGraphEnvelopeGraph {
|
|
35
|
-
/**
|
|
36
|
-
*
|
|
37
|
-
* @type {Array<CodeGraphNode>}
|
|
38
|
-
* @memberof CodeGraphEnvelopeGraph
|
|
39
|
-
*/
|
|
40
|
-
nodes: Array<CodeGraphNode>;
|
|
41
|
-
/**
|
|
42
|
-
*
|
|
43
|
-
* @type {Array<CodeGraphRelationship>}
|
|
44
|
-
* @memberof CodeGraphEnvelopeGraph
|
|
45
|
-
*/
|
|
46
|
-
relationships: Array<CodeGraphRelationship>;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
/**
|
|
50
|
-
* Check if a given object implements the CodeGraphEnvelopeGraph interface.
|
|
51
|
-
*/
|
|
52
|
-
export function instanceOfCodeGraphEnvelopeGraph(value: object): value is CodeGraphEnvelopeGraph {
|
|
53
|
-
if (!('nodes' in value) || value['nodes'] === undefined) return false;
|
|
54
|
-
if (!('relationships' in value) || value['relationships'] === undefined) return false;
|
|
55
|
-
return true;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
export function CodeGraphEnvelopeGraphFromJSON(json: any): CodeGraphEnvelopeGraph {
|
|
59
|
-
return CodeGraphEnvelopeGraphFromJSONTyped(json, false);
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
export function CodeGraphEnvelopeGraphFromJSONTyped(json: any, ignoreDiscriminator: boolean): CodeGraphEnvelopeGraph {
|
|
63
|
-
if (json == null) {
|
|
64
|
-
return json;
|
|
65
|
-
}
|
|
66
|
-
return {
|
|
67
|
-
|
|
68
|
-
'nodes': ((json['nodes'] as Array<any>).map(CodeGraphNodeFromJSON)),
|
|
69
|
-
'relationships': ((json['relationships'] as Array<any>).map(CodeGraphRelationshipFromJSON)),
|
|
70
|
-
};
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
export function CodeGraphEnvelopeGraphToJSON(value?: CodeGraphEnvelopeGraph | null): any {
|
|
74
|
-
if (value == null) {
|
|
75
|
-
return value;
|
|
76
|
-
}
|
|
77
|
-
return {
|
|
78
|
-
|
|
79
|
-
'nodes': ((value['nodes'] as Array<any>).map(CodeGraphNodeToJSON)),
|
|
80
|
-
'relationships': ((value['relationships'] as Array<any>).map(CodeGraphRelationshipToJSON)),
|
|
81
|
-
};
|
|
82
|
-
}
|
|
83
|
-
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Supermodel
|
|
5
|
-
* Code Graphing & Analysis API
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 0.3.7
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface CodeGraphNode
|
|
20
|
-
*/
|
|
21
|
-
export interface CodeGraphNode {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof CodeGraphNode
|
|
26
|
-
*/
|
|
27
|
-
id: string;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {Array<string>}
|
|
31
|
-
* @memberof CodeGraphNode
|
|
32
|
-
*/
|
|
33
|
-
labels?: Array<string>;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {{ [key: string]: any; }}
|
|
37
|
-
* @memberof CodeGraphNode
|
|
38
|
-
*/
|
|
39
|
-
properties?: { [key: string]: any; };
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* Check if a given object implements the CodeGraphNode interface.
|
|
44
|
-
*/
|
|
45
|
-
export function instanceOfCodeGraphNode(value: object): value is CodeGraphNode {
|
|
46
|
-
if (!('id' in value) || value['id'] === undefined) return false;
|
|
47
|
-
return true;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
export function CodeGraphNodeFromJSON(json: any): CodeGraphNode {
|
|
51
|
-
return CodeGraphNodeFromJSONTyped(json, false);
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
export function CodeGraphNodeFromJSONTyped(json: any, ignoreDiscriminator: boolean): CodeGraphNode {
|
|
55
|
-
if (json == null) {
|
|
56
|
-
return json;
|
|
57
|
-
}
|
|
58
|
-
return {
|
|
59
|
-
|
|
60
|
-
'id': json['id'],
|
|
61
|
-
'labels': json['labels'] == null ? undefined : json['labels'],
|
|
62
|
-
'properties': json['properties'] == null ? undefined : json['properties'],
|
|
63
|
-
};
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
export function CodeGraphNodeToJSON(value?: CodeGraphNode | null): any {
|
|
67
|
-
if (value == null) {
|
|
68
|
-
return value;
|
|
69
|
-
}
|
|
70
|
-
return {
|
|
71
|
-
|
|
72
|
-
'id': value['id'],
|
|
73
|
-
'labels': value['labels'],
|
|
74
|
-
'properties': value['properties'],
|
|
75
|
-
};
|
|
76
|
-
}
|
|
77
|
-
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Supermodel
|
|
5
|
-
* Code Graphing & Analysis API
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 0.3.7
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface CodeGraphRelationship
|
|
20
|
-
*/
|
|
21
|
-
export interface CodeGraphRelationship {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof CodeGraphRelationship
|
|
26
|
-
*/
|
|
27
|
-
id: string;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof CodeGraphRelationship
|
|
32
|
-
*/
|
|
33
|
-
type: string;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof CodeGraphRelationship
|
|
38
|
-
*/
|
|
39
|
-
startNode: string;
|
|
40
|
-
/**
|
|
41
|
-
*
|
|
42
|
-
* @type {string}
|
|
43
|
-
* @memberof CodeGraphRelationship
|
|
44
|
-
*/
|
|
45
|
-
endNode: string;
|
|
46
|
-
/**
|
|
47
|
-
*
|
|
48
|
-
* @type {{ [key: string]: any; }}
|
|
49
|
-
* @memberof CodeGraphRelationship
|
|
50
|
-
*/
|
|
51
|
-
properties?: { [key: string]: any; };
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* Check if a given object implements the CodeGraphRelationship interface.
|
|
56
|
-
*/
|
|
57
|
-
export function instanceOfCodeGraphRelationship(value: object): value is CodeGraphRelationship {
|
|
58
|
-
if (!('id' in value) || value['id'] === undefined) return false;
|
|
59
|
-
if (!('type' in value) || value['type'] === undefined) return false;
|
|
60
|
-
if (!('startNode' in value) || value['startNode'] === undefined) return false;
|
|
61
|
-
if (!('endNode' in value) || value['endNode'] === undefined) return false;
|
|
62
|
-
return true;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
export function CodeGraphRelationshipFromJSON(json: any): CodeGraphRelationship {
|
|
66
|
-
return CodeGraphRelationshipFromJSONTyped(json, false);
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
export function CodeGraphRelationshipFromJSONTyped(json: any, ignoreDiscriminator: boolean): CodeGraphRelationship {
|
|
70
|
-
if (json == null) {
|
|
71
|
-
return json;
|
|
72
|
-
}
|
|
73
|
-
return {
|
|
74
|
-
|
|
75
|
-
'id': json['id'],
|
|
76
|
-
'type': json['type'],
|
|
77
|
-
'startNode': json['startNode'],
|
|
78
|
-
'endNode': json['endNode'],
|
|
79
|
-
'properties': json['properties'] == null ? undefined : json['properties'],
|
|
80
|
-
};
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
export function CodeGraphRelationshipToJSON(value?: CodeGraphRelationship | null): any {
|
|
84
|
-
if (value == null) {
|
|
85
|
-
return value;
|
|
86
|
-
}
|
|
87
|
-
return {
|
|
88
|
-
|
|
89
|
-
'id': value['id'],
|
|
90
|
-
'type': value['type'],
|
|
91
|
-
'startNode': value['startNode'],
|
|
92
|
-
'endNode': value['endNode'],
|
|
93
|
-
'properties': value['properties'],
|
|
94
|
-
};
|
|
95
|
-
}
|
|
96
|
-
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Supermodel
|
|
5
|
-
* Code Graphing & Analysis API
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 0.3.7
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface CodeGraphStats
|
|
20
|
-
*/
|
|
21
|
-
export interface CodeGraphStats {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {number}
|
|
25
|
-
* @memberof CodeGraphStats
|
|
26
|
-
*/
|
|
27
|
-
filesProcessed?: number;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {number}
|
|
31
|
-
* @memberof CodeGraphStats
|
|
32
|
-
*/
|
|
33
|
-
classes?: number;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {number}
|
|
37
|
-
* @memberof CodeGraphStats
|
|
38
|
-
*/
|
|
39
|
-
functions?: number;
|
|
40
|
-
/**
|
|
41
|
-
*
|
|
42
|
-
* @type {number}
|
|
43
|
-
* @memberof CodeGraphStats
|
|
44
|
-
*/
|
|
45
|
-
types?: number;
|
|
46
|
-
/**
|
|
47
|
-
*
|
|
48
|
-
* @type {number}
|
|
49
|
-
* @memberof CodeGraphStats
|
|
50
|
-
*/
|
|
51
|
-
processingTimeMs?: number;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* Check if a given object implements the CodeGraphStats interface.
|
|
56
|
-
*/
|
|
57
|
-
export function instanceOfCodeGraphStats(value: object): value is CodeGraphStats {
|
|
58
|
-
return true;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
export function CodeGraphStatsFromJSON(json: any): CodeGraphStats {
|
|
62
|
-
return CodeGraphStatsFromJSONTyped(json, false);
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
export function CodeGraphStatsFromJSONTyped(json: any, ignoreDiscriminator: boolean): CodeGraphStats {
|
|
66
|
-
if (json == null) {
|
|
67
|
-
return json;
|
|
68
|
-
}
|
|
69
|
-
return {
|
|
70
|
-
|
|
71
|
-
'filesProcessed': json['filesProcessed'] == null ? undefined : json['filesProcessed'],
|
|
72
|
-
'classes': json['classes'] == null ? undefined : json['classes'],
|
|
73
|
-
'functions': json['functions'] == null ? undefined : json['functions'],
|
|
74
|
-
'types': json['types'] == null ? undefined : json['types'],
|
|
75
|
-
'processingTimeMs': json['processingTimeMs'] == null ? undefined : json['processingTimeMs'],
|
|
76
|
-
};
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
export function CodeGraphStatsToJSON(value?: CodeGraphStats | null): any {
|
|
80
|
-
if (value == null) {
|
|
81
|
-
return value;
|
|
82
|
-
}
|
|
83
|
-
return {
|
|
84
|
-
|
|
85
|
-
'filesProcessed': value['filesProcessed'],
|
|
86
|
-
'classes': value['classes'],
|
|
87
|
-
'functions': value['functions'],
|
|
88
|
-
'types': value['types'],
|
|
89
|
-
'processingTimeMs': value['processingTimeMs'],
|
|
90
|
-
};
|
|
91
|
-
}
|
|
92
|
-
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Supermodel
|
|
5
|
-
* Code Graphing & Analysis API
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 0.3.7
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface DomainClassAssignment
|
|
20
|
-
*/
|
|
21
|
-
export interface DomainClassAssignment {
|
|
22
|
-
/**
|
|
23
|
-
* Class identifier
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof DomainClassAssignment
|
|
26
|
-
*/
|
|
27
|
-
classId: string;
|
|
28
|
-
/**
|
|
29
|
-
* Assigned domain
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof DomainClassAssignment
|
|
32
|
-
*/
|
|
33
|
-
domainName: string;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* Check if a given object implements the DomainClassAssignment interface.
|
|
38
|
-
*/
|
|
39
|
-
export function instanceOfDomainClassAssignment(value: object): value is DomainClassAssignment {
|
|
40
|
-
if (!('classId' in value) || value['classId'] === undefined) return false;
|
|
41
|
-
if (!('domainName' in value) || value['domainName'] === undefined) return false;
|
|
42
|
-
return true;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export function DomainClassAssignmentFromJSON(json: any): DomainClassAssignment {
|
|
46
|
-
return DomainClassAssignmentFromJSONTyped(json, false);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export function DomainClassAssignmentFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainClassAssignment {
|
|
50
|
-
if (json == null) {
|
|
51
|
-
return json;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
|
|
55
|
-
'classId': json['classId'],
|
|
56
|
-
'domainName': json['domainName'],
|
|
57
|
-
};
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
export function DomainClassAssignmentToJSON(value?: DomainClassAssignment | null): any {
|
|
61
|
-
if (value == null) {
|
|
62
|
-
return value;
|
|
63
|
-
}
|
|
64
|
-
return {
|
|
65
|
-
|
|
66
|
-
'classId': value['classId'],
|
|
67
|
-
'domainName': value['domainName'],
|
|
68
|
-
};
|
|
69
|
-
}
|
|
70
|
-
|
|
@@ -1,181 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Supermodel
|
|
5
|
-
* Code Graphing & Analysis API
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 0.3.7
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
import type { UnassignedFunction } from './UnassignedFunction';
|
|
17
|
-
import {
|
|
18
|
-
UnassignedFunctionFromJSON,
|
|
19
|
-
UnassignedFunctionFromJSONTyped,
|
|
20
|
-
UnassignedFunctionToJSON,
|
|
21
|
-
} from './UnassignedFunction';
|
|
22
|
-
import type { DomainClassAssignment } from './DomainClassAssignment';
|
|
23
|
-
import {
|
|
24
|
-
DomainClassAssignmentFromJSON,
|
|
25
|
-
DomainClassAssignmentFromJSONTyped,
|
|
26
|
-
DomainClassAssignmentToJSON,
|
|
27
|
-
} from './DomainClassAssignment';
|
|
28
|
-
import type { DomainFileAssignment } from './DomainFileAssignment';
|
|
29
|
-
import {
|
|
30
|
-
DomainFileAssignmentFromJSON,
|
|
31
|
-
DomainFileAssignmentFromJSONTyped,
|
|
32
|
-
DomainFileAssignmentToJSON,
|
|
33
|
-
} from './DomainFileAssignment';
|
|
34
|
-
import type { DomainFunctionAssignment } from './DomainFunctionAssignment';
|
|
35
|
-
import {
|
|
36
|
-
DomainFunctionAssignmentFromJSON,
|
|
37
|
-
DomainFunctionAssignmentFromJSONTyped,
|
|
38
|
-
DomainFunctionAssignmentToJSON,
|
|
39
|
-
} from './DomainFunctionAssignment';
|
|
40
|
-
import type { FunctionDescription } from './FunctionDescription';
|
|
41
|
-
import {
|
|
42
|
-
FunctionDescriptionFromJSON,
|
|
43
|
-
FunctionDescriptionFromJSONTyped,
|
|
44
|
-
FunctionDescriptionToJSON,
|
|
45
|
-
} from './FunctionDescription';
|
|
46
|
-
import type { DomainRelationship } from './DomainRelationship';
|
|
47
|
-
import {
|
|
48
|
-
DomainRelationshipFromJSON,
|
|
49
|
-
DomainRelationshipFromJSONTyped,
|
|
50
|
-
DomainRelationshipToJSON,
|
|
51
|
-
} from './DomainRelationship';
|
|
52
|
-
import type { DomainSummary } from './DomainSummary';
|
|
53
|
-
import {
|
|
54
|
-
DomainSummaryFromJSON,
|
|
55
|
-
DomainSummaryFromJSONTyped,
|
|
56
|
-
DomainSummaryToJSON,
|
|
57
|
-
} from './DomainSummary';
|
|
58
|
-
import type { ClassificationStats } from './ClassificationStats';
|
|
59
|
-
import {
|
|
60
|
-
ClassificationStatsFromJSON,
|
|
61
|
-
ClassificationStatsFromJSONTyped,
|
|
62
|
-
ClassificationStatsToJSON,
|
|
63
|
-
} from './ClassificationStats';
|
|
64
|
-
|
|
65
|
-
/**
|
|
66
|
-
*
|
|
67
|
-
* @export
|
|
68
|
-
* @interface DomainClassificationResponse
|
|
69
|
-
*/
|
|
70
|
-
export interface DomainClassificationResponse {
|
|
71
|
-
/**
|
|
72
|
-
* Unique identifier for this classification run
|
|
73
|
-
* @type {string}
|
|
74
|
-
* @memberof DomainClassificationResponse
|
|
75
|
-
*/
|
|
76
|
-
runId: string;
|
|
77
|
-
/**
|
|
78
|
-
* Array of primary domain entities
|
|
79
|
-
* @type {Array<DomainSummary>}
|
|
80
|
-
* @memberof DomainClassificationResponse
|
|
81
|
-
*/
|
|
82
|
-
domains: Array<DomainSummary>;
|
|
83
|
-
/**
|
|
84
|
-
* High-level relationships between domains/subdomains
|
|
85
|
-
* @type {Array<DomainRelationship>}
|
|
86
|
-
* @memberof DomainClassificationResponse
|
|
87
|
-
*/
|
|
88
|
-
relationships: Array<DomainRelationship>;
|
|
89
|
-
/**
|
|
90
|
-
* Mapping of files to domains
|
|
91
|
-
* @type {Array<DomainFileAssignment>}
|
|
92
|
-
* @memberof DomainClassificationResponse
|
|
93
|
-
*/
|
|
94
|
-
fileAssignments: Array<DomainFileAssignment>;
|
|
95
|
-
/**
|
|
96
|
-
* Mapping of functions to subdomains
|
|
97
|
-
* @type {Array<DomainFunctionAssignment>}
|
|
98
|
-
* @memberof DomainClassificationResponse
|
|
99
|
-
*/
|
|
100
|
-
functionAssignments: Array<DomainFunctionAssignment>;
|
|
101
|
-
/**
|
|
102
|
-
* Functions that could not be assigned to a domain/subdomain
|
|
103
|
-
* @type {Array<UnassignedFunction>}
|
|
104
|
-
* @memberof DomainClassificationResponse
|
|
105
|
-
*/
|
|
106
|
-
unassignedFunctions: Array<UnassignedFunction>;
|
|
107
|
-
/**
|
|
108
|
-
* Mapping of classes to domains
|
|
109
|
-
* @type {Array<DomainClassAssignment>}
|
|
110
|
-
* @memberof DomainClassificationResponse
|
|
111
|
-
*/
|
|
112
|
-
classAssignments: Array<DomainClassAssignment>;
|
|
113
|
-
/**
|
|
114
|
-
* Optional enriched descriptions per function
|
|
115
|
-
* @type {Array<FunctionDescription>}
|
|
116
|
-
* @memberof DomainClassificationResponse
|
|
117
|
-
*/
|
|
118
|
-
functionDescriptions?: Array<FunctionDescription>;
|
|
119
|
-
/**
|
|
120
|
-
*
|
|
121
|
-
* @type {ClassificationStats}
|
|
122
|
-
* @memberof DomainClassificationResponse
|
|
123
|
-
*/
|
|
124
|
-
stats: ClassificationStats;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
/**
|
|
128
|
-
* Check if a given object implements the DomainClassificationResponse interface.
|
|
129
|
-
*/
|
|
130
|
-
export function instanceOfDomainClassificationResponse(value: object): value is DomainClassificationResponse {
|
|
131
|
-
if (!('runId' in value) || value['runId'] === undefined) return false;
|
|
132
|
-
if (!('domains' in value) || value['domains'] === undefined) return false;
|
|
133
|
-
if (!('relationships' in value) || value['relationships'] === undefined) return false;
|
|
134
|
-
if (!('fileAssignments' in value) || value['fileAssignments'] === undefined) return false;
|
|
135
|
-
if (!('functionAssignments' in value) || value['functionAssignments'] === undefined) return false;
|
|
136
|
-
if (!('unassignedFunctions' in value) || value['unassignedFunctions'] === undefined) return false;
|
|
137
|
-
if (!('classAssignments' in value) || value['classAssignments'] === undefined) return false;
|
|
138
|
-
if (!('stats' in value) || value['stats'] === undefined) return false;
|
|
139
|
-
return true;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
export function DomainClassificationResponseFromJSON(json: any): DomainClassificationResponse {
|
|
143
|
-
return DomainClassificationResponseFromJSONTyped(json, false);
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
export function DomainClassificationResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainClassificationResponse {
|
|
147
|
-
if (json == null) {
|
|
148
|
-
return json;
|
|
149
|
-
}
|
|
150
|
-
return {
|
|
151
|
-
|
|
152
|
-
'runId': json['runId'],
|
|
153
|
-
'domains': ((json['domains'] as Array<any>).map(DomainSummaryFromJSON)),
|
|
154
|
-
'relationships': ((json['relationships'] as Array<any>).map(DomainRelationshipFromJSON)),
|
|
155
|
-
'fileAssignments': ((json['fileAssignments'] as Array<any>).map(DomainFileAssignmentFromJSON)),
|
|
156
|
-
'functionAssignments': ((json['functionAssignments'] as Array<any>).map(DomainFunctionAssignmentFromJSON)),
|
|
157
|
-
'unassignedFunctions': ((json['unassignedFunctions'] as Array<any>).map(UnassignedFunctionFromJSON)),
|
|
158
|
-
'classAssignments': ((json['classAssignments'] as Array<any>).map(DomainClassAssignmentFromJSON)),
|
|
159
|
-
'functionDescriptions': json['functionDescriptions'] == null ? undefined : ((json['functionDescriptions'] as Array<any>).map(FunctionDescriptionFromJSON)),
|
|
160
|
-
'stats': ClassificationStatsFromJSON(json['stats']),
|
|
161
|
-
};
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
export function DomainClassificationResponseToJSON(value?: DomainClassificationResponse | null): any {
|
|
165
|
-
if (value == null) {
|
|
166
|
-
return value;
|
|
167
|
-
}
|
|
168
|
-
return {
|
|
169
|
-
|
|
170
|
-
'runId': value['runId'],
|
|
171
|
-
'domains': ((value['domains'] as Array<any>).map(DomainSummaryToJSON)),
|
|
172
|
-
'relationships': ((value['relationships'] as Array<any>).map(DomainRelationshipToJSON)),
|
|
173
|
-
'fileAssignments': ((value['fileAssignments'] as Array<any>).map(DomainFileAssignmentToJSON)),
|
|
174
|
-
'functionAssignments': ((value['functionAssignments'] as Array<any>).map(DomainFunctionAssignmentToJSON)),
|
|
175
|
-
'unassignedFunctions': ((value['unassignedFunctions'] as Array<any>).map(UnassignedFunctionToJSON)),
|
|
176
|
-
'classAssignments': ((value['classAssignments'] as Array<any>).map(DomainClassAssignmentToJSON)),
|
|
177
|
-
'functionDescriptions': value['functionDescriptions'] == null ? undefined : ((value['functionDescriptions'] as Array<any>).map(FunctionDescriptionToJSON)),
|
|
178
|
-
'stats': ClassificationStatsToJSON(value['stats']),
|
|
179
|
-
};
|
|
180
|
-
}
|
|
181
|
-
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Supermodel
|
|
5
|
-
* Code Graphing & Analysis API
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 0.3.7
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface DomainFileAssignment
|
|
20
|
-
*/
|
|
21
|
-
export interface DomainFileAssignment {
|
|
22
|
-
/**
|
|
23
|
-
* Repository-relative file path
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof DomainFileAssignment
|
|
26
|
-
*/
|
|
27
|
-
filePath: string;
|
|
28
|
-
/**
|
|
29
|
-
* Assigned domain
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof DomainFileAssignment
|
|
32
|
-
*/
|
|
33
|
-
domainName: string;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* Check if a given object implements the DomainFileAssignment interface.
|
|
38
|
-
*/
|
|
39
|
-
export function instanceOfDomainFileAssignment(value: object): value is DomainFileAssignment {
|
|
40
|
-
if (!('filePath' in value) || value['filePath'] === undefined) return false;
|
|
41
|
-
if (!('domainName' in value) || value['domainName'] === undefined) return false;
|
|
42
|
-
return true;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export function DomainFileAssignmentFromJSON(json: any): DomainFileAssignment {
|
|
46
|
-
return DomainFileAssignmentFromJSONTyped(json, false);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export function DomainFileAssignmentFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainFileAssignment {
|
|
50
|
-
if (json == null) {
|
|
51
|
-
return json;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
|
|
55
|
-
'filePath': json['filePath'],
|
|
56
|
-
'domainName': json['domainName'],
|
|
57
|
-
};
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
export function DomainFileAssignmentToJSON(value?: DomainFileAssignment | null): any {
|
|
61
|
-
if (value == null) {
|
|
62
|
-
return value;
|
|
63
|
-
}
|
|
64
|
-
return {
|
|
65
|
-
|
|
66
|
-
'filePath': value['filePath'],
|
|
67
|
-
'domainName': value['domainName'],
|
|
68
|
-
};
|
|
69
|
-
}
|
|
70
|
-
|