@supermodeltools/sdk 0.3.7 → 0.4.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.
- package/README.md +40 -31
- package/dist/apis/DefaultApi.d.ts +1 -1
- package/dist/apis/DefaultApi.js +1 -1
- package/dist/esm/apis/DefaultApi.d.ts +1 -1
- package/dist/esm/apis/DefaultApi.js +1 -1
- package/dist/esm/models/ClassificationStats.d.ts +1 -1
- package/dist/esm/models/ClassificationStats.js +1 -1
- package/dist/esm/models/CodeGraphEnvelope.d.ts +1 -1
- package/dist/esm/models/CodeGraphEnvelope.js +1 -1
- package/dist/esm/models/CodeGraphEnvelopeGraph.d.ts +1 -1
- package/dist/esm/models/CodeGraphEnvelopeGraph.js +1 -1
- package/dist/esm/models/CodeGraphNode.d.ts +1 -1
- package/dist/esm/models/CodeGraphNode.js +1 -1
- package/dist/esm/models/CodeGraphRelationship.d.ts +1 -1
- package/dist/esm/models/CodeGraphRelationship.js +1 -1
- package/dist/esm/models/CodeGraphStats.d.ts +1 -1
- package/dist/esm/models/CodeGraphStats.js +1 -1
- package/dist/esm/models/DomainClassAssignment.d.ts +1 -1
- package/dist/esm/models/DomainClassAssignment.js +1 -1
- package/dist/esm/models/DomainClassificationResponse.d.ts +1 -1
- package/dist/esm/models/DomainClassificationResponse.js +1 -1
- package/dist/esm/models/DomainFileAssignment.d.ts +1 -1
- package/dist/esm/models/DomainFileAssignment.js +1 -1
- package/dist/esm/models/DomainFunctionAssignment.d.ts +1 -1
- package/dist/esm/models/DomainFunctionAssignment.js +1 -1
- package/dist/esm/models/DomainRelationship.d.ts +1 -1
- package/dist/esm/models/DomainRelationship.js +1 -1
- package/dist/esm/models/DomainSummary.d.ts +1 -1
- package/dist/esm/models/DomainSummary.js +1 -1
- package/dist/esm/models/ErrorDetailsInner.d.ts +1 -1
- package/dist/esm/models/ErrorDetailsInner.js +1 -1
- package/dist/esm/models/FunctionDescription.d.ts +1 -1
- package/dist/esm/models/FunctionDescription.js +1 -1
- package/dist/esm/models/ModelError.d.ts +1 -1
- package/dist/esm/models/ModelError.js +1 -1
- package/dist/esm/models/SubdomainSummary.d.ts +1 -1
- package/dist/esm/models/SubdomainSummary.js +1 -1
- package/dist/esm/models/SupermodelArtifact.d.ts +1 -1
- package/dist/esm/models/SupermodelArtifact.js +1 -1
- package/dist/esm/models/SupermodelIR.d.ts +1 -1
- package/dist/esm/models/SupermodelIR.js +1 -1
- package/dist/esm/models/SupermodelIRGraph.d.ts +1 -1
- package/dist/esm/models/SupermodelIRGraph.js +1 -1
- package/dist/esm/models/UnassignedFunction.d.ts +1 -1
- package/dist/esm/models/UnassignedFunction.js +1 -1
- package/dist/esm/runtime.d.ts +1 -1
- package/dist/esm/runtime.js +1 -1
- package/dist/models/ClassificationStats.d.ts +1 -1
- package/dist/models/ClassificationStats.js +1 -1
- package/dist/models/CodeGraphEnvelope.d.ts +1 -1
- package/dist/models/CodeGraphEnvelope.js +1 -1
- package/dist/models/CodeGraphEnvelopeGraph.d.ts +1 -1
- package/dist/models/CodeGraphEnvelopeGraph.js +1 -1
- package/dist/models/CodeGraphNode.d.ts +1 -1
- package/dist/models/CodeGraphNode.js +1 -1
- package/dist/models/CodeGraphRelationship.d.ts +1 -1
- package/dist/models/CodeGraphRelationship.js +1 -1
- package/dist/models/CodeGraphStats.d.ts +1 -1
- package/dist/models/CodeGraphStats.js +1 -1
- package/dist/models/DomainClassAssignment.d.ts +1 -1
- package/dist/models/DomainClassAssignment.js +1 -1
- package/dist/models/DomainClassificationResponse.d.ts +1 -1
- package/dist/models/DomainClassificationResponse.js +1 -1
- package/dist/models/DomainFileAssignment.d.ts +1 -1
- package/dist/models/DomainFileAssignment.js +1 -1
- package/dist/models/DomainFunctionAssignment.d.ts +1 -1
- package/dist/models/DomainFunctionAssignment.js +1 -1
- package/dist/models/DomainRelationship.d.ts +1 -1
- package/dist/models/DomainRelationship.js +1 -1
- package/dist/models/DomainSummary.d.ts +1 -1
- package/dist/models/DomainSummary.js +1 -1
- package/dist/models/ErrorDetailsInner.d.ts +1 -1
- package/dist/models/ErrorDetailsInner.js +1 -1
- package/dist/models/FunctionDescription.d.ts +1 -1
- package/dist/models/FunctionDescription.js +1 -1
- package/dist/models/ModelError.d.ts +1 -1
- package/dist/models/ModelError.js +1 -1
- package/dist/models/SubdomainSummary.d.ts +1 -1
- package/dist/models/SubdomainSummary.js +1 -1
- package/dist/models/SupermodelArtifact.d.ts +1 -1
- package/dist/models/SupermodelArtifact.js +1 -1
- package/dist/models/SupermodelIR.d.ts +1 -1
- package/dist/models/SupermodelIR.js +1 -1
- package/dist/models/SupermodelIRGraph.d.ts +1 -1
- package/dist/models/SupermodelIRGraph.js +1 -1
- package/dist/models/UnassignedFunction.d.ts +1 -1
- package/dist/models/UnassignedFunction.js +1 -1
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +1 -1
- package/package.json +22 -5
- package/.openapi-generator/FILES +0 -32
- package/.openapi-generator/VERSION +0 -1
- package/.openapi-generator/openapi.yaml-generate-typescript-client.sha256 +0 -1
- package/.openapi-generator-ignore +0 -23
- package/src/apis/DefaultApi.ts +0 -416
- package/src/apis/index.ts +0 -3
- package/src/index.ts +0 -5
- package/src/models/ClassificationStats.ts +0 -106
- package/src/models/CodeGraphEnvelope.ts +0 -98
- package/src/models/CodeGraphEnvelopeGraph.ts +0 -83
- package/src/models/CodeGraphNode.ts +0 -77
- package/src/models/CodeGraphRelationship.ts +0 -96
- package/src/models/CodeGraphStats.ts +0 -92
- package/src/models/DomainClassAssignment.ts +0 -70
- package/src/models/DomainClassificationResponse.ts +0 -181
- package/src/models/DomainFileAssignment.ts +0 -70
- package/src/models/DomainFunctionAssignment.ts +0 -78
- package/src/models/DomainRelationship.ts +0 -96
- package/src/models/DomainSummary.ts +0 -104
- package/src/models/ErrorDetailsInner.ts +0 -78
- package/src/models/FunctionDescription.ts +0 -78
- package/src/models/ModelError.ts +0 -111
- package/src/models/SubdomainSummary.ts +0 -70
- package/src/models/SupermodelArtifact.ts +0 -87
- package/src/models/SupermodelIR.ts +0 -126
- package/src/models/SupermodelIRGraph.ts +0 -83
- package/src/models/UnassignedFunction.ts +0 -70
- package/src/models/index.ts +0 -22
- package/src/runtime.ts +0 -426
- package/tsconfig.esm.json +0 -7
- package/tsconfig.json +0 -16
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Supermodel
|
|
5
|
-
* Code Graphing & Analysis API
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 0.3.7
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface DomainFunctionAssignment
|
|
20
|
-
*/
|
|
21
|
-
export interface DomainFunctionAssignment {
|
|
22
|
-
/**
|
|
23
|
-
* Stable function identifier (matching codegraph/function models)
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof DomainFunctionAssignment
|
|
26
|
-
*/
|
|
27
|
-
functionId: string;
|
|
28
|
-
/**
|
|
29
|
-
* Subdomain assigned to the function
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof DomainFunctionAssignment
|
|
32
|
-
*/
|
|
33
|
-
subdomainName: string;
|
|
34
|
-
/**
|
|
35
|
-
* Optional parent domain containing the subdomain
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof DomainFunctionAssignment
|
|
38
|
-
*/
|
|
39
|
-
parentDomain?: string;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* Check if a given object implements the DomainFunctionAssignment interface.
|
|
44
|
-
*/
|
|
45
|
-
export function instanceOfDomainFunctionAssignment(value: object): value is DomainFunctionAssignment {
|
|
46
|
-
if (!('functionId' in value) || value['functionId'] === undefined) return false;
|
|
47
|
-
if (!('subdomainName' in value) || value['subdomainName'] === undefined) return false;
|
|
48
|
-
return true;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
export function DomainFunctionAssignmentFromJSON(json: any): DomainFunctionAssignment {
|
|
52
|
-
return DomainFunctionAssignmentFromJSONTyped(json, false);
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
export function DomainFunctionAssignmentFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainFunctionAssignment {
|
|
56
|
-
if (json == null) {
|
|
57
|
-
return json;
|
|
58
|
-
}
|
|
59
|
-
return {
|
|
60
|
-
|
|
61
|
-
'functionId': json['functionId'],
|
|
62
|
-
'subdomainName': json['subdomainName'],
|
|
63
|
-
'parentDomain': json['parentDomain'] == null ? undefined : json['parentDomain'],
|
|
64
|
-
};
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
export function DomainFunctionAssignmentToJSON(value?: DomainFunctionAssignment | null): any {
|
|
68
|
-
if (value == null) {
|
|
69
|
-
return value;
|
|
70
|
-
}
|
|
71
|
-
return {
|
|
72
|
-
|
|
73
|
-
'functionId': value['functionId'],
|
|
74
|
-
'subdomainName': value['subdomainName'],
|
|
75
|
-
'parentDomain': value['parentDomain'],
|
|
76
|
-
};
|
|
77
|
-
}
|
|
78
|
-
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Supermodel
|
|
5
|
-
* Code Graphing & Analysis API
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 0.3.7
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface DomainRelationship
|
|
20
|
-
*/
|
|
21
|
-
export interface DomainRelationship {
|
|
22
|
-
/**
|
|
23
|
-
* Source domain or subdomain name/id
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof DomainRelationship
|
|
26
|
-
*/
|
|
27
|
-
from: string;
|
|
28
|
-
/**
|
|
29
|
-
* Target domain or subdomain name/id
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof DomainRelationship
|
|
32
|
-
*/
|
|
33
|
-
to: string;
|
|
34
|
-
/**
|
|
35
|
-
* Relationship type (e.g., aggregates, dependsOn, relatesTo)
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof DomainRelationship
|
|
38
|
-
*/
|
|
39
|
-
type: string;
|
|
40
|
-
/**
|
|
41
|
-
* Numeric strength/weight (0-1 or small integer)
|
|
42
|
-
* @type {number}
|
|
43
|
-
* @memberof DomainRelationship
|
|
44
|
-
*/
|
|
45
|
-
strength: number;
|
|
46
|
-
/**
|
|
47
|
-
* Optional explanation for the relationship
|
|
48
|
-
* @type {string}
|
|
49
|
-
* @memberof DomainRelationship
|
|
50
|
-
*/
|
|
51
|
-
reason?: string;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* Check if a given object implements the DomainRelationship interface.
|
|
56
|
-
*/
|
|
57
|
-
export function instanceOfDomainRelationship(value: object): value is DomainRelationship {
|
|
58
|
-
if (!('from' in value) || value['from'] === undefined) return false;
|
|
59
|
-
if (!('to' in value) || value['to'] === undefined) return false;
|
|
60
|
-
if (!('type' in value) || value['type'] === undefined) return false;
|
|
61
|
-
if (!('strength' in value) || value['strength'] === undefined) return false;
|
|
62
|
-
return true;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
export function DomainRelationshipFromJSON(json: any): DomainRelationship {
|
|
66
|
-
return DomainRelationshipFromJSONTyped(json, false);
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
export function DomainRelationshipFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainRelationship {
|
|
70
|
-
if (json == null) {
|
|
71
|
-
return json;
|
|
72
|
-
}
|
|
73
|
-
return {
|
|
74
|
-
|
|
75
|
-
'from': json['from'],
|
|
76
|
-
'to': json['to'],
|
|
77
|
-
'type': json['type'],
|
|
78
|
-
'strength': json['strength'],
|
|
79
|
-
'reason': json['reason'] == null ? undefined : json['reason'],
|
|
80
|
-
};
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
export function DomainRelationshipToJSON(value?: DomainRelationship | null): any {
|
|
84
|
-
if (value == null) {
|
|
85
|
-
return value;
|
|
86
|
-
}
|
|
87
|
-
return {
|
|
88
|
-
|
|
89
|
-
'from': value['from'],
|
|
90
|
-
'to': value['to'],
|
|
91
|
-
'type': value['type'],
|
|
92
|
-
'strength': value['strength'],
|
|
93
|
-
'reason': value['reason'],
|
|
94
|
-
};
|
|
95
|
-
}
|
|
96
|
-
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Supermodel
|
|
5
|
-
* Code Graphing & Analysis API
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 0.3.7
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
import type { SubdomainSummary } from './SubdomainSummary';
|
|
17
|
-
import {
|
|
18
|
-
SubdomainSummaryFromJSON,
|
|
19
|
-
SubdomainSummaryFromJSONTyped,
|
|
20
|
-
SubdomainSummaryToJSON,
|
|
21
|
-
} from './SubdomainSummary';
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
*
|
|
25
|
-
* @export
|
|
26
|
-
* @interface DomainSummary
|
|
27
|
-
*/
|
|
28
|
-
export interface DomainSummary {
|
|
29
|
-
/**
|
|
30
|
-
* Domain name (e.g., BillingAccount)
|
|
31
|
-
* @type {string}
|
|
32
|
-
* @memberof DomainSummary
|
|
33
|
-
*/
|
|
34
|
-
name: string;
|
|
35
|
-
/**
|
|
36
|
-
* Human-readable description of the domain
|
|
37
|
-
* @type {string}
|
|
38
|
-
* @memberof DomainSummary
|
|
39
|
-
*/
|
|
40
|
-
descriptionSummary: string;
|
|
41
|
-
/**
|
|
42
|
-
* Representative files backing the domain
|
|
43
|
-
* @type {Array<string>}
|
|
44
|
-
* @memberof DomainSummary
|
|
45
|
-
*/
|
|
46
|
-
keyFiles: Array<string>;
|
|
47
|
-
/**
|
|
48
|
-
* Key responsibilities/concerns of the domain
|
|
49
|
-
* @type {Array<string>}
|
|
50
|
-
* @memberof DomainSummary
|
|
51
|
-
*/
|
|
52
|
-
responsibilities: Array<string>;
|
|
53
|
-
/**
|
|
54
|
-
* Subdomains for this domain
|
|
55
|
-
* @type {Array<SubdomainSummary>}
|
|
56
|
-
* @memberof DomainSummary
|
|
57
|
-
*/
|
|
58
|
-
subdomains: Array<SubdomainSummary>;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* Check if a given object implements the DomainSummary interface.
|
|
63
|
-
*/
|
|
64
|
-
export function instanceOfDomainSummary(value: object): value is DomainSummary {
|
|
65
|
-
if (!('name' in value) || value['name'] === undefined) return false;
|
|
66
|
-
if (!('descriptionSummary' in value) || value['descriptionSummary'] === undefined) return false;
|
|
67
|
-
if (!('keyFiles' in value) || value['keyFiles'] === undefined) return false;
|
|
68
|
-
if (!('responsibilities' in value) || value['responsibilities'] === undefined) return false;
|
|
69
|
-
if (!('subdomains' in value) || value['subdomains'] === undefined) return false;
|
|
70
|
-
return true;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
export function DomainSummaryFromJSON(json: any): DomainSummary {
|
|
74
|
-
return DomainSummaryFromJSONTyped(json, false);
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
export function DomainSummaryFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainSummary {
|
|
78
|
-
if (json == null) {
|
|
79
|
-
return json;
|
|
80
|
-
}
|
|
81
|
-
return {
|
|
82
|
-
|
|
83
|
-
'name': json['name'],
|
|
84
|
-
'descriptionSummary': json['descriptionSummary'],
|
|
85
|
-
'keyFiles': json['keyFiles'],
|
|
86
|
-
'responsibilities': json['responsibilities'],
|
|
87
|
-
'subdomains': ((json['subdomains'] as Array<any>).map(SubdomainSummaryFromJSON)),
|
|
88
|
-
};
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
export function DomainSummaryToJSON(value?: DomainSummary | null): any {
|
|
92
|
-
if (value == null) {
|
|
93
|
-
return value;
|
|
94
|
-
}
|
|
95
|
-
return {
|
|
96
|
-
|
|
97
|
-
'name': value['name'],
|
|
98
|
-
'descriptionSummary': value['descriptionSummary'],
|
|
99
|
-
'keyFiles': value['keyFiles'],
|
|
100
|
-
'responsibilities': value['responsibilities'],
|
|
101
|
-
'subdomains': ((value['subdomains'] as Array<any>).map(SubdomainSummaryToJSON)),
|
|
102
|
-
};
|
|
103
|
-
}
|
|
104
|
-
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Supermodel
|
|
5
|
-
* Code Graphing & Analysis API
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 0.3.7
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface ErrorDetailsInner
|
|
20
|
-
*/
|
|
21
|
-
export interface ErrorDetailsInner {
|
|
22
|
-
/**
|
|
23
|
-
* Name of the field or parameter related to the error.
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof ErrorDetailsInner
|
|
26
|
-
*/
|
|
27
|
-
field: string;
|
|
28
|
-
/**
|
|
29
|
-
* Description of the specific issue encountered.
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof ErrorDetailsInner
|
|
32
|
-
*/
|
|
33
|
-
issue: string;
|
|
34
|
-
/**
|
|
35
|
-
* Where the field resides (e.g., query, path, body).
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof ErrorDetailsInner
|
|
38
|
-
*/
|
|
39
|
-
location?: string;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* Check if a given object implements the ErrorDetailsInner interface.
|
|
44
|
-
*/
|
|
45
|
-
export function instanceOfErrorDetailsInner(value: object): value is ErrorDetailsInner {
|
|
46
|
-
if (!('field' in value) || value['field'] === undefined) return false;
|
|
47
|
-
if (!('issue' in value) || value['issue'] === undefined) return false;
|
|
48
|
-
return true;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
export function ErrorDetailsInnerFromJSON(json: any): ErrorDetailsInner {
|
|
52
|
-
return ErrorDetailsInnerFromJSONTyped(json, false);
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
export function ErrorDetailsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): ErrorDetailsInner {
|
|
56
|
-
if (json == null) {
|
|
57
|
-
return json;
|
|
58
|
-
}
|
|
59
|
-
return {
|
|
60
|
-
|
|
61
|
-
'field': json['field'],
|
|
62
|
-
'issue': json['issue'],
|
|
63
|
-
'location': json['location'] == null ? undefined : json['location'],
|
|
64
|
-
};
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
export function ErrorDetailsInnerToJSON(value?: ErrorDetailsInner | null): any {
|
|
68
|
-
if (value == null) {
|
|
69
|
-
return value;
|
|
70
|
-
}
|
|
71
|
-
return {
|
|
72
|
-
|
|
73
|
-
'field': value['field'],
|
|
74
|
-
'issue': value['issue'],
|
|
75
|
-
'location': value['location'],
|
|
76
|
-
};
|
|
77
|
-
}
|
|
78
|
-
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Supermodel
|
|
5
|
-
* Code Graphing & Analysis API
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 0.3.7
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface FunctionDescription
|
|
20
|
-
*/
|
|
21
|
-
export interface FunctionDescription {
|
|
22
|
-
/**
|
|
23
|
-
* Function identifier
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof FunctionDescription
|
|
26
|
-
*/
|
|
27
|
-
functionId: string;
|
|
28
|
-
/**
|
|
29
|
-
* Short summary of behavior
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof FunctionDescription
|
|
32
|
-
*/
|
|
33
|
-
descriptionSummary: string;
|
|
34
|
-
/**
|
|
35
|
-
* Optional domain/subdomain association
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof FunctionDescription
|
|
38
|
-
*/
|
|
39
|
-
domainName?: string;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* Check if a given object implements the FunctionDescription interface.
|
|
44
|
-
*/
|
|
45
|
-
export function instanceOfFunctionDescription(value: object): value is FunctionDescription {
|
|
46
|
-
if (!('functionId' in value) || value['functionId'] === undefined) return false;
|
|
47
|
-
if (!('descriptionSummary' in value) || value['descriptionSummary'] === undefined) return false;
|
|
48
|
-
return true;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
export function FunctionDescriptionFromJSON(json: any): FunctionDescription {
|
|
52
|
-
return FunctionDescriptionFromJSONTyped(json, false);
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
export function FunctionDescriptionFromJSONTyped(json: any, ignoreDiscriminator: boolean): FunctionDescription {
|
|
56
|
-
if (json == null) {
|
|
57
|
-
return json;
|
|
58
|
-
}
|
|
59
|
-
return {
|
|
60
|
-
|
|
61
|
-
'functionId': json['functionId'],
|
|
62
|
-
'descriptionSummary': json['descriptionSummary'],
|
|
63
|
-
'domainName': json['domainName'] == null ? undefined : json['domainName'],
|
|
64
|
-
};
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
export function FunctionDescriptionToJSON(value?: FunctionDescription | null): any {
|
|
68
|
-
if (value == null) {
|
|
69
|
-
return value;
|
|
70
|
-
}
|
|
71
|
-
return {
|
|
72
|
-
|
|
73
|
-
'functionId': value['functionId'],
|
|
74
|
-
'descriptionSummary': value['descriptionSummary'],
|
|
75
|
-
'domainName': value['domainName'],
|
|
76
|
-
};
|
|
77
|
-
}
|
|
78
|
-
|
package/src/models/ModelError.ts
DELETED
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Supermodel
|
|
5
|
-
* Code Graphing & Analysis API
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 0.3.7
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
import type { ErrorDetailsInner } from './ErrorDetailsInner';
|
|
17
|
-
import {
|
|
18
|
-
ErrorDetailsInnerFromJSON,
|
|
19
|
-
ErrorDetailsInnerFromJSONTyped,
|
|
20
|
-
ErrorDetailsInnerToJSON,
|
|
21
|
-
} from './ErrorDetailsInner';
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* Standardized error payload returned by the API.
|
|
25
|
-
* @export
|
|
26
|
-
* @interface ModelError
|
|
27
|
-
*/
|
|
28
|
-
export interface ModelError {
|
|
29
|
-
/**
|
|
30
|
-
* HTTP status code associated with the error.
|
|
31
|
-
* @type {number}
|
|
32
|
-
* @memberof ModelError
|
|
33
|
-
*/
|
|
34
|
-
status: number;
|
|
35
|
-
/**
|
|
36
|
-
* Stable, machine-readable error identifier.
|
|
37
|
-
* @type {string}
|
|
38
|
-
* @memberof ModelError
|
|
39
|
-
*/
|
|
40
|
-
code: string;
|
|
41
|
-
/**
|
|
42
|
-
* Human-readable description of the error.
|
|
43
|
-
* @type {string}
|
|
44
|
-
* @memberof ModelError
|
|
45
|
-
*/
|
|
46
|
-
message: string;
|
|
47
|
-
/**
|
|
48
|
-
* ISO-8601 timestamp indicating when the error occurred.
|
|
49
|
-
* @type {Date}
|
|
50
|
-
* @memberof ModelError
|
|
51
|
-
*/
|
|
52
|
-
timestamp: Date;
|
|
53
|
-
/**
|
|
54
|
-
* Correlation identifier for tracing the failing request.
|
|
55
|
-
* @type {string}
|
|
56
|
-
* @memberof ModelError
|
|
57
|
-
*/
|
|
58
|
-
requestId?: string;
|
|
59
|
-
/**
|
|
60
|
-
* Optional list of contextual error details.
|
|
61
|
-
* @type {Array<ErrorDetailsInner>}
|
|
62
|
-
* @memberof ModelError
|
|
63
|
-
*/
|
|
64
|
-
details?: Array<ErrorDetailsInner>;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
/**
|
|
68
|
-
* Check if a given object implements the ModelError interface.
|
|
69
|
-
*/
|
|
70
|
-
export function instanceOfModelError(value: object): value is ModelError {
|
|
71
|
-
if (!('status' in value) || value['status'] === undefined) return false;
|
|
72
|
-
if (!('code' in value) || value['code'] === undefined) return false;
|
|
73
|
-
if (!('message' in value) || value['message'] === undefined) return false;
|
|
74
|
-
if (!('timestamp' in value) || value['timestamp'] === undefined) return false;
|
|
75
|
-
return true;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
export function ModelErrorFromJSON(json: any): ModelError {
|
|
79
|
-
return ModelErrorFromJSONTyped(json, false);
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
export function ModelErrorFromJSONTyped(json: any, ignoreDiscriminator: boolean): ModelError {
|
|
83
|
-
if (json == null) {
|
|
84
|
-
return json;
|
|
85
|
-
}
|
|
86
|
-
return {
|
|
87
|
-
|
|
88
|
-
'status': json['status'],
|
|
89
|
-
'code': json['code'],
|
|
90
|
-
'message': json['message'],
|
|
91
|
-
'timestamp': (new Date(json['timestamp'])),
|
|
92
|
-
'requestId': json['requestId'] == null ? undefined : json['requestId'],
|
|
93
|
-
'details': json['details'] == null ? undefined : ((json['details'] as Array<any>).map(ErrorDetailsInnerFromJSON)),
|
|
94
|
-
};
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
export function ModelErrorToJSON(value?: ModelError | null): any {
|
|
98
|
-
if (value == null) {
|
|
99
|
-
return value;
|
|
100
|
-
}
|
|
101
|
-
return {
|
|
102
|
-
|
|
103
|
-
'status': value['status'],
|
|
104
|
-
'code': value['code'],
|
|
105
|
-
'message': value['message'],
|
|
106
|
-
'timestamp': ((value['timestamp']).toISOString()),
|
|
107
|
-
'requestId': value['requestId'],
|
|
108
|
-
'details': value['details'] == null ? undefined : ((value['details'] as Array<any>).map(ErrorDetailsInnerToJSON)),
|
|
109
|
-
};
|
|
110
|
-
}
|
|
111
|
-
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Supermodel
|
|
5
|
-
* Code Graphing & Analysis API
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 0.3.7
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface SubdomainSummary
|
|
20
|
-
*/
|
|
21
|
-
export interface SubdomainSummary {
|
|
22
|
-
/**
|
|
23
|
-
* Subdomain name
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof SubdomainSummary
|
|
26
|
-
*/
|
|
27
|
-
name: string;
|
|
28
|
-
/**
|
|
29
|
-
* Concise description of the subdomain
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof SubdomainSummary
|
|
32
|
-
*/
|
|
33
|
-
descriptionSummary: string;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* Check if a given object implements the SubdomainSummary interface.
|
|
38
|
-
*/
|
|
39
|
-
export function instanceOfSubdomainSummary(value: object): value is SubdomainSummary {
|
|
40
|
-
if (!('name' in value) || value['name'] === undefined) return false;
|
|
41
|
-
if (!('descriptionSummary' in value) || value['descriptionSummary'] === undefined) return false;
|
|
42
|
-
return true;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export function SubdomainSummaryFromJSON(json: any): SubdomainSummary {
|
|
46
|
-
return SubdomainSummaryFromJSONTyped(json, false);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export function SubdomainSummaryFromJSONTyped(json: any, ignoreDiscriminator: boolean): SubdomainSummary {
|
|
50
|
-
if (json == null) {
|
|
51
|
-
return json;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
|
|
55
|
-
'name': json['name'],
|
|
56
|
-
'descriptionSummary': json['descriptionSummary'],
|
|
57
|
-
};
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
export function SubdomainSummaryToJSON(value?: SubdomainSummary | null): any {
|
|
61
|
-
if (value == null) {
|
|
62
|
-
return value;
|
|
63
|
-
}
|
|
64
|
-
return {
|
|
65
|
-
|
|
66
|
-
'name': value['name'],
|
|
67
|
-
'descriptionSummary': value['descriptionSummary'],
|
|
68
|
-
};
|
|
69
|
-
}
|
|
70
|
-
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Supermodel
|
|
5
|
-
* Code Graphing & Analysis API
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 0.3.7
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface SupermodelArtifact
|
|
20
|
-
*/
|
|
21
|
-
export interface SupermodelArtifact {
|
|
22
|
-
/**
|
|
23
|
-
* Unique identifier for the artifact.
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof SupermodelArtifact
|
|
26
|
-
*/
|
|
27
|
-
id: string;
|
|
28
|
-
/**
|
|
29
|
-
* Artifact kind such as graph, summary, or embedding.
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof SupermodelArtifact
|
|
32
|
-
*/
|
|
33
|
-
kind: string;
|
|
34
|
-
/**
|
|
35
|
-
* Human-readable name for the artifact.
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof SupermodelArtifact
|
|
38
|
-
*/
|
|
39
|
-
label: string;
|
|
40
|
-
/**
|
|
41
|
-
* Additional metadata for consuming the artifact.
|
|
42
|
-
* @type {{ [key: string]: any; }}
|
|
43
|
-
* @memberof SupermodelArtifact
|
|
44
|
-
*/
|
|
45
|
-
metadata?: { [key: string]: any; };
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* Check if a given object implements the SupermodelArtifact interface.
|
|
50
|
-
*/
|
|
51
|
-
export function instanceOfSupermodelArtifact(value: object): value is SupermodelArtifact {
|
|
52
|
-
if (!('id' in value) || value['id'] === undefined) return false;
|
|
53
|
-
if (!('kind' in value) || value['kind'] === undefined) return false;
|
|
54
|
-
if (!('label' in value) || value['label'] === undefined) return false;
|
|
55
|
-
return true;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
export function SupermodelArtifactFromJSON(json: any): SupermodelArtifact {
|
|
59
|
-
return SupermodelArtifactFromJSONTyped(json, false);
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
export function SupermodelArtifactFromJSONTyped(json: any, ignoreDiscriminator: boolean): SupermodelArtifact {
|
|
63
|
-
if (json == null) {
|
|
64
|
-
return json;
|
|
65
|
-
}
|
|
66
|
-
return {
|
|
67
|
-
|
|
68
|
-
'id': json['id'],
|
|
69
|
-
'kind': json['kind'],
|
|
70
|
-
'label': json['label'],
|
|
71
|
-
'metadata': json['metadata'] == null ? undefined : json['metadata'],
|
|
72
|
-
};
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
export function SupermodelArtifactToJSON(value?: SupermodelArtifact | null): any {
|
|
76
|
-
if (value == null) {
|
|
77
|
-
return value;
|
|
78
|
-
}
|
|
79
|
-
return {
|
|
80
|
-
|
|
81
|
-
'id': value['id'],
|
|
82
|
-
'kind': value['kind'],
|
|
83
|
-
'label': value['label'],
|
|
84
|
-
'metadata': value['metadata'],
|
|
85
|
-
};
|
|
86
|
-
}
|
|
87
|
-
|