@alicloud/ccc20200701 2.33.3 → 2.34.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 (56) hide show
  1. package/dist/client.d.ts +38 -0
  2. package/dist/client.js +127 -11
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AppendCasesResponseBody.d.ts +16 -0
  5. package/dist/models/AppendCasesResponseBody.js +29 -1
  6. package/dist/models/AppendCasesResponseBody.js.map +1 -1
  7. package/dist/models/CreateCampaignRequest.d.ts +11 -0
  8. package/dist/models/CreateCampaignRequest.js +9 -0
  9. package/dist/models/CreateCampaignRequest.js.map +1 -1
  10. package/dist/models/CreateCampaignShrinkRequest.d.ts +11 -0
  11. package/dist/models/CreateCampaignShrinkRequest.js +6 -0
  12. package/dist/models/CreateCampaignShrinkRequest.js.map +1 -1
  13. package/dist/models/CreateInstanceRequest.d.ts +0 -3
  14. package/dist/models/CreateInstanceRequest.js.map +1 -1
  15. package/dist/models/GetInstanceResponseBody.d.ts +16 -0
  16. package/dist/models/GetInstanceResponseBody.js +29 -1
  17. package/dist/models/GetInstanceResponseBody.js.map +1 -1
  18. package/dist/models/ImportRamUsersRequest.d.ts +50 -0
  19. package/dist/models/ImportRamUsersRequest.js +66 -0
  20. package/dist/models/ImportRamUsersRequest.js.map +1 -0
  21. package/dist/models/ImportRamUsersResponse.d.ts +19 -0
  22. package/dist/models/ImportRamUsersResponse.js +69 -0
  23. package/dist/models/ImportRamUsersResponse.js.map +1 -0
  24. package/dist/models/ImportRamUsersResponseBody.d.ts +34 -0
  25. package/dist/models/ImportRamUsersResponseBody.js +66 -0
  26. package/dist/models/ImportRamUsersResponseBody.js.map +1 -0
  27. package/dist/models/ListFlashSmsSettingsRequest.d.ts +39 -0
  28. package/dist/models/ListFlashSmsSettingsRequest.js +69 -0
  29. package/dist/models/ListFlashSmsSettingsRequest.js.map +1 -0
  30. package/dist/models/ListFlashSmsSettingsResponse.d.ts +19 -0
  31. package/dist/models/ListFlashSmsSettingsResponse.js +69 -0
  32. package/dist/models/ListFlashSmsSettingsResponse.js.map +1 -0
  33. package/dist/models/ListFlashSmsSettingsResponseBody.d.ts +87 -0
  34. package/dist/models/ListFlashSmsSettingsResponseBody.js +127 -0
  35. package/dist/models/ListFlashSmsSettingsResponseBody.js.map +1 -0
  36. package/dist/models/ListFlashSmsSettingsShrinkRequest.d.ts +39 -0
  37. package/dist/models/ListFlashSmsSettingsShrinkRequest.js +66 -0
  38. package/dist/models/ListFlashSmsSettingsShrinkRequest.js.map +1 -0
  39. package/dist/models/model.d.ts +11 -0
  40. package/dist/models/model.js +52 -30
  41. package/dist/models/model.js.map +1 -1
  42. package/package.json +1 -1
  43. package/src/client.ts +146 -11
  44. package/src/models/AppendCasesResponseBody.ts +35 -0
  45. package/src/models/CreateCampaignRequest.ts +20 -0
  46. package/src/models/CreateCampaignShrinkRequest.ts +17 -0
  47. package/src/models/CreateInstanceRequest.ts +0 -3
  48. package/src/models/GetInstanceResponseBody.ts +35 -0
  49. package/src/models/ImportRamUsersRequest.ts +71 -0
  50. package/src/models/ImportRamUsersResponse.ts +40 -0
  51. package/src/models/ImportRamUsersResponseBody.ts +55 -0
  52. package/src/models/ListFlashSmsSettingsRequest.ts +63 -0
  53. package/src/models/ListFlashSmsSettingsResponse.ts +40 -0
  54. package/src/models/ListFlashSmsSettingsResponseBody.ts +151 -0
  55. package/src/models/ListFlashSmsSettingsShrinkRequest.ts +60 -0
  56. package/src/models/model.ts +11 -0
@@ -0,0 +1,55 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ImportRamUsersResponseBody extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * OK
9
+ */
10
+ code?: string;
11
+ /**
12
+ * @example
13
+ * 1ca2b084-6f0a-454b-9851-29768a9a5832
14
+ */
15
+ data?: string;
16
+ /**
17
+ * @example
18
+ * 200
19
+ */
20
+ httpStatusCode?: number;
21
+ message?: string;
22
+ /**
23
+ * @example
24
+ * 03C67DAD-EB26-41D8-949D-9B0C470FB716
25
+ */
26
+ requestId?: string;
27
+ static names(): { [key: string]: string } {
28
+ return {
29
+ code: 'Code',
30
+ data: 'Data',
31
+ httpStatusCode: 'HttpStatusCode',
32
+ message: 'Message',
33
+ requestId: 'RequestId',
34
+ };
35
+ }
36
+
37
+ static types(): { [key: string]: any } {
38
+ return {
39
+ code: 'string',
40
+ data: 'string',
41
+ httpStatusCode: 'number',
42
+ message: 'string',
43
+ requestId: 'string',
44
+ };
45
+ }
46
+
47
+ validate() {
48
+ super.validate();
49
+ }
50
+
51
+ constructor(map?: { [key: string]: any }) {
52
+ super(map);
53
+ }
54
+ }
55
+
@@ -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 ListFlashSmsSettingsRequest 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
+ * 1
20
+ */
21
+ pageNumber?: number;
22
+ /**
23
+ * @remarks
24
+ * This parameter is required.
25
+ *
26
+ * @example
27
+ * 10
28
+ */
29
+ pageSize?: number;
30
+ skillGroupIdList?: string[];
31
+ skillGroupName?: string;
32
+ static names(): { [key: string]: string } {
33
+ return {
34
+ instanceId: 'InstanceId',
35
+ pageNumber: 'PageNumber',
36
+ pageSize: 'PageSize',
37
+ skillGroupIdList: 'SkillGroupIdList',
38
+ skillGroupName: 'SkillGroupName',
39
+ };
40
+ }
41
+
42
+ static types(): { [key: string]: any } {
43
+ return {
44
+ instanceId: 'string',
45
+ pageNumber: 'number',
46
+ pageSize: 'number',
47
+ skillGroupIdList: { 'type': 'array', 'itemType': 'string' },
48
+ skillGroupName: 'string',
49
+ };
50
+ }
51
+
52
+ validate() {
53
+ if(Array.isArray(this.skillGroupIdList)) {
54
+ $dara.Model.validateArray(this.skillGroupIdList);
55
+ }
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 { ListFlashSmsSettingsResponseBody } from "./ListFlashSmsSettingsResponseBody";
4
+
5
+
6
+ export class ListFlashSmsSettingsResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: ListFlashSmsSettingsResponseBody;
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: ListFlashSmsSettingsResponseBody,
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,151 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListFlashSmsSettingsResponseBodyDataList extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * true
9
+ */
10
+ enabled?: boolean;
11
+ /**
12
+ * @example
13
+ * ccc-test
14
+ */
15
+ instanceId?: string;
16
+ /**
17
+ * @example
18
+ * skillgroup1@ccc-test
19
+ */
20
+ skillGroupId?: string;
21
+ skillGroupName?: string;
22
+ static names(): { [key: string]: string } {
23
+ return {
24
+ enabled: 'Enabled',
25
+ instanceId: 'InstanceId',
26
+ skillGroupId: 'SkillGroupId',
27
+ skillGroupName: 'SkillGroupName',
28
+ };
29
+ }
30
+
31
+ static types(): { [key: string]: any } {
32
+ return {
33
+ enabled: 'boolean',
34
+ instanceId: 'string',
35
+ skillGroupId: 'string',
36
+ skillGroupName: 'string',
37
+ };
38
+ }
39
+
40
+ validate() {
41
+ super.validate();
42
+ }
43
+
44
+ constructor(map?: { [key: string]: any }) {
45
+ super(map);
46
+ }
47
+ }
48
+
49
+ export class ListFlashSmsSettingsResponseBodyData extends $dara.Model {
50
+ list?: ListFlashSmsSettingsResponseBodyDataList[];
51
+ /**
52
+ * @example
53
+ * 1
54
+ */
55
+ pageNumber?: number;
56
+ /**
57
+ * @example
58
+ * 10
59
+ */
60
+ pageSize?: number;
61
+ /**
62
+ * @example
63
+ * 1
64
+ */
65
+ totalCount?: number;
66
+ static names(): { [key: string]: string } {
67
+ return {
68
+ list: 'List',
69
+ pageNumber: 'PageNumber',
70
+ pageSize: 'PageSize',
71
+ totalCount: 'TotalCount',
72
+ };
73
+ }
74
+
75
+ static types(): { [key: string]: any } {
76
+ return {
77
+ list: { 'type': 'array', 'itemType': ListFlashSmsSettingsResponseBodyDataList },
78
+ pageNumber: 'number',
79
+ pageSize: 'number',
80
+ totalCount: 'number',
81
+ };
82
+ }
83
+
84
+ validate() {
85
+ if(Array.isArray(this.list)) {
86
+ $dara.Model.validateArray(this.list);
87
+ }
88
+ super.validate();
89
+ }
90
+
91
+ constructor(map?: { [key: string]: any }) {
92
+ super(map);
93
+ }
94
+ }
95
+
96
+ export class ListFlashSmsSettingsResponseBody extends $dara.Model {
97
+ /**
98
+ * @example
99
+ * OK
100
+ */
101
+ code?: string;
102
+ data?: ListFlashSmsSettingsResponseBodyData;
103
+ /**
104
+ * @example
105
+ * 200
106
+ */
107
+ httpStatusCode?: number;
108
+ message?: string;
109
+ params?: string[];
110
+ /**
111
+ * @example
112
+ * BA03159C-E808-4FF1-B27E-A61B6E888D7F
113
+ */
114
+ requestId?: string;
115
+ static names(): { [key: string]: string } {
116
+ return {
117
+ code: 'Code',
118
+ data: 'Data',
119
+ httpStatusCode: 'HttpStatusCode',
120
+ message: 'Message',
121
+ params: 'Params',
122
+ requestId: 'RequestId',
123
+ };
124
+ }
125
+
126
+ static types(): { [key: string]: any } {
127
+ return {
128
+ code: 'string',
129
+ data: ListFlashSmsSettingsResponseBodyData,
130
+ httpStatusCode: 'number',
131
+ message: 'string',
132
+ params: { 'type': 'array', 'itemType': 'string' },
133
+ requestId: 'string',
134
+ };
135
+ }
136
+
137
+ validate() {
138
+ if(this.data && typeof (this.data as any).validate === 'function') {
139
+ (this.data as any).validate();
140
+ }
141
+ if(Array.isArray(this.params)) {
142
+ $dara.Model.validateArray(this.params);
143
+ }
144
+ super.validate();
145
+ }
146
+
147
+ constructor(map?: { [key: string]: any }) {
148
+ super(map);
149
+ }
150
+ }
151
+
@@ -0,0 +1,60 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListFlashSmsSettingsShrinkRequest 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
+ * 1
20
+ */
21
+ pageNumber?: number;
22
+ /**
23
+ * @remarks
24
+ * This parameter is required.
25
+ *
26
+ * @example
27
+ * 10
28
+ */
29
+ pageSize?: number;
30
+ skillGroupIdListShrink?: string;
31
+ skillGroupName?: string;
32
+ static names(): { [key: string]: string } {
33
+ return {
34
+ instanceId: 'InstanceId',
35
+ pageNumber: 'PageNumber',
36
+ pageSize: 'PageSize',
37
+ skillGroupIdListShrink: 'SkillGroupIdList',
38
+ skillGroupName: 'SkillGroupName',
39
+ };
40
+ }
41
+
42
+ static types(): { [key: string]: any } {
43
+ return {
44
+ instanceId: 'string',
45
+ pageNumber: 'number',
46
+ pageSize: 'number',
47
+ skillGroupIdListShrink: 'string',
48
+ skillGroupName: 'string',
49
+ };
50
+ }
51
+
52
+ validate() {
53
+ super.validate();
54
+ }
55
+
56
+ constructor(map?: { [key: string]: any }) {
57
+ super(map);
58
+ }
59
+ }
60
+
@@ -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';
@@ -175,6 +177,8 @@ export { ListDocumentsResponseBodyDataSchema } from './ListDocumentsResponseBody
175
177
  export { ListDocumentsResponseBodyData } from './ListDocumentsResponseBody';
176
178
  export { ListFlashSmsApplicationsResponseBodyDataList } from './ListFlashSmsApplicationsResponseBody';
177
179
  export { ListFlashSmsApplicationsResponseBodyData } from './ListFlashSmsApplicationsResponseBody';
180
+ export { ListFlashSmsSettingsResponseBodyDataList } from './ListFlashSmsSettingsResponseBody';
181
+ export { ListFlashSmsSettingsResponseBodyData } from './ListFlashSmsSettingsResponseBody';
178
182
  export { ListFlashSmsTemplatesResponseBodyData } from './ListFlashSmsTemplatesResponseBody';
179
183
  export { ListGroupChatMessagesResponseBodyDataMessages } from './ListGroupChatMessagesResponseBody';
180
184
  export { ListGroupChatMessagesResponseBodyData } from './ListGroupChatMessagesResponseBody';
@@ -704,6 +708,9 @@ export { ImportDoNotCallNumbersResponse } from './ImportDoNotCallNumbersResponse
704
708
  export { ImportDocumentsRequest } from './ImportDocumentsRequest';
705
709
  export { ImportDocumentsResponseBody } from './ImportDocumentsResponseBody';
706
710
  export { ImportDocumentsResponse } from './ImportDocumentsResponse';
711
+ export { ImportRamUsersRequest } from './ImportRamUsersRequest';
712
+ export { ImportRamUsersResponseBody } from './ImportRamUsersResponseBody';
713
+ export { ImportRamUsersResponse } from './ImportRamUsersResponse';
707
714
  export { InitiateAttendedTransferRequest } from './InitiateAttendedTransferRequest';
708
715
  export { InitiateAttendedTransferResponseBody } from './InitiateAttendedTransferResponseBody';
709
716
  export { InitiateAttendedTransferResponse } from './InitiateAttendedTransferResponse';
@@ -787,6 +794,10 @@ export { ListDocumentsResponse } from './ListDocumentsResponse';
787
794
  export { ListFlashSmsApplicationsRequest } from './ListFlashSmsApplicationsRequest';
788
795
  export { ListFlashSmsApplicationsResponseBody } from './ListFlashSmsApplicationsResponseBody';
789
796
  export { ListFlashSmsApplicationsResponse } from './ListFlashSmsApplicationsResponse';
797
+ export { ListFlashSmsSettingsRequest } from './ListFlashSmsSettingsRequest';
798
+ export { ListFlashSmsSettingsShrinkRequest } from './ListFlashSmsSettingsShrinkRequest';
799
+ export { ListFlashSmsSettingsResponseBody } from './ListFlashSmsSettingsResponseBody';
800
+ export { ListFlashSmsSettingsResponse } from './ListFlashSmsSettingsResponse';
790
801
  export { ListFlashSmsTemplatesRequest } from './ListFlashSmsTemplatesRequest';
791
802
  export { ListFlashSmsTemplatesResponseBody } from './ListFlashSmsTemplatesResponseBody';
792
803
  export { ListFlashSmsTemplatesResponse } from './ListFlashSmsTemplatesResponse';