@alicloud/cams20200606 2.1.0 → 2.2.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 (158) hide show
  1. package/dist/client.d.ts +120 -0
  2. package/dist/client.js +498 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AddChatGroupInviteLinkRequest.d.ts +45 -0
  5. package/dist/models/AddChatGroupInviteLinkRequest.js +70 -0
  6. package/dist/models/AddChatGroupInviteLinkRequest.js.map +1 -0
  7. package/dist/models/AddChatGroupInviteLinkResponse.d.ts +19 -0
  8. package/dist/models/AddChatGroupInviteLinkResponse.js +69 -0
  9. package/dist/models/AddChatGroupInviteLinkResponse.js.map +1 -0
  10. package/dist/models/AddChatGroupInviteLinkResponseBody.d.ts +39 -0
  11. package/dist/models/AddChatGroupInviteLinkResponseBody.js +68 -0
  12. package/dist/models/AddChatGroupInviteLinkResponseBody.js.map +1 -0
  13. package/dist/models/AddChatGroupRequest.d.ts +50 -0
  14. package/dist/models/AddChatGroupRequest.js +72 -0
  15. package/dist/models/AddChatGroupRequest.js.map +1 -0
  16. package/dist/models/AddChatGroupResponse.d.ts +19 -0
  17. package/dist/models/AddChatGroupResponse.js +69 -0
  18. package/dist/models/AddChatGroupResponse.js.map +1 -0
  19. package/dist/models/AddChatGroupResponseBody.d.ts +39 -0
  20. package/dist/models/AddChatGroupResponseBody.js +68 -0
  21. package/dist/models/AddChatGroupResponseBody.js.map +1 -0
  22. package/dist/models/ChatappMigrationVerifiedRequest.d.ts +1 -1
  23. package/dist/models/ChatappMigrationVerifiedResponseBody.d.ts +8 -1
  24. package/dist/models/ChatappMigrationVerifiedResponseBody.js.map +1 -1
  25. package/dist/models/DeleteChatGroupInviteLinkRequest.d.ts +45 -0
  26. package/dist/models/DeleteChatGroupInviteLinkRequest.js +70 -0
  27. package/dist/models/DeleteChatGroupInviteLinkRequest.js.map +1 -0
  28. package/dist/models/DeleteChatGroupInviteLinkResponse.d.ts +19 -0
  29. package/dist/models/DeleteChatGroupInviteLinkResponse.js +69 -0
  30. package/dist/models/DeleteChatGroupInviteLinkResponse.js.map +1 -0
  31. package/dist/models/DeleteChatGroupInviteLinkResponseBody.d.ts +39 -0
  32. package/dist/models/DeleteChatGroupInviteLinkResponseBody.js +68 -0
  33. package/dist/models/DeleteChatGroupInviteLinkResponseBody.js.map +1 -0
  34. package/dist/models/DeleteChatGroupParticipantsRequest.d.ts +47 -0
  35. package/dist/models/DeleteChatGroupParticipantsRequest.js +76 -0
  36. package/dist/models/DeleteChatGroupParticipantsRequest.js.map +1 -0
  37. package/dist/models/DeleteChatGroupParticipantsRequestList.d.ts +18 -0
  38. package/dist/models/DeleteChatGroupParticipantsRequestList.js +58 -0
  39. package/dist/models/DeleteChatGroupParticipantsRequestList.js.map +1 -0
  40. package/dist/models/DeleteChatGroupParticipantsResponse.d.ts +19 -0
  41. package/dist/models/DeleteChatGroupParticipantsResponse.js +69 -0
  42. package/dist/models/DeleteChatGroupParticipantsResponse.js.map +1 -0
  43. package/dist/models/DeleteChatGroupParticipantsResponseBody.d.ts +39 -0
  44. package/dist/models/DeleteChatGroupParticipantsResponseBody.js +68 -0
  45. package/dist/models/DeleteChatGroupParticipantsResponseBody.js.map +1 -0
  46. package/dist/models/DeleteChatGroupParticipantsShrinkRequest.d.ts +46 -0
  47. package/dist/models/DeleteChatGroupParticipantsShrinkRequest.js +72 -0
  48. package/dist/models/DeleteChatGroupParticipantsShrinkRequest.js.map +1 -0
  49. package/dist/models/DeleteChatGroupRequest.d.ts +45 -0
  50. package/dist/models/DeleteChatGroupRequest.js +70 -0
  51. package/dist/models/DeleteChatGroupRequest.js.map +1 -0
  52. package/dist/models/DeleteChatGroupResponse.d.ts +19 -0
  53. package/dist/models/DeleteChatGroupResponse.js +69 -0
  54. package/dist/models/DeleteChatGroupResponse.js.map +1 -0
  55. package/dist/models/DeleteChatGroupResponseBody.d.ts +39 -0
  56. package/dist/models/DeleteChatGroupResponseBody.js +68 -0
  57. package/dist/models/DeleteChatGroupResponseBody.js.map +1 -0
  58. package/dist/models/ListChatGroupParticipantsRequest.d.ts +47 -0
  59. package/dist/models/ListChatGroupParticipantsRequest.js +76 -0
  60. package/dist/models/ListChatGroupParticipantsRequest.js.map +1 -0
  61. package/dist/models/ListChatGroupParticipantsRequestPage.d.ts +23 -0
  62. package/dist/models/ListChatGroupParticipantsRequestPage.js +60 -0
  63. package/dist/models/ListChatGroupParticipantsRequestPage.js.map +1 -0
  64. package/dist/models/ListChatGroupParticipantsResponse.d.ts +19 -0
  65. package/dist/models/ListChatGroupParticipantsResponse.js +69 -0
  66. package/dist/models/ListChatGroupParticipantsResponse.js.map +1 -0
  67. package/dist/models/ListChatGroupParticipantsResponseBody.d.ts +36 -0
  68. package/dist/models/ListChatGroupParticipantsResponseBody.js +72 -0
  69. package/dist/models/ListChatGroupParticipantsResponseBody.js.map +1 -0
  70. package/dist/models/ListChatGroupParticipantsResponseBodyData.d.ts +20 -0
  71. package/dist/models/ListChatGroupParticipantsResponseBodyData.js +64 -0
  72. package/dist/models/ListChatGroupParticipantsResponseBodyData.js.map +1 -0
  73. package/dist/models/ListChatGroupParticipantsResponseBodyDataList.d.ts +18 -0
  74. package/dist/models/ListChatGroupParticipantsResponseBodyDataList.js +58 -0
  75. package/dist/models/ListChatGroupParticipantsResponseBodyDataList.js.map +1 -0
  76. package/dist/models/ListChatGroupParticipantsShrinkRequest.d.ts +46 -0
  77. package/dist/models/ListChatGroupParticipantsShrinkRequest.js +72 -0
  78. package/dist/models/ListChatGroupParticipantsShrinkRequest.js.map +1 -0
  79. package/dist/models/ListChatGroupRequest.d.ts +53 -0
  80. package/dist/models/ListChatGroupRequest.js +78 -0
  81. package/dist/models/ListChatGroupRequest.js.map +1 -0
  82. package/dist/models/ListChatGroupRequestPage.d.ts +29 -0
  83. package/dist/models/ListChatGroupRequestPage.js +60 -0
  84. package/dist/models/ListChatGroupRequestPage.js.map +1 -0
  85. package/dist/models/ListChatGroupResponse.d.ts +19 -0
  86. package/dist/models/ListChatGroupResponse.js +69 -0
  87. package/dist/models/ListChatGroupResponse.js.map +1 -0
  88. package/dist/models/ListChatGroupResponseBody.d.ts +36 -0
  89. package/dist/models/ListChatGroupResponseBody.js +72 -0
  90. package/dist/models/ListChatGroupResponseBody.js.map +1 -0
  91. package/dist/models/ListChatGroupResponseBodyData.d.ts +20 -0
  92. package/dist/models/ListChatGroupResponseBodyData.js +64 -0
  93. package/dist/models/ListChatGroupResponseBodyData.js.map +1 -0
  94. package/dist/models/ListChatGroupResponseBodyDataList.d.ts +48 -0
  95. package/dist/models/ListChatGroupResponseBodyDataList.js +70 -0
  96. package/dist/models/ListChatGroupResponseBodyDataList.js.map +1 -0
  97. package/dist/models/ListChatGroupShrinkRequest.d.ts +52 -0
  98. package/dist/models/ListChatGroupShrinkRequest.js +74 -0
  99. package/dist/models/ListChatGroupShrinkRequest.js.map +1 -0
  100. package/dist/models/SendChatappMessageRequest.d.ts +1 -0
  101. package/dist/models/SendChatappMessageRequest.js +2 -0
  102. package/dist/models/SendChatappMessageRequest.js.map +1 -1
  103. package/dist/models/SendChatappMessageShrinkRequest.d.ts +1 -0
  104. package/dist/models/SendChatappMessageShrinkRequest.js +2 -0
  105. package/dist/models/SendChatappMessageShrinkRequest.js.map +1 -1
  106. package/dist/models/UpdateChatGroupRequest.d.ts +60 -0
  107. package/dist/models/UpdateChatGroupRequest.js +76 -0
  108. package/dist/models/UpdateChatGroupRequest.js.map +1 -0
  109. package/dist/models/UpdateChatGroupResponse.d.ts +19 -0
  110. package/dist/models/UpdateChatGroupResponse.js +69 -0
  111. package/dist/models/UpdateChatGroupResponse.js.map +1 -0
  112. package/dist/models/UpdateChatGroupResponseBody.d.ts +39 -0
  113. package/dist/models/UpdateChatGroupResponseBody.js +68 -0
  114. package/dist/models/UpdateChatGroupResponseBody.js.map +1 -0
  115. package/dist/models/model.d.ts +34 -0
  116. package/dist/models/model.js +75 -6
  117. package/dist/models/model.js.map +1 -1
  118. package/package.json +1 -1
  119. package/src/client.ts +582 -0
  120. package/src/models/AddChatGroupInviteLinkRequest.ts +70 -0
  121. package/src/models/AddChatGroupInviteLinkResponse.ts +40 -0
  122. package/src/models/AddChatGroupInviteLinkResponseBody.ts +62 -0
  123. package/src/models/AddChatGroupRequest.ts +77 -0
  124. package/src/models/AddChatGroupResponse.ts +40 -0
  125. package/src/models/AddChatGroupResponseBody.ts +62 -0
  126. package/src/models/ChatappMigrationVerifiedRequest.ts +1 -1
  127. package/src/models/ChatappMigrationVerifiedResponseBody.ts +8 -1
  128. package/src/models/DeleteChatGroupInviteLinkRequest.ts +70 -0
  129. package/src/models/DeleteChatGroupInviteLinkResponse.ts +40 -0
  130. package/src/models/DeleteChatGroupInviteLinkResponseBody.ts +62 -0
  131. package/src/models/DeleteChatGroupParticipantsRequest.ts +77 -0
  132. package/src/models/DeleteChatGroupParticipantsRequestList.ts +31 -0
  133. package/src/models/DeleteChatGroupParticipantsResponse.ts +40 -0
  134. package/src/models/DeleteChatGroupParticipantsResponseBody.ts +62 -0
  135. package/src/models/DeleteChatGroupParticipantsShrinkRequest.ts +73 -0
  136. package/src/models/DeleteChatGroupRequest.ts +70 -0
  137. package/src/models/DeleteChatGroupResponse.ts +40 -0
  138. package/src/models/DeleteChatGroupResponseBody.ts +62 -0
  139. package/src/models/ListChatGroupParticipantsRequest.ts +77 -0
  140. package/src/models/ListChatGroupParticipantsRequestPage.ts +38 -0
  141. package/src/models/ListChatGroupParticipantsResponse.ts +40 -0
  142. package/src/models/ListChatGroupParticipantsResponseBody.ts +62 -0
  143. package/src/models/ListChatGroupParticipantsResponseBodyData.ts +38 -0
  144. package/src/models/ListChatGroupParticipantsResponseBodyDataList.ts +31 -0
  145. package/src/models/ListChatGroupParticipantsShrinkRequest.ts +73 -0
  146. package/src/models/ListChatGroupRequest.ts +85 -0
  147. package/src/models/ListChatGroupRequestPage.ts +44 -0
  148. package/src/models/ListChatGroupResponse.ts +40 -0
  149. package/src/models/ListChatGroupResponseBody.ts +62 -0
  150. package/src/models/ListChatGroupResponseBodyData.ts +38 -0
  151. package/src/models/ListChatGroupResponseBodyDataList.ts +73 -0
  152. package/src/models/ListChatGroupShrinkRequest.ts +81 -0
  153. package/src/models/SendChatappMessageRequest.ts +3 -0
  154. package/src/models/SendChatappMessageShrinkRequest.ts +3 -0
  155. package/src/models/UpdateChatGroupRequest.ts +91 -0
  156. package/src/models/UpdateChatGroupResponse.ts +40 -0
  157. package/src/models/UpdateChatGroupResponseBody.ts +62 -0
  158. package/src/models/model.ts +34 -0
@@ -0,0 +1,73 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DeleteChatGroupParticipantsShrinkRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * This parameter is required.
9
+ *
10
+ * @example
11
+ * 8613800**
12
+ */
13
+ businessNumber?: string;
14
+ /**
15
+ * @example
16
+ * WHATSAPP。
17
+ */
18
+ channelType?: string;
19
+ /**
20
+ * @remarks
21
+ * This parameter is required.
22
+ *
23
+ * @example
24
+ * cams-**
25
+ */
26
+ custSpaceId?: string;
27
+ /**
28
+ * @remarks
29
+ * This parameter is required.
30
+ *
31
+ * @example
32
+ * EA93UU****
33
+ */
34
+ groupId?: string;
35
+ listShrink?: string;
36
+ ownerId?: number;
37
+ resourceOwnerAccount?: string;
38
+ resourceOwnerId?: number;
39
+ static names(): { [key: string]: string } {
40
+ return {
41
+ businessNumber: 'BusinessNumber',
42
+ channelType: 'ChannelType',
43
+ custSpaceId: 'CustSpaceId',
44
+ groupId: 'GroupId',
45
+ listShrink: 'List',
46
+ ownerId: 'OwnerId',
47
+ resourceOwnerAccount: 'ResourceOwnerAccount',
48
+ resourceOwnerId: 'ResourceOwnerId',
49
+ };
50
+ }
51
+
52
+ static types(): { [key: string]: any } {
53
+ return {
54
+ businessNumber: 'string',
55
+ channelType: 'string',
56
+ custSpaceId: 'string',
57
+ groupId: 'string',
58
+ listShrink: 'string',
59
+ ownerId: 'number',
60
+ resourceOwnerAccount: 'string',
61
+ resourceOwnerId: 'number',
62
+ };
63
+ }
64
+
65
+ validate() {
66
+ super.validate();
67
+ }
68
+
69
+ constructor(map?: { [key: string]: any }) {
70
+ super(map);
71
+ }
72
+ }
73
+
@@ -0,0 +1,70 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DeleteChatGroupRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * This parameter is required.
9
+ *
10
+ * @example
11
+ * 8613800***
12
+ */
13
+ businessNumber?: string;
14
+ /**
15
+ * @example
16
+ * WHATSAPP
17
+ */
18
+ channelType?: string;
19
+ /**
20
+ * @remarks
21
+ * This parameter is required.
22
+ *
23
+ * @example
24
+ * cams-**
25
+ */
26
+ custSpaceId?: string;
27
+ /**
28
+ * @remarks
29
+ * This parameter is required.
30
+ *
31
+ * @example
32
+ * E399**
33
+ */
34
+ groupId?: string;
35
+ ownerId?: number;
36
+ resourceOwnerAccount?: string;
37
+ resourceOwnerId?: number;
38
+ static names(): { [key: string]: string } {
39
+ return {
40
+ businessNumber: 'BusinessNumber',
41
+ channelType: 'ChannelType',
42
+ custSpaceId: 'CustSpaceId',
43
+ groupId: 'GroupId',
44
+ ownerId: 'OwnerId',
45
+ resourceOwnerAccount: 'ResourceOwnerAccount',
46
+ resourceOwnerId: 'ResourceOwnerId',
47
+ };
48
+ }
49
+
50
+ static types(): { [key: string]: any } {
51
+ return {
52
+ businessNumber: 'string',
53
+ channelType: 'string',
54
+ custSpaceId: 'string',
55
+ groupId: 'string',
56
+ ownerId: 'number',
57
+ resourceOwnerAccount: 'string',
58
+ resourceOwnerId: 'number',
59
+ };
60
+ }
61
+
62
+ validate() {
63
+ super.validate();
64
+ }
65
+
66
+ constructor(map?: { [key: string]: any }) {
67
+ super(map);
68
+ }
69
+ }
70
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { DeleteChatGroupResponseBody } from "./DeleteChatGroupResponseBody";
4
+
5
+
6
+ export class DeleteChatGroupResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: DeleteChatGroupResponseBody;
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: DeleteChatGroupResponseBody,
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,62 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DeleteChatGroupResponseBody extends $dara.Model {
6
+ accessDeniedDetail?: string;
7
+ /**
8
+ * @example
9
+ * OK
10
+ */
11
+ code?: string;
12
+ /**
13
+ * @example
14
+ * 示例值示例值示例值
15
+ */
16
+ message?: string;
17
+ /**
18
+ * @example
19
+ * E939E****
20
+ */
21
+ requestId?: string;
22
+ /**
23
+ * @example
24
+ * 1
25
+ */
26
+ result?: number;
27
+ /**
28
+ * @example
29
+ * true
30
+ */
31
+ success?: boolean;
32
+ static names(): { [key: string]: string } {
33
+ return {
34
+ accessDeniedDetail: 'AccessDeniedDetail',
35
+ code: 'Code',
36
+ message: 'Message',
37
+ requestId: 'RequestId',
38
+ result: 'Result',
39
+ success: 'Success',
40
+ };
41
+ }
42
+
43
+ static types(): { [key: string]: any } {
44
+ return {
45
+ accessDeniedDetail: 'string',
46
+ code: 'string',
47
+ message: 'string',
48
+ requestId: 'string',
49
+ result: 'number',
50
+ success: 'boolean',
51
+ };
52
+ }
53
+
54
+ validate() {
55
+ super.validate();
56
+ }
57
+
58
+ constructor(map?: { [key: string]: any }) {
59
+ super(map);
60
+ }
61
+ }
62
+
@@ -0,0 +1,77 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { ListChatGroupParticipantsRequestPage } from "./ListChatGroupParticipantsRequestPage";
4
+
5
+
6
+ export class ListChatGroupParticipantsRequest extends $dara.Model {
7
+ /**
8
+ * @remarks
9
+ * This parameter is required.
10
+ *
11
+ * @example
12
+ * 8613800***
13
+ */
14
+ businessNumber?: string;
15
+ /**
16
+ * @example
17
+ * WHATSAPP
18
+ */
19
+ channelType?: string;
20
+ /**
21
+ * @remarks
22
+ * This parameter is required.
23
+ *
24
+ * @example
25
+ * cams-k***
26
+ */
27
+ custSpaceId?: string;
28
+ /**
29
+ * @remarks
30
+ * This parameter is required.
31
+ *
32
+ * @example
33
+ * EA939****
34
+ */
35
+ groupId?: string;
36
+ ownerId?: number;
37
+ page?: ListChatGroupParticipantsRequestPage;
38
+ resourceOwnerAccount?: string;
39
+ resourceOwnerId?: number;
40
+ static names(): { [key: string]: string } {
41
+ return {
42
+ businessNumber: 'BusinessNumber',
43
+ channelType: 'ChannelType',
44
+ custSpaceId: 'CustSpaceId',
45
+ groupId: 'GroupId',
46
+ ownerId: 'OwnerId',
47
+ page: 'Page',
48
+ resourceOwnerAccount: 'ResourceOwnerAccount',
49
+ resourceOwnerId: 'ResourceOwnerId',
50
+ };
51
+ }
52
+
53
+ static types(): { [key: string]: any } {
54
+ return {
55
+ businessNumber: 'string',
56
+ channelType: 'string',
57
+ custSpaceId: 'string',
58
+ groupId: 'string',
59
+ ownerId: 'number',
60
+ page: ListChatGroupParticipantsRequestPage,
61
+ resourceOwnerAccount: 'string',
62
+ resourceOwnerId: 'number',
63
+ };
64
+ }
65
+
66
+ validate() {
67
+ if(this.page && typeof (this.page as any).validate === 'function') {
68
+ (this.page as any).validate();
69
+ }
70
+ super.validate();
71
+ }
72
+
73
+ constructor(map?: { [key: string]: any }) {
74
+ super(map);
75
+ }
76
+ }
77
+
@@ -0,0 +1,38 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListChatGroupParticipantsRequestPage extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * 1
9
+ */
10
+ index?: number;
11
+ /**
12
+ * @example
13
+ * 20
14
+ */
15
+ size?: number;
16
+ static names(): { [key: string]: string } {
17
+ return {
18
+ index: 'Index',
19
+ size: 'Size',
20
+ };
21
+ }
22
+
23
+ static types(): { [key: string]: any } {
24
+ return {
25
+ index: 'number',
26
+ size: 'number',
27
+ };
28
+ }
29
+
30
+ validate() {
31
+ super.validate();
32
+ }
33
+
34
+ constructor(map?: { [key: string]: any }) {
35
+ super(map);
36
+ }
37
+ }
38
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { ListChatGroupParticipantsResponseBody } from "./ListChatGroupParticipantsResponseBody";
4
+
5
+
6
+ export class ListChatGroupParticipantsResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: ListChatGroupParticipantsResponseBody;
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: ListChatGroupParticipantsResponseBody,
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,62 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { ListChatGroupParticipantsResponseBodyData } from "./ListChatGroupParticipantsResponseBodyData";
4
+
5
+
6
+ export class ListChatGroupParticipantsResponseBody extends $dara.Model {
7
+ accessDeniedDetail?: string;
8
+ /**
9
+ * @example
10
+ * OK
11
+ */
12
+ code?: string;
13
+ data?: ListChatGroupParticipantsResponseBodyData;
14
+ /**
15
+ * @example
16
+ * 示例值
17
+ */
18
+ message?: string;
19
+ /**
20
+ * @example
21
+ * E9d9****
22
+ */
23
+ requestId?: string;
24
+ /**
25
+ * @example
26
+ * true
27
+ */
28
+ success?: boolean;
29
+ static names(): { [key: string]: string } {
30
+ return {
31
+ accessDeniedDetail: 'AccessDeniedDetail',
32
+ code: 'Code',
33
+ data: 'Data',
34
+ message: 'Message',
35
+ requestId: 'RequestId',
36
+ success: 'Success',
37
+ };
38
+ }
39
+
40
+ static types(): { [key: string]: any } {
41
+ return {
42
+ accessDeniedDetail: 'string',
43
+ code: 'string',
44
+ data: ListChatGroupParticipantsResponseBodyData,
45
+ message: 'string',
46
+ requestId: 'string',
47
+ success: 'boolean',
48
+ };
49
+ }
50
+
51
+ validate() {
52
+ if(this.data && typeof (this.data as any).validate === 'function') {
53
+ (this.data as any).validate();
54
+ }
55
+ super.validate();
56
+ }
57
+
58
+ constructor(map?: { [key: string]: any }) {
59
+ super(map);
60
+ }
61
+ }
62
+
@@ -0,0 +1,38 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { ListChatGroupParticipantsResponseBodyDataList } from "./ListChatGroupParticipantsResponseBodyDataList";
4
+
5
+
6
+ export class ListChatGroupParticipantsResponseBodyData extends $dara.Model {
7
+ list?: ListChatGroupParticipantsResponseBodyDataList[];
8
+ /**
9
+ * @example
10
+ * 8
11
+ */
12
+ total?: number;
13
+ static names(): { [key: string]: string } {
14
+ return {
15
+ list: 'List',
16
+ total: 'Total',
17
+ };
18
+ }
19
+
20
+ static types(): { [key: string]: any } {
21
+ return {
22
+ list: { 'type': 'array', 'itemType': ListChatGroupParticipantsResponseBodyDataList },
23
+ total: 'number',
24
+ };
25
+ }
26
+
27
+ validate() {
28
+ if(Array.isArray(this.list)) {
29
+ $dara.Model.validateArray(this.list);
30
+ }
31
+ super.validate();
32
+ }
33
+
34
+ constructor(map?: { [key: string]: any }) {
35
+ super(map);
36
+ }
37
+ }
38
+
@@ -0,0 +1,31 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListChatGroupParticipantsResponseBodyDataList extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * 861382***
9
+ */
10
+ participantNumber?: string;
11
+ static names(): { [key: string]: string } {
12
+ return {
13
+ participantNumber: 'ParticipantNumber',
14
+ };
15
+ }
16
+
17
+ static types(): { [key: string]: any } {
18
+ return {
19
+ participantNumber: 'string',
20
+ };
21
+ }
22
+
23
+ validate() {
24
+ super.validate();
25
+ }
26
+
27
+ constructor(map?: { [key: string]: any }) {
28
+ super(map);
29
+ }
30
+ }
31
+
@@ -0,0 +1,73 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListChatGroupParticipantsShrinkRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * This parameter is required.
9
+ *
10
+ * @example
11
+ * 8613800***
12
+ */
13
+ businessNumber?: string;
14
+ /**
15
+ * @example
16
+ * WHATSAPP
17
+ */
18
+ channelType?: string;
19
+ /**
20
+ * @remarks
21
+ * This parameter is required.
22
+ *
23
+ * @example
24
+ * cams-k***
25
+ */
26
+ custSpaceId?: string;
27
+ /**
28
+ * @remarks
29
+ * This parameter is required.
30
+ *
31
+ * @example
32
+ * EA939****
33
+ */
34
+ groupId?: string;
35
+ ownerId?: number;
36
+ pageShrink?: string;
37
+ resourceOwnerAccount?: string;
38
+ resourceOwnerId?: number;
39
+ static names(): { [key: string]: string } {
40
+ return {
41
+ businessNumber: 'BusinessNumber',
42
+ channelType: 'ChannelType',
43
+ custSpaceId: 'CustSpaceId',
44
+ groupId: 'GroupId',
45
+ ownerId: 'OwnerId',
46
+ pageShrink: 'Page',
47
+ resourceOwnerAccount: 'ResourceOwnerAccount',
48
+ resourceOwnerId: 'ResourceOwnerId',
49
+ };
50
+ }
51
+
52
+ static types(): { [key: string]: any } {
53
+ return {
54
+ businessNumber: 'string',
55
+ channelType: 'string',
56
+ custSpaceId: 'string',
57
+ groupId: 'string',
58
+ ownerId: 'number',
59
+ pageShrink: 'string',
60
+ resourceOwnerAccount: 'string',
61
+ resourceOwnerId: 'number',
62
+ };
63
+ }
64
+
65
+ validate() {
66
+ super.validate();
67
+ }
68
+
69
+ constructor(map?: { [key: string]: any }) {
70
+ super(map);
71
+ }
72
+ }
73
+
@@ -0,0 +1,85 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { ListChatGroupRequestPage } from "./ListChatGroupRequestPage";
4
+
5
+
6
+ export class ListChatGroupRequest extends $dara.Model {
7
+ /**
8
+ * @remarks
9
+ * This parameter is required.
10
+ *
11
+ * @example
12
+ * 8613800***
13
+ */
14
+ businessNumber?: string;
15
+ /**
16
+ * @example
17
+ * WHATSAPP
18
+ */
19
+ channelType?: string;
20
+ /**
21
+ * @remarks
22
+ * This parameter is required.
23
+ *
24
+ * @example
25
+ * cams-x***
26
+ */
27
+ custSpaceId?: string;
28
+ /**
29
+ * @example
30
+ * ACTIVE
31
+ */
32
+ groupStatus?: string;
33
+ ownerId?: number;
34
+ /**
35
+ * @remarks
36
+ * This parameter is required.
37
+ */
38
+ page?: ListChatGroupRequestPage;
39
+ resourceOwnerAccount?: string;
40
+ resourceOwnerId?: number;
41
+ /**
42
+ * @example
43
+ * test
44
+ */
45
+ subject?: string;
46
+ static names(): { [key: string]: string } {
47
+ return {
48
+ businessNumber: 'BusinessNumber',
49
+ channelType: 'ChannelType',
50
+ custSpaceId: 'CustSpaceId',
51
+ groupStatus: 'GroupStatus',
52
+ ownerId: 'OwnerId',
53
+ page: 'Page',
54
+ resourceOwnerAccount: 'ResourceOwnerAccount',
55
+ resourceOwnerId: 'ResourceOwnerId',
56
+ subject: 'Subject',
57
+ };
58
+ }
59
+
60
+ static types(): { [key: string]: any } {
61
+ return {
62
+ businessNumber: 'string',
63
+ channelType: 'string',
64
+ custSpaceId: 'string',
65
+ groupStatus: 'string',
66
+ ownerId: 'number',
67
+ page: ListChatGroupRequestPage,
68
+ resourceOwnerAccount: 'string',
69
+ resourceOwnerId: 'number',
70
+ subject: 'string',
71
+ };
72
+ }
73
+
74
+ validate() {
75
+ if(this.page && typeof (this.page as any).validate === 'function') {
76
+ (this.page as any).validate();
77
+ }
78
+ super.validate();
79
+ }
80
+
81
+ constructor(map?: { [key: string]: any }) {
82
+ super(map);
83
+ }
84
+ }
85
+