tencentcloud-sdk-nodejs 4.0.1019 → 4.0.1021

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/CHANGELOG.md +108 -0
  2. package/SERVICE_CHANGELOG.md +105 -106
  3. package/package.json +1 -1
  4. package/products.md +10 -10
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/ccc/v20200210/ccc_client.ts +30 -15
  7. package/src/services/ccc/v20200210/ccc_models.ts +925 -803
  8. package/src/services/cfw/v20190904/cfw_client.ts +0 -14
  9. package/src/services/cfw/v20190904/cfw_models.ts +0 -24
  10. package/src/services/faceid/v20180301/faceid_models.ts +1 -1
  11. package/src/services/lighthouse/v20200324/lighthouse_client.ts +2 -1
  12. package/src/services/lighthouse/v20200324/lighthouse_models.ts +1 -1
  13. package/src/services/ocr/v20181119/ocr_client.ts +67 -34
  14. package/src/services/ocr/v20181119/ocr_models.ts +322 -192
  15. package/src/services/rum/v20210622/rum_models.ts +3 -3
  16. package/src/services/ses/v20201002/ses_models.ts +67 -46
  17. package/src/services/teo/v20220901/teo_client.ts +2 -2
  18. package/src/services/trtc/v20190722/trtc_models.ts +148 -59
  19. package/tencentcloud/common/sdk_version.d.ts +1 -1
  20. package/tencentcloud/common/sdk_version.js +1 -1
  21. package/tencentcloud/services/ccc/v20200210/ccc_client.d.ts +7 -3
  22. package/tencentcloud/services/ccc/v20200210/ccc_client.js +9 -3
  23. package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +1755 -1638
  24. package/tencentcloud/services/cfw/v20190904/cfw_client.d.ts +1 -7
  25. package/tencentcloud/services/cfw/v20190904/cfw_client.js +0 -8
  26. package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +0 -22
  27. package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +1 -1
  28. package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.d.ts +2 -1
  29. package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.js +2 -1
  30. package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +1 -1
  31. package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +25 -11
  32. package/tencentcloud/services/ocr/v20181119/ocr_client.js +32 -14
  33. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +313 -190
  34. package/tencentcloud/services/rum/v20210622/rum_models.d.ts +3 -3
  35. package/tencentcloud/services/ses/v20201002/ses_models.d.ts +67 -46
  36. package/tencentcloud/services/teo/v20220901/teo_client.d.ts +2 -2
  37. package/tencentcloud/services/teo/v20220901/teo_client.js +2 -2
  38. package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +147 -58
  39. package/test/ccc.v20200210.test.js +12 -2
  40. package/test/cfw.v20190904.test.js +0 -10
  41. package/test/ocr.v20181119.test.js +34 -14
@@ -18,6 +18,16 @@ const client = new tencentcloud.ocr.v20181119.Client({
18
18
  })
19
19
  describe("ocr.v20181119.test.js", function () {
20
20
 
21
+ it("ocr.v20181119.QuestionOCR", async function () {
22
+ try {
23
+ const data = await client.QuestionOCR({})
24
+ expect(data).to.be.ok
25
+ } catch(error) {
26
+ expect(error.requestId).to.be.ok
27
+ expect(error.code).to.be.ok
28
+ }
29
+ })
30
+
21
31
  it("ocr.v20181119.TextDetect", async function () {
22
32
  try {
23
33
  const data = await client.TextDetect({})
@@ -208,9 +218,9 @@ it("ocr.v20181119.RideHailingDriverLicenseOCR", async function () {
208
218
  }
209
219
  })
210
220
 
211
- it("ocr.v20181119.DutyPaidProofOCR", async function () {
221
+ it("ocr.v20181119.RecognizeForeignPermanentResidentIdCard", async function () {
212
222
  try {
213
- const data = await client.DutyPaidProofOCR({})
223
+ const data = await client.RecognizeForeignPermanentResidentIdCard({})
214
224
  expect(data).to.be.ok
215
225
  } catch(error) {
216
226
  expect(error.requestId).to.be.ok
@@ -318,16 +328,6 @@ it("ocr.v20181119.GetTaskState", async function () {
318
328
  }
319
329
  })
320
330
 
321
- it("ocr.v20181119.RecognizeGeneralCardWarn", async function () {
322
- try {
323
- const data = await client.RecognizeGeneralCardWarn({})
324
- expect(data).to.be.ok
325
- } catch(error) {
326
- expect(error.requestId).to.be.ok
327
- expect(error.code).to.be.ok
328
- }
329
- })
330
-
331
331
  it("ocr.v20181119.GeneralBasicOCR", async function () {
332
332
  try {
333
333
  const data = await client.GeneralBasicOCR({})
@@ -608,6 +608,16 @@ it("ocr.v20181119.ClassifyDetectOCR", async function () {
608
608
  }
609
609
  })
610
610
 
611
+ it("ocr.v20181119.RecognizeFormulaOCR", async function () {
612
+ try {
613
+ const data = await client.RecognizeFormulaOCR({})
614
+ expect(data).to.be.ok
615
+ } catch(error) {
616
+ expect(error.requestId).to.be.ok
617
+ expect(error.code).to.be.ok
618
+ }
619
+ })
620
+
611
621
  it("ocr.v20181119.SealOCR", async function () {
612
622
  try {
613
623
  const data = await client.SealOCR({})
@@ -708,6 +718,16 @@ it("ocr.v20181119.ImageEnhancement", async function () {
708
718
  }
709
719
  })
710
720
 
721
+ it("ocr.v20181119.QuestionSplitOCR", async function () {
722
+ try {
723
+ const data = await client.QuestionSplitOCR({})
724
+ expect(data).to.be.ok
725
+ } catch(error) {
726
+ expect(error.requestId).to.be.ok
727
+ expect(error.code).to.be.ok
728
+ }
729
+ })
730
+
711
731
  it("ocr.v20181119.MLIDCardOCR", async function () {
712
732
  try {
713
733
  const data = await client.MLIDCardOCR({})
@@ -748,9 +768,9 @@ it("ocr.v20181119.VatInvoiceOCR", async function () {
748
768
  }
749
769
  })
750
770
 
751
- it("ocr.v20181119.RecognizeForeignPermanentResidentIdCard", async function () {
771
+ it("ocr.v20181119.DutyPaidProofOCR", async function () {
752
772
  try {
753
- const data = await client.RecognizeForeignPermanentResidentIdCard({})
773
+ const data = await client.DutyPaidProofOCR({})
754
774
  expect(data).to.be.ok
755
775
  } catch(error) {
756
776
  expect(error.requestId).to.be.ok