@alicloud/captcha20230305 1.1.3 → 1.1.4

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 (33) hide show
  1. package/dist/client.d.ts +36 -125
  2. package/dist/client.js +88 -192
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/VerifyCaptchaRequest.d.ts +18 -0
  5. package/dist/models/VerifyCaptchaRequest.js +58 -0
  6. package/dist/models/VerifyCaptchaRequest.js.map +1 -0
  7. package/dist/models/VerifyCaptchaResponse.d.ts +19 -0
  8. package/dist/models/VerifyCaptchaResponse.js +69 -0
  9. package/dist/models/VerifyCaptchaResponse.js.map +1 -0
  10. package/dist/models/VerifyCaptchaResponseBody.d.ts +56 -0
  11. package/dist/models/VerifyCaptchaResponseBody.js +90 -0
  12. package/dist/models/VerifyCaptchaResponseBody.js.map +1 -0
  13. package/dist/models/VerifyIntelligentCaptchaRequest.d.ts +19 -0
  14. package/dist/models/VerifyIntelligentCaptchaRequest.js +60 -0
  15. package/dist/models/VerifyIntelligentCaptchaRequest.js.map +1 -0
  16. package/dist/models/VerifyIntelligentCaptchaResponse.d.ts +19 -0
  17. package/dist/models/VerifyIntelligentCaptchaResponse.js +69 -0
  18. package/dist/models/VerifyIntelligentCaptchaResponse.js.map +1 -0
  19. package/dist/models/VerifyIntelligentCaptchaResponseBody.d.ts +56 -0
  20. package/dist/models/VerifyIntelligentCaptchaResponseBody.js +92 -0
  21. package/dist/models/VerifyIntelligentCaptchaResponseBody.js.map +1 -0
  22. package/dist/models/model.d.ts +8 -0
  23. package/dist/models/model.js +20 -0
  24. package/dist/models/model.js.map +1 -0
  25. package/package.json +7 -10
  26. package/src/client.ts +52 -222
  27. package/src/models/VerifyCaptchaRequest.ts +31 -0
  28. package/src/models/VerifyCaptchaResponse.ts +40 -0
  29. package/src/models/VerifyCaptchaResponseBody.ts +90 -0
  30. package/src/models/VerifyIntelligentCaptchaRequest.ts +34 -0
  31. package/src/models/VerifyIntelligentCaptchaResponse.ts +40 -0
  32. package/src/models/VerifyIntelligentCaptchaResponseBody.ts +94 -0
  33. package/src/models/model.ts +8 -0
@@ -0,0 +1,69 @@
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.VerifyCaptchaResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const VerifyCaptchaResponseBody_1 = require("./VerifyCaptchaResponseBody");
40
+ class VerifyCaptchaResponse extends $dara.Model {
41
+ static names() {
42
+ return {
43
+ headers: 'headers',
44
+ statusCode: 'statusCode',
45
+ body: 'body',
46
+ };
47
+ }
48
+ static types() {
49
+ return {
50
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
51
+ statusCode: 'number',
52
+ body: VerifyCaptchaResponseBody_1.VerifyCaptchaResponseBody,
53
+ };
54
+ }
55
+ validate() {
56
+ if (this.headers) {
57
+ $dara.Model.validateMap(this.headers);
58
+ }
59
+ if (this.body && typeof this.body.validate === 'function') {
60
+ this.body.validate();
61
+ }
62
+ super.validate();
63
+ }
64
+ constructor(map) {
65
+ super(map);
66
+ }
67
+ }
68
+ exports.VerifyCaptchaResponse = VerifyCaptchaResponse;
69
+ //# sourceMappingURL=VerifyCaptchaResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VerifyCaptchaResponse.js","sourceRoot":"","sources":["../../src/models/VerifyCaptchaResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,2EAAwE;AAGxE,MAAa,qBAAsB,SAAQ,KAAK,CAAC,KAAK;IAIpD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE;YACtE,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,qDAAyB;SAChC,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,OAAO,EAAE,CAAC;YAChB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxC,CAAC;QACD,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjCD,sDAiCC"}
@@ -0,0 +1,56 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ /**
3
+ */
4
+ export declare class VerifyCaptchaResponseBodyResult extends $dara.Model {
5
+ /**
6
+ * @example
7
+ * true
8
+ */
9
+ verifyResult?: boolean;
10
+ static names(): {
11
+ [key: string]: string;
12
+ };
13
+ static types(): {
14
+ [key: string]: any;
15
+ };
16
+ validate(): void;
17
+ constructor(map?: {
18
+ [key: string]: any;
19
+ });
20
+ }
21
+ export declare class VerifyCaptchaResponseBody extends $dara.Model {
22
+ /**
23
+ * @example
24
+ * Success
25
+ */
26
+ code?: string;
27
+ /**
28
+ * @example
29
+ * success
30
+ */
31
+ message?: string;
32
+ /**
33
+ * @remarks
34
+ * Id of the request
35
+ *
36
+ * @example
37
+ * 95784F***D39FDC5
38
+ */
39
+ requestId?: string;
40
+ result?: VerifyCaptchaResponseBodyResult;
41
+ /**
42
+ * @example
43
+ * true
44
+ */
45
+ success?: boolean;
46
+ static names(): {
47
+ [key: string]: string;
48
+ };
49
+ static types(): {
50
+ [key: string]: any;
51
+ };
52
+ validate(): void;
53
+ constructor(map?: {
54
+ [key: string]: any;
55
+ });
56
+ }
@@ -0,0 +1,90 @@
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.VerifyCaptchaResponseBody = exports.VerifyCaptchaResponseBodyResult = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ /**
40
+ */
41
+ class VerifyCaptchaResponseBodyResult extends $dara.Model {
42
+ static names() {
43
+ return {
44
+ verifyResult: 'VerifyResult',
45
+ };
46
+ }
47
+ static types() {
48
+ return {
49
+ verifyResult: 'boolean',
50
+ };
51
+ }
52
+ validate() {
53
+ super.validate();
54
+ }
55
+ constructor(map) {
56
+ super(map);
57
+ }
58
+ }
59
+ exports.VerifyCaptchaResponseBodyResult = VerifyCaptchaResponseBodyResult;
60
+ class VerifyCaptchaResponseBody extends $dara.Model {
61
+ static names() {
62
+ return {
63
+ code: 'Code',
64
+ message: 'Message',
65
+ requestId: 'RequestId',
66
+ result: 'Result',
67
+ success: 'Success',
68
+ };
69
+ }
70
+ static types() {
71
+ return {
72
+ code: 'string',
73
+ message: 'string',
74
+ requestId: 'string',
75
+ result: VerifyCaptchaResponseBodyResult,
76
+ success: 'boolean',
77
+ };
78
+ }
79
+ validate() {
80
+ if (this.result && typeof this.result.validate === 'function') {
81
+ this.result.validate();
82
+ }
83
+ super.validate();
84
+ }
85
+ constructor(map) {
86
+ super(map);
87
+ }
88
+ }
89
+ exports.VerifyCaptchaResponseBody = VerifyCaptchaResponseBody;
90
+ //# sourceMappingURL=VerifyCaptchaResponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VerifyCaptchaResponseBody.js","sourceRoot":"","sources":["../../src/models/VerifyCaptchaResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C;GACG;AACH,MAAa,+BAAgC,SAAQ,KAAK,CAAC,KAAK;IAM9D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,YAAY,EAAE,cAAc;SAC7B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,YAAY,EAAE,SAAS;SACxB,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;AAzBD,0EAyBC;AAED,MAAa,yBAA0B,SAAQ,KAAK,CAAC,KAAK;IAyBxD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,MAAM;YACZ,OAAO,EAAE,SAAS;YAClB,SAAS,EAAE,WAAW;YACtB,MAAM,EAAE,QAAQ;YAChB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,QAAQ;YACjB,SAAS,EAAE,QAAQ;YACnB,MAAM,EAAE,+BAA+B;YACvC,OAAO,EAAE,SAAS;SACnB,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,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAvDD,8DAuDC"}
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class VerifyIntelligentCaptchaRequest extends $dara.Model {
3
+ /**
4
+ * @example
5
+ * dsjidsjidsjkds*djsjdiskds
6
+ */
7
+ captchaVerifyParam?: string;
8
+ sceneId?: 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.VerifyIntelligentCaptchaRequest = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class VerifyIntelligentCaptchaRequest extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ captchaVerifyParam: 'CaptchaVerifyParam',
43
+ sceneId: 'SceneId',
44
+ };
45
+ }
46
+ static types() {
47
+ return {
48
+ captchaVerifyParam: 'string',
49
+ sceneId: 'string',
50
+ };
51
+ }
52
+ validate() {
53
+ super.validate();
54
+ }
55
+ constructor(map) {
56
+ super(map);
57
+ }
58
+ }
59
+ exports.VerifyIntelligentCaptchaRequest = VerifyIntelligentCaptchaRequest;
60
+ //# sourceMappingURL=VerifyIntelligentCaptchaRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VerifyIntelligentCaptchaRequest.js","sourceRoot":"","sources":["../../src/models/VerifyIntelligentCaptchaRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,+BAAgC,SAAQ,KAAK,CAAC,KAAK;IAO9D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,kBAAkB,EAAE,oBAAoB;YACxC,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,kBAAkB,EAAE,QAAQ;YAC5B,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;AA5BD,0EA4BC"}
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { VerifyIntelligentCaptchaResponseBody } from "./VerifyIntelligentCaptchaResponseBody";
3
+ export declare class VerifyIntelligentCaptchaResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: VerifyIntelligentCaptchaResponseBody;
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,69 @@
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.VerifyIntelligentCaptchaResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const VerifyIntelligentCaptchaResponseBody_1 = require("./VerifyIntelligentCaptchaResponseBody");
40
+ class VerifyIntelligentCaptchaResponse extends $dara.Model {
41
+ static names() {
42
+ return {
43
+ headers: 'headers',
44
+ statusCode: 'statusCode',
45
+ body: 'body',
46
+ };
47
+ }
48
+ static types() {
49
+ return {
50
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
51
+ statusCode: 'number',
52
+ body: VerifyIntelligentCaptchaResponseBody_1.VerifyIntelligentCaptchaResponseBody,
53
+ };
54
+ }
55
+ validate() {
56
+ if (this.headers) {
57
+ $dara.Model.validateMap(this.headers);
58
+ }
59
+ if (this.body && typeof this.body.validate === 'function') {
60
+ this.body.validate();
61
+ }
62
+ super.validate();
63
+ }
64
+ constructor(map) {
65
+ super(map);
66
+ }
67
+ }
68
+ exports.VerifyIntelligentCaptchaResponse = VerifyIntelligentCaptchaResponse;
69
+ //# sourceMappingURL=VerifyIntelligentCaptchaResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VerifyIntelligentCaptchaResponse.js","sourceRoot":"","sources":["../../src/models/VerifyIntelligentCaptchaResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,iGAA8F;AAG9F,MAAa,gCAAiC,SAAQ,KAAK,CAAC,KAAK;IAI/D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE;YACtE,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,2EAAoC;SAC3C,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,OAAO,EAAE,CAAC;YAChB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxC,CAAC;QACD,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjCD,4EAiCC"}
@@ -0,0 +1,56 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class VerifyIntelligentCaptchaResponseBodyResult extends $dara.Model {
3
+ certifyId?: string;
4
+ verifyCode?: string;
5
+ /**
6
+ * @example
7
+ * true
8
+ */
9
+ verifyResult?: boolean;
10
+ static names(): {
11
+ [key: string]: string;
12
+ };
13
+ static types(): {
14
+ [key: string]: any;
15
+ };
16
+ validate(): void;
17
+ constructor(map?: {
18
+ [key: string]: any;
19
+ });
20
+ }
21
+ export declare class VerifyIntelligentCaptchaResponseBody extends $dara.Model {
22
+ /**
23
+ * @example
24
+ * Success
25
+ */
26
+ code?: string;
27
+ /**
28
+ * @example
29
+ * success
30
+ */
31
+ message?: string;
32
+ /**
33
+ * @remarks
34
+ * Id of the request
35
+ *
36
+ * @example
37
+ * 95784F***D39FDC5
38
+ */
39
+ requestId?: string;
40
+ result?: VerifyIntelligentCaptchaResponseBodyResult;
41
+ /**
42
+ * @example
43
+ * true
44
+ */
45
+ success?: boolean;
46
+ static names(): {
47
+ [key: string]: string;
48
+ };
49
+ static types(): {
50
+ [key: string]: any;
51
+ };
52
+ validate(): void;
53
+ constructor(map?: {
54
+ [key: string]: any;
55
+ });
56
+ }
@@ -0,0 +1,92 @@
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.VerifyIntelligentCaptchaResponseBody = exports.VerifyIntelligentCaptchaResponseBodyResult = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class VerifyIntelligentCaptchaResponseBodyResult extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ certifyId: 'CertifyId',
43
+ verifyCode: 'VerifyCode',
44
+ verifyResult: 'VerifyResult',
45
+ };
46
+ }
47
+ static types() {
48
+ return {
49
+ certifyId: 'string',
50
+ verifyCode: 'string',
51
+ verifyResult: 'boolean',
52
+ };
53
+ }
54
+ validate() {
55
+ super.validate();
56
+ }
57
+ constructor(map) {
58
+ super(map);
59
+ }
60
+ }
61
+ exports.VerifyIntelligentCaptchaResponseBodyResult = VerifyIntelligentCaptchaResponseBodyResult;
62
+ class VerifyIntelligentCaptchaResponseBody extends $dara.Model {
63
+ static names() {
64
+ return {
65
+ code: 'Code',
66
+ message: 'Message',
67
+ requestId: 'RequestId',
68
+ result: 'Result',
69
+ success: 'Success',
70
+ };
71
+ }
72
+ static types() {
73
+ return {
74
+ code: 'string',
75
+ message: 'string',
76
+ requestId: 'string',
77
+ result: VerifyIntelligentCaptchaResponseBodyResult,
78
+ success: 'boolean',
79
+ };
80
+ }
81
+ validate() {
82
+ if (this.result && typeof this.result.validate === 'function') {
83
+ this.result.validate();
84
+ }
85
+ super.validate();
86
+ }
87
+ constructor(map) {
88
+ super(map);
89
+ }
90
+ }
91
+ exports.VerifyIntelligentCaptchaResponseBody = VerifyIntelligentCaptchaResponseBody;
92
+ //# sourceMappingURL=VerifyIntelligentCaptchaResponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VerifyIntelligentCaptchaResponseBody.js","sourceRoot":"","sources":["../../src/models/VerifyIntelligentCaptchaResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,0CAA2C,SAAQ,KAAK,CAAC,KAAK;IAQzE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,WAAW;YACtB,UAAU,EAAE,YAAY;YACxB,YAAY,EAAE,cAAc;SAC7B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,QAAQ;YACnB,UAAU,EAAE,QAAQ;YACpB,YAAY,EAAE,SAAS;SACxB,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;AA/BD,gGA+BC;AAED,MAAa,oCAAqC,SAAQ,KAAK,CAAC,KAAK;IAyBnE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,MAAM;YACZ,OAAO,EAAE,SAAS;YAClB,SAAS,EAAE,WAAW;YACtB,MAAM,EAAE,QAAQ;YAChB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,QAAQ;YACjB,SAAS,EAAE,QAAQ;YACnB,MAAM,EAAE,0CAA0C;YAClD,OAAO,EAAE,SAAS;SACnB,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,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAvDD,oFAuDC"}
@@ -0,0 +1,8 @@
1
+ export { VerifyCaptchaResponseBodyResult } from './VerifyCaptchaResponseBody';
2
+ export { VerifyIntelligentCaptchaResponseBodyResult } from './VerifyIntelligentCaptchaResponseBody';
3
+ export { VerifyCaptchaRequest } from './VerifyCaptchaRequest';
4
+ export { VerifyCaptchaResponseBody } from './VerifyCaptchaResponseBody';
5
+ export { VerifyCaptchaResponse } from './VerifyCaptchaResponse';
6
+ export { VerifyIntelligentCaptchaRequest } from './VerifyIntelligentCaptchaRequest';
7
+ export { VerifyIntelligentCaptchaResponseBody } from './VerifyIntelligentCaptchaResponseBody';
8
+ export { VerifyIntelligentCaptchaResponse } from './VerifyIntelligentCaptchaResponse';
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.VerifyIntelligentCaptchaResponse = exports.VerifyIntelligentCaptchaResponseBody = exports.VerifyIntelligentCaptchaRequest = exports.VerifyCaptchaResponse = exports.VerifyCaptchaResponseBody = exports.VerifyCaptchaRequest = exports.VerifyIntelligentCaptchaResponseBodyResult = exports.VerifyCaptchaResponseBodyResult = void 0;
4
+ var VerifyCaptchaResponseBody_1 = require("./VerifyCaptchaResponseBody");
5
+ Object.defineProperty(exports, "VerifyCaptchaResponseBodyResult", { enumerable: true, get: function () { return VerifyCaptchaResponseBody_1.VerifyCaptchaResponseBodyResult; } });
6
+ var VerifyIntelligentCaptchaResponseBody_1 = require("./VerifyIntelligentCaptchaResponseBody");
7
+ Object.defineProperty(exports, "VerifyIntelligentCaptchaResponseBodyResult", { enumerable: true, get: function () { return VerifyIntelligentCaptchaResponseBody_1.VerifyIntelligentCaptchaResponseBodyResult; } });
8
+ var VerifyCaptchaRequest_1 = require("./VerifyCaptchaRequest");
9
+ Object.defineProperty(exports, "VerifyCaptchaRequest", { enumerable: true, get: function () { return VerifyCaptchaRequest_1.VerifyCaptchaRequest; } });
10
+ var VerifyCaptchaResponseBody_2 = require("./VerifyCaptchaResponseBody");
11
+ Object.defineProperty(exports, "VerifyCaptchaResponseBody", { enumerable: true, get: function () { return VerifyCaptchaResponseBody_2.VerifyCaptchaResponseBody; } });
12
+ var VerifyCaptchaResponse_1 = require("./VerifyCaptchaResponse");
13
+ Object.defineProperty(exports, "VerifyCaptchaResponse", { enumerable: true, get: function () { return VerifyCaptchaResponse_1.VerifyCaptchaResponse; } });
14
+ var VerifyIntelligentCaptchaRequest_1 = require("./VerifyIntelligentCaptchaRequest");
15
+ Object.defineProperty(exports, "VerifyIntelligentCaptchaRequest", { enumerable: true, get: function () { return VerifyIntelligentCaptchaRequest_1.VerifyIntelligentCaptchaRequest; } });
16
+ var VerifyIntelligentCaptchaResponseBody_2 = require("./VerifyIntelligentCaptchaResponseBody");
17
+ Object.defineProperty(exports, "VerifyIntelligentCaptchaResponseBody", { enumerable: true, get: function () { return VerifyIntelligentCaptchaResponseBody_2.VerifyIntelligentCaptchaResponseBody; } });
18
+ var VerifyIntelligentCaptchaResponse_1 = require("./VerifyIntelligentCaptchaResponse");
19
+ Object.defineProperty(exports, "VerifyIntelligentCaptchaResponse", { enumerable: true, get: function () { return VerifyIntelligentCaptchaResponse_1.VerifyIntelligentCaptchaResponse; } });
20
+ //# sourceMappingURL=model.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"model.js","sourceRoot":"","sources":["../../src/models/model.ts"],"names":[],"mappings":";;;AAAA,yEAA8E;AAArE,4IAAA,+BAA+B,OAAA;AACxC,+FAAoG;AAA3F,kKAAA,0CAA0C,OAAA;AACnD,+DAA8D;AAArD,4HAAA,oBAAoB,OAAA;AAC7B,yEAAwE;AAA/D,sIAAA,yBAAyB,OAAA;AAClC,iEAAgE;AAAvD,8HAAA,qBAAqB,OAAA;AAC9B,qFAAoF;AAA3E,kJAAA,+BAA+B,OAAA;AACxC,+FAA8F;AAArF,4JAAA,oCAAoC,OAAA;AAC7C,uFAAsF;AAA7E,oJAAA,gCAAgC,OAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicloud/captcha20230305",
3
- "version": "1.1.3",
3
+ "version": "1.1.4",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
@@ -12,21 +12,18 @@
12
12
  "author": "Alibaba Cloud SDK",
13
13
  "license": "Apache-2.0",
14
14
  "devDependencies": {
15
- "@types/node": "^12.12.26",
15
+ "@types/node": "^16.0.0",
16
16
  "nyc": "^15.0.0",
17
17
  "source-map-support": "^0.5.16",
18
- "ts-node": "^8.6.2",
19
- "typescript": "^3.7.5"
18
+ "ts-node": "^10.0.0",
19
+ "typescript": "^5"
20
20
  },
21
21
  "dependencies": {
22
- "@alicloud/tea-typescript": "^1.7.1",
23
- "@alicloud/tea-util": "^1.4.7",
24
- "@alicloud/openapi-client": "^0.4.7",
25
- "@alicloud/openapi-util": "^0.3.2",
26
- "@alicloud/endpoint-util": "^0.0.1"
22
+ "@darabonba/typescript": "^1.0.0",
23
+ "@alicloud/openapi-core": "^1.0.0"
27
24
  },
28
25
  "files": [
29
26
  "dist",
30
27
  "src"
31
28
  ]
32
- }
29
+ }