@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.
- package/dist/apis/DefaultApi.d.ts +12 -12
- package/dist/apis/DefaultApi.js +6 -6
- package/dist/async.d.ts +152 -0
- package/dist/async.js +235 -0
- package/dist/esm/apis/DefaultApi.d.ts +12 -12
- package/dist/esm/apis/DefaultApi.js +7 -7
- package/dist/esm/async.d.ts +152 -0
- package/dist/esm/async.js +229 -0
- package/dist/esm/index.d.ts +1 -0
- package/dist/esm/index.js +1 -0
- 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/CodeGraphEnvelopeAsync.d.ts +66 -0
- package/dist/esm/models/CodeGraphEnvelopeAsync.js +60 -0
- 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/DomainClassificationResponseAsync.d.ts +66 -0
- package/dist/esm/models/DomainClassificationResponseAsync.js +60 -0
- 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/JobStatus.d.ts +59 -0
- package/dist/esm/models/JobStatus.js +57 -0
- 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/SupermodelIRAsync.d.ts +66 -0
- package/dist/esm/models/SupermodelIRAsync.js +60 -0
- 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/models/index.d.ts +4 -0
- package/dist/esm/models/index.js +4 -0
- package/dist/esm/runtime.d.ts +1 -1
- package/dist/esm/runtime.js +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- 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/CodeGraphEnvelopeAsync.d.ts +66 -0
- package/dist/models/CodeGraphEnvelopeAsync.js +67 -0
- 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/DomainClassificationResponseAsync.d.ts +66 -0
- package/dist/models/DomainClassificationResponseAsync.js +67 -0
- 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/JobStatus.d.ts +59 -0
- package/dist/models/JobStatus.js +64 -0
- 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/SupermodelIRAsync.d.ts +66 -0
- package/dist/models/SupermodelIRAsync.js +67 -0
- 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/models/index.d.ts +4 -0
- package/dist/models/index.js +4 -0
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +1 -1
- package/package.json +1 -1
package/dist/esm/models/index.js
CHANGED
|
@@ -2,21 +2,25 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export * from './ClassificationStats';
|
|
4
4
|
export * from './CodeGraphEnvelope';
|
|
5
|
+
export * from './CodeGraphEnvelopeAsync';
|
|
5
6
|
export * from './CodeGraphEnvelopeGraph';
|
|
6
7
|
export * from './CodeGraphNode';
|
|
7
8
|
export * from './CodeGraphRelationship';
|
|
8
9
|
export * from './CodeGraphStats';
|
|
9
10
|
export * from './DomainClassAssignment';
|
|
10
11
|
export * from './DomainClassificationResponse';
|
|
12
|
+
export * from './DomainClassificationResponseAsync';
|
|
11
13
|
export * from './DomainFileAssignment';
|
|
12
14
|
export * from './DomainFunctionAssignment';
|
|
13
15
|
export * from './DomainRelationship';
|
|
14
16
|
export * from './DomainSummary';
|
|
15
17
|
export * from './ErrorDetailsInner';
|
|
16
18
|
export * from './FunctionDescription';
|
|
19
|
+
export * from './JobStatus';
|
|
17
20
|
export * from './ModelError';
|
|
18
21
|
export * from './SubdomainSummary';
|
|
19
22
|
export * from './SupermodelArtifact';
|
|
20
23
|
export * from './SupermodelIR';
|
|
24
|
+
export * from './SupermodelIRAsync';
|
|
21
25
|
export * from './SupermodelIRGraph';
|
|
22
26
|
export * from './UnassignedFunction';
|
package/dist/esm/runtime.d.ts
CHANGED
package/dist/esm/runtime.js
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -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 { CodeGraphEnvelope } from './CodeGraphEnvelope';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CodeGraphEnvelopeAsync
|
|
17
|
+
*/
|
|
18
|
+
export interface CodeGraphEnvelopeAsync {
|
|
19
|
+
/**
|
|
20
|
+
* Current status of the job.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof CodeGraphEnvelopeAsync
|
|
23
|
+
*/
|
|
24
|
+
status: CodeGraphEnvelopeAsyncStatusEnum;
|
|
25
|
+
/**
|
|
26
|
+
* Unique identifier for the job.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof CodeGraphEnvelopeAsync
|
|
29
|
+
*/
|
|
30
|
+
jobId: string;
|
|
31
|
+
/**
|
|
32
|
+
* Recommended seconds to wait before polling again.
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof CodeGraphEnvelopeAsync
|
|
35
|
+
*/
|
|
36
|
+
retryAfter?: number;
|
|
37
|
+
/**
|
|
38
|
+
* Error message (present when status is failed).
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof CodeGraphEnvelopeAsync
|
|
41
|
+
*/
|
|
42
|
+
error?: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {CodeGraphEnvelope}
|
|
46
|
+
* @memberof CodeGraphEnvelopeAsync
|
|
47
|
+
*/
|
|
48
|
+
result?: CodeGraphEnvelope;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* @export
|
|
52
|
+
*/
|
|
53
|
+
export declare const CodeGraphEnvelopeAsyncStatusEnum: {
|
|
54
|
+
readonly Pending: "pending";
|
|
55
|
+
readonly Processing: "processing";
|
|
56
|
+
readonly Completed: "completed";
|
|
57
|
+
readonly Failed: "failed";
|
|
58
|
+
};
|
|
59
|
+
export type CodeGraphEnvelopeAsyncStatusEnum = typeof CodeGraphEnvelopeAsyncStatusEnum[keyof typeof CodeGraphEnvelopeAsyncStatusEnum];
|
|
60
|
+
/**
|
|
61
|
+
* Check if a given object implements the CodeGraphEnvelopeAsync interface.
|
|
62
|
+
*/
|
|
63
|
+
export declare function instanceOfCodeGraphEnvelopeAsync(value: object): value is CodeGraphEnvelopeAsync;
|
|
64
|
+
export declare function CodeGraphEnvelopeAsyncFromJSON(json: any): CodeGraphEnvelopeAsync;
|
|
65
|
+
export declare function CodeGraphEnvelopeAsyncFromJSONTyped(json: any, ignoreDiscriminator: boolean): CodeGraphEnvelopeAsync;
|
|
66
|
+
export declare function CodeGraphEnvelopeAsyncToJSON(value?: CodeGraphEnvelopeAsync | null): any;
|
|
@@ -0,0 +1,67 @@
|
|
|
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.6.2
|
|
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.CodeGraphEnvelopeAsyncStatusEnum = void 0;
|
|
17
|
+
exports.instanceOfCodeGraphEnvelopeAsync = instanceOfCodeGraphEnvelopeAsync;
|
|
18
|
+
exports.CodeGraphEnvelopeAsyncFromJSON = CodeGraphEnvelopeAsyncFromJSON;
|
|
19
|
+
exports.CodeGraphEnvelopeAsyncFromJSONTyped = CodeGraphEnvelopeAsyncFromJSONTyped;
|
|
20
|
+
exports.CodeGraphEnvelopeAsyncToJSON = CodeGraphEnvelopeAsyncToJSON;
|
|
21
|
+
const CodeGraphEnvelope_1 = require("./CodeGraphEnvelope");
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.CodeGraphEnvelopeAsyncStatusEnum = {
|
|
26
|
+
Pending: 'pending',
|
|
27
|
+
Processing: 'processing',
|
|
28
|
+
Completed: 'completed',
|
|
29
|
+
Failed: 'failed'
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the CodeGraphEnvelopeAsync interface.
|
|
33
|
+
*/
|
|
34
|
+
function instanceOfCodeGraphEnvelopeAsync(value) {
|
|
35
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('jobId' in value) || value['jobId'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
return true;
|
|
40
|
+
}
|
|
41
|
+
function CodeGraphEnvelopeAsyncFromJSON(json) {
|
|
42
|
+
return CodeGraphEnvelopeAsyncFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function CodeGraphEnvelopeAsyncFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
if (json == null) {
|
|
46
|
+
return json;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'status': json['status'],
|
|
50
|
+
'jobId': json['jobId'],
|
|
51
|
+
'retryAfter': json['retryAfter'] == null ? undefined : json['retryAfter'],
|
|
52
|
+
'error': json['error'] == null ? undefined : json['error'],
|
|
53
|
+
'result': json['result'] == null ? undefined : (0, CodeGraphEnvelope_1.CodeGraphEnvelopeFromJSON)(json['result']),
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
function CodeGraphEnvelopeAsyncToJSON(value) {
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
'status': value['status'],
|
|
62
|
+
'jobId': value['jobId'],
|
|
63
|
+
'retryAfter': value['retryAfter'],
|
|
64
|
+
'error': value['error'],
|
|
65
|
+
'result': (0, CodeGraphEnvelope_1.CodeGraphEnvelopeToJSON)(value['result']),
|
|
66
|
+
};
|
|
67
|
+
}
|
|
@@ -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,67 @@
|
|
|
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.6.2
|
|
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.DomainClassificationResponseAsyncStatusEnum = void 0;
|
|
17
|
+
exports.instanceOfDomainClassificationResponseAsync = instanceOfDomainClassificationResponseAsync;
|
|
18
|
+
exports.DomainClassificationResponseAsyncFromJSON = DomainClassificationResponseAsyncFromJSON;
|
|
19
|
+
exports.DomainClassificationResponseAsyncFromJSONTyped = DomainClassificationResponseAsyncFromJSONTyped;
|
|
20
|
+
exports.DomainClassificationResponseAsyncToJSON = DomainClassificationResponseAsyncToJSON;
|
|
21
|
+
const DomainClassificationResponse_1 = require("./DomainClassificationResponse");
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.DomainClassificationResponseAsyncStatusEnum = {
|
|
26
|
+
Pending: 'pending',
|
|
27
|
+
Processing: 'processing',
|
|
28
|
+
Completed: 'completed',
|
|
29
|
+
Failed: 'failed'
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the DomainClassificationResponseAsync interface.
|
|
33
|
+
*/
|
|
34
|
+
function instanceOfDomainClassificationResponseAsync(value) {
|
|
35
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('jobId' in value) || value['jobId'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
return true;
|
|
40
|
+
}
|
|
41
|
+
function DomainClassificationResponseAsyncFromJSON(json) {
|
|
42
|
+
return DomainClassificationResponseAsyncFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function DomainClassificationResponseAsyncFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
if (json == null) {
|
|
46
|
+
return json;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'status': json['status'],
|
|
50
|
+
'jobId': json['jobId'],
|
|
51
|
+
'retryAfter': json['retryAfter'] == null ? undefined : json['retryAfter'],
|
|
52
|
+
'error': json['error'] == null ? undefined : json['error'],
|
|
53
|
+
'result': json['result'] == null ? undefined : (0, DomainClassificationResponse_1.DomainClassificationResponseFromJSON)(json['result']),
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
function DomainClassificationResponseAsyncToJSON(value) {
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
'status': value['status'],
|
|
62
|
+
'jobId': value['jobId'],
|
|
63
|
+
'retryAfter': value['retryAfter'],
|
|
64
|
+
'error': value['error'],
|
|
65
|
+
'result': (0, DomainClassificationResponse_1.DomainClassificationResponseToJSON)(value['result']),
|
|
66
|
+
};
|
|
67
|
+
}
|