@alicloud/cloudauth20190307 3.11.1 → 3.12.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.
Files changed (33) hide show
  1. package/dist/client.d.ts +30 -0
  2. package/dist/client.js +108 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/DescribeAuthVerifyRequest.d.ts +29 -0
  5. package/dist/models/DescribeAuthVerifyRequest.js +60 -0
  6. package/dist/models/DescribeAuthVerifyRequest.js.map +1 -0
  7. package/dist/models/DescribeAuthVerifyResponse.d.ts +19 -0
  8. package/dist/models/DescribeAuthVerifyResponse.js +69 -0
  9. package/dist/models/DescribeAuthVerifyResponse.js.map +1 -0
  10. package/dist/models/DescribeAuthVerifyResponseBody.d.ts +59 -0
  11. package/dist/models/DescribeAuthVerifyResponseBody.js +92 -0
  12. package/dist/models/DescribeAuthVerifyResponseBody.js.map +1 -0
  13. package/dist/models/InitAuthVerifyRequest.d.ts +90 -0
  14. package/dist/models/InitAuthVerifyRequest.js +76 -0
  15. package/dist/models/InitAuthVerifyRequest.js.map +1 -0
  16. package/dist/models/InitAuthVerifyResponse.d.ts +19 -0
  17. package/dist/models/InitAuthVerifyResponse.js +69 -0
  18. package/dist/models/InitAuthVerifyResponse.js.map +1 -0
  19. package/dist/models/InitAuthVerifyResponseBody.d.ts +46 -0
  20. package/dist/models/InitAuthVerifyResponseBody.js +86 -0
  21. package/dist/models/InitAuthVerifyResponseBody.js.map +1 -0
  22. package/dist/models/model.d.ts +8 -0
  23. package/dist/models/model.js +25 -9
  24. package/dist/models/model.js.map +1 -1
  25. package/package.json +1 -1
  26. package/src/client.ts +124 -0
  27. package/src/models/DescribeAuthVerifyRequest.ts +44 -0
  28. package/src/models/DescribeAuthVerifyResponse.ts +40 -0
  29. package/src/models/DescribeAuthVerifyResponseBody.ts +97 -0
  30. package/src/models/InitAuthVerifyRequest.ts +121 -0
  31. package/src/models/InitAuthVerifyResponse.ts +40 -0
  32. package/src/models/InitAuthVerifyResponseBody.ts +78 -0
  33. package/src/models/model.ts +8 -0
@@ -0,0 +1,29 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class DescribeAuthVerifyRequest extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * This parameter is required.
6
+ *
7
+ * @example
8
+ * shsf57a4e0d9981c3bd66dc754f3d3cd
9
+ */
10
+ certifyId?: string;
11
+ /**
12
+ * @remarks
13
+ * This parameter is required.
14
+ *
15
+ * @example
16
+ * 100000****
17
+ */
18
+ sceneId?: number;
19
+ static names(): {
20
+ [key: string]: string;
21
+ };
22
+ static types(): {
23
+ [key: string]: any;
24
+ };
25
+ validate(): void;
26
+ constructor(map?: {
27
+ [key: string]: any;
28
+ });
29
+ }
@@ -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.DescribeAuthVerifyRequest = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class DescribeAuthVerifyRequest extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ certifyId: 'CertifyId',
43
+ sceneId: 'SceneId',
44
+ };
45
+ }
46
+ static types() {
47
+ return {
48
+ certifyId: 'string',
49
+ sceneId: 'number',
50
+ };
51
+ }
52
+ validate() {
53
+ super.validate();
54
+ }
55
+ constructor(map) {
56
+ super(map);
57
+ }
58
+ }
59
+ exports.DescribeAuthVerifyRequest = DescribeAuthVerifyRequest;
60
+ //# sourceMappingURL=DescribeAuthVerifyRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescribeAuthVerifyRequest.js","sourceRoot":"","sources":["../../src/models/DescribeAuthVerifyRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,yBAA0B,SAAQ,KAAK,CAAC,KAAK;IAiBxD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,WAAW;YACtB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,QAAQ;YACnB,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;AAtCD,8DAsCC"}
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { DescribeAuthVerifyResponseBody } from "./DescribeAuthVerifyResponseBody";
3
+ export declare class DescribeAuthVerifyResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: DescribeAuthVerifyResponseBody;
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.DescribeAuthVerifyResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const DescribeAuthVerifyResponseBody_1 = require("./DescribeAuthVerifyResponseBody");
40
+ class DescribeAuthVerifyResponse 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: DescribeAuthVerifyResponseBody_1.DescribeAuthVerifyResponseBody,
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.DescribeAuthVerifyResponse = DescribeAuthVerifyResponse;
69
+ //# sourceMappingURL=DescribeAuthVerifyResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescribeAuthVerifyResponse.js","sourceRoot":"","sources":["../../src/models/DescribeAuthVerifyResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,qFAAkF;AAGlF,MAAa,0BAA2B,SAAQ,KAAK,CAAC,KAAK;IAIzD,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,+DAA8B;SACrC,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,gEAiCC"}
@@ -0,0 +1,59 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class DescribeAuthVerifyResponseBodyResult extends $dara.Model {
3
+ materialInfo?: string;
4
+ /**
5
+ * @example
6
+ * spoofRiskResult:Y
7
+ * spoofType:SCREEN_REMARK
8
+ */
9
+ spoofBackInfo?: string;
10
+ /**
11
+ * @example
12
+ * spoofRiskResult:Y
13
+ * spoofType:SCREEN_REMARK
14
+ */
15
+ spoofInfo?: string;
16
+ /**
17
+ * @example
18
+ * 200
19
+ */
20
+ subCode?: string;
21
+ static names(): {
22
+ [key: string]: string;
23
+ };
24
+ static types(): {
25
+ [key: string]: any;
26
+ };
27
+ validate(): void;
28
+ constructor(map?: {
29
+ [key: string]: any;
30
+ });
31
+ }
32
+ export declare class DescribeAuthVerifyResponseBody extends $dara.Model {
33
+ /**
34
+ * @example
35
+ * Success
36
+ */
37
+ code?: string;
38
+ /**
39
+ * @example
40
+ * success
41
+ */
42
+ message?: string;
43
+ /**
44
+ * @example
45
+ * 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
46
+ */
47
+ requestId?: string;
48
+ result?: DescribeAuthVerifyResponseBodyResult;
49
+ static names(): {
50
+ [key: string]: string;
51
+ };
52
+ static types(): {
53
+ [key: string]: any;
54
+ };
55
+ validate(): void;
56
+ constructor(map?: {
57
+ [key: string]: any;
58
+ });
59
+ }
@@ -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.DescribeAuthVerifyResponseBody = exports.DescribeAuthVerifyResponseBodyResult = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class DescribeAuthVerifyResponseBodyResult extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ materialInfo: 'MaterialInfo',
43
+ spoofBackInfo: 'SpoofBackInfo',
44
+ spoofInfo: 'SpoofInfo',
45
+ subCode: 'SubCode',
46
+ };
47
+ }
48
+ static types() {
49
+ return {
50
+ materialInfo: 'string',
51
+ spoofBackInfo: 'string',
52
+ spoofInfo: 'string',
53
+ subCode: 'string',
54
+ };
55
+ }
56
+ validate() {
57
+ super.validate();
58
+ }
59
+ constructor(map) {
60
+ super(map);
61
+ }
62
+ }
63
+ exports.DescribeAuthVerifyResponseBodyResult = DescribeAuthVerifyResponseBodyResult;
64
+ class DescribeAuthVerifyResponseBody extends $dara.Model {
65
+ static names() {
66
+ return {
67
+ code: 'Code',
68
+ message: 'Message',
69
+ requestId: 'RequestId',
70
+ result: 'Result',
71
+ };
72
+ }
73
+ static types() {
74
+ return {
75
+ code: 'string',
76
+ message: 'string',
77
+ requestId: 'string',
78
+ result: DescribeAuthVerifyResponseBodyResult,
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.DescribeAuthVerifyResponseBody = DescribeAuthVerifyResponseBody;
92
+ //# sourceMappingURL=DescribeAuthVerifyResponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescribeAuthVerifyResponseBody.js","sourceRoot":"","sources":["../../src/models/DescribeAuthVerifyResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,oCAAqC,SAAQ,KAAK,CAAC,KAAK;IAmBnE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,YAAY,EAAE,cAAc;YAC5B,aAAa,EAAE,eAAe;YAC9B,SAAS,EAAE,WAAW;YACtB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,YAAY,EAAE,QAAQ;YACtB,aAAa,EAAE,QAAQ;YACvB,SAAS,EAAE,QAAQ;YACnB,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;AA5CD,oFA4CC;AAED,MAAa,8BAA+B,SAAQ,KAAK,CAAC,KAAK;IAiB7D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,MAAM;YACZ,OAAO,EAAE,SAAS;YAClB,SAAS,EAAE,WAAW;YACtB,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,QAAQ;YACjB,SAAS,EAAE,QAAQ;YACnB,MAAM,EAAE,oCAAoC;SAC7C,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;AA7CD,wEA6CC"}
@@ -0,0 +1,90 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class InitAuthVerifyRequest extends $dara.Model {
3
+ /**
4
+ * @example
5
+ * NMjvQanQgplBSaEI0sL86WnQplB
6
+ */
7
+ callbackToken?: string;
8
+ /**
9
+ * @example
10
+ * https://www.aliyun.com?callbackToken=100000****&certifyId=shaxxxx&subCode=200
11
+ */
12
+ callbackUrl?: string;
13
+ /**
14
+ * @remarks
15
+ * This parameter is required.
16
+ *
17
+ * @example
18
+ * 1
19
+ */
20
+ cardPageNumber?: string;
21
+ /**
22
+ * @remarks
23
+ * This parameter is required.
24
+ *
25
+ * @example
26
+ * IDENTITY_CARD
27
+ */
28
+ cardType?: string;
29
+ /**
30
+ * @example
31
+ * shoot
32
+ */
33
+ docScanMode?: string;
34
+ /**
35
+ * @example
36
+ * Y
37
+ */
38
+ idSpoof?: string;
39
+ /**
40
+ * @remarks
41
+ * This parameter is required.
42
+ *
43
+ * @example
44
+ * {
45
+ * "zimVer": "3.0.0",
46
+ * "appVersion": "1",
47
+ * "bioMetaInfo": "4.1.0:1150****,0",
48
+ * "appName": "com.aliyun.antcloudauth",
49
+ * "deviceType": "ios",
50
+ * "osVersion": "iOS 10.3.2",
51
+ * "apdidToken": "",
52
+ * "deviceModel": "iPhone9,1"
53
+ * }
54
+ */
55
+ metaInfo?: string;
56
+ /**
57
+ * @remarks
58
+ * This parameter is required.
59
+ *
60
+ * @example
61
+ * e0c34a77f5ac40a5aa5e6ed20c******
62
+ */
63
+ outerOrderNo?: string;
64
+ /**
65
+ * @remarks
66
+ * This parameter is required.
67
+ *
68
+ * @example
69
+ * ID_OCR
70
+ */
71
+ productCode?: string;
72
+ /**
73
+ * @remarks
74
+ * This parameter is required.
75
+ *
76
+ * @example
77
+ * 1000002996
78
+ */
79
+ sceneId?: number;
80
+ static names(): {
81
+ [key: string]: string;
82
+ };
83
+ static types(): {
84
+ [key: string]: any;
85
+ };
86
+ validate(): void;
87
+ constructor(map?: {
88
+ [key: string]: any;
89
+ });
90
+ }
@@ -0,0 +1,76 @@
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.InitAuthVerifyRequest = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class InitAuthVerifyRequest extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ callbackToken: 'CallbackToken',
43
+ callbackUrl: 'CallbackUrl',
44
+ cardPageNumber: 'CardPageNumber',
45
+ cardType: 'CardType',
46
+ docScanMode: 'DocScanMode',
47
+ idSpoof: 'IdSpoof',
48
+ metaInfo: 'MetaInfo',
49
+ outerOrderNo: 'OuterOrderNo',
50
+ productCode: 'ProductCode',
51
+ sceneId: 'SceneId',
52
+ };
53
+ }
54
+ static types() {
55
+ return {
56
+ callbackToken: 'string',
57
+ callbackUrl: 'string',
58
+ cardPageNumber: 'string',
59
+ cardType: 'string',
60
+ docScanMode: 'string',
61
+ idSpoof: 'string',
62
+ metaInfo: 'string',
63
+ outerOrderNo: 'string',
64
+ productCode: 'string',
65
+ sceneId: 'number',
66
+ };
67
+ }
68
+ validate() {
69
+ super.validate();
70
+ }
71
+ constructor(map) {
72
+ super(map);
73
+ }
74
+ }
75
+ exports.InitAuthVerifyRequest = InitAuthVerifyRequest;
76
+ //# sourceMappingURL=InitAuthVerifyRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InitAuthVerifyRequest.js","sourceRoot":"","sources":["../../src/models/InitAuthVerifyRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,qBAAsB,SAAQ,KAAK,CAAC,KAAK;IA8EpD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,aAAa,EAAE,eAAe;YAC9B,WAAW,EAAE,aAAa;YAC1B,cAAc,EAAE,gBAAgB;YAChC,QAAQ,EAAE,UAAU;YACpB,WAAW,EAAE,aAAa;YAC1B,OAAO,EAAE,SAAS;YAClB,QAAQ,EAAE,UAAU;YACpB,YAAY,EAAE,cAAc;YAC5B,WAAW,EAAE,aAAa;YAC1B,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,aAAa,EAAE,QAAQ;YACvB,WAAW,EAAE,QAAQ;YACrB,cAAc,EAAE,QAAQ;YACxB,QAAQ,EAAE,QAAQ;YAClB,WAAW,EAAE,QAAQ;YACrB,OAAO,EAAE,QAAQ;YACjB,QAAQ,EAAE,QAAQ;YAClB,YAAY,EAAE,QAAQ;YACtB,WAAW,EAAE,QAAQ;YACrB,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;AAnHD,sDAmHC"}
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { InitAuthVerifyResponseBody } from "./InitAuthVerifyResponseBody";
3
+ export declare class InitAuthVerifyResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: InitAuthVerifyResponseBody;
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.InitAuthVerifyResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const InitAuthVerifyResponseBody_1 = require("./InitAuthVerifyResponseBody");
40
+ class InitAuthVerifyResponse 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: InitAuthVerifyResponseBody_1.InitAuthVerifyResponseBody,
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.InitAuthVerifyResponse = InitAuthVerifyResponse;
69
+ //# sourceMappingURL=InitAuthVerifyResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InitAuthVerifyResponse.js","sourceRoot":"","sources":["../../src/models/InitAuthVerifyResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,6EAA0E;AAG1E,MAAa,sBAAuB,SAAQ,KAAK,CAAC,KAAK;IAIrD,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,uDAA0B;SACjC,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,wDAiCC"}
@@ -0,0 +1,46 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class InitAuthVerifyResponseBodyResult extends $dara.Model {
3
+ /**
4
+ * @example
5
+ * shif9d1a185b8dde7cd07bf0943a448b
6
+ */
7
+ certifyId?: string;
8
+ static names(): {
9
+ [key: string]: string;
10
+ };
11
+ static types(): {
12
+ [key: string]: any;
13
+ };
14
+ validate(): void;
15
+ constructor(map?: {
16
+ [key: string]: any;
17
+ });
18
+ }
19
+ export declare class InitAuthVerifyResponseBody extends $dara.Model {
20
+ /**
21
+ * @example
22
+ * Success
23
+ */
24
+ code?: string;
25
+ /**
26
+ * @example
27
+ * success
28
+ */
29
+ message?: string;
30
+ /**
31
+ * @example
32
+ * B506328A-D84B-4750-82C7-6A207C585CF1
33
+ */
34
+ requestId?: string;
35
+ result?: InitAuthVerifyResponseBodyResult;
36
+ static names(): {
37
+ [key: string]: string;
38
+ };
39
+ static types(): {
40
+ [key: string]: any;
41
+ };
42
+ validate(): void;
43
+ constructor(map?: {
44
+ [key: string]: any;
45
+ });
46
+ }