@alicloud/dyvmsapi20170525 3.0.0 → 3.1.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 +41 -0
- package/dist/client.js +164 -0
- package/dist/client.js.map +1 -1
- package/dist/models/CancelCallRequest.d.ts +24 -0
- package/dist/models/CancelCallRequest.js +64 -0
- package/dist/models/CancelCallRequest.js.map +1 -0
- package/dist/models/CancelCallResponse.d.ts +19 -0
- package/dist/models/CancelCallResponse.js +69 -0
- package/dist/models/CancelCallResponse.js.map +1 -0
- package/dist/models/CancelCallResponseBody.d.ts +33 -0
- package/dist/models/CancelCallResponseBody.js +64 -0
- package/dist/models/CancelCallResponseBody.js.map +1 -0
- package/dist/models/QueryVmsRealNumberCallConnectionRateInfoRequest.d.ts +40 -0
- package/dist/models/QueryVmsRealNumberCallConnectionRateInfoRequest.js +68 -0
- package/dist/models/QueryVmsRealNumberCallConnectionRateInfoRequest.js.map +1 -0
- package/dist/models/QueryVmsRealNumberCallConnectionRateInfoResponse.d.ts +19 -0
- package/dist/models/QueryVmsRealNumberCallConnectionRateInfoResponse.js +69 -0
- package/dist/models/QueryVmsRealNumberCallConnectionRateInfoResponse.js.map +1 -0
- package/dist/models/QueryVmsRealNumberCallConnectionRateInfoResponseBody.d.ts +105 -0
- package/dist/models/QueryVmsRealNumberCallConnectionRateInfoResponseBody.js +104 -0
- package/dist/models/QueryVmsRealNumberCallConnectionRateInfoResponseBody.js.map +1 -0
- package/dist/models/QueryVmsVirtualNumberRelationByPageRequest.d.ts +66 -0
- package/dist/models/QueryVmsVirtualNumberRelationByPageRequest.js +76 -0
- package/dist/models/QueryVmsVirtualNumberRelationByPageRequest.js.map +1 -0
- package/dist/models/QueryVmsVirtualNumberRelationByPageResponse.d.ts +19 -0
- package/dist/models/QueryVmsVirtualNumberRelationByPageResponse.js +69 -0
- package/dist/models/QueryVmsVirtualNumberRelationByPageResponse.js.map +1 -0
- package/dist/models/QueryVmsVirtualNumberRelationByPageResponseBody.d.ts +115 -0
- package/dist/models/QueryVmsVirtualNumberRelationByPageResponseBody.js +126 -0
- package/dist/models/QueryVmsVirtualNumberRelationByPageResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +12 -0
- package/dist/models/model.js +28 -4
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +190 -0
- package/src/models/CancelCallRequest.ts +43 -0
- package/src/models/CancelCallResponse.ts +40 -0
- package/src/models/CancelCallResponseBody.ts +52 -0
- package/src/models/QueryVmsRealNumberCallConnectionRateInfoRequest.ts +63 -0
- package/src/models/QueryVmsRealNumberCallConnectionRateInfoResponse.ts +40 -0
- package/src/models/QueryVmsRealNumberCallConnectionRateInfoResponseBody.ts +155 -0
- package/src/models/QueryVmsVirtualNumberRelationByPageRequest.ts +97 -0
- package/src/models/QueryVmsVirtualNumberRelationByPageResponse.ts +40 -0
- package/src/models/QueryVmsVirtualNumberRelationByPageResponseBody.ts +178 -0
- package/src/models/model.ts +12 -0
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { QueryVmsVirtualNumberRelationByPageResponseBody } from "./QueryVmsVirtualNumberRelationByPageResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class QueryVmsVirtualNumberRelationByPageResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: QueryVmsVirtualNumberRelationByPageResponseBody;
|
|
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: QueryVmsVirtualNumberRelationByPageResponseBody,
|
|
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,178 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class QueryVmsVirtualNumberRelationByPageResponseBodyModelData extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* 号码归属地--城市
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 示例值示例值
|
|
12
|
+
*/
|
|
13
|
+
numberCity?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* 号码归属地--省
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* 示例值示例值
|
|
20
|
+
*/
|
|
21
|
+
numberProvince?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* 真实号码
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* 131****1234
|
|
28
|
+
*/
|
|
29
|
+
realNumber?: string;
|
|
30
|
+
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* 状态 1:有效;0:无效;-1:注销
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* 1
|
|
36
|
+
*/
|
|
37
|
+
state?: number;
|
|
38
|
+
/**
|
|
39
|
+
* @remarks
|
|
40
|
+
* 虚拟号码
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* 0571***1234
|
|
44
|
+
*/
|
|
45
|
+
virtualNumber?: string;
|
|
46
|
+
static names(): { [key: string]: string } {
|
|
47
|
+
return {
|
|
48
|
+
numberCity: 'NumberCity',
|
|
49
|
+
numberProvince: 'NumberProvince',
|
|
50
|
+
realNumber: 'RealNumber',
|
|
51
|
+
state: 'State',
|
|
52
|
+
virtualNumber: 'VirtualNumber',
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
static types(): { [key: string]: any } {
|
|
57
|
+
return {
|
|
58
|
+
numberCity: 'string',
|
|
59
|
+
numberProvince: 'string',
|
|
60
|
+
realNumber: 'string',
|
|
61
|
+
state: 'number',
|
|
62
|
+
virtualNumber: 'string',
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
validate() {
|
|
67
|
+
super.validate();
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
constructor(map?: { [key: string]: any }) {
|
|
71
|
+
super(map);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export class QueryVmsVirtualNumberRelationByPageResponseBodyModel extends $dara.Model {
|
|
76
|
+
data?: QueryVmsVirtualNumberRelationByPageResponseBodyModelData[];
|
|
77
|
+
/**
|
|
78
|
+
* @example
|
|
79
|
+
* 1
|
|
80
|
+
*/
|
|
81
|
+
pageNo?: number;
|
|
82
|
+
/**
|
|
83
|
+
* @example
|
|
84
|
+
* 65
|
|
85
|
+
*/
|
|
86
|
+
pageSize?: number;
|
|
87
|
+
/**
|
|
88
|
+
* @example
|
|
89
|
+
* 231
|
|
90
|
+
*/
|
|
91
|
+
total?: number;
|
|
92
|
+
static names(): { [key: string]: string } {
|
|
93
|
+
return {
|
|
94
|
+
data: 'Data',
|
|
95
|
+
pageNo: 'PageNo',
|
|
96
|
+
pageSize: 'PageSize',
|
|
97
|
+
total: 'Total',
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
static types(): { [key: string]: any } {
|
|
102
|
+
return {
|
|
103
|
+
data: { 'type': 'array', 'itemType': QueryVmsVirtualNumberRelationByPageResponseBodyModelData },
|
|
104
|
+
pageNo: 'number',
|
|
105
|
+
pageSize: 'number',
|
|
106
|
+
total: 'number',
|
|
107
|
+
};
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
validate() {
|
|
111
|
+
if(Array.isArray(this.data)) {
|
|
112
|
+
$dara.Model.validateArray(this.data);
|
|
113
|
+
}
|
|
114
|
+
super.validate();
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
constructor(map?: { [key: string]: any }) {
|
|
118
|
+
super(map);
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
export class QueryVmsVirtualNumberRelationByPageResponseBody extends $dara.Model {
|
|
123
|
+
accessDeniedDetail?: string;
|
|
124
|
+
/**
|
|
125
|
+
* @example
|
|
126
|
+
* OK
|
|
127
|
+
*/
|
|
128
|
+
code?: string;
|
|
129
|
+
/**
|
|
130
|
+
* @example
|
|
131
|
+
* 示例值示例值
|
|
132
|
+
*/
|
|
133
|
+
message?: string;
|
|
134
|
+
model?: QueryVmsVirtualNumberRelationByPageResponseBodyModel;
|
|
135
|
+
/**
|
|
136
|
+
* @example
|
|
137
|
+
* 01A58FA5-422C-58E0-AA71-B307A665416F
|
|
138
|
+
*/
|
|
139
|
+
requestId?: string;
|
|
140
|
+
/**
|
|
141
|
+
* @example
|
|
142
|
+
* true
|
|
143
|
+
*/
|
|
144
|
+
success?: boolean;
|
|
145
|
+
static names(): { [key: string]: string } {
|
|
146
|
+
return {
|
|
147
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
148
|
+
code: 'Code',
|
|
149
|
+
message: 'Message',
|
|
150
|
+
model: 'Model',
|
|
151
|
+
requestId: 'RequestId',
|
|
152
|
+
success: 'Success',
|
|
153
|
+
};
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
static types(): { [key: string]: any } {
|
|
157
|
+
return {
|
|
158
|
+
accessDeniedDetail: 'string',
|
|
159
|
+
code: 'string',
|
|
160
|
+
message: 'string',
|
|
161
|
+
model: QueryVmsVirtualNumberRelationByPageResponseBodyModel,
|
|
162
|
+
requestId: 'string',
|
|
163
|
+
success: 'boolean',
|
|
164
|
+
};
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
validate() {
|
|
168
|
+
if(this.model && typeof (this.model as any).validate === 'function') {
|
|
169
|
+
(this.model as any).validate();
|
|
170
|
+
}
|
|
171
|
+
super.validate();
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
constructor(map?: { [key: string]: any }) {
|
|
175
|
+
super(map);
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
|
package/src/models/model.ts
CHANGED
|
@@ -8,6 +8,9 @@ export { QueryCallInPoolTransferConfigResponseBodyDataDetails } from './QueryCal
|
|
|
8
8
|
export { QueryCallInPoolTransferConfigResponseBodyData } from './QueryCallInPoolTransferConfigResponseBody';
|
|
9
9
|
export { QueryCallInTransferRecordResponseBodyDataValues } from './QueryCallInTransferRecordResponseBody';
|
|
10
10
|
export { QueryCallInTransferRecordResponseBodyData } from './QueryCallInTransferRecordResponseBody';
|
|
11
|
+
export { QueryVmsRealNumberCallConnectionRateInfoResponseBodyModel } from './QueryVmsRealNumberCallConnectionRateInfoResponseBody';
|
|
12
|
+
export { QueryVmsVirtualNumberRelationByPageResponseBodyModelData } from './QueryVmsVirtualNumberRelationByPageResponseBody';
|
|
13
|
+
export { QueryVmsVirtualNumberRelationByPageResponseBodyModel } from './QueryVmsVirtualNumberRelationByPageResponseBody';
|
|
11
14
|
export { QueryVoiceFileAuditInfoResponseBodyData } from './QueryVoiceFileAuditInfoResponseBody';
|
|
12
15
|
export { SetTransferCalleePoolConfigRequestDetails } from './SetTransferCalleePoolConfigRequest';
|
|
13
16
|
export { SubmitHotlineTransferRegisterRequestTransferPhoneNumberInfos } from './SubmitHotlineTransferRegisterRequest';
|
|
@@ -17,6 +20,9 @@ export { AddVirtualNumberRelationResponse } from './AddVirtualNumberRelationResp
|
|
|
17
20
|
export { BatchRobotSmartCallRequest } from './BatchRobotSmartCallRequest';
|
|
18
21
|
export { BatchRobotSmartCallResponseBody } from './BatchRobotSmartCallResponseBody';
|
|
19
22
|
export { BatchRobotSmartCallResponse } from './BatchRobotSmartCallResponse';
|
|
23
|
+
export { CancelCallRequest } from './CancelCallRequest';
|
|
24
|
+
export { CancelCallResponseBody } from './CancelCallResponseBody';
|
|
25
|
+
export { CancelCallResponse } from './CancelCallResponse';
|
|
20
26
|
export { CancelOrderRobotTaskRequest } from './CancelOrderRobotTaskRequest';
|
|
21
27
|
export { CancelOrderRobotTaskResponseBody } from './CancelOrderRobotTaskResponseBody';
|
|
22
28
|
export { CancelOrderRobotTaskResponse } from './CancelOrderRobotTaskResponse';
|
|
@@ -116,6 +122,12 @@ export { QueryVirtualNumberResponse } from './QueryVirtualNumberResponse';
|
|
|
116
122
|
export { QueryVirtualNumberRelationRequest } from './QueryVirtualNumberRelationRequest';
|
|
117
123
|
export { QueryVirtualNumberRelationResponseBody } from './QueryVirtualNumberRelationResponseBody';
|
|
118
124
|
export { QueryVirtualNumberRelationResponse } from './QueryVirtualNumberRelationResponse';
|
|
125
|
+
export { QueryVmsRealNumberCallConnectionRateInfoRequest } from './QueryVmsRealNumberCallConnectionRateInfoRequest';
|
|
126
|
+
export { QueryVmsRealNumberCallConnectionRateInfoResponseBody } from './QueryVmsRealNumberCallConnectionRateInfoResponseBody';
|
|
127
|
+
export { QueryVmsRealNumberCallConnectionRateInfoResponse } from './QueryVmsRealNumberCallConnectionRateInfoResponse';
|
|
128
|
+
export { QueryVmsVirtualNumberRelationByPageRequest } from './QueryVmsVirtualNumberRelationByPageRequest';
|
|
129
|
+
export { QueryVmsVirtualNumberRelationByPageResponseBody } from './QueryVmsVirtualNumberRelationByPageResponseBody';
|
|
130
|
+
export { QueryVmsVirtualNumberRelationByPageResponse } from './QueryVmsVirtualNumberRelationByPageResponse';
|
|
119
131
|
export { QueryVoiceFileAuditInfoRequest } from './QueryVoiceFileAuditInfoRequest';
|
|
120
132
|
export { QueryVoiceFileAuditInfoResponseBody } from './QueryVoiceFileAuditInfoResponseBody';
|
|
121
133
|
export { QueryVoiceFileAuditInfoResponse } from './QueryVoiceFileAuditInfoResponse';
|