@supermodeltools/sdk 0.3.7
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/.openapi-generator/FILES +32 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator/openapi.yaml-generate-typescript-client.sha256 +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +46 -0
- package/dist/apis/DefaultApi.d.ts +88 -0
- package/dist/apis/DefaultApi.js +323 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +19 -0
- package/dist/esm/apis/DefaultApi.d.ts +88 -0
- package/dist/esm/apis/DefaultApi.js +319 -0
- package/dist/esm/apis/index.d.ts +1 -0
- package/dist/esm/apis/index.js +3 -0
- package/dist/esm/index.d.ts +3 -0
- package/dist/esm/index.js +5 -0
- package/dist/esm/models/ClassificationStats.d.ts +61 -0
- package/dist/esm/models/ClassificationStats.js +60 -0
- package/dist/esm/models/CodeGraphEnvelope.d.ts +51 -0
- package/dist/esm/models/CodeGraphEnvelope.js +48 -0
- package/dist/esm/models/CodeGraphEnvelopeGraph.d.ts +39 -0
- package/dist/esm/models/CodeGraphEnvelopeGraph.js +46 -0
- package/dist/esm/models/CodeGraphNode.d.ts +45 -0
- package/dist/esm/models/CodeGraphNode.js +44 -0
- package/dist/esm/models/CodeGraphRelationship.d.ts +57 -0
- package/dist/esm/models/CodeGraphRelationship.js +54 -0
- package/dist/esm/models/CodeGraphStats.d.ts +55 -0
- package/dist/esm/models/CodeGraphStats.js +46 -0
- package/dist/esm/models/DomainClassAssignment.d.ts +37 -0
- package/dist/esm/models/DomainClassAssignment.js +44 -0
- package/dist/esm/models/DomainClassificationResponse.d.ts +87 -0
- package/dist/esm/models/DomainClassificationResponse.js +78 -0
- package/dist/esm/models/DomainFileAssignment.d.ts +37 -0
- package/dist/esm/models/DomainFileAssignment.js +44 -0
- package/dist/esm/models/DomainFunctionAssignment.d.ts +43 -0
- package/dist/esm/models/DomainFunctionAssignment.js +46 -0
- package/dist/esm/models/DomainRelationship.d.ts +55 -0
- package/dist/esm/models/DomainRelationship.js +54 -0
- package/dist/esm/models/DomainSummary.d.ts +56 -0
- package/dist/esm/models/DomainSummary.js +57 -0
- package/dist/esm/models/ErrorDetailsInner.d.ts +43 -0
- package/dist/esm/models/ErrorDetailsInner.js +46 -0
- package/dist/esm/models/FunctionDescription.d.ts +43 -0
- package/dist/esm/models/FunctionDescription.js +46 -0
- package/dist/esm/models/ModelError.d.ts +62 -0
- package/dist/esm/models/ModelError.js +57 -0
- package/dist/esm/models/SubdomainSummary.d.ts +37 -0
- package/dist/esm/models/SubdomainSummary.js +44 -0
- package/dist/esm/models/SupermodelArtifact.d.ts +51 -0
- package/dist/esm/models/SupermodelArtifact.js +50 -0
- package/dist/esm/models/SupermodelIR.d.ts +71 -0
- package/dist/esm/models/SupermodelIR.js +62 -0
- package/dist/esm/models/SupermodelIRGraph.d.ts +39 -0
- package/dist/esm/models/SupermodelIRGraph.js +46 -0
- package/dist/esm/models/UnassignedFunction.d.ts +37 -0
- package/dist/esm/models/UnassignedFunction.js +44 -0
- package/dist/esm/models/index.d.ts +20 -0
- package/dist/esm/models/index.js +22 -0
- package/dist/esm/runtime.d.ts +181 -0
- package/dist/esm/runtime.js +326 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +21 -0
- package/dist/models/ClassificationStats.d.ts +61 -0
- package/dist/models/ClassificationStats.js +66 -0
- package/dist/models/CodeGraphEnvelope.d.ts +51 -0
- package/dist/models/CodeGraphEnvelope.js +54 -0
- package/dist/models/CodeGraphEnvelopeGraph.d.ts +39 -0
- package/dist/models/CodeGraphEnvelopeGraph.js +52 -0
- package/dist/models/CodeGraphNode.d.ts +45 -0
- package/dist/models/CodeGraphNode.js +50 -0
- package/dist/models/CodeGraphRelationship.d.ts +57 -0
- package/dist/models/CodeGraphRelationship.js +60 -0
- package/dist/models/CodeGraphStats.d.ts +55 -0
- package/dist/models/CodeGraphStats.js +52 -0
- package/dist/models/DomainClassAssignment.d.ts +37 -0
- package/dist/models/DomainClassAssignment.js +50 -0
- package/dist/models/DomainClassificationResponse.d.ts +87 -0
- package/dist/models/DomainClassificationResponse.js +84 -0
- package/dist/models/DomainFileAssignment.d.ts +37 -0
- package/dist/models/DomainFileAssignment.js +50 -0
- package/dist/models/DomainFunctionAssignment.d.ts +43 -0
- package/dist/models/DomainFunctionAssignment.js +52 -0
- package/dist/models/DomainRelationship.d.ts +55 -0
- package/dist/models/DomainRelationship.js +60 -0
- package/dist/models/DomainSummary.d.ts +56 -0
- package/dist/models/DomainSummary.js +63 -0
- package/dist/models/ErrorDetailsInner.d.ts +43 -0
- package/dist/models/ErrorDetailsInner.js +52 -0
- package/dist/models/FunctionDescription.d.ts +43 -0
- package/dist/models/FunctionDescription.js +52 -0
- package/dist/models/ModelError.d.ts +62 -0
- package/dist/models/ModelError.js +63 -0
- package/dist/models/SubdomainSummary.d.ts +37 -0
- package/dist/models/SubdomainSummary.js +50 -0
- package/dist/models/SupermodelArtifact.d.ts +51 -0
- package/dist/models/SupermodelArtifact.js +56 -0
- package/dist/models/SupermodelIR.d.ts +71 -0
- package/dist/models/SupermodelIR.js +68 -0
- package/dist/models/SupermodelIRGraph.d.ts +39 -0
- package/dist/models/SupermodelIRGraph.js +52 -0
- package/dist/models/UnassignedFunction.d.ts +37 -0
- package/dist/models/UnassignedFunction.js +50 -0
- package/dist/models/index.d.ts +20 -0
- package/dist/models/index.js +38 -0
- package/dist/runtime.d.ts +181 -0
- package/dist/runtime.js +341 -0
- package/package.json +21 -0
- package/src/apis/DefaultApi.ts +416 -0
- package/src/apis/index.ts +3 -0
- package/src/index.ts +5 -0
- package/src/models/ClassificationStats.ts +106 -0
- package/src/models/CodeGraphEnvelope.ts +98 -0
- package/src/models/CodeGraphEnvelopeGraph.ts +83 -0
- package/src/models/CodeGraphNode.ts +77 -0
- package/src/models/CodeGraphRelationship.ts +96 -0
- package/src/models/CodeGraphStats.ts +92 -0
- package/src/models/DomainClassAssignment.ts +70 -0
- package/src/models/DomainClassificationResponse.ts +181 -0
- package/src/models/DomainFileAssignment.ts +70 -0
- package/src/models/DomainFunctionAssignment.ts +78 -0
- package/src/models/DomainRelationship.ts +96 -0
- package/src/models/DomainSummary.ts +104 -0
- package/src/models/ErrorDetailsInner.ts +78 -0
- package/src/models/FunctionDescription.ts +78 -0
- package/src/models/ModelError.ts +111 -0
- package/src/models/SubdomainSummary.ts +70 -0
- package/src/models/SupermodelArtifact.ts +87 -0
- package/src/models/SupermodelIR.ts +126 -0
- package/src/models/SupermodelIRGraph.ts +83 -0
- package/src/models/UnassignedFunction.ts +70 -0
- package/src/models/index.ts +22 -0
- package/src/runtime.ts +426 -0
- package/tsconfig.esm.json +7 -0
- package/tsconfig.json +16 -0
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Supermodel
|
|
3
|
+
* Code Graphing & Analysis API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.3.7
|
|
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
|
|
15
|
+
* @interface CodeGraphNode
|
|
16
|
+
*/
|
|
17
|
+
export interface CodeGraphNode {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CodeGraphNode
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {Array<string>}
|
|
27
|
+
* @memberof CodeGraphNode
|
|
28
|
+
*/
|
|
29
|
+
labels?: Array<string>;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {{ [key: string]: any; }}
|
|
33
|
+
* @memberof CodeGraphNode
|
|
34
|
+
*/
|
|
35
|
+
properties?: {
|
|
36
|
+
[key: string]: any;
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the CodeGraphNode interface.
|
|
41
|
+
*/
|
|
42
|
+
export declare function instanceOfCodeGraphNode(value: object): value is CodeGraphNode;
|
|
43
|
+
export declare function CodeGraphNodeFromJSON(json: any): CodeGraphNode;
|
|
44
|
+
export declare function CodeGraphNodeFromJSONTyped(json: any, ignoreDiscriminator: boolean): CodeGraphNode;
|
|
45
|
+
export declare function CodeGraphNodeToJSON(value?: CodeGraphNode | null): any;
|
|
@@ -0,0 +1,44 @@
|
|
|
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
|
+
* Check if a given object implements the CodeGraphNode interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfCodeGraphNode(value) {
|
|
18
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
export function CodeGraphNodeFromJSON(json) {
|
|
23
|
+
return CodeGraphNodeFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function CodeGraphNodeFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'id': json['id'],
|
|
31
|
+
'labels': json['labels'] == null ? undefined : json['labels'],
|
|
32
|
+
'properties': json['properties'] == null ? undefined : json['properties'],
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
export function CodeGraphNodeToJSON(value) {
|
|
36
|
+
if (value == null) {
|
|
37
|
+
return value;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'id': value['id'],
|
|
41
|
+
'labels': value['labels'],
|
|
42
|
+
'properties': value['properties'],
|
|
43
|
+
};
|
|
44
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Supermodel
|
|
3
|
+
* Code Graphing & Analysis API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.3.7
|
|
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
|
|
15
|
+
* @interface CodeGraphRelationship
|
|
16
|
+
*/
|
|
17
|
+
export interface CodeGraphRelationship {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CodeGraphRelationship
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CodeGraphRelationship
|
|
28
|
+
*/
|
|
29
|
+
type: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CodeGraphRelationship
|
|
34
|
+
*/
|
|
35
|
+
startNode: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof CodeGraphRelationship
|
|
40
|
+
*/
|
|
41
|
+
endNode: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {{ [key: string]: any; }}
|
|
45
|
+
* @memberof CodeGraphRelationship
|
|
46
|
+
*/
|
|
47
|
+
properties?: {
|
|
48
|
+
[key: string]: any;
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Check if a given object implements the CodeGraphRelationship interface.
|
|
53
|
+
*/
|
|
54
|
+
export declare function instanceOfCodeGraphRelationship(value: object): value is CodeGraphRelationship;
|
|
55
|
+
export declare function CodeGraphRelationshipFromJSON(json: any): CodeGraphRelationship;
|
|
56
|
+
export declare function CodeGraphRelationshipFromJSONTyped(json: any, ignoreDiscriminator: boolean): CodeGraphRelationship;
|
|
57
|
+
export declare function CodeGraphRelationshipToJSON(value?: CodeGraphRelationship | null): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
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
|
+
* Check if a given object implements the CodeGraphRelationship interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfCodeGraphRelationship(value) {
|
|
18
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('startNode' in value) || value['startNode'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('endNode' in value) || value['endNode'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
export function CodeGraphRelationshipFromJSON(json) {
|
|
29
|
+
return CodeGraphRelationshipFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
export function CodeGraphRelationshipFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'id': json['id'],
|
|
37
|
+
'type': json['type'],
|
|
38
|
+
'startNode': json['startNode'],
|
|
39
|
+
'endNode': json['endNode'],
|
|
40
|
+
'properties': json['properties'] == null ? undefined : json['properties'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
export function CodeGraphRelationshipToJSON(value) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'id': value['id'],
|
|
49
|
+
'type': value['type'],
|
|
50
|
+
'startNode': value['startNode'],
|
|
51
|
+
'endNode': value['endNode'],
|
|
52
|
+
'properties': value['properties'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Supermodel
|
|
3
|
+
* Code Graphing & Analysis API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.3.7
|
|
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
|
|
15
|
+
* @interface CodeGraphStats
|
|
16
|
+
*/
|
|
17
|
+
export interface CodeGraphStats {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof CodeGraphStats
|
|
22
|
+
*/
|
|
23
|
+
filesProcessed?: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof CodeGraphStats
|
|
28
|
+
*/
|
|
29
|
+
classes?: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof CodeGraphStats
|
|
34
|
+
*/
|
|
35
|
+
functions?: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof CodeGraphStats
|
|
40
|
+
*/
|
|
41
|
+
types?: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof CodeGraphStats
|
|
46
|
+
*/
|
|
47
|
+
processingTimeMs?: number;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the CodeGraphStats interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfCodeGraphStats(value: object): value is CodeGraphStats;
|
|
53
|
+
export declare function CodeGraphStatsFromJSON(json: any): CodeGraphStats;
|
|
54
|
+
export declare function CodeGraphStatsFromJSONTyped(json: any, ignoreDiscriminator: boolean): CodeGraphStats;
|
|
55
|
+
export declare function CodeGraphStatsToJSON(value?: CodeGraphStats | null): any;
|
|
@@ -0,0 +1,46 @@
|
|
|
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
|
+
* Check if a given object implements the CodeGraphStats interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfCodeGraphStats(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function CodeGraphStatsFromJSON(json) {
|
|
21
|
+
return CodeGraphStatsFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function CodeGraphStatsFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'filesProcessed': json['filesProcessed'] == null ? undefined : json['filesProcessed'],
|
|
29
|
+
'classes': json['classes'] == null ? undefined : json['classes'],
|
|
30
|
+
'functions': json['functions'] == null ? undefined : json['functions'],
|
|
31
|
+
'types': json['types'] == null ? undefined : json['types'],
|
|
32
|
+
'processingTimeMs': json['processingTimeMs'] == null ? undefined : json['processingTimeMs'],
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
export function CodeGraphStatsToJSON(value) {
|
|
36
|
+
if (value == null) {
|
|
37
|
+
return value;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'filesProcessed': value['filesProcessed'],
|
|
41
|
+
'classes': value['classes'],
|
|
42
|
+
'functions': value['functions'],
|
|
43
|
+
'types': value['types'],
|
|
44
|
+
'processingTimeMs': value['processingTimeMs'],
|
|
45
|
+
};
|
|
46
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Supermodel
|
|
3
|
+
* Code Graphing & Analysis API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.3.7
|
|
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
|
|
15
|
+
* @interface DomainClassAssignment
|
|
16
|
+
*/
|
|
17
|
+
export interface DomainClassAssignment {
|
|
18
|
+
/**
|
|
19
|
+
* Class identifier
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof DomainClassAssignment
|
|
22
|
+
*/
|
|
23
|
+
classId: string;
|
|
24
|
+
/**
|
|
25
|
+
* Assigned domain
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof DomainClassAssignment
|
|
28
|
+
*/
|
|
29
|
+
domainName: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the DomainClassAssignment interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfDomainClassAssignment(value: object): value is DomainClassAssignment;
|
|
35
|
+
export declare function DomainClassAssignmentFromJSON(json: any): DomainClassAssignment;
|
|
36
|
+
export declare function DomainClassAssignmentFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainClassAssignment;
|
|
37
|
+
export declare function DomainClassAssignmentToJSON(value?: DomainClassAssignment | null): any;
|
|
@@ -0,0 +1,44 @@
|
|
|
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
|
+
* Check if a given object implements the DomainClassAssignment interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfDomainClassAssignment(value) {
|
|
18
|
+
if (!('classId' in value) || value['classId'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('domainName' in value) || value['domainName'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
export function DomainClassAssignmentFromJSON(json) {
|
|
25
|
+
return DomainClassAssignmentFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function DomainClassAssignmentFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if (json == null) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'classId': json['classId'],
|
|
33
|
+
'domainName': json['domainName'],
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function DomainClassAssignmentToJSON(value) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'classId': value['classId'],
|
|
42
|
+
'domainName': value['domainName'],
|
|
43
|
+
};
|
|
44
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Supermodel
|
|
3
|
+
* Code Graphing & Analysis API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.3.7
|
|
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
|
+
import type { UnassignedFunction } from './UnassignedFunction';
|
|
13
|
+
import type { DomainClassAssignment } from './DomainClassAssignment';
|
|
14
|
+
import type { DomainFileAssignment } from './DomainFileAssignment';
|
|
15
|
+
import type { DomainFunctionAssignment } from './DomainFunctionAssignment';
|
|
16
|
+
import type { FunctionDescription } from './FunctionDescription';
|
|
17
|
+
import type { DomainRelationship } from './DomainRelationship';
|
|
18
|
+
import type { DomainSummary } from './DomainSummary';
|
|
19
|
+
import type { ClassificationStats } from './ClassificationStats';
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @export
|
|
23
|
+
* @interface DomainClassificationResponse
|
|
24
|
+
*/
|
|
25
|
+
export interface DomainClassificationResponse {
|
|
26
|
+
/**
|
|
27
|
+
* Unique identifier for this classification run
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof DomainClassificationResponse
|
|
30
|
+
*/
|
|
31
|
+
runId: string;
|
|
32
|
+
/**
|
|
33
|
+
* Array of primary domain entities
|
|
34
|
+
* @type {Array<DomainSummary>}
|
|
35
|
+
* @memberof DomainClassificationResponse
|
|
36
|
+
*/
|
|
37
|
+
domains: Array<DomainSummary>;
|
|
38
|
+
/**
|
|
39
|
+
* High-level relationships between domains/subdomains
|
|
40
|
+
* @type {Array<DomainRelationship>}
|
|
41
|
+
* @memberof DomainClassificationResponse
|
|
42
|
+
*/
|
|
43
|
+
relationships: Array<DomainRelationship>;
|
|
44
|
+
/**
|
|
45
|
+
* Mapping of files to domains
|
|
46
|
+
* @type {Array<DomainFileAssignment>}
|
|
47
|
+
* @memberof DomainClassificationResponse
|
|
48
|
+
*/
|
|
49
|
+
fileAssignments: Array<DomainFileAssignment>;
|
|
50
|
+
/**
|
|
51
|
+
* Mapping of functions to subdomains
|
|
52
|
+
* @type {Array<DomainFunctionAssignment>}
|
|
53
|
+
* @memberof DomainClassificationResponse
|
|
54
|
+
*/
|
|
55
|
+
functionAssignments: Array<DomainFunctionAssignment>;
|
|
56
|
+
/**
|
|
57
|
+
* Functions that could not be assigned to a domain/subdomain
|
|
58
|
+
* @type {Array<UnassignedFunction>}
|
|
59
|
+
* @memberof DomainClassificationResponse
|
|
60
|
+
*/
|
|
61
|
+
unassignedFunctions: Array<UnassignedFunction>;
|
|
62
|
+
/**
|
|
63
|
+
* Mapping of classes to domains
|
|
64
|
+
* @type {Array<DomainClassAssignment>}
|
|
65
|
+
* @memberof DomainClassificationResponse
|
|
66
|
+
*/
|
|
67
|
+
classAssignments: Array<DomainClassAssignment>;
|
|
68
|
+
/**
|
|
69
|
+
* Optional enriched descriptions per function
|
|
70
|
+
* @type {Array<FunctionDescription>}
|
|
71
|
+
* @memberof DomainClassificationResponse
|
|
72
|
+
*/
|
|
73
|
+
functionDescriptions?: Array<FunctionDescription>;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @type {ClassificationStats}
|
|
77
|
+
* @memberof DomainClassificationResponse
|
|
78
|
+
*/
|
|
79
|
+
stats: ClassificationStats;
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Check if a given object implements the DomainClassificationResponse interface.
|
|
83
|
+
*/
|
|
84
|
+
export declare function instanceOfDomainClassificationResponse(value: object): value is DomainClassificationResponse;
|
|
85
|
+
export declare function DomainClassificationResponseFromJSON(json: any): DomainClassificationResponse;
|
|
86
|
+
export declare function DomainClassificationResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainClassificationResponse;
|
|
87
|
+
export declare function DomainClassificationResponseToJSON(value?: DomainClassificationResponse | null): any;
|
|
@@ -0,0 +1,78 @@
|
|
|
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
|
+
import { UnassignedFunctionFromJSON, UnassignedFunctionToJSON, } from './UnassignedFunction';
|
|
15
|
+
import { DomainClassAssignmentFromJSON, DomainClassAssignmentToJSON, } from './DomainClassAssignment';
|
|
16
|
+
import { DomainFileAssignmentFromJSON, DomainFileAssignmentToJSON, } from './DomainFileAssignment';
|
|
17
|
+
import { DomainFunctionAssignmentFromJSON, DomainFunctionAssignmentToJSON, } from './DomainFunctionAssignment';
|
|
18
|
+
import { FunctionDescriptionFromJSON, FunctionDescriptionToJSON, } from './FunctionDescription';
|
|
19
|
+
import { DomainRelationshipFromJSON, DomainRelationshipToJSON, } from './DomainRelationship';
|
|
20
|
+
import { DomainSummaryFromJSON, DomainSummaryToJSON, } from './DomainSummary';
|
|
21
|
+
import { ClassificationStatsFromJSON, ClassificationStatsToJSON, } from './ClassificationStats';
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the DomainClassificationResponse interface.
|
|
24
|
+
*/
|
|
25
|
+
export function instanceOfDomainClassificationResponse(value) {
|
|
26
|
+
if (!('runId' in value) || value['runId'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('domains' in value) || value['domains'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('relationships' in value) || value['relationships'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('fileAssignments' in value) || value['fileAssignments'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('functionAssignments' in value) || value['functionAssignments'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('unassignedFunctions' in value) || value['unassignedFunctions'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('classAssignments' in value) || value['classAssignments'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('stats' in value) || value['stats'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
export function DomainClassificationResponseFromJSON(json) {
|
|
45
|
+
return DomainClassificationResponseFromJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
export function DomainClassificationResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
48
|
+
if (json == null) {
|
|
49
|
+
return json;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'runId': json['runId'],
|
|
53
|
+
'domains': (json['domains'].map(DomainSummaryFromJSON)),
|
|
54
|
+
'relationships': (json['relationships'].map(DomainRelationshipFromJSON)),
|
|
55
|
+
'fileAssignments': (json['fileAssignments'].map(DomainFileAssignmentFromJSON)),
|
|
56
|
+
'functionAssignments': (json['functionAssignments'].map(DomainFunctionAssignmentFromJSON)),
|
|
57
|
+
'unassignedFunctions': (json['unassignedFunctions'].map(UnassignedFunctionFromJSON)),
|
|
58
|
+
'classAssignments': (json['classAssignments'].map(DomainClassAssignmentFromJSON)),
|
|
59
|
+
'functionDescriptions': json['functionDescriptions'] == null ? undefined : (json['functionDescriptions'].map(FunctionDescriptionFromJSON)),
|
|
60
|
+
'stats': ClassificationStatsFromJSON(json['stats']),
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
export function DomainClassificationResponseToJSON(value) {
|
|
64
|
+
if (value == null) {
|
|
65
|
+
return value;
|
|
66
|
+
}
|
|
67
|
+
return {
|
|
68
|
+
'runId': value['runId'],
|
|
69
|
+
'domains': (value['domains'].map(DomainSummaryToJSON)),
|
|
70
|
+
'relationships': (value['relationships'].map(DomainRelationshipToJSON)),
|
|
71
|
+
'fileAssignments': (value['fileAssignments'].map(DomainFileAssignmentToJSON)),
|
|
72
|
+
'functionAssignments': (value['functionAssignments'].map(DomainFunctionAssignmentToJSON)),
|
|
73
|
+
'unassignedFunctions': (value['unassignedFunctions'].map(UnassignedFunctionToJSON)),
|
|
74
|
+
'classAssignments': (value['classAssignments'].map(DomainClassAssignmentToJSON)),
|
|
75
|
+
'functionDescriptions': value['functionDescriptions'] == null ? undefined : (value['functionDescriptions'].map(FunctionDescriptionToJSON)),
|
|
76
|
+
'stats': ClassificationStatsToJSON(value['stats']),
|
|
77
|
+
};
|
|
78
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Supermodel
|
|
3
|
+
* Code Graphing & Analysis API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.3.7
|
|
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
|
|
15
|
+
* @interface DomainFileAssignment
|
|
16
|
+
*/
|
|
17
|
+
export interface DomainFileAssignment {
|
|
18
|
+
/**
|
|
19
|
+
* Repository-relative file path
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof DomainFileAssignment
|
|
22
|
+
*/
|
|
23
|
+
filePath: string;
|
|
24
|
+
/**
|
|
25
|
+
* Assigned domain
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof DomainFileAssignment
|
|
28
|
+
*/
|
|
29
|
+
domainName: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the DomainFileAssignment interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfDomainFileAssignment(value: object): value is DomainFileAssignment;
|
|
35
|
+
export declare function DomainFileAssignmentFromJSON(json: any): DomainFileAssignment;
|
|
36
|
+
export declare function DomainFileAssignmentFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainFileAssignment;
|
|
37
|
+
export declare function DomainFileAssignmentToJSON(value?: DomainFileAssignment | null): any;
|
|
@@ -0,0 +1,44 @@
|
|
|
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
|
+
* Check if a given object implements the DomainFileAssignment interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfDomainFileAssignment(value) {
|
|
18
|
+
if (!('filePath' in value) || value['filePath'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('domainName' in value) || value['domainName'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
export function DomainFileAssignmentFromJSON(json) {
|
|
25
|
+
return DomainFileAssignmentFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function DomainFileAssignmentFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if (json == null) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'filePath': json['filePath'],
|
|
33
|
+
'domainName': json['domainName'],
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function DomainFileAssignmentToJSON(value) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'filePath': value['filePath'],
|
|
42
|
+
'domainName': value['domainName'],
|
|
43
|
+
};
|
|
44
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Supermodel
|
|
3
|
+
* Code Graphing & Analysis API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.3.7
|
|
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
|
|
15
|
+
* @interface DomainFunctionAssignment
|
|
16
|
+
*/
|
|
17
|
+
export interface DomainFunctionAssignment {
|
|
18
|
+
/**
|
|
19
|
+
* Stable function identifier (matching codegraph/function models)
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof DomainFunctionAssignment
|
|
22
|
+
*/
|
|
23
|
+
functionId: string;
|
|
24
|
+
/**
|
|
25
|
+
* Subdomain assigned to the function
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof DomainFunctionAssignment
|
|
28
|
+
*/
|
|
29
|
+
subdomainName: string;
|
|
30
|
+
/**
|
|
31
|
+
* Optional parent domain containing the subdomain
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof DomainFunctionAssignment
|
|
34
|
+
*/
|
|
35
|
+
parentDomain?: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the DomainFunctionAssignment interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfDomainFunctionAssignment(value: object): value is DomainFunctionAssignment;
|
|
41
|
+
export declare function DomainFunctionAssignmentFromJSON(json: any): DomainFunctionAssignment;
|
|
42
|
+
export declare function DomainFunctionAssignmentFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainFunctionAssignment;
|
|
43
|
+
export declare function DomainFunctionAssignmentToJSON(value?: DomainFunctionAssignment | null): any;
|