@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
@@ -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).
@@ -5,7 +5,7 @@
5
5
  * Supermodel
6
6
  * Code Graphing & Analysis API
7
7
  *
8
- * The version of the OpenAPI document: 0.6.3
8
+ * The version of the OpenAPI document: 0.7.0
9
9
  *
10
10
  *
11
11
  * 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).
@@ -5,7 +5,7 @@
5
5
  * Supermodel
6
6
  * Code Graphing & Analysis API
7
7
  *
8
- * The version of the OpenAPI document: 0.6.3
8
+ * The version of the OpenAPI document: 0.7.0
9
9
  *
10
10
  *
11
11
  * 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}
@@ -5,7 +5,7 @@
5
5
  * Supermodel
6
6
  * Code Graphing & Analysis API
7
7
  *
8
- * The version of the OpenAPI document: 0.6.3
8
+ * The version of the OpenAPI document: 0.7.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -31,6 +31,10 @@ function CodeGraphStatsFromJSONTyped(json, ignoreDiscriminator) {
31
31
  return json;
32
32
  }
33
33
  return {
34
+ 'nodeCount': json['nodeCount'] == null ? undefined : json['nodeCount'],
35
+ 'relationshipCount': json['relationshipCount'] == null ? undefined : json['relationshipCount'],
36
+ 'nodeTypes': json['nodeTypes'] == null ? undefined : json['nodeTypes'],
37
+ 'relationshipTypes': json['relationshipTypes'] == null ? undefined : json['relationshipTypes'],
34
38
  'filesProcessed': json['filesProcessed'] == null ? undefined : json['filesProcessed'],
35
39
  'classes': json['classes'] == null ? undefined : json['classes'],
36
40
  'functions': json['functions'] == null ? undefined : json['functions'],
@@ -43,6 +47,10 @@ function CodeGraphStatsToJSON(value) {
43
47
  return value;
44
48
  }
45
49
  return {
50
+ 'nodeCount': value['nodeCount'],
51
+ 'relationshipCount': value['relationshipCount'],
52
+ 'nodeTypes': value['nodeTypes'],
53
+ 'relationshipTypes': value['relationshipTypes'],
46
54
  'filesProcessed': value['filesProcessed'],
47
55
  'classes': value['classes'],
48
56
  '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).
@@ -5,7 +5,7 @@
5
5
  * Supermodel
6
6
  * Code Graphing & Analysis API
7
7
  *
8
- * The version of the OpenAPI document: 0.6.3
8
+ * The version of the OpenAPI document: 0.7.0
9
9
  *
10
10
  *
11
11
  * 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>}
@@ -5,7 +5,7 @@
5
5
  * Supermodel
6
6
  * Code Graphing & Analysis API
7
7
  *
8
- * The version of the OpenAPI document: 0.6.3
8
+ * The version of the OpenAPI document: 0.7.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -25,12 +25,18 @@ const FunctionDescription_1 = require("./FunctionDescription");
25
25
  const DomainRelationship_1 = require("./DomainRelationship");
26
26
  const DomainSummary_1 = require("./DomainSummary");
27
27
  const ClassificationStats_1 = require("./ClassificationStats");
28
+ const DomainClassificationResponseGraph_1 = require("./DomainClassificationResponseGraph");
29
+ const CodeGraphEnvelopeMetadata_1 = require("./CodeGraphEnvelopeMetadata");
28
30
  /**
29
31
  * Check if a given object implements the DomainClassificationResponse interface.
30
32
  */
31
33
  function instanceOfDomainClassificationResponse(value) {
32
34
  if (!('runId' in value) || value['runId'] === undefined)
33
35
  return false;
36
+ if (!('graph' in value) || value['graph'] === undefined)
37
+ return false;
38
+ if (!('metadata' in value) || value['metadata'] === undefined)
39
+ return false;
34
40
  if (!('domains' in value) || value['domains'] === undefined)
35
41
  return false;
36
42
  if (!('relationships' in value) || value['relationships'] === undefined)
@@ -56,6 +62,8 @@ function DomainClassificationResponseFromJSONTyped(json, ignoreDiscriminator) {
56
62
  }
57
63
  return {
58
64
  'runId': json['runId'],
65
+ 'graph': (0, DomainClassificationResponseGraph_1.DomainClassificationResponseGraphFromJSON)(json['graph']),
66
+ 'metadata': (0, CodeGraphEnvelopeMetadata_1.CodeGraphEnvelopeMetadataFromJSON)(json['metadata']),
59
67
  'domains': (json['domains'].map(DomainSummary_1.DomainSummaryFromJSON)),
60
68
  'relationships': (json['relationships'].map(DomainRelationship_1.DomainRelationshipFromJSON)),
61
69
  'fileAssignments': (json['fileAssignments'].map(DomainFileAssignment_1.DomainFileAssignmentFromJSON)),
@@ -72,6 +80,8 @@ function DomainClassificationResponseToJSON(value) {
72
80
  }
73
81
  return {
74
82
  'runId': value['runId'],
83
+ 'graph': (0, DomainClassificationResponseGraph_1.DomainClassificationResponseGraphToJSON)(value['graph']),
84
+ 'metadata': (0, CodeGraphEnvelopeMetadata_1.CodeGraphEnvelopeMetadataToJSON)(value['metadata']),
75
85
  'domains': (value['domains'].map(DomainSummary_1.DomainSummaryToJSON)),
76
86
  'relationships': (value['relationships'].map(DomainRelationship_1.DomainRelationshipToJSON)),
77
87
  'fileAssignments': (value['fileAssignments'].map(DomainFileAssignment_1.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).
@@ -5,7 +5,7 @@
5
5
  * Supermodel
6
6
  * Code Graphing & Analysis API
7
7
  *
8
- * The version of the OpenAPI document: 0.6.3
8
+ * The version of the OpenAPI document: 0.7.0
9
9
  *
10
10
  *
11
11
  * 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,52 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Supermodel
6
+ * Code Graphing & Analysis API
7
+ *
8
+ * The version of the OpenAPI document: 0.7.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfDomainClassificationResponseGraph = instanceOfDomainClassificationResponseGraph;
17
+ exports.DomainClassificationResponseGraphFromJSON = DomainClassificationResponseGraphFromJSON;
18
+ exports.DomainClassificationResponseGraphFromJSONTyped = DomainClassificationResponseGraphFromJSONTyped;
19
+ exports.DomainClassificationResponseGraphToJSON = DomainClassificationResponseGraphToJSON;
20
+ const CodeGraphNode_1 = require("./CodeGraphNode");
21
+ const CodeGraphRelationship_1 = require("./CodeGraphRelationship");
22
+ /**
23
+ * Check if a given object implements the DomainClassificationResponseGraph interface.
24
+ */
25
+ function instanceOfDomainClassificationResponseGraph(value) {
26
+ if (!('nodes' in value) || value['nodes'] === undefined)
27
+ return false;
28
+ if (!('relationships' in value) || value['relationships'] === undefined)
29
+ return false;
30
+ return true;
31
+ }
32
+ function DomainClassificationResponseGraphFromJSON(json) {
33
+ return DomainClassificationResponseGraphFromJSONTyped(json, false);
34
+ }
35
+ function DomainClassificationResponseGraphFromJSONTyped(json, ignoreDiscriminator) {
36
+ if (json == null) {
37
+ return json;
38
+ }
39
+ return {
40
+ 'nodes': (json['nodes'].map(CodeGraphNode_1.CodeGraphNodeFromJSON)),
41
+ 'relationships': (json['relationships'].map(CodeGraphRelationship_1.CodeGraphRelationshipFromJSON)),
42
+ };
43
+ }
44
+ function DomainClassificationResponseGraphToJSON(value) {
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'nodes': (value['nodes'].map(CodeGraphNode_1.CodeGraphNodeToJSON)),
50
+ 'relationships': (value['relationships'].map(CodeGraphRelationship_1.CodeGraphRelationshipToJSON)),
51
+ };
52
+ }
@@ -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).
@@ -5,7 +5,7 @@
5
5
  * Supermodel
6
6
  * Code Graphing & Analysis API
7
7
  *
8
- * The version of the OpenAPI document: 0.6.3
8
+ * The version of the OpenAPI document: 0.7.0
9
9
  *
10
10
  *
11
11
  * 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).
@@ -5,7 +5,7 @@
5
5
  * Supermodel
6
6
  * Code Graphing & Analysis API
7
7
  *
8
- * The version of the OpenAPI document: 0.6.3
8
+ * The version of the OpenAPI document: 0.7.0
9
9
  *
10
10
  *
11
11
  * 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).
@@ -5,7 +5,7 @@
5
5
  * Supermodel
6
6
  * Code Graphing & Analysis API
7
7
  *
8
- * The version of the OpenAPI document: 0.6.3
8
+ * The version of the OpenAPI document: 0.7.0
9
9
  *
10
10
  *
11
11
  * 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).
@@ -5,7 +5,7 @@
5
5
  * Supermodel
6
6
  * Code Graphing & Analysis API
7
7
  *
8
- * The version of the OpenAPI document: 0.6.3
8
+ * The version of the OpenAPI document: 0.7.0
9
9
  *
10
10
  *
11
11
  * 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).
@@ -5,7 +5,7 @@
5
5
  * Supermodel
6
6
  * Code Graphing & Analysis API
7
7
  *
8
- * The version of the OpenAPI document: 0.6.3
8
+ * The version of the OpenAPI document: 0.7.0
9
9
  *
10
10
  *
11
11
  * 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).
@@ -5,7 +5,7 @@
5
5
  * Supermodel
6
6
  * Code Graphing & Analysis API
7
7
  *
8
- * The version of the OpenAPI document: 0.6.3
8
+ * The version of the OpenAPI document: 0.7.0
9
9
  *
10
10
  *
11
11
  * 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).
@@ -5,7 +5,7 @@
5
5
  * Supermodel
6
6
  * Code Graphing & Analysis API
7
7
  *
8
- * The version of the OpenAPI document: 0.6.3
8
+ * The version of the OpenAPI document: 0.7.0
9
9
  *
10
10
  *
11
11
  * 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).
@@ -5,7 +5,7 @@
5
5
  * Supermodel
6
6
  * Code Graphing & Analysis API
7
7
  *
8
- * The version of the OpenAPI document: 0.6.3
8
+ * The version of the OpenAPI document: 0.7.0
9
9
  *
10
10
  *
11
11
  * 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.
@@ -5,7 +5,7 @@
5
5
  * Supermodel
6
6
  * Code Graphing & Analysis API
7
7
  *
8
- * The version of the OpenAPI document: 0.6.3
8
+ * The version of the OpenAPI document: 0.7.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -25,6 +25,12 @@ function instanceOfSubdomainSummary(value) {
25
25
  return false;
26
26
  if (!('descriptionSummary' in value) || value['descriptionSummary'] === undefined)
27
27
  return false;
28
+ if (!('files' in value) || value['files'] === undefined)
29
+ return false;
30
+ if (!('functions' in value) || value['functions'] === undefined)
31
+ return false;
32
+ if (!('classes' in value) || value['classes'] === undefined)
33
+ return false;
28
34
  return true;
29
35
  }
30
36
  function SubdomainSummaryFromJSON(json) {
@@ -37,6 +43,9 @@ function SubdomainSummaryFromJSONTyped(json, ignoreDiscriminator) {
37
43
  return {
38
44
  'name': json['name'],
39
45
  'descriptionSummary': json['descriptionSummary'],
46
+ 'files': json['files'],
47
+ 'functions': json['functions'],
48
+ 'classes': json['classes'],
40
49
  };
41
50
  }
42
51
  function SubdomainSummaryToJSON(value) {
@@ -46,5 +55,8 @@ function SubdomainSummaryToJSON(value) {
46
55
  return {
47
56
  'name': value['name'],
48
57
  'descriptionSummary': value['descriptionSummary'],
58
+ 'files': value['files'],
59
+ 'functions': value['functions'],
60
+ 'classes': value['classes'],
49
61
  };
50
62
  }
@@ -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).
@@ -5,7 +5,7 @@
5
5
  * Supermodel
6
6
  * Code Graphing & Analysis API
7
7
  *
8
- * The version of the OpenAPI document: 0.6.3
8
+ * The version of the OpenAPI document: 0.7.0
9
9
  *
10
10
  *
11
11
  * 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).
@@ -10,6 +10,9 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { SupermodelIRGraph } from './SupermodelIRGraph';
13
+ import type { SupermodelIRStats } from './SupermodelIRStats';
14
+ import type { DomainSummary } from './DomainSummary';
15
+ import type { CodeGraphEnvelopeMetadata } from './CodeGraphEnvelopeMetadata';
13
16
  import type { SupermodelArtifact } from './SupermodelArtifact';
14
17
  /**
15
18
  *
@@ -49,6 +52,24 @@ export interface SupermodelIR {
49
52
  summary?: {
50
53
  [key: string]: any;
51
54
  };
55
+ /**
56
+ *
57
+ * @type {SupermodelIRStats}
58
+ * @memberof SupermodelIR
59
+ */
60
+ stats: SupermodelIRStats;
61
+ /**
62
+ *
63
+ * @type {CodeGraphEnvelopeMetadata}
64
+ * @memberof SupermodelIR
65
+ */
66
+ metadata: CodeGraphEnvelopeMetadata;
67
+ /**
68
+ * Array of discovered domain entities
69
+ * @type {Array<DomainSummary>}
70
+ * @memberof SupermodelIR
71
+ */
72
+ domains: Array<DomainSummary>;
52
73
  /**
53
74
  *
54
75
  * @type {SupermodelIRGraph}