@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
package/src/client.ts
CHANGED
|
@@ -219,6 +219,56 @@ export default class Client extends OpenApi {
|
|
|
219
219
|
return await this.batchRobotSmartCallWithOptions(request, runtime);
|
|
220
220
|
}
|
|
221
221
|
|
|
222
|
+
/**
|
|
223
|
+
* @param request - CancelCallRequest
|
|
224
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
225
|
+
* @returns CancelCallResponse
|
|
226
|
+
*/
|
|
227
|
+
async cancelCallWithOptions(request: $_model.CancelCallRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CancelCallResponse> {
|
|
228
|
+
request.validate();
|
|
229
|
+
let query = { };
|
|
230
|
+
if (!$dara.isNull(request.callId)) {
|
|
231
|
+
query["CallId"] = request.callId;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
235
|
+
query["OwnerId"] = request.ownerId;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
239
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
243
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
247
|
+
query: OpenApiUtil.query(query),
|
|
248
|
+
});
|
|
249
|
+
let params = new $OpenApiUtil.Params({
|
|
250
|
+
action: "CancelCall",
|
|
251
|
+
version: "2017-05-25",
|
|
252
|
+
protocol: "HTTPS",
|
|
253
|
+
pathname: "/",
|
|
254
|
+
method: "POST",
|
|
255
|
+
authType: "AK",
|
|
256
|
+
style: "RPC",
|
|
257
|
+
reqBodyType: "formData",
|
|
258
|
+
bodyType: "json",
|
|
259
|
+
});
|
|
260
|
+
return $dara.cast<$_model.CancelCallResponse>(await this.callApi(params, req, runtime), new $_model.CancelCallResponse({}));
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
/**
|
|
264
|
+
* @param request - CancelCallRequest
|
|
265
|
+
* @returns CancelCallResponse
|
|
266
|
+
*/
|
|
267
|
+
async cancelCall(request: $_model.CancelCallRequest): Promise<$_model.CancelCallResponse> {
|
|
268
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
269
|
+
return await this.cancelCallWithOptions(request, runtime);
|
|
270
|
+
}
|
|
271
|
+
|
|
222
272
|
/**
|
|
223
273
|
* Cancels a robocall task that has not been started.
|
|
224
274
|
*
|
|
@@ -2553,6 +2603,146 @@ export default class Client extends OpenApi {
|
|
|
2553
2603
|
return await this.queryVirtualNumberRelationWithOptions(request, runtime);
|
|
2554
2604
|
}
|
|
2555
2605
|
|
|
2606
|
+
/**
|
|
2607
|
+
* 查询真实号接通率
|
|
2608
|
+
*
|
|
2609
|
+
* @param request - QueryVmsRealNumberCallConnectionRateInfoRequest
|
|
2610
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2611
|
+
* @returns QueryVmsRealNumberCallConnectionRateInfoResponse
|
|
2612
|
+
*/
|
|
2613
|
+
async queryVmsRealNumberCallConnectionRateInfoWithOptions(request: $_model.QueryVmsRealNumberCallConnectionRateInfoRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryVmsRealNumberCallConnectionRateInfoResponse> {
|
|
2614
|
+
request.validate();
|
|
2615
|
+
let query = { };
|
|
2616
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
2617
|
+
query["OwnerId"] = request.ownerId;
|
|
2618
|
+
}
|
|
2619
|
+
|
|
2620
|
+
if (!$dara.isNull(request.realNumber)) {
|
|
2621
|
+
query["RealNumber"] = request.realNumber;
|
|
2622
|
+
}
|
|
2623
|
+
|
|
2624
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
2625
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
2626
|
+
}
|
|
2627
|
+
|
|
2628
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
2629
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
2630
|
+
}
|
|
2631
|
+
|
|
2632
|
+
if (!$dara.isNull(request.timePeriod)) {
|
|
2633
|
+
query["TimePeriod"] = request.timePeriod;
|
|
2634
|
+
}
|
|
2635
|
+
|
|
2636
|
+
if (!$dara.isNull(request.virtualNumber)) {
|
|
2637
|
+
query["VirtualNumber"] = request.virtualNumber;
|
|
2638
|
+
}
|
|
2639
|
+
|
|
2640
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
2641
|
+
query: OpenApiUtil.query(query),
|
|
2642
|
+
});
|
|
2643
|
+
let params = new $OpenApiUtil.Params({
|
|
2644
|
+
action: "QueryVmsRealNumberCallConnectionRateInfo",
|
|
2645
|
+
version: "2017-05-25",
|
|
2646
|
+
protocol: "HTTPS",
|
|
2647
|
+
pathname: "/",
|
|
2648
|
+
method: "POST",
|
|
2649
|
+
authType: "AK",
|
|
2650
|
+
style: "RPC",
|
|
2651
|
+
reqBodyType: "formData",
|
|
2652
|
+
bodyType: "json",
|
|
2653
|
+
});
|
|
2654
|
+
return $dara.cast<$_model.QueryVmsRealNumberCallConnectionRateInfoResponse>(await this.callApi(params, req, runtime), new $_model.QueryVmsRealNumberCallConnectionRateInfoResponse({}));
|
|
2655
|
+
}
|
|
2656
|
+
|
|
2657
|
+
/**
|
|
2658
|
+
* 查询真实号接通率
|
|
2659
|
+
*
|
|
2660
|
+
* @param request - QueryVmsRealNumberCallConnectionRateInfoRequest
|
|
2661
|
+
* @returns QueryVmsRealNumberCallConnectionRateInfoResponse
|
|
2662
|
+
*/
|
|
2663
|
+
async queryVmsRealNumberCallConnectionRateInfo(request: $_model.QueryVmsRealNumberCallConnectionRateInfoRequest): Promise<$_model.QueryVmsRealNumberCallConnectionRateInfoResponse> {
|
|
2664
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
2665
|
+
return await this.queryVmsRealNumberCallConnectionRateInfoWithOptions(request, runtime);
|
|
2666
|
+
}
|
|
2667
|
+
|
|
2668
|
+
/**
|
|
2669
|
+
* 查询虚拟号码与真实号码绑定关系列表
|
|
2670
|
+
*
|
|
2671
|
+
* @param request - QueryVmsVirtualNumberRelationByPageRequest
|
|
2672
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2673
|
+
* @returns QueryVmsVirtualNumberRelationByPageResponse
|
|
2674
|
+
*/
|
|
2675
|
+
async queryVmsVirtualNumberRelationByPageWithOptions(request: $_model.QueryVmsVirtualNumberRelationByPageRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryVmsVirtualNumberRelationByPageResponse> {
|
|
2676
|
+
request.validate();
|
|
2677
|
+
let query = { };
|
|
2678
|
+
if (!$dara.isNull(request.numberCity)) {
|
|
2679
|
+
query["NumberCity"] = request.numberCity;
|
|
2680
|
+
}
|
|
2681
|
+
|
|
2682
|
+
if (!$dara.isNull(request.numberProvince)) {
|
|
2683
|
+
query["NumberProvince"] = request.numberProvince;
|
|
2684
|
+
}
|
|
2685
|
+
|
|
2686
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
2687
|
+
query["OwnerId"] = request.ownerId;
|
|
2688
|
+
}
|
|
2689
|
+
|
|
2690
|
+
if (!$dara.isNull(request.pageNo)) {
|
|
2691
|
+
query["PageNo"] = request.pageNo;
|
|
2692
|
+
}
|
|
2693
|
+
|
|
2694
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
2695
|
+
query["PageSize"] = request.pageSize;
|
|
2696
|
+
}
|
|
2697
|
+
|
|
2698
|
+
if (!$dara.isNull(request.realNumber)) {
|
|
2699
|
+
query["RealNumber"] = request.realNumber;
|
|
2700
|
+
}
|
|
2701
|
+
|
|
2702
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
2703
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
2704
|
+
}
|
|
2705
|
+
|
|
2706
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
2707
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
2708
|
+
}
|
|
2709
|
+
|
|
2710
|
+
if (!$dara.isNull(request.state)) {
|
|
2711
|
+
query["State"] = request.state;
|
|
2712
|
+
}
|
|
2713
|
+
|
|
2714
|
+
if (!$dara.isNull(request.virtualNumber)) {
|
|
2715
|
+
query["VirtualNumber"] = request.virtualNumber;
|
|
2716
|
+
}
|
|
2717
|
+
|
|
2718
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
2719
|
+
query: OpenApiUtil.query(query),
|
|
2720
|
+
});
|
|
2721
|
+
let params = new $OpenApiUtil.Params({
|
|
2722
|
+
action: "QueryVmsVirtualNumberRelationByPage",
|
|
2723
|
+
version: "2017-05-25",
|
|
2724
|
+
protocol: "HTTPS",
|
|
2725
|
+
pathname: "/",
|
|
2726
|
+
method: "POST",
|
|
2727
|
+
authType: "AK",
|
|
2728
|
+
style: "RPC",
|
|
2729
|
+
reqBodyType: "formData",
|
|
2730
|
+
bodyType: "json",
|
|
2731
|
+
});
|
|
2732
|
+
return $dara.cast<$_model.QueryVmsVirtualNumberRelationByPageResponse>(await this.callApi(params, req, runtime), new $_model.QueryVmsVirtualNumberRelationByPageResponse({}));
|
|
2733
|
+
}
|
|
2734
|
+
|
|
2735
|
+
/**
|
|
2736
|
+
* 查询虚拟号码与真实号码绑定关系列表
|
|
2737
|
+
*
|
|
2738
|
+
* @param request - QueryVmsVirtualNumberRelationByPageRequest
|
|
2739
|
+
* @returns QueryVmsVirtualNumberRelationByPageResponse
|
|
2740
|
+
*/
|
|
2741
|
+
async queryVmsVirtualNumberRelationByPage(request: $_model.QueryVmsVirtualNumberRelationByPageRequest): Promise<$_model.QueryVmsVirtualNumberRelationByPageResponse> {
|
|
2742
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
2743
|
+
return await this.queryVmsVirtualNumberRelationByPageWithOptions(request, runtime);
|
|
2744
|
+
}
|
|
2745
|
+
|
|
2556
2746
|
/**
|
|
2557
2747
|
* Queries the review state of a voice file.
|
|
2558
2748
|
*
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class CancelCallRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 116012854210^10281427****
|
|
12
|
+
*/
|
|
13
|
+
callId?: string;
|
|
14
|
+
ownerId?: number;
|
|
15
|
+
resourceOwnerAccount?: string;
|
|
16
|
+
resourceOwnerId?: number;
|
|
17
|
+
static names(): { [key: string]: string } {
|
|
18
|
+
return {
|
|
19
|
+
callId: 'CallId',
|
|
20
|
+
ownerId: 'OwnerId',
|
|
21
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
22
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
static types(): { [key: string]: any } {
|
|
27
|
+
return {
|
|
28
|
+
callId: 'string',
|
|
29
|
+
ownerId: 'number',
|
|
30
|
+
resourceOwnerAccount: 'string',
|
|
31
|
+
resourceOwnerId: 'number',
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
validate() {
|
|
36
|
+
super.validate();
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
constructor(map?: { [key: string]: any }) {
|
|
40
|
+
super(map);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { CancelCallResponseBody } from "./CancelCallResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class CancelCallResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: CancelCallResponseBody;
|
|
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: CancelCallResponseBody,
|
|
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,52 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class CancelCallResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* OK
|
|
9
|
+
*/
|
|
10
|
+
code?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* OK
|
|
14
|
+
*/
|
|
15
|
+
message?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* F655A8D5-B967-440B-8683-DAD6FF8DE990
|
|
19
|
+
*/
|
|
20
|
+
requestId?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* true
|
|
24
|
+
*/
|
|
25
|
+
status?: boolean;
|
|
26
|
+
static names(): { [key: string]: string } {
|
|
27
|
+
return {
|
|
28
|
+
code: 'Code',
|
|
29
|
+
message: 'Message',
|
|
30
|
+
requestId: 'RequestId',
|
|
31
|
+
status: 'Status',
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
static types(): { [key: string]: any } {
|
|
36
|
+
return {
|
|
37
|
+
code: 'string',
|
|
38
|
+
message: 'string',
|
|
39
|
+
requestId: 'string',
|
|
40
|
+
status: 'boolean',
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
validate() {
|
|
45
|
+
super.validate();
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
constructor(map?: { [key: string]: any }) {
|
|
49
|
+
super(map);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class QueryVmsRealNumberCallConnectionRateInfoRequest extends $dara.Model {
|
|
6
|
+
ownerId?: number;
|
|
7
|
+
/**
|
|
8
|
+
* @remarks
|
|
9
|
+
* 真实号码
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* 131***1234
|
|
13
|
+
*/
|
|
14
|
+
realNumber?: string;
|
|
15
|
+
resourceOwnerAccount?: string;
|
|
16
|
+
resourceOwnerId?: number;
|
|
17
|
+
/**
|
|
18
|
+
* @remarks
|
|
19
|
+
* 时间段
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* 1764666240123-1764686240567
|
|
23
|
+
*/
|
|
24
|
+
timePeriod?: string;
|
|
25
|
+
/**
|
|
26
|
+
* @remarks
|
|
27
|
+
* 虚拟号码
|
|
28
|
+
*
|
|
29
|
+
* @example
|
|
30
|
+
* 0571***1234
|
|
31
|
+
*/
|
|
32
|
+
virtualNumber?: string;
|
|
33
|
+
static names(): { [key: string]: string } {
|
|
34
|
+
return {
|
|
35
|
+
ownerId: 'OwnerId',
|
|
36
|
+
realNumber: 'RealNumber',
|
|
37
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
38
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
39
|
+
timePeriod: 'TimePeriod',
|
|
40
|
+
virtualNumber: 'VirtualNumber',
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
static types(): { [key: string]: any } {
|
|
45
|
+
return {
|
|
46
|
+
ownerId: 'number',
|
|
47
|
+
realNumber: 'string',
|
|
48
|
+
resourceOwnerAccount: 'string',
|
|
49
|
+
resourceOwnerId: 'number',
|
|
50
|
+
timePeriod: 'string',
|
|
51
|
+
virtualNumber: 'string',
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
validate() {
|
|
56
|
+
super.validate();
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
constructor(map?: { [key: string]: any }) {
|
|
60
|
+
super(map);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { QueryVmsRealNumberCallConnectionRateInfoResponseBody } from "./QueryVmsRealNumberCallConnectionRateInfoResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class QueryVmsRealNumberCallConnectionRateInfoResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: QueryVmsRealNumberCallConnectionRateInfoResponseBody;
|
|
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: QueryVmsRealNumberCallConnectionRateInfoResponseBody,
|
|
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,155 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class QueryVmsRealNumberCallConnectionRateInfoResponseBodyModel extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* 接通率
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 6.71672
|
|
12
|
+
*/
|
|
13
|
+
callConnectionRate?: number;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* 接通数
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* 52
|
|
20
|
+
*/
|
|
21
|
+
completeCount?: number;
|
|
22
|
+
/**
|
|
23
|
+
* @example
|
|
24
|
+
* 示例值示例值
|
|
25
|
+
*/
|
|
26
|
+
regionId?: string;
|
|
27
|
+
/**
|
|
28
|
+
* @remarks
|
|
29
|
+
* 请求通话数
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* 49
|
|
33
|
+
*/
|
|
34
|
+
requestCount?: number;
|
|
35
|
+
/**
|
|
36
|
+
* @example
|
|
37
|
+
* 示例值
|
|
38
|
+
*/
|
|
39
|
+
resourceId?: string;
|
|
40
|
+
/**
|
|
41
|
+
* @remarks
|
|
42
|
+
* EcsInstance, EcsDisk, EcsImage, EcsSnapshot, EcsSecurityGroup, EcsEip, EcsVpc, EcsVRouter, EcsVSwitch, EcsVRouteTable, EcsAuthImage, EcsAll, SlbLoadbalancer, SlbVm, RdsInstance, RdsAllInstance, KvsInstance, OcsInstance, OdpsInstance
|
|
43
|
+
*
|
|
44
|
+
* @example
|
|
45
|
+
* 示例值
|
|
46
|
+
*/
|
|
47
|
+
resourceType?: string;
|
|
48
|
+
/**
|
|
49
|
+
* @remarks
|
|
50
|
+
* 响铃数
|
|
51
|
+
*
|
|
52
|
+
* @example
|
|
53
|
+
* 3
|
|
54
|
+
*/
|
|
55
|
+
ringingCount?: number;
|
|
56
|
+
/**
|
|
57
|
+
* @remarks
|
|
58
|
+
* 响铃率
|
|
59
|
+
*
|
|
60
|
+
* @example
|
|
61
|
+
* 25.4222
|
|
62
|
+
*/
|
|
63
|
+
ringingRate?: number;
|
|
64
|
+
static names(): { [key: string]: string } {
|
|
65
|
+
return {
|
|
66
|
+
callConnectionRate: 'CallConnectionRate',
|
|
67
|
+
completeCount: 'CompleteCount',
|
|
68
|
+
regionId: 'RegionId',
|
|
69
|
+
requestCount: 'RequestCount',
|
|
70
|
+
resourceId: 'ResourceId',
|
|
71
|
+
resourceType: 'ResourceType',
|
|
72
|
+
ringingCount: 'RingingCount',
|
|
73
|
+
ringingRate: 'RingingRate',
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
static types(): { [key: string]: any } {
|
|
78
|
+
return {
|
|
79
|
+
callConnectionRate: 'number',
|
|
80
|
+
completeCount: 'number',
|
|
81
|
+
regionId: 'string',
|
|
82
|
+
requestCount: 'number',
|
|
83
|
+
resourceId: 'string',
|
|
84
|
+
resourceType: 'string',
|
|
85
|
+
ringingCount: 'number',
|
|
86
|
+
ringingRate: 'number',
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
validate() {
|
|
91
|
+
super.validate();
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
constructor(map?: { [key: string]: any }) {
|
|
95
|
+
super(map);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
export class QueryVmsRealNumberCallConnectionRateInfoResponseBody extends $dara.Model {
|
|
100
|
+
accessDeniedDetail?: string;
|
|
101
|
+
/**
|
|
102
|
+
* @example
|
|
103
|
+
* OK
|
|
104
|
+
*/
|
|
105
|
+
code?: string;
|
|
106
|
+
/**
|
|
107
|
+
* @example
|
|
108
|
+
* 示例值示例值示例值
|
|
109
|
+
*/
|
|
110
|
+
message?: string;
|
|
111
|
+
model?: QueryVmsRealNumberCallConnectionRateInfoResponseBodyModel;
|
|
112
|
+
/**
|
|
113
|
+
* @example
|
|
114
|
+
* 95B86652-B234-5387-BAC6-E441FR49399F
|
|
115
|
+
*/
|
|
116
|
+
requestId?: string;
|
|
117
|
+
/**
|
|
118
|
+
* @example
|
|
119
|
+
* true
|
|
120
|
+
*/
|
|
121
|
+
success?: boolean;
|
|
122
|
+
static names(): { [key: string]: string } {
|
|
123
|
+
return {
|
|
124
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
125
|
+
code: 'Code',
|
|
126
|
+
message: 'Message',
|
|
127
|
+
model: 'Model',
|
|
128
|
+
requestId: 'RequestId',
|
|
129
|
+
success: 'Success',
|
|
130
|
+
};
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
static types(): { [key: string]: any } {
|
|
134
|
+
return {
|
|
135
|
+
accessDeniedDetail: 'string',
|
|
136
|
+
code: 'string',
|
|
137
|
+
message: 'string',
|
|
138
|
+
model: QueryVmsRealNumberCallConnectionRateInfoResponseBodyModel,
|
|
139
|
+
requestId: 'string',
|
|
140
|
+
success: 'boolean',
|
|
141
|
+
};
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
validate() {
|
|
145
|
+
if(this.model && typeof (this.model as any).validate === 'function') {
|
|
146
|
+
(this.model as any).validate();
|
|
147
|
+
}
|
|
148
|
+
super.validate();
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
constructor(map?: { [key: string]: any }) {
|
|
152
|
+
super(map);
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class QueryVmsVirtualNumberRelationByPageRequest 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
|
+
ownerId?: number;
|
|
23
|
+
/**
|
|
24
|
+
* @example
|
|
25
|
+
* 74
|
|
26
|
+
*/
|
|
27
|
+
pageNo?: number;
|
|
28
|
+
/**
|
|
29
|
+
* @example
|
|
30
|
+
* 81
|
|
31
|
+
*/
|
|
32
|
+
pageSize?: number;
|
|
33
|
+
/**
|
|
34
|
+
* @remarks
|
|
35
|
+
* 真实号码
|
|
36
|
+
*
|
|
37
|
+
* @example
|
|
38
|
+
* 131***1234
|
|
39
|
+
*/
|
|
40
|
+
realNumber?: string;
|
|
41
|
+
resourceOwnerAccount?: string;
|
|
42
|
+
resourceOwnerId?: number;
|
|
43
|
+
/**
|
|
44
|
+
* @remarks
|
|
45
|
+
* 状态 1:有效;0:无效;-1:注销
|
|
46
|
+
*
|
|
47
|
+
* @example
|
|
48
|
+
* 1
|
|
49
|
+
*/
|
|
50
|
+
state?: number;
|
|
51
|
+
/**
|
|
52
|
+
* @remarks
|
|
53
|
+
* 虚拟号码
|
|
54
|
+
*
|
|
55
|
+
* @example
|
|
56
|
+
* 0571****1234
|
|
57
|
+
*/
|
|
58
|
+
virtualNumber?: string;
|
|
59
|
+
static names(): { [key: string]: string } {
|
|
60
|
+
return {
|
|
61
|
+
numberCity: 'NumberCity',
|
|
62
|
+
numberProvince: 'NumberProvince',
|
|
63
|
+
ownerId: 'OwnerId',
|
|
64
|
+
pageNo: 'PageNo',
|
|
65
|
+
pageSize: 'PageSize',
|
|
66
|
+
realNumber: 'RealNumber',
|
|
67
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
68
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
69
|
+
state: 'State',
|
|
70
|
+
virtualNumber: 'VirtualNumber',
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
static types(): { [key: string]: any } {
|
|
75
|
+
return {
|
|
76
|
+
numberCity: 'string',
|
|
77
|
+
numberProvince: 'string',
|
|
78
|
+
ownerId: 'number',
|
|
79
|
+
pageNo: 'number',
|
|
80
|
+
pageSize: 'number',
|
|
81
|
+
realNumber: 'string',
|
|
82
|
+
resourceOwnerAccount: 'string',
|
|
83
|
+
resourceOwnerId: 'number',
|
|
84
|
+
state: 'number',
|
|
85
|
+
virtualNumber: 'string',
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
validate() {
|
|
90
|
+
super.validate();
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
constructor(map?: { [key: string]: any }) {
|
|
94
|
+
super(map);
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|