@alicloud/ccc20200701 2.36.0 → 2.37.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.
Files changed (49) hide show
  1. package/dist/client.d.ts +54 -0
  2. package/dist/client.js +150 -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/ListMonoRecordingsRequest.d.ts +10 -0
  11. package/dist/models/ListMonoRecordingsRequest.js +4 -0
  12. package/dist/models/ListMonoRecordingsRequest.js.map +1 -1
  13. package/dist/models/ListMultiChannelRecordingsRequest.d.ts +10 -0
  14. package/dist/models/ListMultiChannelRecordingsRequest.js +4 -0
  15. package/dist/models/ListMultiChannelRecordingsRequest.js.map +1 -1
  16. package/dist/models/ListNotificationRecordsRequest.d.ts +29 -0
  17. package/dist/models/ListNotificationRecordsRequest.js +60 -0
  18. package/dist/models/ListNotificationRecordsRequest.js.map +1 -0
  19. package/dist/models/ListNotificationRecordsResponse.d.ts +19 -0
  20. package/dist/models/ListNotificationRecordsResponse.js +69 -0
  21. package/dist/models/ListNotificationRecordsResponse.js.map +1 -0
  22. package/dist/models/ListNotificationRecordsResponseBody.d.ts +75 -0
  23. package/dist/models/ListNotificationRecordsResponseBody.js +99 -0
  24. package/dist/models/ListNotificationRecordsResponseBody.js.map +1 -0
  25. package/dist/models/UpdateSubscriptionRequest.d.ts +68 -0
  26. package/dist/models/UpdateSubscriptionRequest.js +76 -0
  27. package/dist/models/UpdateSubscriptionRequest.js.map +1 -0
  28. package/dist/models/UpdateSubscriptionResponse.d.ts +19 -0
  29. package/dist/models/UpdateSubscriptionResponse.js +69 -0
  30. package/dist/models/UpdateSubscriptionResponse.js.map +1 -0
  31. package/dist/models/UpdateSubscriptionResponseBody.d.ts +102 -0
  32. package/dist/models/UpdateSubscriptionResponseBody.js +133 -0
  33. package/dist/models/UpdateSubscriptionResponseBody.js.map +1 -0
  34. package/dist/models/model.d.ts +9 -0
  35. package/dist/models/model.js +37 -18
  36. package/dist/models/model.js.map +1 -1
  37. package/package.json +1 -1
  38. package/src/client.ts +172 -0
  39. package/src/models/CreateUserRequest.ts +7 -0
  40. package/src/models/GetConversationDetailRequest.ts +7 -0
  41. package/src/models/ListMonoRecordingsRequest.ts +14 -0
  42. package/src/models/ListMultiChannelRecordingsRequest.ts +14 -0
  43. package/src/models/ListNotificationRecordsRequest.ts +44 -0
  44. package/src/models/ListNotificationRecordsResponse.ts +40 -0
  45. package/src/models/ListNotificationRecordsResponseBody.ts +120 -0
  46. package/src/models/UpdateSubscriptionRequest.ts +99 -0
  47. package/src/models/UpdateSubscriptionResponse.ts +40 -0
  48. package/src/models/UpdateSubscriptionResponseBody.ts +172 -0
  49. package/src/models/model.ts +9 -0
@@ -0,0 +1,99 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class UpdateSubscriptionRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * This parameter is required.
9
+ *
10
+ * @example
11
+ * rmq-cn-****.cn-shanghai.rmq.aliyuncs.com:8080
12
+ */
13
+ accessPoint?: string;
14
+ aliyunUid?: number;
15
+ /**
16
+ * @example
17
+ * ccc-event
18
+ */
19
+ defaultTopic?: string;
20
+ /**
21
+ * @remarks
22
+ * This parameter is required.
23
+ *
24
+ * @example
25
+ * [{"Name ":"StopConsultant ","Disabled ":true},{"Name ":"QueueingRerouted ","Disabled ":true},{"Name ":"IvrTracking ","Disabled ":true},{"Name ":"DualTrackRecordingReady ","Disabled ":true},{"Name ":"SatisfactionSurveyResponse ","Disabled ":true},{"Name ":"Dialing ","Disabled ":false},{"Name ":"Abandoned ","Disabled ":true},{"Name ":"QueueingCancelled ","Disabled ":true},{"Name ":"RecordingReady ","Disabled ":true},{"Name ":"StopCoach ","Disabled ":true},{"Name ":"Established ","Disabled ":true},{"Name ":"InitiateConsultant ","Disabled ":true},{"Name ":"Route2IVR ","Disabled ":false},{"Name ":"Retrieved ","Disabled ":true},{"Name ":"CampaignPaused ","Disabled ":true},{"Name ":"TextStream ","Disabled ":true},{"Name ":"AgentRelease ","Disabled ":true},{"Name ":"VoicemailReady ","Disabled ":true},{"Name ":"Released ","Disabled ":false},{"Name ":"CDRReady ","Disabled ":true},{"Name ":"CaseAttempted ","Disabled ":true},{"Name ":"AgentBreak ","Disabled ":true},{"Name ":"AgentRingingTimeout ","Disabled ":true},{"Name ":"AgentReady ","Disabled ":true},{"Name ":"CampaignResumed ","Disabled ":true},{"Name ":"AgentDialing ","Disabled ":true},{"Name ":"Ringing ","Disabled ":true},{"Name ":"StartConsultant ","Disabled ":false},{"Name ":"QueueingTimeout ","Disabled ":true},{"Name ":"AgentTalk ","Disabled ":true},{"Name ":"AgentRinging ","Disabled ":true},{"Name ":"StartMonitor ","Disabled ":true},{"Name ":"BlindTransfer ","Disabled ":true},{"Name ":"Intercept ","Disabled ":true},{"Name ":"RingingTimeout ","Disabled ":true},{"Name ":"StartConference ","Disabled ":true},{"Name ":"QueueingOverflow ","Disabled ":true},{"Name ":"BargeIn ","Disabled ":true},{"Name ":"StopConference ","Disabled ":true},{"Name ":"AgentCheckOut ","Disabled ":true},{"Name ":"CampaignSubmitted ","Disabled ":true},{"Name ":"AgentCheckIn ","Disabled ":true},{"Name ":"Enqueue ","Disabled ":false},{"Name ":"AttendedTransfer ","Disabled ":true},{"Name ":"StopMonitor ","Disabled ":true},{"Name ":"DispatchingFailure ","Disabled ":true},{"Name ":"SatisfactionSurveyOffer ","Disabled ":true},{"Name ":"CampaignCompleted ","Disabled ":true},{"Name ":"CampaignAborted ","Disabled ":true},{"Name ":"AssignAgent ","Disabled ":true},{"Name ":"Held ","Disabled ":true},{"Name ":"StartCoach ","Disabled ":true}]
26
+ */
27
+ eventSubscriptionsJson?: string;
28
+ /**
29
+ * @remarks
30
+ * This parameter is required.
31
+ *
32
+ * @example
33
+ * ccc-test
34
+ */
35
+ instanceId?: string;
36
+ /**
37
+ * @example
38
+ * rmq-cn-****
39
+ */
40
+ mqInstanceId?: string;
41
+ /**
42
+ * @example
43
+ * rocketmq5
44
+ */
45
+ mqType?: string;
46
+ /**
47
+ * @example
48
+ * password
49
+ */
50
+ password?: string;
51
+ /**
52
+ * @example
53
+ * GID_xxx
54
+ */
55
+ producerId?: string;
56
+ /**
57
+ * @example
58
+ * username
59
+ */
60
+ username?: string;
61
+ static names(): { [key: string]: string } {
62
+ return {
63
+ accessPoint: 'AccessPoint',
64
+ aliyunUid: 'AliyunUid',
65
+ defaultTopic: 'DefaultTopic',
66
+ eventSubscriptionsJson: 'EventSubscriptionsJson',
67
+ instanceId: 'InstanceId',
68
+ mqInstanceId: 'MqInstanceId',
69
+ mqType: 'MqType',
70
+ password: 'Password',
71
+ producerId: 'ProducerId',
72
+ username: 'Username',
73
+ };
74
+ }
75
+
76
+ static types(): { [key: string]: any } {
77
+ return {
78
+ accessPoint: 'string',
79
+ aliyunUid: 'number',
80
+ defaultTopic: 'string',
81
+ eventSubscriptionsJson: 'string',
82
+ instanceId: 'string',
83
+ mqInstanceId: 'string',
84
+ mqType: 'string',
85
+ password: 'string',
86
+ producerId: 'string',
87
+ username: 'string',
88
+ };
89
+ }
90
+
91
+ validate() {
92
+ super.validate();
93
+ }
94
+
95
+ constructor(map?: { [key: string]: any }) {
96
+ super(map);
97
+ }
98
+ }
99
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { UpdateSubscriptionResponseBody } from "./UpdateSubscriptionResponseBody";
4
+
5
+
6
+ export class UpdateSubscriptionResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: UpdateSubscriptionResponseBody;
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: UpdateSubscriptionResponseBody,
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,172 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class UpdateSubscriptionResponseBodyDataEventList extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * true
9
+ */
10
+ disabled?: boolean;
11
+ /**
12
+ * @example
13
+ * Dialing
14
+ */
15
+ name?: string;
16
+ topic?: string;
17
+ static names(): { [key: string]: string } {
18
+ return {
19
+ disabled: 'Disabled',
20
+ name: 'Name',
21
+ topic: 'Topic',
22
+ };
23
+ }
24
+
25
+ static types(): { [key: string]: any } {
26
+ return {
27
+ disabled: 'boolean',
28
+ name: 'string',
29
+ topic: 'string',
30
+ };
31
+ }
32
+
33
+ validate() {
34
+ super.validate();
35
+ }
36
+
37
+ constructor(map?: { [key: string]: any }) {
38
+ super(map);
39
+ }
40
+ }
41
+
42
+ export class UpdateSubscriptionResponseBodyData extends $dara.Model {
43
+ /**
44
+ * @example
45
+ * rmq-cn-****.cn-shanghai.rmq.aliyuncs.com:8080
46
+ */
47
+ accessPoint?: string;
48
+ eventList?: UpdateSubscriptionResponseBodyDataEventList[];
49
+ /**
50
+ * @example
51
+ * ccc-test
52
+ */
53
+ instanceId?: string;
54
+ /**
55
+ * @example
56
+ * rmq-cn-****
57
+ */
58
+ mqInstanceId?: string;
59
+ /**
60
+ * @example
61
+ * rocketmq5
62
+ */
63
+ mqType?: string;
64
+ /**
65
+ * @example
66
+ * GID_xxx
67
+ */
68
+ producerId?: string;
69
+ /**
70
+ * @example
71
+ * ccc-event
72
+ */
73
+ topic?: string;
74
+ /**
75
+ * @example
76
+ * username
77
+ */
78
+ username?: string;
79
+ static names(): { [key: string]: string } {
80
+ return {
81
+ accessPoint: 'AccessPoint',
82
+ eventList: 'EventList',
83
+ instanceId: 'InstanceId',
84
+ mqInstanceId: 'MqInstanceId',
85
+ mqType: 'MqType',
86
+ producerId: 'ProducerId',
87
+ topic: 'Topic',
88
+ username: 'Username',
89
+ };
90
+ }
91
+
92
+ static types(): { [key: string]: any } {
93
+ return {
94
+ accessPoint: 'string',
95
+ eventList: { 'type': 'array', 'itemType': UpdateSubscriptionResponseBodyDataEventList },
96
+ instanceId: 'string',
97
+ mqInstanceId: 'string',
98
+ mqType: 'string',
99
+ producerId: 'string',
100
+ topic: 'string',
101
+ username: 'string',
102
+ };
103
+ }
104
+
105
+ validate() {
106
+ if(Array.isArray(this.eventList)) {
107
+ $dara.Model.validateArray(this.eventList);
108
+ }
109
+ super.validate();
110
+ }
111
+
112
+ constructor(map?: { [key: string]: any }) {
113
+ super(map);
114
+ }
115
+ }
116
+
117
+ export class UpdateSubscriptionResponseBody extends $dara.Model {
118
+ /**
119
+ * @example
120
+ * OK
121
+ */
122
+ code?: string;
123
+ data?: UpdateSubscriptionResponseBodyData;
124
+ /**
125
+ * @example
126
+ * 200
127
+ */
128
+ httpStatusCode?: number;
129
+ message?: string;
130
+ params?: string[];
131
+ /**
132
+ * @example
133
+ * 03C67DAD-EB26-41D8-949D-9B0C470FB716
134
+ */
135
+ requestId?: string;
136
+ static names(): { [key: string]: string } {
137
+ return {
138
+ code: 'Code',
139
+ data: 'Data',
140
+ httpStatusCode: 'HttpStatusCode',
141
+ message: 'Message',
142
+ params: 'Params',
143
+ requestId: 'RequestId',
144
+ };
145
+ }
146
+
147
+ static types(): { [key: string]: any } {
148
+ return {
149
+ code: 'string',
150
+ data: UpdateSubscriptionResponseBodyData,
151
+ httpStatusCode: 'number',
152
+ message: 'string',
153
+ params: { 'type': 'array', 'itemType': 'string' },
154
+ requestId: 'string',
155
+ };
156
+ }
157
+
158
+ validate() {
159
+ if(this.data && typeof (this.data as any).validate === 'function') {
160
+ (this.data as any).validate();
161
+ }
162
+ if(Array.isArray(this.params)) {
163
+ $dara.Model.validateArray(this.params);
164
+ }
165
+ super.validate();
166
+ }
167
+
168
+ constructor(map?: { [key: string]: any }) {
169
+ super(map);
170
+ }
171
+ }
172
+
@@ -255,6 +255,7 @@ export { ListLegacyQueueEventLogsResponseBodyData } from './ListLegacyQueueEvent
255
255
  export { ListMonoRecordingsResponseBodyData } from './ListMonoRecordingsResponseBody';
256
256
  export { ListMultiChannelRecordingsResponseBodyDataHoldTimeSegments } from './ListMultiChannelRecordingsResponseBody';
257
257
  export { ListMultiChannelRecordingsResponseBodyData } from './ListMultiChannelRecordingsResponseBody';
258
+ export { ListNotificationRecordsResponseBodyData } from './ListNotificationRecordsResponseBody';
258
259
  export { ListOutboundNumbersOfUserResponseBodyDataList } from './ListOutboundNumbersOfUserResponseBody';
259
260
  export { ListOutboundNumbersOfUserResponseBodyData } from './ListOutboundNumbersOfUserResponseBody';
260
261
  export { ListPersonalNumbersOfUserResponseBodyDataList } from './ListPersonalNumbersOfUserResponseBody';
@@ -377,6 +378,8 @@ export { UnmuteCallResponseBodyDataCallContext } from './UnmuteCallResponseBody'
377
378
  export { UnmuteCallResponseBodyDataUserContext } from './UnmuteCallResponseBody';
378
379
  export { UnmuteCallResponseBodyData } from './UnmuteCallResponseBody';
379
380
  export { UpdateSchemaPropertyRequestProperty } from './UpdateSchemaPropertyRequest';
381
+ export { UpdateSubscriptionResponseBodyDataEventList } from './UpdateSubscriptionResponseBody';
382
+ export { UpdateSubscriptionResponseBodyData } from './UpdateSubscriptionResponseBody';
380
383
  export { DataPropertiesValue } from './DataPropertiesValue';
381
384
  export { DataSchemaPropertiesValue } from './DataSchemaPropertiesValue';
382
385
  export { AbortCampaignRequest } from './AbortCampaignRequest';
@@ -856,6 +859,9 @@ export { ListMonoRecordingsResponse } from './ListMonoRecordingsResponse';
856
859
  export { ListMultiChannelRecordingsRequest } from './ListMultiChannelRecordingsRequest';
857
860
  export { ListMultiChannelRecordingsResponseBody } from './ListMultiChannelRecordingsResponseBody';
858
861
  export { ListMultiChannelRecordingsResponse } from './ListMultiChannelRecordingsResponse';
862
+ export { ListNotificationRecordsRequest } from './ListNotificationRecordsRequest';
863
+ export { ListNotificationRecordsResponseBody } from './ListNotificationRecordsResponseBody';
864
+ export { ListNotificationRecordsResponse } from './ListNotificationRecordsResponse';
859
865
  export { ListOutboundNumbersOfUserRequest } from './ListOutboundNumbersOfUserRequest';
860
866
  export { ListOutboundNumbersOfUserResponseBody } from './ListOutboundNumbersOfUserResponseBody';
861
867
  export { ListOutboundNumbersOfUserResponse } from './ListOutboundNumbersOfUserResponse';
@@ -1135,6 +1141,9 @@ export { UpdateSchemaPropertyRequest } from './UpdateSchemaPropertyRequest';
1135
1141
  export { UpdateSchemaPropertyShrinkRequest } from './UpdateSchemaPropertyShrinkRequest';
1136
1142
  export { UpdateSchemaPropertyResponseBody } from './UpdateSchemaPropertyResponseBody';
1137
1143
  export { UpdateSchemaPropertyResponse } from './UpdateSchemaPropertyResponse';
1144
+ export { UpdateSubscriptionRequest } from './UpdateSubscriptionRequest';
1145
+ export { UpdateSubscriptionResponseBody } from './UpdateSubscriptionResponseBody';
1146
+ export { UpdateSubscriptionResponse } from './UpdateSubscriptionResponse';
1138
1147
  export { UpdateTicketRequest } from './UpdateTicketRequest';
1139
1148
  export { UpdateTicketResponseBody } from './UpdateTicketResponseBody';
1140
1149
  export { UpdateTicketResponse } from './UpdateTicketResponse';