@supermodeltools/sdk 0.5.4 → 0.6.2

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 (117) hide show
  1. package/dist/apis/DefaultApi.d.ts +12 -12
  2. package/dist/apis/DefaultApi.js +6 -6
  3. package/dist/async.d.ts +152 -0
  4. package/dist/async.js +235 -0
  5. package/dist/esm/apis/DefaultApi.d.ts +12 -12
  6. package/dist/esm/apis/DefaultApi.js +7 -7
  7. package/dist/esm/async.d.ts +152 -0
  8. package/dist/esm/async.js +229 -0
  9. package/dist/esm/index.d.ts +1 -0
  10. package/dist/esm/index.js +1 -0
  11. package/dist/esm/models/ClassificationStats.d.ts +1 -1
  12. package/dist/esm/models/ClassificationStats.js +1 -1
  13. package/dist/esm/models/CodeGraphEnvelope.d.ts +1 -1
  14. package/dist/esm/models/CodeGraphEnvelope.js +1 -1
  15. package/dist/esm/models/CodeGraphEnvelopeAsync.d.ts +66 -0
  16. package/dist/esm/models/CodeGraphEnvelopeAsync.js +60 -0
  17. package/dist/esm/models/CodeGraphEnvelopeGraph.d.ts +1 -1
  18. package/dist/esm/models/CodeGraphEnvelopeGraph.js +1 -1
  19. package/dist/esm/models/CodeGraphNode.d.ts +1 -1
  20. package/dist/esm/models/CodeGraphNode.js +1 -1
  21. package/dist/esm/models/CodeGraphRelationship.d.ts +1 -1
  22. package/dist/esm/models/CodeGraphRelationship.js +1 -1
  23. package/dist/esm/models/CodeGraphStats.d.ts +1 -1
  24. package/dist/esm/models/CodeGraphStats.js +1 -1
  25. package/dist/esm/models/DomainClassAssignment.d.ts +1 -1
  26. package/dist/esm/models/DomainClassAssignment.js +1 -1
  27. package/dist/esm/models/DomainClassificationResponse.d.ts +1 -1
  28. package/dist/esm/models/DomainClassificationResponse.js +1 -1
  29. package/dist/esm/models/DomainClassificationResponseAsync.d.ts +66 -0
  30. package/dist/esm/models/DomainClassificationResponseAsync.js +60 -0
  31. package/dist/esm/models/DomainFileAssignment.d.ts +1 -1
  32. package/dist/esm/models/DomainFileAssignment.js +1 -1
  33. package/dist/esm/models/DomainFunctionAssignment.d.ts +1 -1
  34. package/dist/esm/models/DomainFunctionAssignment.js +1 -1
  35. package/dist/esm/models/DomainRelationship.d.ts +1 -1
  36. package/dist/esm/models/DomainRelationship.js +1 -1
  37. package/dist/esm/models/DomainSummary.d.ts +1 -1
  38. package/dist/esm/models/DomainSummary.js +1 -1
  39. package/dist/esm/models/ErrorDetailsInner.d.ts +1 -1
  40. package/dist/esm/models/ErrorDetailsInner.js +1 -1
  41. package/dist/esm/models/FunctionDescription.d.ts +1 -1
  42. package/dist/esm/models/FunctionDescription.js +1 -1
  43. package/dist/esm/models/JobStatus.d.ts +59 -0
  44. package/dist/esm/models/JobStatus.js +57 -0
  45. package/dist/esm/models/ModelError.d.ts +1 -1
  46. package/dist/esm/models/ModelError.js +1 -1
  47. package/dist/esm/models/SubdomainSummary.d.ts +1 -1
  48. package/dist/esm/models/SubdomainSummary.js +1 -1
  49. package/dist/esm/models/SupermodelArtifact.d.ts +1 -1
  50. package/dist/esm/models/SupermodelArtifact.js +1 -1
  51. package/dist/esm/models/SupermodelIR.d.ts +1 -1
  52. package/dist/esm/models/SupermodelIR.js +1 -1
  53. package/dist/esm/models/SupermodelIRAsync.d.ts +66 -0
  54. package/dist/esm/models/SupermodelIRAsync.js +60 -0
  55. package/dist/esm/models/SupermodelIRGraph.d.ts +1 -1
  56. package/dist/esm/models/SupermodelIRGraph.js +1 -1
  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 +4 -0
  60. package/dist/esm/models/index.js +4 -0
  61. package/dist/esm/runtime.d.ts +1 -1
  62. package/dist/esm/runtime.js +1 -1
  63. package/dist/index.d.ts +1 -0
  64. package/dist/index.js +1 -0
  65. package/dist/models/ClassificationStats.d.ts +1 -1
  66. package/dist/models/ClassificationStats.js +1 -1
  67. package/dist/models/CodeGraphEnvelope.d.ts +1 -1
  68. package/dist/models/CodeGraphEnvelope.js +1 -1
  69. package/dist/models/CodeGraphEnvelopeAsync.d.ts +66 -0
  70. package/dist/models/CodeGraphEnvelopeAsync.js +67 -0
  71. package/dist/models/CodeGraphEnvelopeGraph.d.ts +1 -1
  72. package/dist/models/CodeGraphEnvelopeGraph.js +1 -1
  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 +1 -1
  78. package/dist/models/CodeGraphStats.js +1 -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 +1 -1
  82. package/dist/models/DomainClassificationResponse.js +1 -1
  83. package/dist/models/DomainClassificationResponseAsync.d.ts +66 -0
  84. package/dist/models/DomainClassificationResponseAsync.js +67 -0
  85. package/dist/models/DomainFileAssignment.d.ts +1 -1
  86. package/dist/models/DomainFileAssignment.js +1 -1
  87. package/dist/models/DomainFunctionAssignment.d.ts +1 -1
  88. package/dist/models/DomainFunctionAssignment.js +1 -1
  89. package/dist/models/DomainRelationship.d.ts +1 -1
  90. package/dist/models/DomainRelationship.js +1 -1
  91. package/dist/models/DomainSummary.d.ts +1 -1
  92. package/dist/models/DomainSummary.js +1 -1
  93. package/dist/models/ErrorDetailsInner.d.ts +1 -1
  94. package/dist/models/ErrorDetailsInner.js +1 -1
  95. package/dist/models/FunctionDescription.d.ts +1 -1
  96. package/dist/models/FunctionDescription.js +1 -1
  97. package/dist/models/JobStatus.d.ts +59 -0
  98. package/dist/models/JobStatus.js +64 -0
  99. package/dist/models/ModelError.d.ts +1 -1
  100. package/dist/models/ModelError.js +1 -1
  101. package/dist/models/SubdomainSummary.d.ts +1 -1
  102. package/dist/models/SubdomainSummary.js +1 -1
  103. package/dist/models/SupermodelArtifact.d.ts +1 -1
  104. package/dist/models/SupermodelArtifact.js +1 -1
  105. package/dist/models/SupermodelIR.d.ts +1 -1
  106. package/dist/models/SupermodelIR.js +1 -1
  107. package/dist/models/SupermodelIRAsync.d.ts +66 -0
  108. package/dist/models/SupermodelIRAsync.js +67 -0
  109. package/dist/models/SupermodelIRGraph.d.ts +1 -1
  110. package/dist/models/SupermodelIRGraph.js +1 -1
  111. package/dist/models/UnassignedFunction.d.ts +1 -1
  112. package/dist/models/UnassignedFunction.js +1 -1
  113. package/dist/models/index.d.ts +4 -0
  114. package/dist/models/index.js +4 -0
  115. package/dist/runtime.d.ts +1 -1
  116. package/dist/runtime.js +1 -1
  117. package/package.json +1 -1
@@ -4,7 +4,7 @@
4
4
  * Supermodel
5
5
  * Code Graphing & Analysis API
6
6
  *
7
- * The version of the OpenAPI document: 0.5.4
7
+ * The version of the OpenAPI document: 0.6.2
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -0,0 +1,66 @@
1
+ /**
2
+ * Supermodel
3
+ * Code Graphing & Analysis API
4
+ *
5
+ * The version of the OpenAPI document: 0.6.2
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 { DomainClassificationResponse } from './DomainClassificationResponse';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface DomainClassificationResponseAsync
17
+ */
18
+ export interface DomainClassificationResponseAsync {
19
+ /**
20
+ * Current status of the job.
21
+ * @type {string}
22
+ * @memberof DomainClassificationResponseAsync
23
+ */
24
+ status: DomainClassificationResponseAsyncStatusEnum;
25
+ /**
26
+ * Unique identifier for the job.
27
+ * @type {string}
28
+ * @memberof DomainClassificationResponseAsync
29
+ */
30
+ jobId: string;
31
+ /**
32
+ * Recommended seconds to wait before polling again.
33
+ * @type {number}
34
+ * @memberof DomainClassificationResponseAsync
35
+ */
36
+ retryAfter?: number;
37
+ /**
38
+ * Error message (present when status is failed).
39
+ * @type {string}
40
+ * @memberof DomainClassificationResponseAsync
41
+ */
42
+ error?: string;
43
+ /**
44
+ *
45
+ * @type {DomainClassificationResponse}
46
+ * @memberof DomainClassificationResponseAsync
47
+ */
48
+ result?: DomainClassificationResponse;
49
+ }
50
+ /**
51
+ * @export
52
+ */
53
+ export declare const DomainClassificationResponseAsyncStatusEnum: {
54
+ readonly Pending: "pending";
55
+ readonly Processing: "processing";
56
+ readonly Completed: "completed";
57
+ readonly Failed: "failed";
58
+ };
59
+ export type DomainClassificationResponseAsyncStatusEnum = typeof DomainClassificationResponseAsyncStatusEnum[keyof typeof DomainClassificationResponseAsyncStatusEnum];
60
+ /**
61
+ * Check if a given object implements the DomainClassificationResponseAsync interface.
62
+ */
63
+ export declare function instanceOfDomainClassificationResponseAsync(value: object): value is DomainClassificationResponseAsync;
64
+ export declare function DomainClassificationResponseAsyncFromJSON(json: any): DomainClassificationResponseAsync;
65
+ export declare function DomainClassificationResponseAsyncFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainClassificationResponseAsync;
66
+ export declare function DomainClassificationResponseAsyncToJSON(value?: DomainClassificationResponseAsync | null): any;
@@ -0,0 +1,60 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Supermodel
5
+ * Code Graphing & Analysis API
6
+ *
7
+ * The version of the OpenAPI document: 0.6.2
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 { DomainClassificationResponseFromJSON, DomainClassificationResponseToJSON, } from './DomainClassificationResponse';
15
+ /**
16
+ * @export
17
+ */
18
+ export const DomainClassificationResponseAsyncStatusEnum = {
19
+ Pending: 'pending',
20
+ Processing: 'processing',
21
+ Completed: 'completed',
22
+ Failed: 'failed'
23
+ };
24
+ /**
25
+ * Check if a given object implements the DomainClassificationResponseAsync interface.
26
+ */
27
+ export function instanceOfDomainClassificationResponseAsync(value) {
28
+ if (!('status' in value) || value['status'] === undefined)
29
+ return false;
30
+ if (!('jobId' in value) || value['jobId'] === undefined)
31
+ return false;
32
+ return true;
33
+ }
34
+ export function DomainClassificationResponseAsyncFromJSON(json) {
35
+ return DomainClassificationResponseAsyncFromJSONTyped(json, false);
36
+ }
37
+ export function DomainClassificationResponseAsyncFromJSONTyped(json, ignoreDiscriminator) {
38
+ if (json == null) {
39
+ return json;
40
+ }
41
+ return {
42
+ 'status': json['status'],
43
+ 'jobId': json['jobId'],
44
+ 'retryAfter': json['retryAfter'] == null ? undefined : json['retryAfter'],
45
+ 'error': json['error'] == null ? undefined : json['error'],
46
+ 'result': json['result'] == null ? undefined : DomainClassificationResponseFromJSON(json['result']),
47
+ };
48
+ }
49
+ export function DomainClassificationResponseAsyncToJSON(value) {
50
+ if (value == null) {
51
+ return value;
52
+ }
53
+ return {
54
+ 'status': value['status'],
55
+ 'jobId': value['jobId'],
56
+ 'retryAfter': value['retryAfter'],
57
+ 'error': value['error'],
58
+ 'result': DomainClassificationResponseToJSON(value['result']),
59
+ };
60
+ }
@@ -2,7 +2,7 @@
2
2
  * Supermodel
3
3
  * Code Graphing & Analysis API
4
4
  *
5
- * The version of the OpenAPI document: 0.5.4
5
+ * The version of the OpenAPI document: 0.6.2
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.5.4
7
+ * The version of the OpenAPI document: 0.6.2
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.5.4
5
+ * The version of the OpenAPI document: 0.6.2
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.5.4
7
+ * The version of the OpenAPI document: 0.6.2
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.5.4
5
+ * The version of the OpenAPI document: 0.6.2
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.5.4
7
+ * The version of the OpenAPI document: 0.6.2
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.5.4
5
+ * The version of the OpenAPI document: 0.6.2
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.5.4
7
+ * The version of the OpenAPI document: 0.6.2
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.5.4
5
+ * The version of the OpenAPI document: 0.6.2
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.5.4
7
+ * The version of the OpenAPI document: 0.6.2
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.5.4
5
+ * The version of the OpenAPI document: 0.6.2
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.5.4
7
+ * The version of the OpenAPI document: 0.6.2
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -0,0 +1,59 @@
1
+ /**
2
+ * Supermodel
3
+ * Code Graphing & Analysis API
4
+ *
5
+ * The version of the OpenAPI document: 0.6.2
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
+ * Common fields for async job status tracking.
14
+ * @export
15
+ * @interface JobStatus
16
+ */
17
+ export interface JobStatus {
18
+ /**
19
+ * Current status of the job.
20
+ * @type {string}
21
+ * @memberof JobStatus
22
+ */
23
+ status: JobStatusStatusEnum;
24
+ /**
25
+ * Unique identifier for the job.
26
+ * @type {string}
27
+ * @memberof JobStatus
28
+ */
29
+ jobId: string;
30
+ /**
31
+ * Recommended seconds to wait before polling again.
32
+ * @type {number}
33
+ * @memberof JobStatus
34
+ */
35
+ retryAfter?: number;
36
+ /**
37
+ * Error message (present when status is failed).
38
+ * @type {string}
39
+ * @memberof JobStatus
40
+ */
41
+ error?: string;
42
+ }
43
+ /**
44
+ * @export
45
+ */
46
+ export declare const JobStatusStatusEnum: {
47
+ readonly Pending: "pending";
48
+ readonly Processing: "processing";
49
+ readonly Completed: "completed";
50
+ readonly Failed: "failed";
51
+ };
52
+ export type JobStatusStatusEnum = typeof JobStatusStatusEnum[keyof typeof JobStatusStatusEnum];
53
+ /**
54
+ * Check if a given object implements the JobStatus interface.
55
+ */
56
+ export declare function instanceOfJobStatus(value: object): value is JobStatus;
57
+ export declare function JobStatusFromJSON(json: any): JobStatus;
58
+ export declare function JobStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): JobStatus;
59
+ export declare function JobStatusToJSON(value?: JobStatus | null): any;
@@ -0,0 +1,57 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Supermodel
5
+ * Code Graphing & Analysis API
6
+ *
7
+ * The version of the OpenAPI document: 0.6.2
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
+ * @export
16
+ */
17
+ export const JobStatusStatusEnum = {
18
+ Pending: 'pending',
19
+ Processing: 'processing',
20
+ Completed: 'completed',
21
+ Failed: 'failed'
22
+ };
23
+ /**
24
+ * Check if a given object implements the JobStatus interface.
25
+ */
26
+ export function instanceOfJobStatus(value) {
27
+ if (!('status' in value) || value['status'] === undefined)
28
+ return false;
29
+ if (!('jobId' in value) || value['jobId'] === undefined)
30
+ return false;
31
+ return true;
32
+ }
33
+ export function JobStatusFromJSON(json) {
34
+ return JobStatusFromJSONTyped(json, false);
35
+ }
36
+ export function JobStatusFromJSONTyped(json, ignoreDiscriminator) {
37
+ if (json == null) {
38
+ return json;
39
+ }
40
+ return {
41
+ 'status': json['status'],
42
+ 'jobId': json['jobId'],
43
+ 'retryAfter': json['retryAfter'] == null ? undefined : json['retryAfter'],
44
+ 'error': json['error'] == null ? undefined : json['error'],
45
+ };
46
+ }
47
+ export function JobStatusToJSON(value) {
48
+ if (value == null) {
49
+ return value;
50
+ }
51
+ return {
52
+ 'status': value['status'],
53
+ 'jobId': value['jobId'],
54
+ 'retryAfter': value['retryAfter'],
55
+ 'error': value['error'],
56
+ };
57
+ }
@@ -2,7 +2,7 @@
2
2
  * Supermodel
3
3
  * Code Graphing & Analysis API
4
4
  *
5
- * The version of the OpenAPI document: 0.5.4
5
+ * The version of the OpenAPI document: 0.6.2
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.5.4
7
+ * The version of the OpenAPI document: 0.6.2
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.5.4
5
+ * The version of the OpenAPI document: 0.6.2
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.5.4
7
+ * The version of the OpenAPI document: 0.6.2
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.5.4
5
+ * The version of the OpenAPI document: 0.6.2
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.5.4
7
+ * The version of the OpenAPI document: 0.6.2
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.5.4
5
+ * The version of the OpenAPI document: 0.6.2
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.5.4
7
+ * The version of the OpenAPI document: 0.6.2
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -0,0 +1,66 @@
1
+ /**
2
+ * Supermodel
3
+ * Code Graphing & Analysis API
4
+ *
5
+ * The version of the OpenAPI document: 0.6.2
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 { SupermodelIR } from './SupermodelIR';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface SupermodelIRAsync
17
+ */
18
+ export interface SupermodelIRAsync {
19
+ /**
20
+ * Current status of the job.
21
+ * @type {string}
22
+ * @memberof SupermodelIRAsync
23
+ */
24
+ status: SupermodelIRAsyncStatusEnum;
25
+ /**
26
+ * Unique identifier for the job.
27
+ * @type {string}
28
+ * @memberof SupermodelIRAsync
29
+ */
30
+ jobId: string;
31
+ /**
32
+ * Recommended seconds to wait before polling again.
33
+ * @type {number}
34
+ * @memberof SupermodelIRAsync
35
+ */
36
+ retryAfter?: number;
37
+ /**
38
+ * Error message (present when status is failed).
39
+ * @type {string}
40
+ * @memberof SupermodelIRAsync
41
+ */
42
+ error?: string;
43
+ /**
44
+ *
45
+ * @type {SupermodelIR}
46
+ * @memberof SupermodelIRAsync
47
+ */
48
+ result?: SupermodelIR;
49
+ }
50
+ /**
51
+ * @export
52
+ */
53
+ export declare const SupermodelIRAsyncStatusEnum: {
54
+ readonly Pending: "pending";
55
+ readonly Processing: "processing";
56
+ readonly Completed: "completed";
57
+ readonly Failed: "failed";
58
+ };
59
+ export type SupermodelIRAsyncStatusEnum = typeof SupermodelIRAsyncStatusEnum[keyof typeof SupermodelIRAsyncStatusEnum];
60
+ /**
61
+ * Check if a given object implements the SupermodelIRAsync interface.
62
+ */
63
+ export declare function instanceOfSupermodelIRAsync(value: object): value is SupermodelIRAsync;
64
+ export declare function SupermodelIRAsyncFromJSON(json: any): SupermodelIRAsync;
65
+ export declare function SupermodelIRAsyncFromJSONTyped(json: any, ignoreDiscriminator: boolean): SupermodelIRAsync;
66
+ export declare function SupermodelIRAsyncToJSON(value?: SupermodelIRAsync | null): any;
@@ -0,0 +1,60 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Supermodel
5
+ * Code Graphing & Analysis API
6
+ *
7
+ * The version of the OpenAPI document: 0.6.2
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 { SupermodelIRFromJSON, SupermodelIRToJSON, } from './SupermodelIR';
15
+ /**
16
+ * @export
17
+ */
18
+ export const SupermodelIRAsyncStatusEnum = {
19
+ Pending: 'pending',
20
+ Processing: 'processing',
21
+ Completed: 'completed',
22
+ Failed: 'failed'
23
+ };
24
+ /**
25
+ * Check if a given object implements the SupermodelIRAsync interface.
26
+ */
27
+ export function instanceOfSupermodelIRAsync(value) {
28
+ if (!('status' in value) || value['status'] === undefined)
29
+ return false;
30
+ if (!('jobId' in value) || value['jobId'] === undefined)
31
+ return false;
32
+ return true;
33
+ }
34
+ export function SupermodelIRAsyncFromJSON(json) {
35
+ return SupermodelIRAsyncFromJSONTyped(json, false);
36
+ }
37
+ export function SupermodelIRAsyncFromJSONTyped(json, ignoreDiscriminator) {
38
+ if (json == null) {
39
+ return json;
40
+ }
41
+ return {
42
+ 'status': json['status'],
43
+ 'jobId': json['jobId'],
44
+ 'retryAfter': json['retryAfter'] == null ? undefined : json['retryAfter'],
45
+ 'error': json['error'] == null ? undefined : json['error'],
46
+ 'result': json['result'] == null ? undefined : SupermodelIRFromJSON(json['result']),
47
+ };
48
+ }
49
+ export function SupermodelIRAsyncToJSON(value) {
50
+ if (value == null) {
51
+ return value;
52
+ }
53
+ return {
54
+ 'status': value['status'],
55
+ 'jobId': value['jobId'],
56
+ 'retryAfter': value['retryAfter'],
57
+ 'error': value['error'],
58
+ 'result': SupermodelIRToJSON(value['result']),
59
+ };
60
+ }
@@ -2,7 +2,7 @@
2
2
  * Supermodel
3
3
  * Code Graphing & Analysis API
4
4
  *
5
- * The version of the OpenAPI document: 0.5.4
5
+ * The version of the OpenAPI document: 0.6.2
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.5.4
7
+ * The version of the OpenAPI document: 0.6.2
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.5.4
5
+ * The version of the OpenAPI document: 0.6.2
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.5.4
7
+ * The version of the OpenAPI document: 0.6.2
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1,20 +1,24 @@
1
1
  export * from './ClassificationStats';
2
2
  export * from './CodeGraphEnvelope';
3
+ export * from './CodeGraphEnvelopeAsync';
3
4
  export * from './CodeGraphEnvelopeGraph';
4
5
  export * from './CodeGraphNode';
5
6
  export * from './CodeGraphRelationship';
6
7
  export * from './CodeGraphStats';
7
8
  export * from './DomainClassAssignment';
8
9
  export * from './DomainClassificationResponse';
10
+ export * from './DomainClassificationResponseAsync';
9
11
  export * from './DomainFileAssignment';
10
12
  export * from './DomainFunctionAssignment';
11
13
  export * from './DomainRelationship';
12
14
  export * from './DomainSummary';
13
15
  export * from './ErrorDetailsInner';
14
16
  export * from './FunctionDescription';
17
+ export * from './JobStatus';
15
18
  export * from './ModelError';
16
19
  export * from './SubdomainSummary';
17
20
  export * from './SupermodelArtifact';
18
21
  export * from './SupermodelIR';
22
+ export * from './SupermodelIRAsync';
19
23
  export * from './SupermodelIRGraph';
20
24
  export * from './UnassignedFunction';