@alicloud/quanmiaolightapp20240801 2.8.2 → 2.9.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/dist/client.d.ts +72 -0
- package/dist/client.js +215 -0
- package/dist/client.js.map +1 -1
- package/dist/models/GetEssayCorrectionTaskRequest.d.ts +18 -0
- package/dist/models/GetEssayCorrectionTaskRequest.js +58 -0
- package/dist/models/GetEssayCorrectionTaskRequest.js.map +1 -0
- package/dist/models/GetEssayCorrectionTaskResponse.d.ts +19 -0
- package/dist/models/GetEssayCorrectionTaskResponse.js +69 -0
- package/dist/models/GetEssayCorrectionTaskResponse.js.map +1 -0
- package/dist/models/GetEssayCorrectionTaskResponseBody.d.ts +43 -0
- package/dist/models/GetEssayCorrectionTaskResponseBody.js +72 -0
- package/dist/models/GetEssayCorrectionTaskResponseBody.js.map +1 -0
- package/dist/models/GetEssayCorrectionTaskResponseBodyData.d.ts +21 -0
- package/dist/models/GetEssayCorrectionTaskResponseBodyData.js +66 -0
- package/dist/models/GetEssayCorrectionTaskResponseBodyData.js.map +1 -0
- package/dist/models/GetEssayCorrectionTaskResponseBodyDataResults.d.ts +27 -0
- package/dist/models/GetEssayCorrectionTaskResponseBodyDataResults.js +62 -0
- package/dist/models/GetEssayCorrectionTaskResponseBodyDataResults.js.map +1 -0
- package/dist/models/RunEssayCorrectionRequest.d.ts +36 -0
- package/dist/models/RunEssayCorrectionRequest.js +70 -0
- package/dist/models/RunEssayCorrectionRequest.js.map +1 -0
- package/dist/models/RunEssayCorrectionResponse.d.ts +19 -0
- package/dist/models/RunEssayCorrectionResponse.js +69 -0
- package/dist/models/RunEssayCorrectionResponse.js.map +1 -0
- package/dist/models/RunEssayCorrectionResponseBody.d.ts +25 -0
- package/dist/models/RunEssayCorrectionResponseBody.js +70 -0
- package/dist/models/RunEssayCorrectionResponseBody.js.map +1 -0
- package/dist/models/RunEssayCorrectionResponseBodyHeader.d.ts +43 -0
- package/dist/models/RunEssayCorrectionResponseBodyHeader.js +68 -0
- package/dist/models/RunEssayCorrectionResponseBodyHeader.js.map +1 -0
- package/dist/models/RunEssayCorrectionResponseBodyPayload.d.ts +17 -0
- package/dist/models/RunEssayCorrectionResponseBodyPayload.js +68 -0
- package/dist/models/RunEssayCorrectionResponseBodyPayload.js.map +1 -0
- package/dist/models/RunEssayCorrectionResponseBodyPayloadOutput.d.ts +19 -0
- package/dist/models/RunEssayCorrectionResponseBodyPayloadOutput.js +60 -0
- package/dist/models/RunEssayCorrectionResponseBodyPayloadOutput.js.map +1 -0
- package/dist/models/RunEssayCorrectionResponseBodyPayloadUsage.d.ts +28 -0
- package/dist/models/RunEssayCorrectionResponseBodyPayloadUsage.js +62 -0
- package/dist/models/RunEssayCorrectionResponseBodyPayloadUsage.js.map +1 -0
- package/dist/models/RunMarketingInformationWritingResponseBodyPayloadOutput.d.ts +1 -0
- package/dist/models/RunMarketingInformationWritingResponseBodyPayloadOutput.js +2 -0
- package/dist/models/RunMarketingInformationWritingResponseBodyPayloadOutput.js.map +1 -1
- package/dist/models/RunOcrParseRequest.d.ts +24 -0
- package/dist/models/RunOcrParseRequest.js +62 -0
- package/dist/models/RunOcrParseRequest.js.map +1 -0
- package/dist/models/RunOcrParseResponse.d.ts +19 -0
- package/dist/models/RunOcrParseResponse.js +69 -0
- package/dist/models/RunOcrParseResponse.js.map +1 -0
- package/dist/models/RunOcrParseResponseBody.d.ts +25 -0
- package/dist/models/RunOcrParseResponseBody.js +70 -0
- package/dist/models/RunOcrParseResponseBody.js.map +1 -0
- package/dist/models/RunOcrParseResponseBodyHeader.d.ts +43 -0
- package/dist/models/RunOcrParseResponseBodyHeader.js +68 -0
- package/dist/models/RunOcrParseResponseBodyHeader.js.map +1 -0
- package/dist/models/RunOcrParseResponseBodyPayload.d.ts +17 -0
- package/dist/models/RunOcrParseResponseBodyPayload.js +68 -0
- package/dist/models/RunOcrParseResponseBodyPayload.js.map +1 -0
- package/dist/models/RunOcrParseResponseBodyPayloadOutput.d.ts +14 -0
- package/dist/models/RunOcrParseResponseBodyPayloadOutput.js +58 -0
- package/dist/models/RunOcrParseResponseBodyPayloadOutput.js.map +1 -0
- package/dist/models/RunOcrParseResponseBodyPayloadUsage.d.ts +28 -0
- package/dist/models/RunOcrParseResponseBodyPayloadUsage.js +62 -0
- package/dist/models/RunOcrParseResponseBodyPayloadUsage.js.map +1 -0
- package/dist/models/SubmitEssayCorrectionTaskRequest.d.ts +45 -0
- package/dist/models/SubmitEssayCorrectionTaskRequest.js +74 -0
- package/dist/models/SubmitEssayCorrectionTaskRequest.js.map +1 -0
- package/dist/models/SubmitEssayCorrectionTaskRequestTasks.d.ts +43 -0
- package/dist/models/SubmitEssayCorrectionTaskRequestTasks.js +68 -0
- package/dist/models/SubmitEssayCorrectionTaskRequestTasks.js.map +1 -0
- package/dist/models/SubmitEssayCorrectionTaskResponse.d.ts +19 -0
- package/dist/models/SubmitEssayCorrectionTaskResponse.js +69 -0
- package/dist/models/SubmitEssayCorrectionTaskResponse.js.map +1 -0
- package/dist/models/SubmitEssayCorrectionTaskResponseBody.d.ts +40 -0
- package/dist/models/SubmitEssayCorrectionTaskResponseBody.js +72 -0
- package/dist/models/SubmitEssayCorrectionTaskResponseBody.js.map +1 -0
- package/dist/models/SubmitEssayCorrectionTaskResponseBodyData.d.ts +18 -0
- package/dist/models/SubmitEssayCorrectionTaskResponseBodyData.js +58 -0
- package/dist/models/SubmitEssayCorrectionTaskResponseBodyData.js.map +1 -0
- package/dist/models/SubmitEssayCorrectionTaskShrinkRequest.d.ts +44 -0
- package/dist/models/SubmitEssayCorrectionTaskShrinkRequest.js +70 -0
- package/dist/models/SubmitEssayCorrectionTaskShrinkRequest.js.map +1 -0
- package/dist/models/model.d.ts +25 -0
- package/dist/models/model.js +56 -6
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +242 -0
- package/src/models/GetEssayCorrectionTaskRequest.ts +31 -0
- package/src/models/GetEssayCorrectionTaskResponse.ts +40 -0
- package/src/models/GetEssayCorrectionTaskResponseBody.ts +69 -0
- package/src/models/GetEssayCorrectionTaskResponseBodyData.ts +41 -0
- package/src/models/GetEssayCorrectionTaskResponseBodyDataResults.ts +44 -0
- package/src/models/RunEssayCorrectionRequest.ts +61 -0
- package/src/models/RunEssayCorrectionResponse.ts +40 -0
- package/src/models/RunEssayCorrectionResponseBody.ts +48 -0
- package/src/models/RunEssayCorrectionResponseBodyHeader.ts +66 -0
- package/src/models/RunEssayCorrectionResponseBodyPayload.ts +38 -0
- package/src/models/RunEssayCorrectionResponseBodyPayloadOutput.ts +34 -0
- package/src/models/RunEssayCorrectionResponseBodyPayloadUsage.ts +45 -0
- package/src/models/RunMarketingInformationWritingResponseBodyPayloadOutput.ts +3 -0
- package/src/models/RunOcrParseRequest.ts +41 -0
- package/src/models/RunOcrParseResponse.ts +40 -0
- package/src/models/RunOcrParseResponseBody.ts +48 -0
- package/src/models/RunOcrParseResponseBodyHeader.ts +66 -0
- package/src/models/RunOcrParseResponseBodyPayload.ts +38 -0
- package/src/models/RunOcrParseResponseBodyPayloadOutput.ts +27 -0
- package/src/models/RunOcrParseResponseBodyPayloadUsage.ts +45 -0
- package/src/models/SubmitEssayCorrectionTaskRequest.ts +73 -0
- package/src/models/SubmitEssayCorrectionTaskRequestTasks.ts +66 -0
- package/src/models/SubmitEssayCorrectionTaskResponse.ts +40 -0
- package/src/models/SubmitEssayCorrectionTaskResponseBody.ts +66 -0
- package/src/models/SubmitEssayCorrectionTaskResponseBodyData.ts +31 -0
- package/src/models/SubmitEssayCorrectionTaskShrinkRequest.ts +69 -0
- package/src/models/model.ts +25 -0
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
import { RunEssayCorrectionResponseBodyHeader } from "./RunEssayCorrectionResponseBodyHeader";
|
|
3
|
+
import { RunEssayCorrectionResponseBodyPayload } from "./RunEssayCorrectionResponseBodyPayload";
|
|
4
|
+
export declare class RunEssayCorrectionResponseBody extends $dara.Model {
|
|
5
|
+
header?: RunEssayCorrectionResponseBodyHeader;
|
|
6
|
+
payload?: RunEssayCorrectionResponseBodyPayload;
|
|
7
|
+
/**
|
|
8
|
+
* @remarks
|
|
9
|
+
* Id of the request
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* 117F5ABE-CF02-5502-9A3F-E56BC9081A64
|
|
13
|
+
*/
|
|
14
|
+
requestId?: string;
|
|
15
|
+
static names(): {
|
|
16
|
+
[key: string]: string;
|
|
17
|
+
};
|
|
18
|
+
static types(): {
|
|
19
|
+
[key: string]: any;
|
|
20
|
+
};
|
|
21
|
+
validate(): void;
|
|
22
|
+
constructor(map?: {
|
|
23
|
+
[key: string]: any;
|
|
24
|
+
});
|
|
25
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.RunEssayCorrectionResponseBody = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
const RunEssayCorrectionResponseBodyHeader_1 = require("./RunEssayCorrectionResponseBodyHeader");
|
|
40
|
+
const RunEssayCorrectionResponseBodyPayload_1 = require("./RunEssayCorrectionResponseBodyPayload");
|
|
41
|
+
class RunEssayCorrectionResponseBody extends $dara.Model {
|
|
42
|
+
static names() {
|
|
43
|
+
return {
|
|
44
|
+
header: 'header',
|
|
45
|
+
payload: 'payload',
|
|
46
|
+
requestId: 'requestId',
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
static types() {
|
|
50
|
+
return {
|
|
51
|
+
header: RunEssayCorrectionResponseBodyHeader_1.RunEssayCorrectionResponseBodyHeader,
|
|
52
|
+
payload: RunEssayCorrectionResponseBodyPayload_1.RunEssayCorrectionResponseBodyPayload,
|
|
53
|
+
requestId: 'string',
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
validate() {
|
|
57
|
+
if (this.header && typeof this.header.validate === 'function') {
|
|
58
|
+
this.header.validate();
|
|
59
|
+
}
|
|
60
|
+
if (this.payload && typeof this.payload.validate === 'function') {
|
|
61
|
+
this.payload.validate();
|
|
62
|
+
}
|
|
63
|
+
super.validate();
|
|
64
|
+
}
|
|
65
|
+
constructor(map) {
|
|
66
|
+
super(map);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
exports.RunEssayCorrectionResponseBody = RunEssayCorrectionResponseBody;
|
|
70
|
+
//# sourceMappingURL=RunEssayCorrectionResponseBody.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RunEssayCorrectionResponseBody.js","sourceRoot":"","sources":["../../src/models/RunEssayCorrectionResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,iGAA8F;AAC9F,mGAAgG;AAGhG,MAAa,8BAA+B,SAAQ,KAAK,CAAC,KAAK;IAW7D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;YAChB,OAAO,EAAE,SAAS;YAClB,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,2EAAoC;YAC5C,OAAO,EAAE,6EAAqC;YAC9C,SAAS,EAAE,QAAQ;SACpB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,MAAM,IAAI,OAAQ,IAAI,CAAC,MAAc,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACrE,IAAI,CAAC,MAAc,CAAC,QAAQ,EAAE,CAAC;QAClC,CAAC;QACD,IAAG,IAAI,CAAC,OAAO,IAAI,OAAQ,IAAI,CAAC,OAAe,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACvE,IAAI,CAAC,OAAe,CAAC,QAAQ,EAAE,CAAC;QACnC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAxCD,wEAwCC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class RunEssayCorrectionResponseBodyHeader extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @example
|
|
5
|
+
* AccessForbidden
|
|
6
|
+
*/
|
|
7
|
+
errorCode?: string;
|
|
8
|
+
/**
|
|
9
|
+
* @example
|
|
10
|
+
* 错误信息
|
|
11
|
+
*/
|
|
12
|
+
errorMessage?: string;
|
|
13
|
+
/**
|
|
14
|
+
* @example
|
|
15
|
+
* task-finished
|
|
16
|
+
*/
|
|
17
|
+
event?: string;
|
|
18
|
+
/**
|
|
19
|
+
* @example
|
|
20
|
+
* xxxx
|
|
21
|
+
*/
|
|
22
|
+
sessionId?: string;
|
|
23
|
+
/**
|
|
24
|
+
* @example
|
|
25
|
+
* xxxx
|
|
26
|
+
*/
|
|
27
|
+
taskId?: string;
|
|
28
|
+
/**
|
|
29
|
+
* @example
|
|
30
|
+
* xxxxx
|
|
31
|
+
*/
|
|
32
|
+
traceId?: string;
|
|
33
|
+
static names(): {
|
|
34
|
+
[key: string]: string;
|
|
35
|
+
};
|
|
36
|
+
static types(): {
|
|
37
|
+
[key: string]: any;
|
|
38
|
+
};
|
|
39
|
+
validate(): void;
|
|
40
|
+
constructor(map?: {
|
|
41
|
+
[key: string]: any;
|
|
42
|
+
});
|
|
43
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.RunEssayCorrectionResponseBodyHeader = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
class RunEssayCorrectionResponseBodyHeader extends $dara.Model {
|
|
40
|
+
static names() {
|
|
41
|
+
return {
|
|
42
|
+
errorCode: 'errorCode',
|
|
43
|
+
errorMessage: 'errorMessage',
|
|
44
|
+
event: 'event',
|
|
45
|
+
sessionId: 'sessionId',
|
|
46
|
+
taskId: 'taskId',
|
|
47
|
+
traceId: 'traceId',
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
static types() {
|
|
51
|
+
return {
|
|
52
|
+
errorCode: 'string',
|
|
53
|
+
errorMessage: 'string',
|
|
54
|
+
event: 'string',
|
|
55
|
+
sessionId: 'string',
|
|
56
|
+
taskId: 'string',
|
|
57
|
+
traceId: 'string',
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
validate() {
|
|
61
|
+
super.validate();
|
|
62
|
+
}
|
|
63
|
+
constructor(map) {
|
|
64
|
+
super(map);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
exports.RunEssayCorrectionResponseBodyHeader = RunEssayCorrectionResponseBodyHeader;
|
|
68
|
+
//# sourceMappingURL=RunEssayCorrectionResponseBodyHeader.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RunEssayCorrectionResponseBodyHeader.js","sourceRoot":"","sources":["../../src/models/RunEssayCorrectionResponseBodyHeader.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,oCAAqC,SAAQ,KAAK,CAAC,KAAK;IA+BnE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,WAAW;YACtB,YAAY,EAAE,cAAc;YAC5B,KAAK,EAAE,OAAO;YACd,SAAS,EAAE,WAAW;YACtB,MAAM,EAAE,QAAQ;YAChB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,QAAQ;YACnB,YAAY,EAAE,QAAQ;YACtB,KAAK,EAAE,QAAQ;YACf,SAAS,EAAE,QAAQ;YACnB,MAAM,EAAE,QAAQ;YAChB,OAAO,EAAE,QAAQ;SAClB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA5DD,oFA4DC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
import { RunEssayCorrectionResponseBodyPayloadOutput } from "./RunEssayCorrectionResponseBodyPayloadOutput";
|
|
3
|
+
import { RunEssayCorrectionResponseBodyPayloadUsage } from "./RunEssayCorrectionResponseBodyPayloadUsage";
|
|
4
|
+
export declare class RunEssayCorrectionResponseBodyPayload extends $dara.Model {
|
|
5
|
+
output?: RunEssayCorrectionResponseBodyPayloadOutput;
|
|
6
|
+
usage?: RunEssayCorrectionResponseBodyPayloadUsage;
|
|
7
|
+
static names(): {
|
|
8
|
+
[key: string]: string;
|
|
9
|
+
};
|
|
10
|
+
static types(): {
|
|
11
|
+
[key: string]: any;
|
|
12
|
+
};
|
|
13
|
+
validate(): void;
|
|
14
|
+
constructor(map?: {
|
|
15
|
+
[key: string]: any;
|
|
16
|
+
});
|
|
17
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.RunEssayCorrectionResponseBodyPayload = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
const RunEssayCorrectionResponseBodyPayloadOutput_1 = require("./RunEssayCorrectionResponseBodyPayloadOutput");
|
|
40
|
+
const RunEssayCorrectionResponseBodyPayloadUsage_1 = require("./RunEssayCorrectionResponseBodyPayloadUsage");
|
|
41
|
+
class RunEssayCorrectionResponseBodyPayload extends $dara.Model {
|
|
42
|
+
static names() {
|
|
43
|
+
return {
|
|
44
|
+
output: 'output',
|
|
45
|
+
usage: 'usage',
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
static types() {
|
|
49
|
+
return {
|
|
50
|
+
output: RunEssayCorrectionResponseBodyPayloadOutput_1.RunEssayCorrectionResponseBodyPayloadOutput,
|
|
51
|
+
usage: RunEssayCorrectionResponseBodyPayloadUsage_1.RunEssayCorrectionResponseBodyPayloadUsage,
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
validate() {
|
|
55
|
+
if (this.output && typeof this.output.validate === 'function') {
|
|
56
|
+
this.output.validate();
|
|
57
|
+
}
|
|
58
|
+
if (this.usage && typeof this.usage.validate === 'function') {
|
|
59
|
+
this.usage.validate();
|
|
60
|
+
}
|
|
61
|
+
super.validate();
|
|
62
|
+
}
|
|
63
|
+
constructor(map) {
|
|
64
|
+
super(map);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
exports.RunEssayCorrectionResponseBodyPayload = RunEssayCorrectionResponseBodyPayload;
|
|
68
|
+
//# sourceMappingURL=RunEssayCorrectionResponseBodyPayload.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RunEssayCorrectionResponseBodyPayload.js","sourceRoot":"","sources":["../../src/models/RunEssayCorrectionResponseBodyPayload.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,+GAA4G;AAC5G,6GAA0G;AAG1G,MAAa,qCAAsC,SAAQ,KAAK,CAAC,KAAK;IAGpE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;YAChB,KAAK,EAAE,OAAO;SACf,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,yFAA2C;YACnD,KAAK,EAAE,uFAA0C;SAClD,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,MAAM,IAAI,OAAQ,IAAI,CAAC,MAAc,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACrE,IAAI,CAAC,MAAc,CAAC,QAAQ,EAAE,CAAC;QAClC,CAAC;QACD,IAAG,IAAI,CAAC,KAAK,IAAI,OAAQ,IAAI,CAAC,KAAa,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACnE,IAAI,CAAC,KAAa,CAAC,QAAQ,EAAE,CAAC;QACjC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA9BD,sFA8BC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class RunEssayCorrectionResponseBodyPayloadOutput extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @example
|
|
5
|
+
* 50
|
|
6
|
+
*/
|
|
7
|
+
score?: number;
|
|
8
|
+
text?: string;
|
|
9
|
+
static names(): {
|
|
10
|
+
[key: string]: string;
|
|
11
|
+
};
|
|
12
|
+
static types(): {
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
};
|
|
15
|
+
validate(): void;
|
|
16
|
+
constructor(map?: {
|
|
17
|
+
[key: string]: any;
|
|
18
|
+
});
|
|
19
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.RunEssayCorrectionResponseBodyPayloadOutput = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
class RunEssayCorrectionResponseBodyPayloadOutput extends $dara.Model {
|
|
40
|
+
static names() {
|
|
41
|
+
return {
|
|
42
|
+
score: 'score',
|
|
43
|
+
text: 'text',
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
static types() {
|
|
47
|
+
return {
|
|
48
|
+
score: 'number',
|
|
49
|
+
text: 'string',
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
validate() {
|
|
53
|
+
super.validate();
|
|
54
|
+
}
|
|
55
|
+
constructor(map) {
|
|
56
|
+
super(map);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
exports.RunEssayCorrectionResponseBodyPayloadOutput = RunEssayCorrectionResponseBodyPayloadOutput;
|
|
60
|
+
//# sourceMappingURL=RunEssayCorrectionResponseBodyPayloadOutput.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RunEssayCorrectionResponseBodyPayloadOutput.js","sourceRoot":"","sources":["../../src/models/RunEssayCorrectionResponseBodyPayloadOutput.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,2CAA4C,SAAQ,KAAK,CAAC,KAAK;IAO1E,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,OAAO;YACd,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,QAAQ;YACf,IAAI,EAAE,QAAQ;SACf,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA5BD,kGA4BC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class RunEssayCorrectionResponseBodyPayloadUsage extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @example
|
|
5
|
+
* 100
|
|
6
|
+
*/
|
|
7
|
+
inputTokens?: number;
|
|
8
|
+
/**
|
|
9
|
+
* @example
|
|
10
|
+
* 100
|
|
11
|
+
*/
|
|
12
|
+
outputTokens?: number;
|
|
13
|
+
/**
|
|
14
|
+
* @example
|
|
15
|
+
* 200
|
|
16
|
+
*/
|
|
17
|
+
totalTokens?: number;
|
|
18
|
+
static names(): {
|
|
19
|
+
[key: string]: string;
|
|
20
|
+
};
|
|
21
|
+
static types(): {
|
|
22
|
+
[key: string]: any;
|
|
23
|
+
};
|
|
24
|
+
validate(): void;
|
|
25
|
+
constructor(map?: {
|
|
26
|
+
[key: string]: any;
|
|
27
|
+
});
|
|
28
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.RunEssayCorrectionResponseBodyPayloadUsage = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
class RunEssayCorrectionResponseBodyPayloadUsage extends $dara.Model {
|
|
40
|
+
static names() {
|
|
41
|
+
return {
|
|
42
|
+
inputTokens: 'inputTokens',
|
|
43
|
+
outputTokens: 'outputTokens',
|
|
44
|
+
totalTokens: 'totalTokens',
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
static types() {
|
|
48
|
+
return {
|
|
49
|
+
inputTokens: 'number',
|
|
50
|
+
outputTokens: 'number',
|
|
51
|
+
totalTokens: 'number',
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
validate() {
|
|
55
|
+
super.validate();
|
|
56
|
+
}
|
|
57
|
+
constructor(map) {
|
|
58
|
+
super(map);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
exports.RunEssayCorrectionResponseBodyPayloadUsage = RunEssayCorrectionResponseBodyPayloadUsage;
|
|
62
|
+
//# sourceMappingURL=RunEssayCorrectionResponseBodyPayloadUsage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RunEssayCorrectionResponseBodyPayloadUsage.js","sourceRoot":"","sources":["../../src/models/RunEssayCorrectionResponseBodyPayloadUsage.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,0CAA2C,SAAQ,KAAK,CAAC,KAAK;IAgBzE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,YAAY,EAAE,cAAc;YAC5B,WAAW,EAAE,aAAa;SAC3B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,YAAY,EAAE,QAAQ;YACtB,WAAW,EAAE,QAAQ;SACtB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAvCD,gGAuCC"}
|
|
@@ -39,11 +39,13 @@ const $dara = __importStar(require("@darabonba/typescript"));
|
|
|
39
39
|
class RunMarketingInformationWritingResponseBodyPayloadOutput extends $dara.Model {
|
|
40
40
|
static names() {
|
|
41
41
|
return {
|
|
42
|
+
reasonContent: 'reasonContent',
|
|
42
43
|
text: 'text',
|
|
43
44
|
};
|
|
44
45
|
}
|
|
45
46
|
static types() {
|
|
46
47
|
return {
|
|
48
|
+
reasonContent: 'string',
|
|
47
49
|
text: 'string',
|
|
48
50
|
};
|
|
49
51
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RunMarketingInformationWritingResponseBodyPayloadOutput.js","sourceRoot":"","sources":["../../src/models/RunMarketingInformationWritingResponseBodyPayloadOutput.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,uDAAwD,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"RunMarketingInformationWritingResponseBodyPayloadOutput.js","sourceRoot":"","sources":["../../src/models/RunMarketingInformationWritingResponseBodyPayloadOutput.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,uDAAwD,SAAQ,KAAK,CAAC,KAAK;IAGtF,MAAM,CAAC,KAAK;QACV,OAAO;YACL,aAAa,EAAE,eAAe;YAC9B,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,aAAa,EAAE,QAAQ;YACvB,IAAI,EAAE,QAAQ;SACf,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAxBD,0HAwBC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class RunOcrParseRequest extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @example
|
|
5
|
+
* oss://default/aimiaobi-service-prod/aimiaobi/temp/public/government_service_experience_feedback_summary.txt
|
|
6
|
+
*/
|
|
7
|
+
fileKey?: string;
|
|
8
|
+
modelId?: string;
|
|
9
|
+
/**
|
|
10
|
+
* @example
|
|
11
|
+
* http://www.example.com/xxxx.txt
|
|
12
|
+
*/
|
|
13
|
+
url?: string;
|
|
14
|
+
static names(): {
|
|
15
|
+
[key: string]: string;
|
|
16
|
+
};
|
|
17
|
+
static types(): {
|
|
18
|
+
[key: string]: any;
|
|
19
|
+
};
|
|
20
|
+
validate(): void;
|
|
21
|
+
constructor(map?: {
|
|
22
|
+
[key: string]: any;
|
|
23
|
+
});
|
|
24
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.RunOcrParseRequest = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
class RunOcrParseRequest extends $dara.Model {
|
|
40
|
+
static names() {
|
|
41
|
+
return {
|
|
42
|
+
fileKey: 'fileKey',
|
|
43
|
+
modelId: 'modelId',
|
|
44
|
+
url: 'url',
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
static types() {
|
|
48
|
+
return {
|
|
49
|
+
fileKey: 'string',
|
|
50
|
+
modelId: 'string',
|
|
51
|
+
url: 'string',
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
validate() {
|
|
55
|
+
super.validate();
|
|
56
|
+
}
|
|
57
|
+
constructor(map) {
|
|
58
|
+
super(map);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
exports.RunOcrParseRequest = RunOcrParseRequest;
|
|
62
|
+
//# sourceMappingURL=RunOcrParseRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RunOcrParseRequest.js","sourceRoot":"","sources":["../../src/models/RunOcrParseRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,kBAAmB,SAAQ,KAAK,CAAC,KAAK;IAYjD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,OAAO,EAAE,SAAS;YAClB,GAAG,EAAE,KAAK;SACX,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,QAAQ;YACjB,OAAO,EAAE,QAAQ;YACjB,GAAG,EAAE,QAAQ;SACd,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAnCD,gDAmCC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
import { RunOcrParseResponseBody } from "./RunOcrParseResponseBody";
|
|
3
|
+
export declare class RunOcrParseResponse extends $dara.Model {
|
|
4
|
+
headers?: {
|
|
5
|
+
[key: string]: string;
|
|
6
|
+
};
|
|
7
|
+
statusCode?: number;
|
|
8
|
+
body?: RunOcrParseResponseBody;
|
|
9
|
+
static names(): {
|
|
10
|
+
[key: string]: string;
|
|
11
|
+
};
|
|
12
|
+
static types(): {
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
};
|
|
15
|
+
validate(): void;
|
|
16
|
+
constructor(map?: {
|
|
17
|
+
[key: string]: any;
|
|
18
|
+
});
|
|
19
|
+
}
|