@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,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { AddChatGroupInviteLinkResponseBody } from "./AddChatGroupInviteLinkResponseBody";
4
+
5
+
6
+ export class AddChatGroupInviteLinkResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: AddChatGroupInviteLinkResponseBody;
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: AddChatGroupInviteLinkResponseBody,
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 AddChatGroupInviteLinkResponseBody extends $dara.Model {
6
+ accessDeniedDetail?: string;
7
+ /**
8
+ * @example
9
+ * OK
10
+ */
11
+ code?: string;
12
+ /**
13
+ * @example
14
+ * https://chat.whatsapp.com/****
15
+ */
16
+ inviteLink?: string;
17
+ /**
18
+ * @example
19
+ * None
20
+ */
21
+ message?: string;
22
+ /**
23
+ * @example
24
+ * 3EIK939***
25
+ */
26
+ requestId?: string;
27
+ /**
28
+ * @example
29
+ * false
30
+ */
31
+ success?: boolean;
32
+ static names(): { [key: string]: string } {
33
+ return {
34
+ accessDeniedDetail: 'AccessDeniedDetail',
35
+ code: 'Code',
36
+ inviteLink: 'InviteLink',
37
+ message: 'Message',
38
+ requestId: 'RequestId',
39
+ success: 'Success',
40
+ };
41
+ }
42
+
43
+ static types(): { [key: string]: any } {
44
+ return {
45
+ accessDeniedDetail: 'string',
46
+ code: 'string',
47
+ inviteLink: 'string',
48
+ message: 'string',
49
+ requestId: 'string',
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
+
4
+
5
+ export class AddChatGroupRequest 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
+ * @example
29
+ * 示例值示例值
30
+ */
31
+ description?: string;
32
+ ownerId?: number;
33
+ resourceOwnerAccount?: string;
34
+ resourceOwnerId?: number;
35
+ /**
36
+ * @remarks
37
+ * This parameter is required.
38
+ *
39
+ * @example
40
+ * 示例值示例值
41
+ */
42
+ subject?: string;
43
+ static names(): { [key: string]: string } {
44
+ return {
45
+ businessNumber: 'BusinessNumber',
46
+ channelType: 'ChannelType',
47
+ custSpaceId: 'CustSpaceId',
48
+ description: 'Description',
49
+ ownerId: 'OwnerId',
50
+ resourceOwnerAccount: 'ResourceOwnerAccount',
51
+ resourceOwnerId: 'ResourceOwnerId',
52
+ subject: 'Subject',
53
+ };
54
+ }
55
+
56
+ static types(): { [key: string]: any } {
57
+ return {
58
+ businessNumber: 'string',
59
+ channelType: 'string',
60
+ custSpaceId: 'string',
61
+ description: 'string',
62
+ ownerId: 'number',
63
+ resourceOwnerAccount: 'string',
64
+ resourceOwnerId: 'number',
65
+ subject: 'string',
66
+ };
67
+ }
68
+
69
+ validate() {
70
+ super.validate();
71
+ }
72
+
73
+ constructor(map?: { [key: string]: any }) {
74
+ super(map);
75
+ }
76
+ }
77
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { AddChatGroupResponseBody } from "./AddChatGroupResponseBody";
4
+
5
+
6
+ export class AddChatGroupResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: AddChatGroupResponseBody;
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: AddChatGroupResponseBody,
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 AddChatGroupResponseBody extends $dara.Model {
6
+ accessDeniedDetail?: string;
7
+ /**
8
+ * @example
9
+ * OK
10
+ */
11
+ code?: string;
12
+ /**
13
+ * @example
14
+ * None
15
+ */
16
+ message?: string;
17
+ /**
18
+ * @example
19
+ * 399s88-***
20
+ */
21
+ requestId?: string;
22
+ /**
23
+ * @example
24
+ * false
25
+ */
26
+ success?: boolean;
27
+ /**
28
+ * @example
29
+ * 8938****
30
+ */
31
+ uniqueCode?: string;
32
+ static names(): { [key: string]: string } {
33
+ return {
34
+ accessDeniedDetail: 'AccessDeniedDetail',
35
+ code: 'Code',
36
+ message: 'Message',
37
+ requestId: 'RequestId',
38
+ success: 'Success',
39
+ uniqueCode: 'UniqueCode',
40
+ };
41
+ }
42
+
43
+ static types(): { [key: string]: any } {
44
+ return {
45
+ accessDeniedDetail: 'string',
46
+ code: 'string',
47
+ message: 'string',
48
+ requestId: 'string',
49
+ success: 'boolean',
50
+ uniqueCode: 'string',
51
+ };
52
+ }
53
+
54
+ validate() {
55
+ super.validate();
56
+ }
57
+
58
+ constructor(map?: { [key: string]: any }) {
59
+ super(map);
60
+ }
61
+ }
62
+
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class ChatappMigrationVerifiedRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The space ID of the user under the independent software vendor (ISV) account.
8
+ * The space ID of the RAM user within the independent software vendor (ISV) account.
9
9
  *
10
10
  * This parameter is required.
11
11
  *
@@ -4,6 +4,13 @@ import { ChatappMigrationVerifiedResponseBodyData } from "./ChatappMigrationVeri
4
4
 
5
5
 
6
6
  export class ChatappMigrationVerifiedResponseBody extends $dara.Model {
7
+ /**
8
+ * @remarks
9
+ * The details about the access denial.
10
+ *
11
+ * @example
12
+ * None
13
+ */
7
14
  accessDeniedDetail?: string;
8
15
  /**
9
16
  * @remarks
@@ -18,7 +25,7 @@ export class ChatappMigrationVerifiedResponseBody extends $dara.Model {
18
25
  code?: string;
19
26
  /**
20
27
  * @remarks
21
- * The data returned.
28
+ * The returned data.
22
29
  */
23
30
  data?: ChatappMigrationVerifiedResponseBodyData;
24
31
  /**
@@ -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 DeleteChatGroupInviteLinkRequest 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-8***
25
+ */
26
+ custSpaceId?: string;
27
+ /**
28
+ * @remarks
29
+ * This parameter is required.
30
+ *
31
+ * @example
32
+ * E398****
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 { DeleteChatGroupInviteLinkResponseBody } from "./DeleteChatGroupInviteLinkResponseBody";
4
+
5
+
6
+ export class DeleteChatGroupInviteLinkResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: DeleteChatGroupInviteLinkResponseBody;
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: DeleteChatGroupInviteLinkResponseBody,
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 DeleteChatGroupInviteLinkResponseBody 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
+ * 3R938***
20
+ */
21
+ requestId?: string;
22
+ /**
23
+ * @example
24
+ * 0
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 { DeleteChatGroupParticipantsRequestList } from "./DeleteChatGroupParticipantsRequestList";
4
+
5
+
6
+ export class DeleteChatGroupParticipantsRequest 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-**
26
+ */
27
+ custSpaceId?: string;
28
+ /**
29
+ * @remarks
30
+ * This parameter is required.
31
+ *
32
+ * @example
33
+ * EA93UU****
34
+ */
35
+ groupId?: string;
36
+ list?: DeleteChatGroupParticipantsRequestList[];
37
+ ownerId?: number;
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
+ list: 'List',
47
+ ownerId: 'OwnerId',
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
+ list: { 'type': 'array', 'itemType': DeleteChatGroupParticipantsRequestList },
60
+ ownerId: 'number',
61
+ resourceOwnerAccount: 'string',
62
+ resourceOwnerId: 'number',
63
+ };
64
+ }
65
+
66
+ validate() {
67
+ if(Array.isArray(this.list)) {
68
+ $dara.Model.validateArray(this.list);
69
+ }
70
+ super.validate();
71
+ }
72
+
73
+ constructor(map?: { [key: string]: any }) {
74
+ super(map);
75
+ }
76
+ }
77
+
@@ -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 DeleteChatGroupParticipantsRequestList extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * 86138***
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,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { DeleteChatGroupParticipantsResponseBody } from "./DeleteChatGroupParticipantsResponseBody";
4
+
5
+
6
+ export class DeleteChatGroupParticipantsResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: DeleteChatGroupParticipantsResponseBody;
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: DeleteChatGroupParticipantsResponseBody,
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 DeleteChatGroupParticipantsResponseBody 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
+ * R39***
20
+ */
21
+ requestId?: string;
22
+ /**
23
+ * @example
24
+ * 20
25
+ */
26
+ result?: number;
27
+ /**
28
+ * @example
29
+ * false
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
+