@supermodeltools/sdk 0.6.4 → 0.7.1

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 (121) hide show
  1. package/dist/apis/DefaultApi.d.ts +1 -1
  2. package/dist/apis/DefaultApi.js +1 -1
  3. package/dist/esm/apis/DefaultApi.d.ts +1 -1
  4. package/dist/esm/apis/DefaultApi.js +1 -1
  5. package/dist/esm/models/ClassificationStats.d.ts +49 -3
  6. package/dist/esm/models/ClassificationStats.js +32 -4
  7. package/dist/esm/models/CodeGraphEnvelope.d.ts +8 -1
  8. package/dist/esm/models/CodeGraphEnvelope.js +4 -1
  9. package/dist/esm/models/CodeGraphEnvelopeAsync.d.ts +1 -1
  10. package/dist/esm/models/CodeGraphEnvelopeAsync.js +1 -1
  11. package/dist/esm/models/CodeGraphEnvelopeGraph.d.ts +1 -1
  12. package/dist/esm/models/CodeGraphEnvelopeGraph.js +1 -1
  13. package/dist/esm/models/CodeGraphEnvelopeMetadata.d.ts +49 -0
  14. package/dist/esm/models/CodeGraphEnvelopeMetadata.js +44 -0
  15. package/dist/esm/models/CodeGraphNode.d.ts +1 -1
  16. package/dist/esm/models/CodeGraphNode.js +1 -1
  17. package/dist/esm/models/CodeGraphRelationship.d.ts +1 -1
  18. package/dist/esm/models/CodeGraphRelationship.js +1 -1
  19. package/dist/esm/models/CodeGraphStats.d.ts +29 -1
  20. package/dist/esm/models/CodeGraphStats.js +9 -1
  21. package/dist/esm/models/DomainClassAssignment.d.ts +1 -1
  22. package/dist/esm/models/DomainClassAssignment.js +1 -1
  23. package/dist/esm/models/DomainClassificationResponse.d.ts +15 -1
  24. package/dist/esm/models/DomainClassificationResponse.js +11 -1
  25. package/dist/esm/models/DomainClassificationResponseAsync.d.ts +1 -1
  26. package/dist/esm/models/DomainClassificationResponseAsync.js +1 -1
  27. package/dist/esm/models/DomainClassificationResponseGraph.d.ts +39 -0
  28. package/dist/esm/models/DomainClassificationResponseGraph.js +46 -0
  29. package/dist/esm/models/DomainFileAssignment.d.ts +1 -1
  30. package/dist/esm/models/DomainFileAssignment.js +1 -1
  31. package/dist/esm/models/DomainFunctionAssignment.d.ts +1 -1
  32. package/dist/esm/models/DomainFunctionAssignment.js +1 -1
  33. package/dist/esm/models/DomainRelationship.d.ts +1 -1
  34. package/dist/esm/models/DomainRelationship.js +1 -1
  35. package/dist/esm/models/DomainSummary.d.ts +1 -1
  36. package/dist/esm/models/DomainSummary.js +1 -1
  37. package/dist/esm/models/ErrorDetailsInner.d.ts +1 -1
  38. package/dist/esm/models/ErrorDetailsInner.js +1 -1
  39. package/dist/esm/models/FunctionDescription.d.ts +1 -1
  40. package/dist/esm/models/FunctionDescription.js +1 -1
  41. package/dist/esm/models/JobStatus.d.ts +1 -1
  42. package/dist/esm/models/JobStatus.js +1 -1
  43. package/dist/esm/models/ModelError.d.ts +1 -1
  44. package/dist/esm/models/ModelError.js +1 -1
  45. package/dist/esm/models/SubdomainSummary.d.ts +19 -1
  46. package/dist/esm/models/SubdomainSummary.js +13 -1
  47. package/dist/esm/models/SupermodelArtifact.d.ts +1 -1
  48. package/dist/esm/models/SupermodelArtifact.js +1 -1
  49. package/dist/esm/models/SupermodelIR.d.ts +22 -1
  50. package/dist/esm/models/SupermodelIR.js +16 -1
  51. package/dist/esm/models/SupermodelIRAsync.d.ts +1 -1
  52. package/dist/esm/models/SupermodelIRAsync.js +1 -1
  53. package/dist/esm/models/SupermodelIRGraph.d.ts +1 -1
  54. package/dist/esm/models/SupermodelIRGraph.js +1 -1
  55. package/dist/esm/models/SupermodelIRStats.d.ts +53 -0
  56. package/dist/esm/models/SupermodelIRStats.js +44 -0
  57. package/dist/esm/models/UnassignedFunction.d.ts +1 -1
  58. package/dist/esm/models/UnassignedFunction.js +1 -1
  59. package/dist/esm/models/index.d.ts +3 -0
  60. package/dist/esm/models/index.js +3 -0
  61. package/dist/esm/runtime.d.ts +1 -1
  62. package/dist/esm/runtime.js +1 -1
  63. package/dist/models/ClassificationStats.d.ts +49 -3
  64. package/dist/models/ClassificationStats.js +32 -4
  65. package/dist/models/CodeGraphEnvelope.d.ts +8 -1
  66. package/dist/models/CodeGraphEnvelope.js +4 -1
  67. package/dist/models/CodeGraphEnvelopeAsync.d.ts +1 -1
  68. package/dist/models/CodeGraphEnvelopeAsync.js +1 -1
  69. package/dist/models/CodeGraphEnvelopeGraph.d.ts +1 -1
  70. package/dist/models/CodeGraphEnvelopeGraph.js +1 -1
  71. package/dist/models/CodeGraphEnvelopeMetadata.d.ts +49 -0
  72. package/dist/models/CodeGraphEnvelopeMetadata.js +50 -0
  73. package/dist/models/CodeGraphNode.d.ts +1 -1
  74. package/dist/models/CodeGraphNode.js +1 -1
  75. package/dist/models/CodeGraphRelationship.d.ts +1 -1
  76. package/dist/models/CodeGraphRelationship.js +1 -1
  77. package/dist/models/CodeGraphStats.d.ts +29 -1
  78. package/dist/models/CodeGraphStats.js +9 -1
  79. package/dist/models/DomainClassAssignment.d.ts +1 -1
  80. package/dist/models/DomainClassAssignment.js +1 -1
  81. package/dist/models/DomainClassificationResponse.d.ts +15 -1
  82. package/dist/models/DomainClassificationResponse.js +11 -1
  83. package/dist/models/DomainClassificationResponseAsync.d.ts +1 -1
  84. package/dist/models/DomainClassificationResponseAsync.js +1 -1
  85. package/dist/models/DomainClassificationResponseGraph.d.ts +39 -0
  86. package/dist/models/DomainClassificationResponseGraph.js +52 -0
  87. package/dist/models/DomainFileAssignment.d.ts +1 -1
  88. package/dist/models/DomainFileAssignment.js +1 -1
  89. package/dist/models/DomainFunctionAssignment.d.ts +1 -1
  90. package/dist/models/DomainFunctionAssignment.js +1 -1
  91. package/dist/models/DomainRelationship.d.ts +1 -1
  92. package/dist/models/DomainRelationship.js +1 -1
  93. package/dist/models/DomainSummary.d.ts +1 -1
  94. package/dist/models/DomainSummary.js +1 -1
  95. package/dist/models/ErrorDetailsInner.d.ts +1 -1
  96. package/dist/models/ErrorDetailsInner.js +1 -1
  97. package/dist/models/FunctionDescription.d.ts +1 -1
  98. package/dist/models/FunctionDescription.js +1 -1
  99. package/dist/models/JobStatus.d.ts +1 -1
  100. package/dist/models/JobStatus.js +1 -1
  101. package/dist/models/ModelError.d.ts +1 -1
  102. package/dist/models/ModelError.js +1 -1
  103. package/dist/models/SubdomainSummary.d.ts +19 -1
  104. package/dist/models/SubdomainSummary.js +13 -1
  105. package/dist/models/SupermodelArtifact.d.ts +1 -1
  106. package/dist/models/SupermodelArtifact.js +1 -1
  107. package/dist/models/SupermodelIR.d.ts +22 -1
  108. package/dist/models/SupermodelIR.js +16 -1
  109. package/dist/models/SupermodelIRAsync.d.ts +1 -1
  110. package/dist/models/SupermodelIRAsync.js +1 -1
  111. package/dist/models/SupermodelIRGraph.d.ts +1 -1
  112. package/dist/models/SupermodelIRGraph.js +1 -1
  113. package/dist/models/SupermodelIRStats.d.ts +53 -0
  114. package/dist/models/SupermodelIRStats.js +50 -0
  115. package/dist/models/UnassignedFunction.d.ts +1 -1
  116. package/dist/models/UnassignedFunction.js +1 -1
  117. package/dist/models/index.d.ts +3 -0
  118. package/dist/models/index.js +3 -0
  119. package/dist/runtime.d.ts +1 -1
  120. package/dist/runtime.js +1 -1
  121. 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.4
5
+ * The version of the OpenAPI document: 0.7.1
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.4
8
+ * The version of the OpenAPI document: 0.7.1
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.4
5
+ * The version of the OpenAPI document: 0.7.1
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.4
7
+ * The version of the OpenAPI document: 0.7.1
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.4
5
+ * The version of the OpenAPI document: 0.7.1
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 ClassificationStats
16
16
  */
17
17
  export interface ClassificationStats {
18
+ /**
19
+ * Total number of nodes in the graph
20
+ * @type {number}
21
+ * @memberof ClassificationStats
22
+ */
23
+ nodeCount: number;
24
+ /**
25
+ * Total number of relationships in the graph
26
+ * @type {number}
27
+ * @memberof ClassificationStats
28
+ */
29
+ relationshipCount: number;
30
+ /**
31
+ * Count of nodes by type
32
+ * @type {{ [key: string]: number; }}
33
+ * @memberof ClassificationStats
34
+ */
35
+ nodeTypes: {
36
+ [key: string]: number;
37
+ };
38
+ /**
39
+ * Count of relationships by type
40
+ * @type {{ [key: string]: number; }}
41
+ * @memberof ClassificationStats
42
+ */
43
+ relationshipTypes: {
44
+ [key: string]: number;
45
+ };
18
46
  /**
19
47
  * Number of domains discovered
20
48
  * @type {number}
@@ -22,11 +50,29 @@ export interface ClassificationStats {
22
50
  */
23
51
  domainCount: number;
24
52
  /**
25
- * Number of relationships
53
+ * Number of subdomains discovered
26
54
  * @type {number}
27
55
  * @memberof ClassificationStats
28
56
  */
29
- relationshipCount: number;
57
+ subdomainCount: number;
58
+ /**
59
+ * Number of files assigned to domains/subdomains
60
+ * @type {number}
61
+ * @memberof ClassificationStats
62
+ */
63
+ assignedFileCount: number;
64
+ /**
65
+ * Number of functions assigned to domains/subdomains
66
+ * @type {number}
67
+ * @memberof ClassificationStats
68
+ */
69
+ assignedFunctionCount: number;
70
+ /**
71
+ * Number of classes assigned to domains/subdomains
72
+ * @type {number}
73
+ * @memberof ClassificationStats
74
+ */
75
+ assignedClassCount: number;
30
76
  /**
31
77
  * Count of file assignments
32
78
  * @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.4
7
+ * The version of the OpenAPI document: 0.7.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -15,10 +15,24 @@
15
15
  * Check if a given object implements the ClassificationStats interface.
16
16
  */
17
17
  export function instanceOfClassificationStats(value) {
18
- if (!('domainCount' in value) || value['domainCount'] === undefined)
18
+ if (!('nodeCount' in value) || value['nodeCount'] === undefined)
19
19
  return false;
20
20
  if (!('relationshipCount' in value) || value['relationshipCount'] === undefined)
21
21
  return false;
22
+ if (!('nodeTypes' in value) || value['nodeTypes'] === undefined)
23
+ return false;
24
+ if (!('relationshipTypes' in value) || value['relationshipTypes'] === undefined)
25
+ return false;
26
+ if (!('domainCount' in value) || value['domainCount'] === undefined)
27
+ return false;
28
+ if (!('subdomainCount' in value) || value['subdomainCount'] === undefined)
29
+ return false;
30
+ if (!('assignedFileCount' in value) || value['assignedFileCount'] === undefined)
31
+ return false;
32
+ if (!('assignedFunctionCount' in value) || value['assignedFunctionCount'] === undefined)
33
+ return false;
34
+ if (!('assignedClassCount' in value) || value['assignedClassCount'] === undefined)
35
+ return false;
22
36
  if (!('fileAssignments' in value) || value['fileAssignments'] === undefined)
23
37
  return false;
24
38
  if (!('functionAssignments' in value) || value['functionAssignments'] === undefined)
@@ -37,8 +51,15 @@ export function ClassificationStatsFromJSONTyped(json, ignoreDiscriminator) {
37
51
  return json;
38
52
  }
39
53
  return {
40
- 'domainCount': json['domainCount'],
54
+ 'nodeCount': json['nodeCount'],
41
55
  'relationshipCount': json['relationshipCount'],
56
+ 'nodeTypes': json['nodeTypes'],
57
+ 'relationshipTypes': json['relationshipTypes'],
58
+ 'domainCount': json['domainCount'],
59
+ 'subdomainCount': json['subdomainCount'],
60
+ 'assignedFileCount': json['assignedFileCount'],
61
+ 'assignedFunctionCount': json['assignedFunctionCount'],
62
+ 'assignedClassCount': json['assignedClassCount'],
42
63
  'fileAssignments': json['fileAssignments'],
43
64
  'functionAssignments': json['functionAssignments'],
44
65
  'unassignedFunctions': json['unassignedFunctions'],
@@ -50,8 +71,15 @@ export function ClassificationStatsToJSON(value) {
50
71
  return value;
51
72
  }
52
73
  return {
53
- 'domainCount': value['domainCount'],
74
+ 'nodeCount': value['nodeCount'],
54
75
  'relationshipCount': value['relationshipCount'],
76
+ 'nodeTypes': value['nodeTypes'],
77
+ 'relationshipTypes': value['relationshipTypes'],
78
+ 'domainCount': value['domainCount'],
79
+ 'subdomainCount': value['subdomainCount'],
80
+ 'assignedFileCount': value['assignedFileCount'],
81
+ 'assignedFunctionCount': value['assignedFunctionCount'],
82
+ 'assignedClassCount': value['assignedClassCount'],
55
83
  'fileAssignments': value['fileAssignments'],
56
84
  'functionAssignments': value['functionAssignments'],
57
85
  'unassignedFunctions': value['unassignedFunctions'],
@@ -2,7 +2,7 @@
2
2
  * Supermodel
3
3
  * Code Graphing & Analysis API
4
4
  *
5
- * The version of the OpenAPI document: 0.6.4
5
+ * The version of the OpenAPI document: 0.7.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -11,6 +11,7 @@
11
11
  */
12
12
  import type { CodeGraphStats } from './CodeGraphStats';
13
13
  import type { CodeGraphEnvelopeGraph } from './CodeGraphEnvelopeGraph';
14
+ import type { CodeGraphEnvelopeMetadata } from './CodeGraphEnvelopeMetadata';
14
15
  /**
15
16
  *
16
17
  * @export
@@ -35,6 +36,12 @@ export interface CodeGraphEnvelope {
35
36
  * @memberof CodeGraphEnvelope
36
37
  */
37
38
  stats?: CodeGraphStats;
39
+ /**
40
+ *
41
+ * @type {CodeGraphEnvelopeMetadata}
42
+ * @memberof CodeGraphEnvelope
43
+ */
44
+ metadata?: CodeGraphEnvelopeMetadata;
38
45
  /**
39
46
  *
40
47
  * @type {CodeGraphEnvelopeGraph}
@@ -4,7 +4,7 @@
4
4
  * Supermodel
5
5
  * Code Graphing & Analysis API
6
6
  *
7
- * The version of the OpenAPI document: 0.6.4
7
+ * The version of the OpenAPI document: 0.7.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -13,6 +13,7 @@
13
13
  */
14
14
  import { CodeGraphStatsFromJSON, CodeGraphStatsToJSON, } from './CodeGraphStats';
15
15
  import { CodeGraphEnvelopeGraphFromJSON, CodeGraphEnvelopeGraphToJSON, } from './CodeGraphEnvelopeGraph';
16
+ import { CodeGraphEnvelopeMetadataFromJSON, CodeGraphEnvelopeMetadataToJSON, } from './CodeGraphEnvelopeMetadata';
16
17
  /**
17
18
  * Check if a given object implements the CodeGraphEnvelope interface.
18
19
  */
@@ -32,6 +33,7 @@ export function CodeGraphEnvelopeFromJSONTyped(json, ignoreDiscriminator) {
32
33
  'generatedAt': json['generatedAt'] == null ? undefined : (new Date(json['generatedAt'])),
33
34
  'message': json['message'] == null ? undefined : json['message'],
34
35
  'stats': json['stats'] == null ? undefined : CodeGraphStatsFromJSON(json['stats']),
36
+ 'metadata': json['metadata'] == null ? undefined : CodeGraphEnvelopeMetadataFromJSON(json['metadata']),
35
37
  'graph': CodeGraphEnvelopeGraphFromJSON(json['graph']),
36
38
  };
37
39
  }
@@ -43,6 +45,7 @@ export function CodeGraphEnvelopeToJSON(value) {
43
45
  'generatedAt': value['generatedAt'] == null ? undefined : ((value['generatedAt']).toISOString()),
44
46
  'message': value['message'],
45
47
  'stats': CodeGraphStatsToJSON(value['stats']),
48
+ 'metadata': CodeGraphEnvelopeMetadataToJSON(value['metadata']),
46
49
  'graph': CodeGraphEnvelopeGraphToJSON(value['graph']),
47
50
  };
48
51
  }
@@ -2,7 +2,7 @@
2
2
  * Supermodel
3
3
  * Code Graphing & Analysis API
4
4
  *
5
- * The version of the OpenAPI document: 0.6.4
5
+ * The version of the OpenAPI document: 0.7.1
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.4
7
+ * The version of the OpenAPI document: 0.7.1
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.4
5
+ * The version of the OpenAPI document: 0.7.1
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.4
7
+ * The version of the OpenAPI document: 0.7.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -0,0 +1,49 @@
1
+ /**
2
+ * Supermodel
3
+ * Code Graphing & Analysis API
4
+ *
5
+ * The version of the OpenAPI document: 0.7.1
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
+ * Analysis metadata including timing and file information
14
+ * @export
15
+ * @interface CodeGraphEnvelopeMetadata
16
+ */
17
+ export interface CodeGraphEnvelopeMetadata {
18
+ /**
19
+ *
20
+ * @type {Date}
21
+ * @memberof CodeGraphEnvelopeMetadata
22
+ */
23
+ analysisStartTime?: Date;
24
+ /**
25
+ *
26
+ * @type {Date}
27
+ * @memberof CodeGraphEnvelopeMetadata
28
+ */
29
+ analysisEndTime?: Date;
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof CodeGraphEnvelopeMetadata
34
+ */
35
+ fileCount?: number;
36
+ /**
37
+ *
38
+ * @type {Array<string>}
39
+ * @memberof CodeGraphEnvelopeMetadata
40
+ */
41
+ languages?: Array<string>;
42
+ }
43
+ /**
44
+ * Check if a given object implements the CodeGraphEnvelopeMetadata interface.
45
+ */
46
+ export declare function instanceOfCodeGraphEnvelopeMetadata(value: object): value is CodeGraphEnvelopeMetadata;
47
+ export declare function CodeGraphEnvelopeMetadataFromJSON(json: any): CodeGraphEnvelopeMetadata;
48
+ export declare function CodeGraphEnvelopeMetadataFromJSONTyped(json: any, ignoreDiscriminator: boolean): CodeGraphEnvelopeMetadata;
49
+ export declare function CodeGraphEnvelopeMetadataToJSON(value?: CodeGraphEnvelopeMetadata | 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.7.1
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.4
5
+ * The version of the OpenAPI document: 0.7.1
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.4
7
+ * The version of the OpenAPI document: 0.7.1
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.4
5
+ * The version of the OpenAPI document: 0.7.1
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.4
7
+ * The version of the OpenAPI document: 0.7.1
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.4
5
+ * The version of the OpenAPI document: 0.7.1
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.4
7
+ * The version of the OpenAPI document: 0.7.1
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.4
5
+ * The version of the OpenAPI document: 0.7.1
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.4
7
+ * The version of the OpenAPI document: 0.7.1
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.4
5
+ * The version of the OpenAPI document: 0.7.1
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.4
7
+ * The version of the OpenAPI document: 0.7.1
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.4
5
+ * The version of the OpenAPI document: 0.7.1
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.4
7
+ * The version of the OpenAPI document: 0.7.1
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.1
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;