@alicloud/dytnsapi20200217 3.2.0 → 3.3.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 +21 -6
- package/dist/client.js +63 -6
- package/dist/client.js.map +1 -1
- package/dist/models/HistoryThreeElementsVerificationRequest.d.ts +66 -0
- package/dist/models/HistoryThreeElementsVerificationRequest.js +70 -0
- package/dist/models/HistoryThreeElementsVerificationRequest.js.map +1 -0
- package/dist/models/HistoryThreeElementsVerificationResponse.d.ts +19 -0
- package/dist/models/HistoryThreeElementsVerificationResponse.js +69 -0
- package/dist/models/HistoryThreeElementsVerificationResponse.js.map +1 -0
- package/dist/models/HistoryThreeElementsVerificationResponseBody.d.ts +56 -0
- package/dist/models/HistoryThreeElementsVerificationResponseBody.js +90 -0
- package/dist/models/HistoryThreeElementsVerificationResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +4 -0
- package/dist/models/model.js +12 -4
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +72 -6
- package/src/models/HistoryThreeElementsVerificationRequest.ts +91 -0
- package/src/models/HistoryThreeElementsVerificationResponse.ts +40 -0
- package/src/models/HistoryThreeElementsVerificationResponseBody.ts +92 -0
- package/src/models/model.ts +4 -0
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class HistoryThreeElementsVerificationRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 示例值示例值示例值
|
|
12
|
+
*/
|
|
13
|
+
authCode?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @example
|
|
16
|
+
* CMCC
|
|
17
|
+
*/
|
|
18
|
+
carrier?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @remarks
|
|
21
|
+
* This parameter is required.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* 示例值示例值示例值
|
|
25
|
+
*/
|
|
26
|
+
certCode?: string;
|
|
27
|
+
/**
|
|
28
|
+
* @remarks
|
|
29
|
+
* This parameter is required.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* 示例值示例值示例值
|
|
33
|
+
*/
|
|
34
|
+
inputNumber?: string;
|
|
35
|
+
/**
|
|
36
|
+
* @remarks
|
|
37
|
+
* This parameter is required.
|
|
38
|
+
*
|
|
39
|
+
* @example
|
|
40
|
+
* 示例值
|
|
41
|
+
*/
|
|
42
|
+
mask?: string;
|
|
43
|
+
/**
|
|
44
|
+
* @remarks
|
|
45
|
+
* This parameter is required.
|
|
46
|
+
*
|
|
47
|
+
* @example
|
|
48
|
+
* 示例值
|
|
49
|
+
*/
|
|
50
|
+
name?: string;
|
|
51
|
+
/**
|
|
52
|
+
* @remarks
|
|
53
|
+
* This parameter is required.
|
|
54
|
+
*
|
|
55
|
+
* @example
|
|
56
|
+
* 示例值示例值示例值
|
|
57
|
+
*/
|
|
58
|
+
verificationTime?: string;
|
|
59
|
+
static names(): { [key: string]: string } {
|
|
60
|
+
return {
|
|
61
|
+
authCode: 'AuthCode',
|
|
62
|
+
carrier: 'Carrier',
|
|
63
|
+
certCode: 'CertCode',
|
|
64
|
+
inputNumber: 'InputNumber',
|
|
65
|
+
mask: 'Mask',
|
|
66
|
+
name: 'Name',
|
|
67
|
+
verificationTime: 'VerificationTime',
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
static types(): { [key: string]: any } {
|
|
72
|
+
return {
|
|
73
|
+
authCode: 'string',
|
|
74
|
+
carrier: 'string',
|
|
75
|
+
certCode: 'string',
|
|
76
|
+
inputNumber: 'string',
|
|
77
|
+
mask: 'string',
|
|
78
|
+
name: 'string',
|
|
79
|
+
verificationTime: 'string',
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
validate() {
|
|
84
|
+
super.validate();
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
constructor(map?: { [key: string]: any }) {
|
|
88
|
+
super(map);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { HistoryThreeElementsVerificationResponseBody } from "./HistoryThreeElementsVerificationResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class HistoryThreeElementsVerificationResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: HistoryThreeElementsVerificationResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: HistoryThreeElementsVerificationResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class HistoryThreeElementsVerificationResponseBodyData extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 72
|
|
9
|
+
*/
|
|
10
|
+
isConsistent?: number;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* CMCC
|
|
14
|
+
*/
|
|
15
|
+
requestCarrier?: string;
|
|
16
|
+
static names(): { [key: string]: string } {
|
|
17
|
+
return {
|
|
18
|
+
isConsistent: 'IsConsistent',
|
|
19
|
+
requestCarrier: 'RequestCarrier',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
static types(): { [key: string]: any } {
|
|
24
|
+
return {
|
|
25
|
+
isConsistent: 'number',
|
|
26
|
+
requestCarrier: 'string',
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
validate() {
|
|
31
|
+
super.validate();
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
constructor(map?: { [key: string]: any }) {
|
|
35
|
+
super(map);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export class HistoryThreeElementsVerificationResponseBody extends $dara.Model {
|
|
40
|
+
/**
|
|
41
|
+
* @example
|
|
42
|
+
* -
|
|
43
|
+
*/
|
|
44
|
+
accessDeniedDetail?: string;
|
|
45
|
+
/**
|
|
46
|
+
* @example
|
|
47
|
+
* OK
|
|
48
|
+
*/
|
|
49
|
+
code?: string;
|
|
50
|
+
data?: HistoryThreeElementsVerificationResponseBodyData;
|
|
51
|
+
/**
|
|
52
|
+
* @example
|
|
53
|
+
* OK
|
|
54
|
+
*/
|
|
55
|
+
message?: string;
|
|
56
|
+
/**
|
|
57
|
+
* @example
|
|
58
|
+
* CC3BB6D2-2FDF-4321-9DCE-B38165CE4C47
|
|
59
|
+
*/
|
|
60
|
+
requestId?: string;
|
|
61
|
+
static names(): { [key: string]: string } {
|
|
62
|
+
return {
|
|
63
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
64
|
+
code: 'Code',
|
|
65
|
+
data: 'Data',
|
|
66
|
+
message: 'Message',
|
|
67
|
+
requestId: 'RequestId',
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
static types(): { [key: string]: any } {
|
|
72
|
+
return {
|
|
73
|
+
accessDeniedDetail: 'string',
|
|
74
|
+
code: 'string',
|
|
75
|
+
data: HistoryThreeElementsVerificationResponseBodyData,
|
|
76
|
+
message: 'string',
|
|
77
|
+
requestId: 'string',
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
validate() {
|
|
82
|
+
if(this.data && typeof (this.data as any).validate === 'function') {
|
|
83
|
+
(this.data as any).validate();
|
|
84
|
+
}
|
|
85
|
+
super.validate();
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
constructor(map?: { [key: string]: any }) {
|
|
89
|
+
super(map);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
package/src/models/model.ts
CHANGED
|
@@ -21,6 +21,7 @@ export { DescribePhoneNumberRiskResponseBodyData } from './DescribePhoneNumberRi
|
|
|
21
21
|
export { DescribePhoneTwiceTelVerifyResponseBodyData } from './DescribePhoneTwiceTelVerifyResponseBody';
|
|
22
22
|
export { GetUAIDApplyTokenSignResponseBodyData } from './GetUaidapplyTokenSignResponseBody';
|
|
23
23
|
export { GetUAIDConversionSignResponseBodyData } from './GetUaidconversionSignResponseBody';
|
|
24
|
+
export { HistoryThreeElementsVerificationResponseBodyData } from './HistoryThreeElementsVerificationResponseBody';
|
|
24
25
|
export { InvalidPhoneNumberFilterResponseBodyData } from './InvalidPhoneNumberFilterResponseBody';
|
|
25
26
|
export { ListContactsResponseBodyData } from './ListContactsResponseBody';
|
|
26
27
|
export { PhoneNumberConvertServiceResponseBodyData } from './PhoneNumberConvertServiceResponseBody';
|
|
@@ -108,6 +109,9 @@ export { GetUAIDApplyTokenSignResponse } from './GetUaidapplyTokenSignResponse';
|
|
|
108
109
|
export { GetUAIDConversionSignRequest } from './GetUaidconversionSignRequest';
|
|
109
110
|
export { GetUAIDConversionSignResponseBody } from './GetUaidconversionSignResponseBody';
|
|
110
111
|
export { GetUAIDConversionSignResponse } from './GetUaidconversionSignResponse';
|
|
112
|
+
export { HistoryThreeElementsVerificationRequest } from './HistoryThreeElementsVerificationRequest';
|
|
113
|
+
export { HistoryThreeElementsVerificationResponseBody } from './HistoryThreeElementsVerificationResponseBody';
|
|
114
|
+
export { HistoryThreeElementsVerificationResponse } from './HistoryThreeElementsVerificationResponse';
|
|
111
115
|
export { InvalidPhoneNumberFilterRequest } from './InvalidPhoneNumberFilterRequest';
|
|
112
116
|
export { InvalidPhoneNumberFilterResponseBody } from './InvalidPhoneNumberFilterResponseBody';
|
|
113
117
|
export { InvalidPhoneNumberFilterResponse } from './InvalidPhoneNumberFilterResponse';
|