@supermodeltools/sdk 0.6.3 → 0.7.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.
Files changed (122) hide show
  1. package/README.md +278 -26
  2. package/dist/apis/DefaultApi.d.ts +1 -1
  3. package/dist/apis/DefaultApi.js +1 -1
  4. package/dist/esm/apis/DefaultApi.d.ts +1 -1
  5. package/dist/esm/apis/DefaultApi.js +1 -1
  6. package/dist/esm/models/ClassificationStats.d.ts +49 -3
  7. package/dist/esm/models/ClassificationStats.js +32 -4
  8. package/dist/esm/models/CodeGraphEnvelope.d.ts +8 -1
  9. package/dist/esm/models/CodeGraphEnvelope.js +4 -1
  10. package/dist/esm/models/CodeGraphEnvelopeAsync.d.ts +1 -1
  11. package/dist/esm/models/CodeGraphEnvelopeAsync.js +1 -1
  12. package/dist/esm/models/CodeGraphEnvelopeGraph.d.ts +1 -1
  13. package/dist/esm/models/CodeGraphEnvelopeGraph.js +1 -1
  14. package/dist/esm/models/CodeGraphEnvelopeMetadata.d.ts +49 -0
  15. package/dist/esm/models/CodeGraphEnvelopeMetadata.js +44 -0
  16. package/dist/esm/models/CodeGraphNode.d.ts +1 -1
  17. package/dist/esm/models/CodeGraphNode.js +1 -1
  18. package/dist/esm/models/CodeGraphRelationship.d.ts +1 -1
  19. package/dist/esm/models/CodeGraphRelationship.js +1 -1
  20. package/dist/esm/models/CodeGraphStats.d.ts +29 -1
  21. package/dist/esm/models/CodeGraphStats.js +9 -1
  22. package/dist/esm/models/DomainClassAssignment.d.ts +1 -1
  23. package/dist/esm/models/DomainClassAssignment.js +1 -1
  24. package/dist/esm/models/DomainClassificationResponse.d.ts +15 -1
  25. package/dist/esm/models/DomainClassificationResponse.js +11 -1
  26. package/dist/esm/models/DomainClassificationResponseAsync.d.ts +1 -1
  27. package/dist/esm/models/DomainClassificationResponseAsync.js +1 -1
  28. package/dist/esm/models/DomainClassificationResponseGraph.d.ts +39 -0
  29. package/dist/esm/models/DomainClassificationResponseGraph.js +46 -0
  30. package/dist/esm/models/DomainFileAssignment.d.ts +1 -1
  31. package/dist/esm/models/DomainFileAssignment.js +1 -1
  32. package/dist/esm/models/DomainFunctionAssignment.d.ts +1 -1
  33. package/dist/esm/models/DomainFunctionAssignment.js +1 -1
  34. package/dist/esm/models/DomainRelationship.d.ts +1 -1
  35. package/dist/esm/models/DomainRelationship.js +1 -1
  36. package/dist/esm/models/DomainSummary.d.ts +1 -1
  37. package/dist/esm/models/DomainSummary.js +1 -1
  38. package/dist/esm/models/ErrorDetailsInner.d.ts +1 -1
  39. package/dist/esm/models/ErrorDetailsInner.js +1 -1
  40. package/dist/esm/models/FunctionDescription.d.ts +1 -1
  41. package/dist/esm/models/FunctionDescription.js +1 -1
  42. package/dist/esm/models/JobStatus.d.ts +1 -1
  43. package/dist/esm/models/JobStatus.js +1 -1
  44. package/dist/esm/models/ModelError.d.ts +1 -1
  45. package/dist/esm/models/ModelError.js +1 -1
  46. package/dist/esm/models/SubdomainSummary.d.ts +19 -1
  47. package/dist/esm/models/SubdomainSummary.js +13 -1
  48. package/dist/esm/models/SupermodelArtifact.d.ts +1 -1
  49. package/dist/esm/models/SupermodelArtifact.js +1 -1
  50. package/dist/esm/models/SupermodelIR.d.ts +22 -1
  51. package/dist/esm/models/SupermodelIR.js +16 -1
  52. package/dist/esm/models/SupermodelIRAsync.d.ts +1 -1
  53. package/dist/esm/models/SupermodelIRAsync.js +1 -1
  54. package/dist/esm/models/SupermodelIRGraph.d.ts +1 -1
  55. package/dist/esm/models/SupermodelIRGraph.js +1 -1
  56. package/dist/esm/models/SupermodelIRStats.d.ts +53 -0
  57. package/dist/esm/models/SupermodelIRStats.js +44 -0
  58. package/dist/esm/models/UnassignedFunction.d.ts +1 -1
  59. package/dist/esm/models/UnassignedFunction.js +1 -1
  60. package/dist/esm/models/index.d.ts +3 -0
  61. package/dist/esm/models/index.js +3 -0
  62. package/dist/esm/runtime.d.ts +1 -1
  63. package/dist/esm/runtime.js +1 -1
  64. package/dist/models/ClassificationStats.d.ts +49 -3
  65. package/dist/models/ClassificationStats.js +32 -4
  66. package/dist/models/CodeGraphEnvelope.d.ts +8 -1
  67. package/dist/models/CodeGraphEnvelope.js +4 -1
  68. package/dist/models/CodeGraphEnvelopeAsync.d.ts +1 -1
  69. package/dist/models/CodeGraphEnvelopeAsync.js +1 -1
  70. package/dist/models/CodeGraphEnvelopeGraph.d.ts +1 -1
  71. package/dist/models/CodeGraphEnvelopeGraph.js +1 -1
  72. package/dist/models/CodeGraphEnvelopeMetadata.d.ts +49 -0
  73. package/dist/models/CodeGraphEnvelopeMetadata.js +50 -0
  74. package/dist/models/CodeGraphNode.d.ts +1 -1
  75. package/dist/models/CodeGraphNode.js +1 -1
  76. package/dist/models/CodeGraphRelationship.d.ts +1 -1
  77. package/dist/models/CodeGraphRelationship.js +1 -1
  78. package/dist/models/CodeGraphStats.d.ts +29 -1
  79. package/dist/models/CodeGraphStats.js +9 -1
  80. package/dist/models/DomainClassAssignment.d.ts +1 -1
  81. package/dist/models/DomainClassAssignment.js +1 -1
  82. package/dist/models/DomainClassificationResponse.d.ts +15 -1
  83. package/dist/models/DomainClassificationResponse.js +11 -1
  84. package/dist/models/DomainClassificationResponseAsync.d.ts +1 -1
  85. package/dist/models/DomainClassificationResponseAsync.js +1 -1
  86. package/dist/models/DomainClassificationResponseGraph.d.ts +39 -0
  87. package/dist/models/DomainClassificationResponseGraph.js +52 -0
  88. package/dist/models/DomainFileAssignment.d.ts +1 -1
  89. package/dist/models/DomainFileAssignment.js +1 -1
  90. package/dist/models/DomainFunctionAssignment.d.ts +1 -1
  91. package/dist/models/DomainFunctionAssignment.js +1 -1
  92. package/dist/models/DomainRelationship.d.ts +1 -1
  93. package/dist/models/DomainRelationship.js +1 -1
  94. package/dist/models/DomainSummary.d.ts +1 -1
  95. package/dist/models/DomainSummary.js +1 -1
  96. package/dist/models/ErrorDetailsInner.d.ts +1 -1
  97. package/dist/models/ErrorDetailsInner.js +1 -1
  98. package/dist/models/FunctionDescription.d.ts +1 -1
  99. package/dist/models/FunctionDescription.js +1 -1
  100. package/dist/models/JobStatus.d.ts +1 -1
  101. package/dist/models/JobStatus.js +1 -1
  102. package/dist/models/ModelError.d.ts +1 -1
  103. package/dist/models/ModelError.js +1 -1
  104. package/dist/models/SubdomainSummary.d.ts +19 -1
  105. package/dist/models/SubdomainSummary.js +13 -1
  106. package/dist/models/SupermodelArtifact.d.ts +1 -1
  107. package/dist/models/SupermodelArtifact.js +1 -1
  108. package/dist/models/SupermodelIR.d.ts +22 -1
  109. package/dist/models/SupermodelIR.js +16 -1
  110. package/dist/models/SupermodelIRAsync.d.ts +1 -1
  111. package/dist/models/SupermodelIRAsync.js +1 -1
  112. package/dist/models/SupermodelIRGraph.d.ts +1 -1
  113. package/dist/models/SupermodelIRGraph.js +1 -1
  114. package/dist/models/SupermodelIRStats.d.ts +53 -0
  115. package/dist/models/SupermodelIRStats.js +50 -0
  116. package/dist/models/UnassignedFunction.d.ts +1 -1
  117. package/dist/models/UnassignedFunction.js +1 -1
  118. package/dist/models/index.d.ts +3 -0
  119. package/dist/models/index.js +3 -0
  120. package/dist/runtime.d.ts +1 -1
  121. package/dist/runtime.js +1 -1
  122. package/package.json +1 -1
@@ -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.7.0
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 CodeGraphEnvelopeMetadata interface.
16
+ */
17
+ export function instanceOfCodeGraphEnvelopeMetadata(value) {
18
+ return true;
19
+ }
20
+ export function CodeGraphEnvelopeMetadataFromJSON(json) {
21
+ return CodeGraphEnvelopeMetadataFromJSONTyped(json, false);
22
+ }
23
+ export function CodeGraphEnvelopeMetadataFromJSONTyped(json, ignoreDiscriminator) {
24
+ if (json == null) {
25
+ return json;
26
+ }
27
+ return {
28
+ 'analysisStartTime': json['analysisStartTime'] == null ? undefined : (new Date(json['analysisStartTime'])),
29
+ 'analysisEndTime': json['analysisEndTime'] == null ? undefined : (new Date(json['analysisEndTime'])),
30
+ 'fileCount': json['fileCount'] == null ? undefined : json['fileCount'],
31
+ 'languages': json['languages'] == null ? undefined : json['languages'],
32
+ };
33
+ }
34
+ export function CodeGraphEnvelopeMetadataToJSON(value) {
35
+ if (value == null) {
36
+ return value;
37
+ }
38
+ return {
39
+ 'analysisStartTime': value['analysisStartTime'] == null ? undefined : ((value['analysisStartTime']).toISOString()),
40
+ 'analysisEndTime': value['analysisEndTime'] == null ? undefined : ((value['analysisEndTime']).toISOString()),
41
+ 'fileCount': value['fileCount'],
42
+ 'languages': value['languages'],
43
+ };
44
+ }
@@ -2,7 +2,7 @@
2
2
  * Supermodel
3
3
  * Code Graphing & Analysis API
4
4
  *
5
- * The version of the OpenAPI document: 0.6.3
5
+ * The version of the OpenAPI document: 0.7.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Supermodel
5
5
  * Code Graphing & Analysis API
6
6
  *
7
- * The version of the OpenAPI document: 0.6.3
7
+ * The version of the OpenAPI document: 0.7.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Supermodel
3
3
  * Code Graphing & Analysis API
4
4
  *
5
- * The version of the OpenAPI document: 0.6.3
5
+ * The version of the OpenAPI document: 0.7.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Supermodel
5
5
  * Code Graphing & Analysis API
6
6
  *
7
- * The version of the OpenAPI document: 0.6.3
7
+ * The version of the OpenAPI document: 0.7.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Supermodel
3
3
  * Code Graphing & Analysis API
4
4
  *
5
- * The version of the OpenAPI document: 0.6.3
5
+ * The version of the OpenAPI document: 0.7.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -15,6 +15,34 @@
15
15
  * @interface CodeGraphStats
16
16
  */
17
17
  export interface CodeGraphStats {
18
+ /**
19
+ * Total number of nodes in the graph
20
+ * @type {number}
21
+ * @memberof CodeGraphStats
22
+ */
23
+ nodeCount?: number;
24
+ /**
25
+ * Total number of relationships in the graph
26
+ * @type {number}
27
+ * @memberof CodeGraphStats
28
+ */
29
+ relationshipCount?: number;
30
+ /**
31
+ * Count of nodes by type
32
+ * @type {{ [key: string]: number; }}
33
+ * @memberof CodeGraphStats
34
+ */
35
+ nodeTypes?: {
36
+ [key: string]: number;
37
+ };
38
+ /**
39
+ * Count of relationships by type
40
+ * @type {{ [key: string]: number; }}
41
+ * @memberof CodeGraphStats
42
+ */
43
+ relationshipTypes?: {
44
+ [key: string]: number;
45
+ };
18
46
  /**
19
47
  *
20
48
  * @type {number}
@@ -4,7 +4,7 @@
4
4
  * Supermodel
5
5
  * Code Graphing & Analysis API
6
6
  *
7
- * The version of the OpenAPI document: 0.6.3
7
+ * The version of the OpenAPI document: 0.7.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -25,6 +25,10 @@ export function CodeGraphStatsFromJSONTyped(json, ignoreDiscriminator) {
25
25
  return json;
26
26
  }
27
27
  return {
28
+ 'nodeCount': json['nodeCount'] == null ? undefined : json['nodeCount'],
29
+ 'relationshipCount': json['relationshipCount'] == null ? undefined : json['relationshipCount'],
30
+ 'nodeTypes': json['nodeTypes'] == null ? undefined : json['nodeTypes'],
31
+ 'relationshipTypes': json['relationshipTypes'] == null ? undefined : json['relationshipTypes'],
28
32
  'filesProcessed': json['filesProcessed'] == null ? undefined : json['filesProcessed'],
29
33
  'classes': json['classes'] == null ? undefined : json['classes'],
30
34
  'functions': json['functions'] == null ? undefined : json['functions'],
@@ -37,6 +41,10 @@ export function CodeGraphStatsToJSON(value) {
37
41
  return value;
38
42
  }
39
43
  return {
44
+ 'nodeCount': value['nodeCount'],
45
+ 'relationshipCount': value['relationshipCount'],
46
+ 'nodeTypes': value['nodeTypes'],
47
+ 'relationshipTypes': value['relationshipTypes'],
40
48
  'filesProcessed': value['filesProcessed'],
41
49
  'classes': value['classes'],
42
50
  'functions': value['functions'],
@@ -2,7 +2,7 @@
2
2
  * Supermodel
3
3
  * Code Graphing & Analysis API
4
4
  *
5
- * The version of the OpenAPI document: 0.6.3
5
+ * The version of the OpenAPI document: 0.7.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Supermodel
5
5
  * Code Graphing & Analysis API
6
6
  *
7
- * The version of the OpenAPI document: 0.6.3
7
+ * The version of the OpenAPI document: 0.7.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Supermodel
3
3
  * Code Graphing & Analysis API
4
4
  *
5
- * The version of the OpenAPI document: 0.6.3
5
+ * The version of the OpenAPI document: 0.7.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -17,6 +17,8 @@ import type { FunctionDescription } from './FunctionDescription';
17
17
  import type { DomainRelationship } from './DomainRelationship';
18
18
  import type { DomainSummary } from './DomainSummary';
19
19
  import type { ClassificationStats } from './ClassificationStats';
20
+ import type { DomainClassificationResponseGraph } from './DomainClassificationResponseGraph';
21
+ import type { CodeGraphEnvelopeMetadata } from './CodeGraphEnvelopeMetadata';
20
22
  /**
21
23
  *
22
24
  * @export
@@ -29,6 +31,18 @@ export interface DomainClassificationResponse {
29
31
  * @memberof DomainClassificationResponse
30
32
  */
31
33
  runId: string;
34
+ /**
35
+ *
36
+ * @type {DomainClassificationResponseGraph}
37
+ * @memberof DomainClassificationResponse
38
+ */
39
+ graph: DomainClassificationResponseGraph;
40
+ /**
41
+ *
42
+ * @type {CodeGraphEnvelopeMetadata}
43
+ * @memberof DomainClassificationResponse
44
+ */
45
+ metadata: CodeGraphEnvelopeMetadata;
32
46
  /**
33
47
  * Array of primary domain entities
34
48
  * @type {Array<DomainSummary>}
@@ -4,7 +4,7 @@
4
4
  * Supermodel
5
5
  * Code Graphing & Analysis API
6
6
  *
7
- * The version of the OpenAPI document: 0.6.3
7
+ * The version of the OpenAPI document: 0.7.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -19,12 +19,18 @@ import { FunctionDescriptionFromJSON, FunctionDescriptionToJSON, } from './Funct
19
19
  import { DomainRelationshipFromJSON, DomainRelationshipToJSON, } from './DomainRelationship';
20
20
  import { DomainSummaryFromJSON, DomainSummaryToJSON, } from './DomainSummary';
21
21
  import { ClassificationStatsFromJSON, ClassificationStatsToJSON, } from './ClassificationStats';
22
+ import { DomainClassificationResponseGraphFromJSON, DomainClassificationResponseGraphToJSON, } from './DomainClassificationResponseGraph';
23
+ import { CodeGraphEnvelopeMetadataFromJSON, CodeGraphEnvelopeMetadataToJSON, } from './CodeGraphEnvelopeMetadata';
22
24
  /**
23
25
  * Check if a given object implements the DomainClassificationResponse interface.
24
26
  */
25
27
  export function instanceOfDomainClassificationResponse(value) {
26
28
  if (!('runId' in value) || value['runId'] === undefined)
27
29
  return false;
30
+ if (!('graph' in value) || value['graph'] === undefined)
31
+ return false;
32
+ if (!('metadata' in value) || value['metadata'] === undefined)
33
+ return false;
28
34
  if (!('domains' in value) || value['domains'] === undefined)
29
35
  return false;
30
36
  if (!('relationships' in value) || value['relationships'] === undefined)
@@ -50,6 +56,8 @@ export function DomainClassificationResponseFromJSONTyped(json, ignoreDiscrimina
50
56
  }
51
57
  return {
52
58
  'runId': json['runId'],
59
+ 'graph': DomainClassificationResponseGraphFromJSON(json['graph']),
60
+ 'metadata': CodeGraphEnvelopeMetadataFromJSON(json['metadata']),
53
61
  'domains': (json['domains'].map(DomainSummaryFromJSON)),
54
62
  'relationships': (json['relationships'].map(DomainRelationshipFromJSON)),
55
63
  'fileAssignments': (json['fileAssignments'].map(DomainFileAssignmentFromJSON)),
@@ -66,6 +74,8 @@ export function DomainClassificationResponseToJSON(value) {
66
74
  }
67
75
  return {
68
76
  'runId': value['runId'],
77
+ 'graph': DomainClassificationResponseGraphToJSON(value['graph']),
78
+ 'metadata': CodeGraphEnvelopeMetadataToJSON(value['metadata']),
69
79
  'domains': (value['domains'].map(DomainSummaryToJSON)),
70
80
  'relationships': (value['relationships'].map(DomainRelationshipToJSON)),
71
81
  'fileAssignments': (value['fileAssignments'].map(DomainFileAssignmentToJSON)),
@@ -2,7 +2,7 @@
2
2
  * Supermodel
3
3
  * Code Graphing & Analysis API
4
4
  *
5
- * The version of the OpenAPI document: 0.6.3
5
+ * The version of the OpenAPI document: 0.7.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Supermodel
5
5
  * Code Graphing & Analysis API
6
6
  *
7
- * The version of the OpenAPI document: 0.6.3
7
+ * The version of the OpenAPI document: 0.7.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -0,0 +1,39 @@
1
+ /**
2
+ * Supermodel
3
+ * Code Graphing & Analysis API
4
+ *
5
+ * The version of the OpenAPI document: 0.7.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
+ import type { CodeGraphNode } from './CodeGraphNode';
13
+ import type { CodeGraphRelationship } from './CodeGraphRelationship';
14
+ /**
15
+ * Graph representation with Domain and Subdomain nodes
16
+ * @export
17
+ * @interface DomainClassificationResponseGraph
18
+ */
19
+ export interface DomainClassificationResponseGraph {
20
+ /**
21
+ *
22
+ * @type {Array<CodeGraphNode>}
23
+ * @memberof DomainClassificationResponseGraph
24
+ */
25
+ nodes: Array<CodeGraphNode>;
26
+ /**
27
+ *
28
+ * @type {Array<CodeGraphRelationship>}
29
+ * @memberof DomainClassificationResponseGraph
30
+ */
31
+ relationships: Array<CodeGraphRelationship>;
32
+ }
33
+ /**
34
+ * Check if a given object implements the DomainClassificationResponseGraph interface.
35
+ */
36
+ export declare function instanceOfDomainClassificationResponseGraph(value: object): value is DomainClassificationResponseGraph;
37
+ export declare function DomainClassificationResponseGraphFromJSON(json: any): DomainClassificationResponseGraph;
38
+ export declare function DomainClassificationResponseGraphFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainClassificationResponseGraph;
39
+ export declare function DomainClassificationResponseGraphToJSON(value?: DomainClassificationResponseGraph | 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.7.0
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 { CodeGraphNodeFromJSON, CodeGraphNodeToJSON, } from './CodeGraphNode';
15
+ import { CodeGraphRelationshipFromJSON, CodeGraphRelationshipToJSON, } from './CodeGraphRelationship';
16
+ /**
17
+ * Check if a given object implements the DomainClassificationResponseGraph interface.
18
+ */
19
+ export function instanceOfDomainClassificationResponseGraph(value) {
20
+ if (!('nodes' in value) || value['nodes'] === undefined)
21
+ return false;
22
+ if (!('relationships' in value) || value['relationships'] === undefined)
23
+ return false;
24
+ return true;
25
+ }
26
+ export function DomainClassificationResponseGraphFromJSON(json) {
27
+ return DomainClassificationResponseGraphFromJSONTyped(json, false);
28
+ }
29
+ export function DomainClassificationResponseGraphFromJSONTyped(json, ignoreDiscriminator) {
30
+ if (json == null) {
31
+ return json;
32
+ }
33
+ return {
34
+ 'nodes': (json['nodes'].map(CodeGraphNodeFromJSON)),
35
+ 'relationships': (json['relationships'].map(CodeGraphRelationshipFromJSON)),
36
+ };
37
+ }
38
+ export function DomainClassificationResponseGraphToJSON(value) {
39
+ if (value == null) {
40
+ return value;
41
+ }
42
+ return {
43
+ 'nodes': (value['nodes'].map(CodeGraphNodeToJSON)),
44
+ 'relationships': (value['relationships'].map(CodeGraphRelationshipToJSON)),
45
+ };
46
+ }
@@ -2,7 +2,7 @@
2
2
  * Supermodel
3
3
  * Code Graphing & Analysis API
4
4
  *
5
- * The version of the OpenAPI document: 0.6.3
5
+ * The version of the OpenAPI document: 0.7.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Supermodel
5
5
  * Code Graphing & Analysis API
6
6
  *
7
- * The version of the OpenAPI document: 0.6.3
7
+ * The version of the OpenAPI document: 0.7.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Supermodel
3
3
  * Code Graphing & Analysis API
4
4
  *
5
- * The version of the OpenAPI document: 0.6.3
5
+ * The version of the OpenAPI document: 0.7.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Supermodel
5
5
  * Code Graphing & Analysis API
6
6
  *
7
- * The version of the OpenAPI document: 0.6.3
7
+ * The version of the OpenAPI document: 0.7.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Supermodel
3
3
  * Code Graphing & Analysis API
4
4
  *
5
- * The version of the OpenAPI document: 0.6.3
5
+ * The version of the OpenAPI document: 0.7.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Supermodel
5
5
  * Code Graphing & Analysis API
6
6
  *
7
- * The version of the OpenAPI document: 0.6.3
7
+ * The version of the OpenAPI document: 0.7.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Supermodel
3
3
  * Code Graphing & Analysis API
4
4
  *
5
- * The version of the OpenAPI document: 0.6.3
5
+ * The version of the OpenAPI document: 0.7.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Supermodel
5
5
  * Code Graphing & Analysis API
6
6
  *
7
- * The version of the OpenAPI document: 0.6.3
7
+ * The version of the OpenAPI document: 0.7.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Supermodel
3
3
  * Code Graphing & Analysis API
4
4
  *
5
- * The version of the OpenAPI document: 0.6.3
5
+ * The version of the OpenAPI document: 0.7.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Supermodel
5
5
  * Code Graphing & Analysis API
6
6
  *
7
- * The version of the OpenAPI document: 0.6.3
7
+ * The version of the OpenAPI document: 0.7.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Supermodel
3
3
  * Code Graphing & Analysis API
4
4
  *
5
- * The version of the OpenAPI document: 0.6.3
5
+ * The version of the OpenAPI document: 0.7.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Supermodel
5
5
  * Code Graphing & Analysis API
6
6
  *
7
- * The version of the OpenAPI document: 0.6.3
7
+ * The version of the OpenAPI document: 0.7.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Supermodel
3
3
  * Code Graphing & Analysis API
4
4
  *
5
- * The version of the OpenAPI document: 0.6.3
5
+ * The version of the OpenAPI document: 0.7.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Supermodel
5
5
  * Code Graphing & Analysis API
6
6
  *
7
- * The version of the OpenAPI document: 0.6.3
7
+ * The version of the OpenAPI document: 0.7.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Supermodel
3
3
  * Code Graphing & Analysis API
4
4
  *
5
- * The version of the OpenAPI document: 0.6.3
5
+ * The version of the OpenAPI document: 0.7.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Supermodel
5
5
  * Code Graphing & Analysis API
6
6
  *
7
- * The version of the OpenAPI document: 0.6.3
7
+ * The version of the OpenAPI document: 0.7.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Supermodel
3
3
  * Code Graphing & Analysis API
4
4
  *
5
- * The version of the OpenAPI document: 0.6.3
5
+ * The version of the OpenAPI document: 0.7.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -27,6 +27,24 @@ export interface SubdomainSummary {
27
27
  * @memberof SubdomainSummary
28
28
  */
29
29
  descriptionSummary: string;
30
+ /**
31
+ * List of file paths assigned to this subdomain
32
+ * @type {Array<string>}
33
+ * @memberof SubdomainSummary
34
+ */
35
+ files: Array<string>;
36
+ /**
37
+ * List of function IDs assigned to this subdomain
38
+ * @type {Array<string>}
39
+ * @memberof SubdomainSummary
40
+ */
41
+ functions: Array<string>;
42
+ /**
43
+ * List of class IDs assigned to this subdomain
44
+ * @type {Array<string>}
45
+ * @memberof SubdomainSummary
46
+ */
47
+ classes: Array<string>;
30
48
  }
31
49
  /**
32
50
  * Check if a given object implements the SubdomainSummary interface.
@@ -4,7 +4,7 @@
4
4
  * Supermodel
5
5
  * Code Graphing & Analysis API
6
6
  *
7
- * The version of the OpenAPI document: 0.6.3
7
+ * The version of the OpenAPI document: 0.7.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -19,6 +19,12 @@ export function instanceOfSubdomainSummary(value) {
19
19
  return false;
20
20
  if (!('descriptionSummary' in value) || value['descriptionSummary'] === undefined)
21
21
  return false;
22
+ if (!('files' in value) || value['files'] === undefined)
23
+ return false;
24
+ if (!('functions' in value) || value['functions'] === undefined)
25
+ return false;
26
+ if (!('classes' in value) || value['classes'] === undefined)
27
+ return false;
22
28
  return true;
23
29
  }
24
30
  export function SubdomainSummaryFromJSON(json) {
@@ -31,6 +37,9 @@ export function SubdomainSummaryFromJSONTyped(json, ignoreDiscriminator) {
31
37
  return {
32
38
  'name': json['name'],
33
39
  'descriptionSummary': json['descriptionSummary'],
40
+ 'files': json['files'],
41
+ 'functions': json['functions'],
42
+ 'classes': json['classes'],
34
43
  };
35
44
  }
36
45
  export function SubdomainSummaryToJSON(value) {
@@ -40,5 +49,8 @@ export function SubdomainSummaryToJSON(value) {
40
49
  return {
41
50
  'name': value['name'],
42
51
  'descriptionSummary': value['descriptionSummary'],
52
+ 'files': value['files'],
53
+ 'functions': value['functions'],
54
+ 'classes': value['classes'],
43
55
  };
44
56
  }
@@ -2,7 +2,7 @@
2
2
  * Supermodel
3
3
  * Code Graphing & Analysis API
4
4
  *
5
- * The version of the OpenAPI document: 0.6.3
5
+ * The version of the OpenAPI document: 0.7.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Supermodel
5
5
  * Code Graphing & Analysis API
6
6
  *
7
- * The version of the OpenAPI document: 0.6.3
7
+ * The version of the OpenAPI document: 0.7.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).