@alicloud/ccc20200701 2.33.3 → 2.34.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 (37) hide show
  1. package/dist/client.d.ts +26 -0
  2. package/dist/client.js +103 -11
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/ImportRamUsersRequest.d.ts +50 -0
  5. package/dist/models/ImportRamUsersRequest.js +66 -0
  6. package/dist/models/ImportRamUsersRequest.js.map +1 -0
  7. package/dist/models/ImportRamUsersResponse.d.ts +19 -0
  8. package/dist/models/ImportRamUsersResponse.js +69 -0
  9. package/dist/models/ImportRamUsersResponse.js.map +1 -0
  10. package/dist/models/ImportRamUsersResponseBody.d.ts +34 -0
  11. package/dist/models/ImportRamUsersResponseBody.js +66 -0
  12. package/dist/models/ImportRamUsersResponseBody.js.map +1 -0
  13. package/dist/models/ListFlashSmsSettingsRequest.d.ts +39 -0
  14. package/dist/models/ListFlashSmsSettingsRequest.js +69 -0
  15. package/dist/models/ListFlashSmsSettingsRequest.js.map +1 -0
  16. package/dist/models/ListFlashSmsSettingsResponse.d.ts +19 -0
  17. package/dist/models/ListFlashSmsSettingsResponse.js +69 -0
  18. package/dist/models/ListFlashSmsSettingsResponse.js.map +1 -0
  19. package/dist/models/ListFlashSmsSettingsResponseBody.d.ts +87 -0
  20. package/dist/models/ListFlashSmsSettingsResponseBody.js +127 -0
  21. package/dist/models/ListFlashSmsSettingsResponseBody.js.map +1 -0
  22. package/dist/models/ListFlashSmsSettingsShrinkRequest.d.ts +39 -0
  23. package/dist/models/ListFlashSmsSettingsShrinkRequest.js +66 -0
  24. package/dist/models/ListFlashSmsSettingsShrinkRequest.js.map +1 -0
  25. package/dist/models/model.d.ts +9 -0
  26. package/dist/models/model.js +38 -20
  27. package/dist/models/model.js.map +1 -1
  28. package/package.json +1 -1
  29. package/src/client.ts +118 -11
  30. package/src/models/ImportRamUsersRequest.ts +71 -0
  31. package/src/models/ImportRamUsersResponse.ts +40 -0
  32. package/src/models/ImportRamUsersResponseBody.ts +55 -0
  33. package/src/models/ListFlashSmsSettingsRequest.ts +63 -0
  34. package/src/models/ListFlashSmsSettingsResponse.ts +40 -0
  35. package/src/models/ListFlashSmsSettingsResponseBody.ts +151 -0
  36. package/src/models/ListFlashSmsSettingsShrinkRequest.ts +60 -0
  37. package/src/models/model.ts +9 -0
@@ -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
+
@@ -175,6 +175,8 @@ export { ListDocumentsResponseBodyDataSchema } from './ListDocumentsResponseBody
175
175
  export { ListDocumentsResponseBodyData } from './ListDocumentsResponseBody';
176
176
  export { ListFlashSmsApplicationsResponseBodyDataList } from './ListFlashSmsApplicationsResponseBody';
177
177
  export { ListFlashSmsApplicationsResponseBodyData } from './ListFlashSmsApplicationsResponseBody';
178
+ export { ListFlashSmsSettingsResponseBodyDataList } from './ListFlashSmsSettingsResponseBody';
179
+ export { ListFlashSmsSettingsResponseBodyData } from './ListFlashSmsSettingsResponseBody';
178
180
  export { ListFlashSmsTemplatesResponseBodyData } from './ListFlashSmsTemplatesResponseBody';
179
181
  export { ListGroupChatMessagesResponseBodyDataMessages } from './ListGroupChatMessagesResponseBody';
180
182
  export { ListGroupChatMessagesResponseBodyData } from './ListGroupChatMessagesResponseBody';
@@ -704,6 +706,9 @@ export { ImportDoNotCallNumbersResponse } from './ImportDoNotCallNumbersResponse
704
706
  export { ImportDocumentsRequest } from './ImportDocumentsRequest';
705
707
  export { ImportDocumentsResponseBody } from './ImportDocumentsResponseBody';
706
708
  export { ImportDocumentsResponse } from './ImportDocumentsResponse';
709
+ export { ImportRamUsersRequest } from './ImportRamUsersRequest';
710
+ export { ImportRamUsersResponseBody } from './ImportRamUsersResponseBody';
711
+ export { ImportRamUsersResponse } from './ImportRamUsersResponse';
707
712
  export { InitiateAttendedTransferRequest } from './InitiateAttendedTransferRequest';
708
713
  export { InitiateAttendedTransferResponseBody } from './InitiateAttendedTransferResponseBody';
709
714
  export { InitiateAttendedTransferResponse } from './InitiateAttendedTransferResponse';
@@ -787,6 +792,10 @@ export { ListDocumentsResponse } from './ListDocumentsResponse';
787
792
  export { ListFlashSmsApplicationsRequest } from './ListFlashSmsApplicationsRequest';
788
793
  export { ListFlashSmsApplicationsResponseBody } from './ListFlashSmsApplicationsResponseBody';
789
794
  export { ListFlashSmsApplicationsResponse } from './ListFlashSmsApplicationsResponse';
795
+ export { ListFlashSmsSettingsRequest } from './ListFlashSmsSettingsRequest';
796
+ export { ListFlashSmsSettingsShrinkRequest } from './ListFlashSmsSettingsShrinkRequest';
797
+ export { ListFlashSmsSettingsResponseBody } from './ListFlashSmsSettingsResponseBody';
798
+ export { ListFlashSmsSettingsResponse } from './ListFlashSmsSettingsResponse';
790
799
  export { ListFlashSmsTemplatesRequest } from './ListFlashSmsTemplatesRequest';
791
800
  export { ListFlashSmsTemplatesResponseBody } from './ListFlashSmsTemplatesResponseBody';
792
801
  export { ListFlashSmsTemplatesResponse } from './ListFlashSmsTemplatesResponse';