@alicloud/ccc20200701 2.35.0 → 2.36.1

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 (49) hide show
  1. package/dist/client.d.ts +54 -0
  2. package/dist/client.js +135 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateUserRequest.d.ts +5 -0
  5. package/dist/models/CreateUserRequest.js +2 -0
  6. package/dist/models/CreateUserRequest.js.map +1 -1
  7. package/dist/models/GetConversationDetailRequest.d.ts +5 -0
  8. package/dist/models/GetConversationDetailRequest.js +2 -0
  9. package/dist/models/GetConversationDetailRequest.js.map +1 -1
  10. package/dist/models/ListFeedbacksRequest.d.ts +23 -0
  11. package/dist/models/ListFeedbacksRequest.js +60 -0
  12. package/dist/models/ListFeedbacksRequest.js.map +1 -0
  13. package/dist/models/ListFeedbacksResponse.d.ts +19 -0
  14. package/dist/models/ListFeedbacksResponse.js +69 -0
  15. package/dist/models/ListFeedbacksResponse.js.map +1 -0
  16. package/dist/models/ListFeedbacksResponseBody.d.ts +72 -0
  17. package/dist/models/ListFeedbacksResponseBody.js +98 -0
  18. package/dist/models/ListFeedbacksResponseBody.js.map +1 -0
  19. package/dist/models/ListMonoRecordingsRequest.d.ts +10 -0
  20. package/dist/models/ListMonoRecordingsRequest.js +4 -0
  21. package/dist/models/ListMonoRecordingsRequest.js.map +1 -1
  22. package/dist/models/ListMultiChannelRecordingsRequest.d.ts +10 -0
  23. package/dist/models/ListMultiChannelRecordingsRequest.js +4 -0
  24. package/dist/models/ListMultiChannelRecordingsRequest.js.map +1 -1
  25. package/dist/models/SendNotificationRequest.d.ts +53 -0
  26. package/dist/models/SendNotificationRequest.js +66 -0
  27. package/dist/models/SendNotificationRequest.js.map +1 -0
  28. package/dist/models/SendNotificationResponse.d.ts +19 -0
  29. package/dist/models/SendNotificationResponse.js +69 -0
  30. package/dist/models/SendNotificationResponse.js.map +1 -0
  31. package/dist/models/SendNotificationResponseBody.d.ts +33 -0
  32. package/dist/models/SendNotificationResponseBody.js +64 -0
  33. package/dist/models/SendNotificationResponseBody.js.map +1 -0
  34. package/dist/models/model.d.ts +7 -0
  35. package/dist/models/model.js +34 -20
  36. package/dist/models/model.js.map +1 -1
  37. package/package.json +1 -1
  38. package/src/client.ts +152 -0
  39. package/src/models/CreateUserRequest.ts +7 -0
  40. package/src/models/GetConversationDetailRequest.ts +7 -0
  41. package/src/models/ListFeedbacksRequest.ts +38 -0
  42. package/src/models/ListFeedbacksResponse.ts +40 -0
  43. package/src/models/ListFeedbacksResponseBody.ts +116 -0
  44. package/src/models/ListMonoRecordingsRequest.ts +14 -0
  45. package/src/models/ListMultiChannelRecordingsRequest.ts +14 -0
  46. package/src/models/SendNotificationRequest.ts +74 -0
  47. package/src/models/SendNotificationResponse.ts +40 -0
  48. package/src/models/SendNotificationResponseBody.ts +52 -0
  49. package/src/models/model.ts +7 -0
@@ -0,0 +1,116 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListFeedbacksResponseBodyData extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * job-25920271311543****
9
+ */
10
+ contactId?: string;
11
+ /**
12
+ * @example
13
+ * ccc-test
14
+ */
15
+ instanceId?: string;
16
+ /**
17
+ * @example
18
+ * 20251216-8B9B7B02-16FE-54BE-942A-F59DE0656032
19
+ */
20
+ taskId?: string;
21
+ /**
22
+ * @example
23
+ * PostCallAnalyzer:solution
24
+ */
25
+ taskName?: string;
26
+ /**
27
+ * @example
28
+ * -1
29
+ */
30
+ userRating?: number;
31
+ /**
32
+ * @example
33
+ * xxxxxxx
34
+ */
35
+ userResponse?: string;
36
+ static names(): { [key: string]: string } {
37
+ return {
38
+ contactId: 'ContactId',
39
+ instanceId: 'InstanceId',
40
+ taskId: 'TaskId',
41
+ taskName: 'TaskName',
42
+ userRating: 'UserRating',
43
+ userResponse: 'UserResponse',
44
+ };
45
+ }
46
+
47
+ static types(): { [key: string]: any } {
48
+ return {
49
+ contactId: 'string',
50
+ instanceId: 'string',
51
+ taskId: 'string',
52
+ taskName: 'string',
53
+ userRating: 'number',
54
+ userResponse: 'string',
55
+ };
56
+ }
57
+
58
+ validate() {
59
+ super.validate();
60
+ }
61
+
62
+ constructor(map?: { [key: string]: any }) {
63
+ super(map);
64
+ }
65
+ }
66
+
67
+ export class ListFeedbacksResponseBody extends $dara.Model {
68
+ /**
69
+ * @example
70
+ * OK
71
+ */
72
+ code?: string;
73
+ data?: ListFeedbacksResponseBodyData[];
74
+ /**
75
+ * @example
76
+ * 200
77
+ */
78
+ httpStatusCode?: number;
79
+ message?: string;
80
+ /**
81
+ * @example
82
+ * 26E54929-CA86-1035-9B42-0C8F291BB027
83
+ */
84
+ requestId?: string;
85
+ static names(): { [key: string]: string } {
86
+ return {
87
+ code: 'Code',
88
+ data: 'Data',
89
+ httpStatusCode: 'HttpStatusCode',
90
+ message: 'Message',
91
+ requestId: 'RequestId',
92
+ };
93
+ }
94
+
95
+ static types(): { [key: string]: any } {
96
+ return {
97
+ code: 'string',
98
+ data: { 'type': 'array', 'itemType': ListFeedbacksResponseBodyData },
99
+ httpStatusCode: 'number',
100
+ message: 'string',
101
+ requestId: 'string',
102
+ };
103
+ }
104
+
105
+ validate() {
106
+ if(Array.isArray(this.data)) {
107
+ $dara.Model.validateArray(this.data);
108
+ }
109
+ super.validate();
110
+ }
111
+
112
+ constructor(map?: { [key: string]: any }) {
113
+ super(map);
114
+ }
115
+ }
116
+
@@ -3,6 +3,16 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class ListMonoRecordingsRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * ch-user-****-****-1772180844645-job-*****
9
+ */
10
+ agentChannelId?: string;
11
+ /**
12
+ * @example
13
+ * agent@ccc-test
14
+ */
15
+ agentId?: string;
6
16
  /**
7
17
  * @remarks
8
18
  * This parameter is required.
@@ -21,6 +31,8 @@ export class ListMonoRecordingsRequest extends $dara.Model {
21
31
  instanceId?: string;
22
32
  static names(): { [key: string]: string } {
23
33
  return {
34
+ agentChannelId: 'AgentChannelId',
35
+ agentId: 'AgentId',
24
36
  contactId: 'ContactId',
25
37
  instanceId: 'InstanceId',
26
38
  };
@@ -28,6 +40,8 @@ export class ListMonoRecordingsRequest extends $dara.Model {
28
40
 
29
41
  static types(): { [key: string]: any } {
30
42
  return {
43
+ agentChannelId: 'string',
44
+ agentId: 'string',
31
45
  contactId: 'string',
32
46
  instanceId: 'string',
33
47
  };
@@ -3,6 +3,16 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class ListMultiChannelRecordingsRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * ch-user-****-****-1772180844645-job-******
9
+ */
10
+ agentChannelId?: string;
11
+ /**
12
+ * @example
13
+ * agent@ccc-test
14
+ */
15
+ agentId?: string;
6
16
  /**
7
17
  * @remarks
8
18
  * This parameter is required.
@@ -21,6 +31,8 @@ export class ListMultiChannelRecordingsRequest extends $dara.Model {
21
31
  instanceId?: string;
22
32
  static names(): { [key: string]: string } {
23
33
  return {
34
+ agentChannelId: 'AgentChannelId',
35
+ agentId: 'AgentId',
24
36
  contactId: 'ContactId',
25
37
  instanceId: 'InstanceId',
26
38
  };
@@ -28,6 +40,8 @@ export class ListMultiChannelRecordingsRequest extends $dara.Model {
28
40
 
29
41
  static types(): { [key: string]: any } {
30
42
  return {
43
+ agentChannelId: 'string',
44
+ agentId: 'string',
31
45
  contactId: 'string',
32
46
  instanceId: 'string',
33
47
  };
@@ -0,0 +1,74 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class SendNotificationRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * This parameter is required.
9
+ *
10
+ * @example
11
+ * ccc-test
12
+ */
13
+ instanceId?: string;
14
+ /**
15
+ * @remarks
16
+ * This parameter is required.
17
+ *
18
+ * @example
19
+ * { "eventType": "VnRecordingReady", "eventTime": "2025-11-05T01:51:20.974Z", "instanceId": "ccc-test", "scenarioId": "scenario-xxxx", "contactId": "job-xxxxxx", "duration": 59, "startTime": "2025-11-05T01:50:04.732Z", "endTime": "2025-11-05T01:51:02.822Z", "fileName": "xxxxxxx.wav", "downloadURL": "https://ccc-v2-online.oss-cn-shanghai.aliyuncs.com/ccc-record-mixed/xxxxxxx.wav?Expires=1762393880" }
20
+ */
21
+ messageBody?: string;
22
+ /**
23
+ * @remarks
24
+ * This parameter is required.
25
+ *
26
+ * @example
27
+ * CUSTOMER
28
+ */
29
+ notificationTarget?: string;
30
+ /**
31
+ * @remarks
32
+ * This parameter is required.
33
+ *
34
+ * @example
35
+ * VnRecordingReady
36
+ */
37
+ notificationType?: string;
38
+ /**
39
+ * @remarks
40
+ * This parameter is required.
41
+ *
42
+ * @example
43
+ * job-xxxxxx
44
+ */
45
+ shardingKey?: string;
46
+ static names(): { [key: string]: string } {
47
+ return {
48
+ instanceId: 'InstanceId',
49
+ messageBody: 'MessageBody',
50
+ notificationTarget: 'NotificationTarget',
51
+ notificationType: 'NotificationType',
52
+ shardingKey: 'ShardingKey',
53
+ };
54
+ }
55
+
56
+ static types(): { [key: string]: any } {
57
+ return {
58
+ instanceId: 'string',
59
+ messageBody: 'string',
60
+ notificationTarget: 'string',
61
+ notificationType: 'string',
62
+ shardingKey: 'string',
63
+ };
64
+ }
65
+
66
+ validate() {
67
+ super.validate();
68
+ }
69
+
70
+ constructor(map?: { [key: string]: any }) {
71
+ super(map);
72
+ }
73
+ }
74
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { SendNotificationResponseBody } from "./SendNotificationResponseBody";
4
+
5
+
6
+ export class SendNotificationResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: SendNotificationResponseBody;
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: SendNotificationResponseBody,
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 SendNotificationResponseBody extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * OK
9
+ */
10
+ code?: string;
11
+ /**
12
+ * @example
13
+ * 200
14
+ */
15
+ httpStatusCode?: string;
16
+ /**
17
+ * @example
18
+ * 无
19
+ */
20
+ message?: string;
21
+ /**
22
+ * @example
23
+ * 39138031-****-****-****-3AEE8F5DAC13
24
+ */
25
+ requestId?: string;
26
+ static names(): { [key: string]: string } {
27
+ return {
28
+ code: 'Code',
29
+ httpStatusCode: 'HttpStatusCode',
30
+ message: 'Message',
31
+ requestId: 'RequestId',
32
+ };
33
+ }
34
+
35
+ static types(): { [key: string]: any } {
36
+ return {
37
+ code: 'string',
38
+ httpStatusCode: 'string',
39
+ message: 'string',
40
+ requestId: 'string',
41
+ };
42
+ }
43
+
44
+ validate() {
45
+ super.validate();
46
+ }
47
+
48
+ constructor(map?: { [key: string]: any }) {
49
+ super(map);
50
+ }
51
+ }
52
+
@@ -175,6 +175,7 @@ export { ListDoNotCallNumbersResponseBodyData } from './ListDoNotCallNumbersResp
175
175
  export { ListDocumentsRequestSorts } from './ListDocumentsRequest';
176
176
  export { ListDocumentsResponseBodyDataSchema } from './ListDocumentsResponseBody';
177
177
  export { ListDocumentsResponseBodyData } from './ListDocumentsResponseBody';
178
+ export { ListFeedbacksResponseBodyData } from './ListFeedbacksResponseBody';
178
179
  export { ListFlashSmsApplicationsResponseBodyDataList } from './ListFlashSmsApplicationsResponseBody';
179
180
  export { ListFlashSmsApplicationsResponseBodyData } from './ListFlashSmsApplicationsResponseBody';
180
181
  export { ListFlashSmsSettingsResponseBodyDataList } from './ListFlashSmsSettingsResponseBody';
@@ -791,6 +792,9 @@ export { ListDocumentsRequest } from './ListDocumentsRequest';
791
792
  export { ListDocumentsShrinkRequest } from './ListDocumentsShrinkRequest';
792
793
  export { ListDocumentsResponseBody } from './ListDocumentsResponseBody';
793
794
  export { ListDocumentsResponse } from './ListDocumentsResponse';
795
+ export { ListFeedbacksRequest } from './ListFeedbacksRequest';
796
+ export { ListFeedbacksResponseBody } from './ListFeedbacksResponseBody';
797
+ export { ListFeedbacksResponse } from './ListFeedbacksResponse';
794
798
  export { ListFlashSmsApplicationsRequest } from './ListFlashSmsApplicationsRequest';
795
799
  export { ListFlashSmsApplicationsResponseBody } from './ListFlashSmsApplicationsResponseBody';
796
800
  export { ListFlashSmsApplicationsResponse } from './ListFlashSmsApplicationsResponse';
@@ -1066,6 +1070,9 @@ export { SaveWebRtcInfoResponse } from './SaveWebRtcInfoResponse';
1066
1070
  export { SendDtmfSignalingRequest } from './SendDtmfSignalingRequest';
1067
1071
  export { SendDtmfSignalingResponseBody } from './SendDtmfSignalingResponseBody';
1068
1072
  export { SendDtmfSignalingResponse } from './SendDtmfSignalingResponse';
1073
+ export { SendNotificationRequest } from './SendNotificationRequest';
1074
+ export { SendNotificationResponseBody } from './SendNotificationResponseBody';
1075
+ export { SendNotificationResponse } from './SendNotificationResponse';
1069
1076
  export { SignInGroupRequest } from './SignInGroupRequest';
1070
1077
  export { SignInGroupResponseBody } from './SignInGroupResponseBody';
1071
1078
  export { SignInGroupResponse } from './SignInGroupResponse';