@alicloud/ccc20200701 2.34.0 → 2.35.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 +27 -0
- package/dist/client.js +77 -0
- package/dist/client.js.map +1 -1
- package/dist/models/AppendCasesResponseBody.d.ts +16 -0
- package/dist/models/AppendCasesResponseBody.js +29 -1
- package/dist/models/AppendCasesResponseBody.js.map +1 -1
- package/dist/models/CreateCampaignRequest.d.ts +11 -0
- package/dist/models/CreateCampaignRequest.js +9 -0
- package/dist/models/CreateCampaignRequest.js.map +1 -1
- package/dist/models/CreateCampaignShrinkRequest.d.ts +11 -0
- package/dist/models/CreateCampaignShrinkRequest.js +6 -0
- package/dist/models/CreateCampaignShrinkRequest.js.map +1 -1
- package/dist/models/CreateInstanceRequest.d.ts +0 -3
- package/dist/models/CreateInstanceRequest.js.map +1 -1
- package/dist/models/GetInstanceResponseBody.d.ts +16 -0
- package/dist/models/GetInstanceResponseBody.js +29 -1
- package/dist/models/GetInstanceResponseBody.js.map +1 -1
- package/dist/models/ModifyCampaignNumbersRequest.d.ts +35 -0
- package/dist/models/ModifyCampaignNumbersRequest.js +67 -0
- package/dist/models/ModifyCampaignNumbersRequest.js.map +1 -0
- package/dist/models/ModifyCampaignNumbersResponse.d.ts +19 -0
- package/dist/models/ModifyCampaignNumbersResponse.js +69 -0
- package/dist/models/ModifyCampaignNumbersResponse.js.map +1 -0
- package/dist/models/ModifyCampaignNumbersResponseBody.d.ts +31 -0
- package/dist/models/ModifyCampaignNumbersResponseBody.js +71 -0
- package/dist/models/ModifyCampaignNumbersResponseBody.js.map +1 -0
- package/dist/models/ModifyCampaignNumbersShrinkRequest.d.ts +35 -0
- package/dist/models/ModifyCampaignNumbersShrinkRequest.js +64 -0
- package/dist/models/ModifyCampaignNumbersShrinkRequest.js.map +1 -0
- package/dist/models/model.d.ts +6 -0
- package/dist/models/model.js +42 -30
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +88 -0
- package/src/models/AppendCasesResponseBody.ts +35 -0
- package/src/models/CreateCampaignRequest.ts +20 -0
- package/src/models/CreateCampaignShrinkRequest.ts +17 -0
- package/src/models/CreateInstanceRequest.ts +0 -3
- package/src/models/GetInstanceResponseBody.ts +35 -0
- package/src/models/ModifyCampaignNumbersRequest.ts +57 -0
- package/src/models/ModifyCampaignNumbersResponse.ts +40 -0
- package/src/models/ModifyCampaignNumbersResponseBody.ts +57 -0
- package/src/models/ModifyCampaignNumbersShrinkRequest.ts +54 -0
- package/src/models/model.ts +6 -0
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ModifyCampaignNumbersRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 6badb397-****-****-21019d382a09
|
|
12
|
+
*/
|
|
13
|
+
campaignId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @example
|
|
16
|
+
* 3971876649-****-****-098763a382a09
|
|
17
|
+
*/
|
|
18
|
+
instGroupId?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @remarks
|
|
21
|
+
* This parameter is required.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* ccc-test
|
|
25
|
+
*/
|
|
26
|
+
instanceId?: string;
|
|
27
|
+
numberList?: string[];
|
|
28
|
+
static names(): { [key: string]: string } {
|
|
29
|
+
return {
|
|
30
|
+
campaignId: 'CampaignId',
|
|
31
|
+
instGroupId: 'InstGroupId',
|
|
32
|
+
instanceId: 'InstanceId',
|
|
33
|
+
numberList: 'NumberList',
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
static types(): { [key: string]: any } {
|
|
38
|
+
return {
|
|
39
|
+
campaignId: 'string',
|
|
40
|
+
instGroupId: 'string',
|
|
41
|
+
instanceId: 'string',
|
|
42
|
+
numberList: { 'type': 'array', 'itemType': 'string' },
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
validate() {
|
|
47
|
+
if(Array.isArray(this.numberList)) {
|
|
48
|
+
$dara.Model.validateArray(this.numberList);
|
|
49
|
+
}
|
|
50
|
+
super.validate();
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
constructor(map?: { [key: string]: any }) {
|
|
54
|
+
super(map);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { ModifyCampaignNumbersResponseBody } from "./ModifyCampaignNumbersResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ModifyCampaignNumbersResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: ModifyCampaignNumbersResponseBody;
|
|
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: ModifyCampaignNumbersResponseBody,
|
|
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,57 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ModifyCampaignNumbersResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* OK
|
|
9
|
+
*/
|
|
10
|
+
code?: string;
|
|
11
|
+
data?: any;
|
|
12
|
+
/**
|
|
13
|
+
* @example
|
|
14
|
+
* 200
|
|
15
|
+
*/
|
|
16
|
+
httpStatusCode?: number;
|
|
17
|
+
message?: string;
|
|
18
|
+
params?: string[];
|
|
19
|
+
/**
|
|
20
|
+
* @example
|
|
21
|
+
* DE803553-8AA9-4B9D-9E4E-A82BC69EDCEE
|
|
22
|
+
*/
|
|
23
|
+
requestId?: string;
|
|
24
|
+
static names(): { [key: string]: string } {
|
|
25
|
+
return {
|
|
26
|
+
code: 'Code',
|
|
27
|
+
data: 'Data',
|
|
28
|
+
httpStatusCode: 'HttpStatusCode',
|
|
29
|
+
message: 'Message',
|
|
30
|
+
params: 'Params',
|
|
31
|
+
requestId: 'RequestId',
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
static types(): { [key: string]: any } {
|
|
36
|
+
return {
|
|
37
|
+
code: 'string',
|
|
38
|
+
data: 'any',
|
|
39
|
+
httpStatusCode: 'number',
|
|
40
|
+
message: 'string',
|
|
41
|
+
params: { 'type': 'array', 'itemType': 'string' },
|
|
42
|
+
requestId: 'string',
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
validate() {
|
|
47
|
+
if(Array.isArray(this.params)) {
|
|
48
|
+
$dara.Model.validateArray(this.params);
|
|
49
|
+
}
|
|
50
|
+
super.validate();
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
constructor(map?: { [key: string]: any }) {
|
|
54
|
+
super(map);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ModifyCampaignNumbersShrinkRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 6badb397-****-****-21019d382a09
|
|
12
|
+
*/
|
|
13
|
+
campaignId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @example
|
|
16
|
+
* 3971876649-****-****-098763a382a09
|
|
17
|
+
*/
|
|
18
|
+
instGroupId?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @remarks
|
|
21
|
+
* This parameter is required.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* ccc-test
|
|
25
|
+
*/
|
|
26
|
+
instanceId?: string;
|
|
27
|
+
numberListShrink?: string;
|
|
28
|
+
static names(): { [key: string]: string } {
|
|
29
|
+
return {
|
|
30
|
+
campaignId: 'CampaignId',
|
|
31
|
+
instGroupId: 'InstGroupId',
|
|
32
|
+
instanceId: 'InstanceId',
|
|
33
|
+
numberListShrink: 'NumberList',
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
static types(): { [key: string]: any } {
|
|
38
|
+
return {
|
|
39
|
+
campaignId: 'string',
|
|
40
|
+
instGroupId: 'string',
|
|
41
|
+
instanceId: 'string',
|
|
42
|
+
numberListShrink: 'string',
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
validate() {
|
|
47
|
+
super.validate();
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
constructor(map?: { [key: string]: any }) {
|
|
51
|
+
super(map);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
package/src/models/model.ts
CHANGED
|
@@ -5,6 +5,7 @@ export { AnswerCallResponseBodyDataCallContext } from './AnswerCallResponseBody'
|
|
|
5
5
|
export { AnswerCallResponseBodyDataUserContext } from './AnswerCallResponseBody';
|
|
6
6
|
export { AnswerCallResponseBodyData } from './AnswerCallResponseBody';
|
|
7
7
|
export { AppendCasesRequestBody } from './AppendCasesRequest';
|
|
8
|
+
export { AppendCasesResponseBodyData } from './AppendCasesResponseBody';
|
|
8
9
|
export { BargeInCallResponseBodyDataCallContextChannelContexts } from './BargeInCallResponseBody';
|
|
9
10
|
export { BargeInCallResponseBodyDataCallContext } from './BargeInCallResponseBody';
|
|
10
11
|
export { BargeInCallResponseBodyDataUserContext } from './BargeInCallResponseBody';
|
|
@@ -77,6 +78,7 @@ export { GetHistoricalInstanceReportResponseBodyDataOutbound } from './GetHistor
|
|
|
77
78
|
export { GetHistoricalInstanceReportResponseBodyDataOverall } from './GetHistoricalInstanceReportResponseBody';
|
|
78
79
|
export { GetHistoricalInstanceReportResponseBodyData } from './GetHistoricalInstanceReportResponseBody';
|
|
79
80
|
export { GetInstanceResponseBodyDataAdminList } from './GetInstanceResponseBody';
|
|
81
|
+
export { GetInstanceResponseBodyDataChatbotBusinessUnit } from './GetInstanceResponseBody';
|
|
80
82
|
export { GetInstanceResponseBodyDataNumberListSkillGroups } from './GetInstanceResponseBody';
|
|
81
83
|
export { GetInstanceResponseBodyDataNumberList } from './GetInstanceResponseBody';
|
|
82
84
|
export { GetInstanceResponseBodyData } from './GetInstanceResponseBody';
|
|
@@ -928,6 +930,10 @@ export { MakeCallResponse } from './MakeCallResponse';
|
|
|
928
930
|
export { ModifyAudioFileRequest } from './ModifyAudioFileRequest';
|
|
929
931
|
export { ModifyAudioFileResponseBody } from './ModifyAudioFileResponseBody';
|
|
930
932
|
export { ModifyAudioFileResponse } from './ModifyAudioFileResponse';
|
|
933
|
+
export { ModifyCampaignNumbersRequest } from './ModifyCampaignNumbersRequest';
|
|
934
|
+
export { ModifyCampaignNumbersShrinkRequest } from './ModifyCampaignNumbersShrinkRequest';
|
|
935
|
+
export { ModifyCampaignNumbersResponseBody } from './ModifyCampaignNumbersResponseBody';
|
|
936
|
+
export { ModifyCampaignNumbersResponse } from './ModifyCampaignNumbersResponse';
|
|
931
937
|
export { ModifyCustomCallTaggingRequest } from './ModifyCustomCallTaggingRequest';
|
|
932
938
|
export { ModifyCustomCallTaggingResponseBody } from './ModifyCustomCallTaggingResponseBody';
|
|
933
939
|
export { ModifyCustomCallTaggingResponse } from './ModifyCustomCallTaggingResponse';
|