tencentcloud-sdk-nodejs-mrs 4.0.991 → 4.1.42
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 +79 -30
- package/es/index.js +1 -0
- package/es/services/index.js +1 -0
- package/es/services/mrs/index.js +4 -0
- package/es/services/mrs/v20200910/index.js +6 -0
- package/es/services/mrs/v20200910/mrs_client.js +39 -0
- package/es/services/mrs/v20200910/mrs_models.js +0 -0
- package/package.json +26 -8
- package/tencentcloud/services/mrs/v20200910/index.js +2 -1
- package/tencentcloud/services/mrs/v20200910/mrs_client.js +2 -1
- package/tencentcloud/services/mrs/v20200910/mrs_models.d.ts +12 -0
- package/index.d.ts +0 -2
- package/index.js +0 -6
- package/prettier.config.js +0 -38
- package/products.md +0 -261
- package/src/index.ts +0 -1
- package/src/services/index.ts +0 -1
- package/src/services/mrs/index.ts +0 -5
- package/src/services/mrs/v20200910/index.ts +0 -6
- package/src/services/mrs/v20200910/mrs_client.ts +0 -430
- package/src/services/mrs/v20200910/mrs_models.ts +0 -7470
- package/tsconfig.json +0 -33
- package/typings/index.d.ts +0 -2
|
@@ -1,430 +0,0 @@
|
|
|
1
|
-
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
2
|
-
/*
|
|
3
|
-
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing,
|
|
12
|
-
* software distributed under the License is distributed on an
|
|
13
|
-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
14
|
-
* KIND, either express or implied. See the License for the
|
|
15
|
-
* specific language governing permissions and limitations
|
|
16
|
-
* under the License.
|
|
17
|
-
*/
|
|
18
|
-
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common"
|
|
19
|
-
import {
|
|
20
|
-
Indicator,
|
|
21
|
-
LastMenstrualPeriodBlock,
|
|
22
|
-
Vaccination,
|
|
23
|
-
BiologicalProductInfo,
|
|
24
|
-
TimelineEvent,
|
|
25
|
-
ChemicalProductInfoIndications,
|
|
26
|
-
BiologicalProductInfoPrecautions,
|
|
27
|
-
ImageMaskResponse,
|
|
28
|
-
IHCBlock,
|
|
29
|
-
GynaecologyVagina,
|
|
30
|
-
BodyTemperatureBlock,
|
|
31
|
-
PathologicalDiagnosisDetailBlock,
|
|
32
|
-
ImageToObjectRequest,
|
|
33
|
-
ChemicalProductInfoStorage,
|
|
34
|
-
Molecular,
|
|
35
|
-
OphthalmologyColourVision,
|
|
36
|
-
TuberInfo,
|
|
37
|
-
SurgeryListBlock,
|
|
38
|
-
PhysicalExaminationV1,
|
|
39
|
-
Multiple,
|
|
40
|
-
Hospitalization,
|
|
41
|
-
BodyExaminationBlock,
|
|
42
|
-
Advice,
|
|
43
|
-
Report,
|
|
44
|
-
BirthPlaceBlock,
|
|
45
|
-
GeneralExaminationBriefSummary,
|
|
46
|
-
PTNM,
|
|
47
|
-
TableIndicators,
|
|
48
|
-
ChemicalProductInfoDosage,
|
|
49
|
-
BlockInfoV2,
|
|
50
|
-
ImageMaskAsyncGetResultResponse,
|
|
51
|
-
Lymph,
|
|
52
|
-
BiologicalProductInfoApproval,
|
|
53
|
-
ImageMaskAsyncRequest,
|
|
54
|
-
BaseItem,
|
|
55
|
-
StomatologyPeriodontics,
|
|
56
|
-
OtolaryngologyBaseItem,
|
|
57
|
-
Fp2NdItem,
|
|
58
|
-
SurgeryLymphNode,
|
|
59
|
-
SurgeryHeadNeck,
|
|
60
|
-
BiologicalProductInfoContraindications,
|
|
61
|
-
GynaecologyPelvicCavity,
|
|
62
|
-
ChemicalProductInfoAppearance,
|
|
63
|
-
ChemicalProductInfoPharmacokinetics,
|
|
64
|
-
MenstrualPeriodBlock,
|
|
65
|
-
ChemicalProductInfoPackaging,
|
|
66
|
-
InternalMedicineVessel,
|
|
67
|
-
OphthalmologyBareEyeSight,
|
|
68
|
-
Value,
|
|
69
|
-
MainDiseaseHistoryBlock,
|
|
70
|
-
DiseaseMedicalHistory,
|
|
71
|
-
DrugHistoryBlock,
|
|
72
|
-
ChemicalProductInfo,
|
|
73
|
-
MenstrualHistoryDetailBlock,
|
|
74
|
-
InternalMedicineAbdomenGallBladder,
|
|
75
|
-
PTNMBlock,
|
|
76
|
-
GynaecologyVulva,
|
|
77
|
-
OcrInfo,
|
|
78
|
-
CovidItemsInfo,
|
|
79
|
-
BloodPressureBlock,
|
|
80
|
-
TurnPDFToObjectAsyncRequest,
|
|
81
|
-
HistologyLevel,
|
|
82
|
-
DiseasePresentBlock,
|
|
83
|
-
SurgeryThyroid,
|
|
84
|
-
MaternityDesc,
|
|
85
|
-
EyeItemsInfo,
|
|
86
|
-
SurgerySkin,
|
|
87
|
-
IndicatorItemV2,
|
|
88
|
-
OcrItem,
|
|
89
|
-
TurnPDFToObjectAsyncResponse,
|
|
90
|
-
NormSize,
|
|
91
|
-
FirstPage,
|
|
92
|
-
TextToObjectResponse,
|
|
93
|
-
SurgeryConditionBlock,
|
|
94
|
-
FieldInfo,
|
|
95
|
-
DetailInformation,
|
|
96
|
-
MaternitySummary,
|
|
97
|
-
DischargeDiagnosis,
|
|
98
|
-
TransfusionHistoryBlock,
|
|
99
|
-
MolecularValue,
|
|
100
|
-
ChiefComplaintDetailBlock,
|
|
101
|
-
ImageMaskFlags,
|
|
102
|
-
TurnPDFToObjectResponse,
|
|
103
|
-
InternalMedicineHeart,
|
|
104
|
-
ReportInfo,
|
|
105
|
-
Endoscopy,
|
|
106
|
-
TurnPDFToObjectAsyncGetResultResponse,
|
|
107
|
-
PhysicalBaseItem,
|
|
108
|
-
ChemicalProductInfoBrochure,
|
|
109
|
-
HistologyTypeV2,
|
|
110
|
-
PathologyV2,
|
|
111
|
-
BlockTitle,
|
|
112
|
-
InvasiveV2,
|
|
113
|
-
TextToObjectRequest,
|
|
114
|
-
AspectRatio,
|
|
115
|
-
PersonalHistoryBlock,
|
|
116
|
-
NeonatalInfo,
|
|
117
|
-
EyeItem,
|
|
118
|
-
FamilyMedicalHistory,
|
|
119
|
-
BiologicalProductInfoBrochure,
|
|
120
|
-
DiagCert,
|
|
121
|
-
OphthalmologyCorrectedVisualAcuity,
|
|
122
|
-
GeneralExaminationVitalSignBloodPressure,
|
|
123
|
-
Part,
|
|
124
|
-
ImageToClassResponse,
|
|
125
|
-
DischargeDiagnosisBlock,
|
|
126
|
-
DrugListBlock,
|
|
127
|
-
Template,
|
|
128
|
-
GynaecologyBriefSummary,
|
|
129
|
-
RelativeHistoryBlock,
|
|
130
|
-
EndoscopyOrgan,
|
|
131
|
-
ClinicalStaging,
|
|
132
|
-
InternalMedicineAbdomenPancreas,
|
|
133
|
-
PersonalMedicalHistory,
|
|
134
|
-
ChemicalProductInfoOverdose,
|
|
135
|
-
InternalMedicineAbdomen,
|
|
136
|
-
DrugInstructionObjectResponse,
|
|
137
|
-
SmokeHistoryBlock,
|
|
138
|
-
AdmissionConditionBlock,
|
|
139
|
-
StomatologyToothDecay,
|
|
140
|
-
TextToClassResponse,
|
|
141
|
-
ChemicalProductInfoInteractions,
|
|
142
|
-
HearingItem,
|
|
143
|
-
HistologyType,
|
|
144
|
-
BlockInfo,
|
|
145
|
-
Surgery,
|
|
146
|
-
Block,
|
|
147
|
-
TextType,
|
|
148
|
-
EcgItem,
|
|
149
|
-
Fetus,
|
|
150
|
-
OtolaryngologyEar,
|
|
151
|
-
ImageInfo,
|
|
152
|
-
EcgDescription,
|
|
153
|
-
MenstrualMedicalHistory,
|
|
154
|
-
Check,
|
|
155
|
-
ChemicalProductInfoActiveIngredient,
|
|
156
|
-
EcgDiagnosis,
|
|
157
|
-
ImmunohistochemistryBlock,
|
|
158
|
-
OtolaryngologyLarynx,
|
|
159
|
-
SummaryInfo,
|
|
160
|
-
HistologyClass,
|
|
161
|
-
DescInfo,
|
|
162
|
-
Organ,
|
|
163
|
-
GynaecologyUterus,
|
|
164
|
-
BiologicalProductInfoIngredientAndAppearance,
|
|
165
|
-
StomatologyBriefSummary,
|
|
166
|
-
FamilyHistoryBlock,
|
|
167
|
-
AdmissionDiagnosisBlock,
|
|
168
|
-
TreatmentRecordBlock,
|
|
169
|
-
Elastic,
|
|
170
|
-
ImageMaskAsyncGetResultRequest,
|
|
171
|
-
ChestCircumferenceItem,
|
|
172
|
-
SurgeryAnorectal,
|
|
173
|
-
IHCInfo,
|
|
174
|
-
ChemicalProductInfoName,
|
|
175
|
-
OphthalmologyBaseItem,
|
|
176
|
-
BiologicalProductInfoStorage,
|
|
177
|
-
HandleParam,
|
|
178
|
-
NeglistBlock,
|
|
179
|
-
Medicine,
|
|
180
|
-
PathologicalDiagnosisBlock,
|
|
181
|
-
StomatologyBaseItem,
|
|
182
|
-
ReportTypeVersion,
|
|
183
|
-
Rectangle,
|
|
184
|
-
IHCV2,
|
|
185
|
-
ObstericalMedicalHistory,
|
|
186
|
-
ChemicalProductInfoGeriatricUse,
|
|
187
|
-
StomatologyGingiva,
|
|
188
|
-
OtolaryngologyNose,
|
|
189
|
-
BaseItem3,
|
|
190
|
-
BaseItem2,
|
|
191
|
-
VaccineCertificate,
|
|
192
|
-
RelativeCancerHistoryBlock,
|
|
193
|
-
ParagraphBlock,
|
|
194
|
-
RelativeHistoryDetailBlock,
|
|
195
|
-
PoslistBlock,
|
|
196
|
-
NormPart,
|
|
197
|
-
GynaecologyMenstrualHistory,
|
|
198
|
-
ImageMaskRequest,
|
|
199
|
-
GeneralExaminationVitalSign,
|
|
200
|
-
Prescription,
|
|
201
|
-
InternalMedicineBaseItem,
|
|
202
|
-
ChemicalProductInfoContraindications,
|
|
203
|
-
BiologicalProductInfoDosage,
|
|
204
|
-
Coord,
|
|
205
|
-
Summary,
|
|
206
|
-
ChemicalProductInfoManufacturer,
|
|
207
|
-
ChemicalProductInfoPediatricUse,
|
|
208
|
-
MenstrualHistoryBlock,
|
|
209
|
-
Time,
|
|
210
|
-
Coordinate,
|
|
211
|
-
DosageBlock,
|
|
212
|
-
Point,
|
|
213
|
-
PathologyReport,
|
|
214
|
-
BiologicalProductInfoValidityPeriod,
|
|
215
|
-
DrugInstructionObjectRequest,
|
|
216
|
-
BiopsyPart,
|
|
217
|
-
Invas,
|
|
218
|
-
ImageToClassRequest,
|
|
219
|
-
InternalMedicineAbdomenLiver,
|
|
220
|
-
BaseInfo,
|
|
221
|
-
ChemicalProductInfoPrecautions,
|
|
222
|
-
PhysicalExamination,
|
|
223
|
-
InternalMedicineRespiratorySystem,
|
|
224
|
-
ChemicalProductInfoExecutiveStandards,
|
|
225
|
-
BloodPressureItem,
|
|
226
|
-
SymptomInfo,
|
|
227
|
-
TextToClassRequest,
|
|
228
|
-
TextTypeListBlock,
|
|
229
|
-
ObstetricalHistoryBlock,
|
|
230
|
-
SurgerySpinalExtremities,
|
|
231
|
-
Size,
|
|
232
|
-
DischargeConditionBlock,
|
|
233
|
-
LymphTotal,
|
|
234
|
-
ChemicalProductInfoApproval,
|
|
235
|
-
OtherInfo,
|
|
236
|
-
TurnPDFToObjectRequest,
|
|
237
|
-
MenstrualFlowBlock,
|
|
238
|
-
BiologicalProductInfoPackaging,
|
|
239
|
-
TimelineInformation,
|
|
240
|
-
RelapseDateBlock,
|
|
241
|
-
OphthalmologyFundoscopy,
|
|
242
|
-
SurgeryBreast,
|
|
243
|
-
InternalMedicineBriefSummary,
|
|
244
|
-
TurnPDFToObjectAsyncGetResultRequest,
|
|
245
|
-
SurgeryUrogenitalSystem,
|
|
246
|
-
ChemicalProductInfoAdverseReaction,
|
|
247
|
-
BiologicalProductInfoName,
|
|
248
|
-
ImageMaskAsyncResponse,
|
|
249
|
-
DeathDateBlock,
|
|
250
|
-
BirthCert,
|
|
251
|
-
KeyValueItem,
|
|
252
|
-
ChiefComplaintBlock,
|
|
253
|
-
BiologicalProductInfoExecutiveStandards,
|
|
254
|
-
ValueBlock,
|
|
255
|
-
BiologicalProductInfoVaccinationTarget,
|
|
256
|
-
InternalMedicineAbdomenSpleen,
|
|
257
|
-
InternalMedicineAbdomenKidney,
|
|
258
|
-
ParentInfo,
|
|
259
|
-
BiologicalProductInfoAdverseReaction,
|
|
260
|
-
PdfInfo,
|
|
261
|
-
DischargeInfoBlock,
|
|
262
|
-
Maternity,
|
|
263
|
-
LymphNode,
|
|
264
|
-
IssueInfo,
|
|
265
|
-
ResultInfo,
|
|
266
|
-
MedDoc,
|
|
267
|
-
Desc,
|
|
268
|
-
PatientInfo,
|
|
269
|
-
SurgeryHistory,
|
|
270
|
-
Exame,
|
|
271
|
-
SurgeryBaseItem,
|
|
272
|
-
BiologicalProductInfoManufacturer,
|
|
273
|
-
PartDesc,
|
|
274
|
-
ChemicalProductInfoValidityPeriod,
|
|
275
|
-
GeneralExaminationBaseItem,
|
|
276
|
-
FertilityHistoryBlock,
|
|
277
|
-
SurgeryBriefSummary,
|
|
278
|
-
GeneralExaminationOthers,
|
|
279
|
-
DiseaseHistoryBlock,
|
|
280
|
-
NumValue,
|
|
281
|
-
TreatmentRecord,
|
|
282
|
-
EyeChildItem,
|
|
283
|
-
SurgeryAttr,
|
|
284
|
-
IndicatorV3,
|
|
285
|
-
GynaecologyCervix,
|
|
286
|
-
EndoscopyDesc,
|
|
287
|
-
GynaecologyAdnexal,
|
|
288
|
-
IndicatorItem,
|
|
289
|
-
DiagCertItem,
|
|
290
|
-
GeneticHistoryBlock,
|
|
291
|
-
SurgeryHistoryBlock,
|
|
292
|
-
ChemicalProductInfoPregnancyLactationUse,
|
|
293
|
-
CovidItem,
|
|
294
|
-
OphthalmologyBriefSummary,
|
|
295
|
-
ImageToObjectResponse,
|
|
296
|
-
ChemicalProductInfoClinicalTrial,
|
|
297
|
-
ValueUnitItem,
|
|
298
|
-
GynaecologyBaseItem,
|
|
299
|
-
BiologicalProductInfoIndications,
|
|
300
|
-
ChemicalProductInfoPharmacologyToxicology,
|
|
301
|
-
MenstruationOrNotBlock,
|
|
302
|
-
MedicalRecordInfo,
|
|
303
|
-
Electrocardiogram,
|
|
304
|
-
OtolaryngologyBriefSummary,
|
|
305
|
-
} from "./mrs_models"
|
|
306
|
-
|
|
307
|
-
/**
|
|
308
|
-
* mrs client
|
|
309
|
-
* @class
|
|
310
|
-
*/
|
|
311
|
-
export class Client extends TencentCloudCommon.AbstractClient {
|
|
312
|
-
constructor(clientConfig: TencentCloudCommon.ClientConfig) {
|
|
313
|
-
super("mrs.tencentcloudapi.com", "2020-09-10", clientConfig)
|
|
314
|
-
}
|
|
315
|
-
|
|
316
|
-
/**
|
|
317
|
-
* 图片分类
|
|
318
|
-
*/
|
|
319
|
-
async ImageToClass(
|
|
320
|
-
req: ImageToClassRequest,
|
|
321
|
-
cb?: (error: string, rep: ImageToClassResponse) => void
|
|
322
|
-
): Promise<ImageToClassResponse> {
|
|
323
|
-
return this.request("ImageToClass", req, cb)
|
|
324
|
-
}
|
|
325
|
-
|
|
326
|
-
/**
|
|
327
|
-
* 药品说明书PDF文件结构化
|
|
328
|
-
*/
|
|
329
|
-
async DrugInstructionObject(
|
|
330
|
-
req: DrugInstructionObjectRequest,
|
|
331
|
-
cb?: (error: string, rep: DrugInstructionObjectResponse) => void
|
|
332
|
-
): Promise<DrugInstructionObjectResponse> {
|
|
333
|
-
return this.request("DrugInstructionObject", req, cb)
|
|
334
|
-
}
|
|
335
|
-
|
|
336
|
-
/**
|
|
337
|
-
* 体检报告PDF文件结构化异步获取结果接口
|
|
338
|
-
*/
|
|
339
|
-
async TurnPDFToObjectAsyncGetResult(
|
|
340
|
-
req: TurnPDFToObjectAsyncGetResultRequest,
|
|
341
|
-
cb?: (error: string, rep: TurnPDFToObjectAsyncGetResultResponse) => void
|
|
342
|
-
): Promise<TurnPDFToObjectAsyncGetResultResponse> {
|
|
343
|
-
return this.request("TurnPDFToObjectAsyncGetResult", req, cb)
|
|
344
|
-
}
|
|
345
|
-
|
|
346
|
-
/**
|
|
347
|
-
* 文本转结构化对象。
|
|
348
|
-
|
|
349
|
-
适用场景:经过腾讯医疗专用 OCR 从图片识别之后的文本,可以调用此接口。通过其它 OCR 识别的文本可能不适配。医院的 XML 格式文本也不适配,XML 文件需要经过特殊转换才能直接调用此接口。单次调用传入的文本不宜超过 2000 字。
|
|
350
|
-
*/
|
|
351
|
-
async TextToObject(
|
|
352
|
-
req: TextToObjectRequest,
|
|
353
|
-
cb?: (error: string, rep: TextToObjectResponse) => void
|
|
354
|
-
): Promise<TextToObjectResponse> {
|
|
355
|
-
return this.request("TextToObject", req, cb)
|
|
356
|
-
}
|
|
357
|
-
|
|
358
|
-
/**
|
|
359
|
-
* 医疗报告图片脱敏接口
|
|
360
|
-
*/
|
|
361
|
-
async ImageMask(
|
|
362
|
-
req: ImageMaskRequest,
|
|
363
|
-
cb?: (error: string, rep: ImageMaskResponse) => void
|
|
364
|
-
): Promise<ImageMaskResponse> {
|
|
365
|
-
return this.request("ImageMask", req, cb)
|
|
366
|
-
}
|
|
367
|
-
|
|
368
|
-
/**
|
|
369
|
-
* 图片转结构化对象
|
|
370
|
-
*/
|
|
371
|
-
async ImageToObject(
|
|
372
|
-
req: ImageToObjectRequest,
|
|
373
|
-
cb?: (error: string, rep: ImageToObjectResponse) => void
|
|
374
|
-
): Promise<ImageToObjectResponse> {
|
|
375
|
-
return this.request("ImageToObject", req, cb)
|
|
376
|
-
}
|
|
377
|
-
|
|
378
|
-
/**
|
|
379
|
-
* 体检报告PDF文件结构化-异步接口
|
|
380
|
-
*/
|
|
381
|
-
async TurnPDFToObjectAsync(
|
|
382
|
-
req: TurnPDFToObjectAsyncRequest,
|
|
383
|
-
cb?: (error: string, rep: TurnPDFToObjectAsyncResponse) => void
|
|
384
|
-
): Promise<TurnPDFToObjectAsyncResponse> {
|
|
385
|
-
return this.request("TurnPDFToObjectAsync", req, cb)
|
|
386
|
-
}
|
|
387
|
-
|
|
388
|
-
/**
|
|
389
|
-
* 图片脱敏-异步接口
|
|
390
|
-
*/
|
|
391
|
-
async ImageMaskAsync(
|
|
392
|
-
req: ImageMaskAsyncRequest,
|
|
393
|
-
cb?: (error: string, rep: ImageMaskAsyncResponse) => void
|
|
394
|
-
): Promise<ImageMaskAsyncResponse> {
|
|
395
|
-
return this.request("ImageMaskAsync", req, cb)
|
|
396
|
-
}
|
|
397
|
-
|
|
398
|
-
/**
|
|
399
|
-
* 图片脱敏-异步获取结果接口
|
|
400
|
-
*/
|
|
401
|
-
async ImageMaskAsyncGetResult(
|
|
402
|
-
req: ImageMaskAsyncGetResultRequest,
|
|
403
|
-
cb?: (error: string, rep: ImageMaskAsyncGetResultResponse) => void
|
|
404
|
-
): Promise<ImageMaskAsyncGetResultResponse> {
|
|
405
|
-
return this.request("ImageMaskAsyncGetResult", req, cb)
|
|
406
|
-
}
|
|
407
|
-
|
|
408
|
-
/**
|
|
409
|
-
* 将PDF格式的体检报告文件结构化,解析关键信息。
|
|
410
|
-
注意:该接口是按照体检报告 PDF 页面数量统计次数,不是按照 PDF 文件数量统计次数。通过该接口传入的报告必须是体检报告,非体检报告可能无法正确解析。
|
|
411
|
-
*/
|
|
412
|
-
async TurnPDFToObject(
|
|
413
|
-
req: TurnPDFToObjectRequest,
|
|
414
|
-
cb?: (error: string, rep: TurnPDFToObjectResponse) => void
|
|
415
|
-
): Promise<TurnPDFToObjectResponse> {
|
|
416
|
-
return this.request("TurnPDFToObject", req, cb)
|
|
417
|
-
}
|
|
418
|
-
|
|
419
|
-
/**
|
|
420
|
-
* 文本分类
|
|
421
|
-
|
|
422
|
-
适用场景:经过腾讯医疗专用 OCR 从图片识别之后的文本,并且需要加上每个字符的坐标信息,才可以调用此接口。通过其它 OCR 识别的文本可能不适配。医院的 XML 格式文本也不适配,XML 文件需要经过特殊转换才能直接调用此接口。单次调用传入的文本不宜超过 2000 字。如有需要调用此接口,建议先咨询产品团队。
|
|
423
|
-
*/
|
|
424
|
-
async TextToClass(
|
|
425
|
-
req: TextToClassRequest,
|
|
426
|
-
cb?: (error: string, rep: TextToClassResponse) => void
|
|
427
|
-
): Promise<TextToClassResponse> {
|
|
428
|
-
return this.request("TextToClass", req, cb)
|
|
429
|
-
}
|
|
430
|
-
}
|