@satorijs/adapter-lark 3.8.6 → 3.9.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 (127) hide show
  1. package/lib/bot.d.ts +1 -1
  2. package/lib/content.d.ts +433 -0
  3. package/lib/http.d.ts +1 -1
  4. package/lib/index.cjs +2787 -1714
  5. package/lib/index.cjs.map +6 -0
  6. package/lib/index.d.ts +4 -2
  7. package/lib/internal.d.ts +38 -0
  8. package/lib/message.d.ts +2 -0
  9. package/lib/types/acs.d.ts +177 -0
  10. package/lib/types/admin.d.ts +270 -0
  11. package/lib/types/aily.d.ts +221 -0
  12. package/lib/types/apaas.d.ts +499 -0
  13. package/lib/types/api.d.ts +1 -14
  14. package/lib/types/application.d.ts +406 -0
  15. package/lib/types/approval.d.ts +779 -0
  16. package/lib/types/attendance.d.ts +957 -0
  17. package/lib/types/auth.d.ts +86 -0
  18. package/lib/types/authen.d.ts +191 -0
  19. package/lib/types/baike.d.ts +239 -0
  20. package/lib/types/bitable.d.ts +691 -0
  21. package/lib/types/board.d.ts +19 -0
  22. package/lib/types/calendar.d.ts +653 -0
  23. package/lib/types/cardkit.d.ts +139 -0
  24. package/lib/types/compensation.d.ts +54 -0
  25. package/lib/types/contact.d.ts +1137 -0
  26. package/lib/types/corehr.d.ts +4383 -0
  27. package/lib/types/docs.d.ts +23 -0
  28. package/lib/types/document_ai.d.ts +257 -0
  29. package/lib/types/docx.d.ts +380 -0
  30. package/lib/types/drive.d.ts +1045 -0
  31. package/lib/types/ehr.d.ts +32 -0
  32. package/lib/types/event.d.ts +9 -18
  33. package/lib/types/guild.d.ts +59 -0
  34. package/lib/types/helpdesk.d.ts +738 -0
  35. package/lib/types/hire.d.ts +3150 -0
  36. package/lib/types/human_authentication.d.ts +27 -0
  37. package/lib/types/im.d.ts +1300 -0
  38. package/lib/types/index.d.ts +16432 -34
  39. package/lib/types/lingo.d.ts +254 -0
  40. package/lib/types/mail.d.ts +680 -0
  41. package/lib/types/mdm.d.ts +42 -0
  42. package/lib/types/message/asset.d.ts +40 -0
  43. package/lib/types/minutes.d.ts +31 -0
  44. package/lib/types/moments.d.ts +18 -0
  45. package/lib/types/okr.d.ts +205 -0
  46. package/lib/types/optical_char_recognition.d.ts +17 -0
  47. package/lib/types/passport.d.ts +45 -0
  48. package/lib/types/payroll.d.ts +50 -0
  49. package/lib/types/performance.d.ts +413 -0
  50. package/lib/types/personal_settings.d.ts +87 -0
  51. package/lib/types/report.d.ts +57 -0
  52. package/lib/types/search.d.ts +216 -0
  53. package/lib/types/security_and_compliance.d.ts +24 -0
  54. package/lib/types/sheets.d.ts +326 -0
  55. package/lib/types/speech_to_text.d.ts +39 -0
  56. package/lib/types/task.d.ts +1153 -0
  57. package/lib/types/tenant.d.ts +23 -0
  58. package/lib/types/translation.d.ts +37 -0
  59. package/lib/types/user.d.ts +78 -0
  60. package/lib/types/utils.d.ts +9 -0
  61. package/lib/types/vc.d.ts +948 -0
  62. package/lib/types/verification.d.ts +14 -0
  63. package/lib/types/wiki.d.ts +240 -0
  64. package/lib/types/workplace.d.ts +43 -0
  65. package/lib/utils.d.ts +143 -7
  66. package/package.json +6 -4
  67. package/src/bot.ts +19 -3
  68. package/src/{types/message/content.ts → content.ts} +1 -0
  69. package/src/http.ts +1 -3
  70. package/src/index.ts +4 -2
  71. package/src/internal.ts +144 -0
  72. package/src/message.ts +13 -11
  73. package/src/types/acs.ts +236 -0
  74. package/src/types/admin.ts +328 -0
  75. package/src/types/aily.ts +288 -0
  76. package/src/types/apaas.ts +646 -0
  77. package/src/types/application.ts +520 -0
  78. package/src/types/approval.ts +924 -0
  79. package/src/types/attendance.ts +1153 -0
  80. package/src/types/auth.ts +114 -0
  81. package/src/types/authen.ts +220 -0
  82. package/src/types/baike.ts +306 -0
  83. package/src/types/bitable.ts +879 -0
  84. package/src/types/board.ts +31 -0
  85. package/src/types/calendar.ts +817 -0
  86. package/src/types/cardkit.ts +182 -0
  87. package/src/types/compensation.ts +79 -0
  88. package/src/types/contact.ts +1411 -0
  89. package/src/types/corehr.ts +5288 -0
  90. package/src/types/docs.ts +33 -0
  91. package/src/types/document_ai.ts +352 -0
  92. package/src/types/docx.ts +471 -0
  93. package/src/types/drive.ts +1312 -0
  94. package/src/types/ehr.ts +43 -0
  95. package/src/types/event.ts +15 -21
  96. package/src/types/helpdesk.ts +916 -0
  97. package/src/types/hire.ts +3918 -0
  98. package/src/types/human_authentication.ts +38 -0
  99. package/src/types/im.ts +1605 -0
  100. package/src/types/index.ts +17754 -39
  101. package/src/types/lingo.ts +321 -0
  102. package/src/types/mail.ts +851 -0
  103. package/src/types/mdm.ts +57 -0
  104. package/src/types/minutes.ts +46 -0
  105. package/src/types/moments.ts +28 -0
  106. package/src/types/okr.ts +261 -0
  107. package/src/types/optical_char_recognition.ts +27 -0
  108. package/src/types/passport.ts +61 -0
  109. package/src/types/payroll.ts +69 -0
  110. package/src/types/performance.ts +524 -0
  111. package/src/types/personal_settings.ts +116 -0
  112. package/src/types/report.ts +77 -0
  113. package/src/types/search.ts +268 -0
  114. package/src/types/security_and_compliance.ts +33 -0
  115. package/src/types/sheets.ts +425 -0
  116. package/src/types/speech_to_text.ts +54 -0
  117. package/src/types/task.ts +1464 -0
  118. package/src/types/tenant.ts +36 -0
  119. package/src/types/translation.ts +52 -0
  120. package/src/types/vc.ts +1197 -0
  121. package/src/types/verification.ts +23 -0
  122. package/src/types/wiki.ts +313 -0
  123. package/src/types/workplace.ts +59 -0
  124. package/src/utils.ts +160 -8
  125. package/src/types/api.ts +0 -30848
  126. package/src/types/internal.ts +0 -84
  127. package/src/types/message/index.ts +0 -97
@@ -0,0 +1,851 @@
1
+ import { Attachment, EmailAlias, MailAddress, Mailgroup, MailgroupManager, MailgroupMember, MailgroupPermissionMember, PublicMailbox, PublicMailboxMember, User } from '.'
2
+ import { Internal, Pagination } from '../internal'
3
+
4
+ declare module '../internal' {
5
+ interface Internal {
6
+ /**
7
+ * 发送邮件
8
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/mail-v1/user_mailbox-message/send
9
+ */
10
+ sendMailUserMailboxMessage(user_mailbox_id: string, body: SendMailUserMailboxMessageRequest): Promise<void>
11
+ /**
12
+ * 创建邮件组
13
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/mail-v1/mailgroup/create
14
+ */
15
+ createMailMailgroup(body: CreateMailMailgroupRequest): Promise<CreateMailMailgroupResponse>
16
+ /**
17
+ * 删除邮件组
18
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/mail-v1/mailgroup/delete
19
+ */
20
+ deleteMailMailgroup(mailgroup_id: string): Promise<void>
21
+ /**
22
+ * 修改邮件组部分信息
23
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/mail-v1/mailgroup/patch
24
+ */
25
+ patchMailMailgroup(mailgroup_id: string, body: PatchMailMailgroupRequest): Promise<PatchMailMailgroupResponse>
26
+ /**
27
+ * 修改邮件组全部信息
28
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/mail-v1/mailgroup/update
29
+ */
30
+ updateMailMailgroup(mailgroup_id: string, body: UpdateMailMailgroupRequest): Promise<UpdateMailMailgroupResponse>
31
+ /**
32
+ * 查询指定邮件组
33
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/mail-v1/mailgroup/get
34
+ */
35
+ getMailMailgroup(mailgroup_id: string): Promise<GetMailMailgroupResponse>
36
+ /**
37
+ * 批量获取邮件组
38
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/mail-v1/mailgroup/list
39
+ */
40
+ listMailMailgroup(query?: ListMailMailgroupQuery): Paginated<Mailgroup>
41
+ /**
42
+ * 批量创建邮件组管理员
43
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/mail-v1/mailgroup-manager/batch_create
44
+ */
45
+ batchCreateMailMailgroupManager(mailgroup_id: string, body: BatchCreateMailMailgroupManagerRequest, query?: BatchCreateMailMailgroupManagerQuery): Promise<void>
46
+ /**
47
+ * 批量删除邮件组管理员
48
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/mail-v1/mailgroup-manager/batch_delete
49
+ */
50
+ batchDeleteMailMailgroupManager(mailgroup_id: string, body: BatchDeleteMailMailgroupManagerRequest, query?: BatchDeleteMailMailgroupManagerQuery): Promise<void>
51
+ /**
52
+ * 批量获取邮件组管理员
53
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/mail-v1/mailgroup-manager/list
54
+ */
55
+ listMailMailgroupManager(mailgroup_id: string, query?: ListMailMailgroupManagerQuery): Paginated<MailgroupManager>
56
+ /**
57
+ * 创建邮件组成员
58
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/mail-v1/mailgroup-member/create
59
+ */
60
+ createMailMailgroupMember(mailgroup_id: string, body: CreateMailMailgroupMemberRequest, query?: CreateMailMailgroupMemberQuery): Promise<CreateMailMailgroupMemberResponse>
61
+ /**
62
+ * 删除邮件组成员
63
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/mail-v1/mailgroup-member/delete
64
+ */
65
+ deleteMailMailgroupMember(mailgroup_id: string, member_id: string): Promise<void>
66
+ /**
67
+ * 查询指定邮件组成员
68
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/mail-v1/mailgroup-member/get
69
+ */
70
+ getMailMailgroupMember(mailgroup_id: string, member_id: string, query?: GetMailMailgroupMemberQuery): Promise<GetMailMailgroupMemberResponse>
71
+ /**
72
+ * 获取所有邮件组成员
73
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/mail-v1/mailgroup-member/list
74
+ */
75
+ listMailMailgroupMember(mailgroup_id: string, query?: ListMailMailgroupMemberQuery): Paginated<MailgroupMember>
76
+ /**
77
+ * 批量创建邮件组成员
78
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/mail-v1/mailgroup-member/batch_create
79
+ */
80
+ batchCreateMailMailgroupMember(mailgroup_id: string, body: BatchCreateMailMailgroupMemberRequest, query?: BatchCreateMailMailgroupMemberQuery): Promise<BatchCreateMailMailgroupMemberResponse>
81
+ /**
82
+ * 批量删除邮件组成员
83
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/mail-v1/mailgroup-member/batch_delete
84
+ */
85
+ batchDeleteMailMailgroupMember(mailgroup_id: string, body: BatchDeleteMailMailgroupMemberRequest): Promise<void>
86
+ /**
87
+ * 创建邮件组别名
88
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/mail-v1/mailgroup-alias/create
89
+ */
90
+ createMailMailgroupAlias(mailgroup_id: string, body: CreateMailMailgroupAliasRequest): Promise<CreateMailMailgroupAliasResponse>
91
+ /**
92
+ * 删除邮件组别名
93
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/mail-v1/mailgroup-alias/delete
94
+ */
95
+ deleteMailMailgroupAlias(mailgroup_id: string, alias_id: string): Promise<void>
96
+ /**
97
+ * 获取邮件组所有别名
98
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/mail-v1/mailgroup-alias/list
99
+ */
100
+ listMailMailgroupAlias(mailgroup_id: string): Promise<ListMailMailgroupAliasResponse>
101
+ /**
102
+ * 创建邮件组权限成员
103
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/mail-v1/mailgroup-permission_member/create
104
+ */
105
+ createMailMailgroupPermissionMember(mailgroup_id: string, body: CreateMailMailgroupPermissionMemberRequest, query?: CreateMailMailgroupPermissionMemberQuery): Promise<CreateMailMailgroupPermissionMemberResponse>
106
+ /**
107
+ * 删除邮件组权限成员
108
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/mail-v1/mailgroup-permission_member/delete
109
+ */
110
+ deleteMailMailgroupPermissionMember(mailgroup_id: string, permission_member_id: string): Promise<void>
111
+ /**
112
+ * 获取邮件组权限成员
113
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/mail-v1/mailgroup-permission_member/get
114
+ */
115
+ getMailMailgroupPermissionMember(mailgroup_id: string, permission_member_id: string, query?: GetMailMailgroupPermissionMemberQuery): Promise<GetMailMailgroupPermissionMemberResponse>
116
+ /**
117
+ * 批量获取邮件组权限成员
118
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/mail-v1/mailgroup-permission_member/list
119
+ */
120
+ listMailMailgroupPermissionMember(mailgroup_id: string, query?: ListMailMailgroupPermissionMemberQuery): Paginated<MailgroupPermissionMember>
121
+ /**
122
+ * 批量创建邮件组权限成员
123
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/mail-v1/mailgroup-permission_member/batch_create
124
+ */
125
+ batchCreateMailMailgroupPermissionMember(mailgroup_id: string, body: BatchCreateMailMailgroupPermissionMemberRequest, query?: BatchCreateMailMailgroupPermissionMemberQuery): Promise<BatchCreateMailMailgroupPermissionMemberResponse>
126
+ /**
127
+ * 批量删除邮件组权限成员
128
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/mail-v1/mailgroup-permission_member/batch_delete
129
+ */
130
+ batchDeleteMailMailgroupPermissionMember(mailgroup_id: string, body: BatchDeleteMailMailgroupPermissionMemberRequest): Promise<void>
131
+ /**
132
+ * 创建公共邮箱
133
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/mail-v1/public_mailbox/create
134
+ */
135
+ createMailPublicMailbox(body: CreateMailPublicMailboxRequest): Promise<CreateMailPublicMailboxResponse>
136
+ /**
137
+ * 修改公共邮箱部分信息
138
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/mail-v1/public_mailbox/patch
139
+ */
140
+ patchMailPublicMailbox(public_mailbox_id: string, body: PatchMailPublicMailboxRequest): Promise<PatchMailPublicMailboxResponse>
141
+ /**
142
+ * 修改公共邮箱全部信息
143
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/mail-v1/public_mailbox/update
144
+ */
145
+ updateMailPublicMailbox(public_mailbox_id: string, body: UpdateMailPublicMailboxRequest): Promise<UpdateMailPublicMailboxResponse>
146
+ /**
147
+ * 查询指定公共邮箱
148
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/mail-v1/public_mailbox/get
149
+ */
150
+ getMailPublicMailbox(public_mailbox_id: string): Promise<GetMailPublicMailboxResponse>
151
+ /**
152
+ * 查询所有公共邮箱
153
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/mail-v1/public_mailbox/list
154
+ */
155
+ listMailPublicMailbox(query?: Pagination): Paginated<PublicMailbox>
156
+ /**
157
+ * 永久删除公共邮箱
158
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/mail-v1/public_mailbox/delete
159
+ */
160
+ deleteMailPublicMailbox(public_mailbox_id: string): Promise<void>
161
+ /**
162
+ * 添加公共邮箱成员
163
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/mail-v1/public_mailbox-member/create
164
+ */
165
+ createMailPublicMailboxMember(public_mailbox_id: string, body: CreateMailPublicMailboxMemberRequest, query?: CreateMailPublicMailboxMemberQuery): Promise<CreateMailPublicMailboxMemberResponse>
166
+ /**
167
+ * 删除公共邮箱单个成员
168
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/mail-v1/public_mailbox-member/delete
169
+ */
170
+ deleteMailPublicMailboxMember(public_mailbox_id: string, member_id: string): Promise<void>
171
+ /**
172
+ * 删除公共邮箱所有成员
173
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/mail-v1/public_mailbox-member/clear
174
+ */
175
+ clearMailPublicMailboxMember(public_mailbox_id: string): Promise<void>
176
+ /**
177
+ * 查询指定公共邮箱成员信息
178
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/mail-v1/public_mailbox-member/get
179
+ */
180
+ getMailPublicMailboxMember(public_mailbox_id: string, member_id: string, query?: GetMailPublicMailboxMemberQuery): Promise<GetMailPublicMailboxMemberResponse>
181
+ /**
182
+ * 查询所有公共邮箱成员信息
183
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/mail-v1/public_mailbox-member/list
184
+ */
185
+ listMailPublicMailboxMember(public_mailbox_id: string, query?: ListMailPublicMailboxMemberQuery): Paginated<PublicMailboxMember>
186
+ /**
187
+ * 批量添加公共邮箱成员
188
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/mail-v1/public_mailbox-member/batch_create
189
+ */
190
+ batchCreateMailPublicMailboxMember(public_mailbox_id: string, body: BatchCreateMailPublicMailboxMemberRequest, query?: BatchCreateMailPublicMailboxMemberQuery): Promise<BatchCreateMailPublicMailboxMemberResponse>
191
+ /**
192
+ * 批量删除公共邮箱成员
193
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/mail-v1/public_mailbox-member/batch_delete
194
+ */
195
+ batchDeleteMailPublicMailboxMember(public_mailbox_id: string, body: BatchDeleteMailPublicMailboxMemberRequest): Promise<void>
196
+ /**
197
+ * 创建公共邮箱别名
198
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/mail-v1/public_mailbox-alias/create
199
+ */
200
+ createMailPublicMailboxAlias(public_mailbox_id: string, body: CreateMailPublicMailboxAliasRequest): Promise<CreateMailPublicMailboxAliasResponse>
201
+ /**
202
+ * 删除公共邮箱别名
203
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/mail-v1/public_mailbox-alias/delete
204
+ */
205
+ deleteMailPublicMailboxAlias(public_mailbox_id: string, alias_id: string): Promise<void>
206
+ /**
207
+ * 查询公共邮箱的所有别名
208
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/mail-v1/public_mailbox-alias/list
209
+ */
210
+ listMailPublicMailboxAlias(public_mailbox_id: string): Promise<ListMailPublicMailboxAliasResponse>
211
+ /**
212
+ * 从回收站删除用户邮箱地址
213
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/mail-v1/user_mailbox/delete
214
+ */
215
+ deleteMailUserMailbox(user_mailbox_id: string, query?: DeleteMailUserMailboxQuery): Promise<void>
216
+ /**
217
+ * 创建用户邮箱别名
218
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/mail-v1/user_mailbox-alias/create
219
+ */
220
+ createMailUserMailboxAlias(user_mailbox_id: string, body: CreateMailUserMailboxAliasRequest): Promise<CreateMailUserMailboxAliasResponse>
221
+ /**
222
+ * 删除用户邮箱别名
223
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/mail-v1/user_mailbox-alias/delete
224
+ */
225
+ deleteMailUserMailboxAlias(user_mailbox_id: string, alias_id: string): Promise<void>
226
+ /**
227
+ * 获取用户邮箱所有别名
228
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/mail-v1/user_mailbox-alias/list
229
+ */
230
+ listMailUserMailboxAlias(user_mailbox_id: string, query?: Pagination): Promise<ListMailUserMailboxAliasResponse>
231
+ /**
232
+ * 查询邮箱地址状态
233
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/mail-v1/user/query
234
+ */
235
+ queryMailUser(body: QueryMailUserRequest): Promise<QueryMailUserResponse>
236
+ }
237
+ }
238
+
239
+ export interface SendMailUserMailboxMessageRequest {
240
+ /** MIME邮件数据,基于base64url编码 */
241
+ raw?: string
242
+ /** 主题 */
243
+ subject?: string
244
+ /** 收件人 */
245
+ to?: MailAddress[]
246
+ /** 抄送 */
247
+ cc?: MailAddress[]
248
+ /** 秘送 */
249
+ bcc?: MailAddress[]
250
+ /** 发件人 */
251
+ head_from?: MailAddress
252
+ /** 正文(base64url) */
253
+ body_html?: string
254
+ /** 正文纯文本(base64url) */
255
+ body_plain_text?: string
256
+ /** 邮件附件列表 */
257
+ attachments?: Attachment[]
258
+ /** 会话id */
259
+ thread_id?: string
260
+ }
261
+
262
+ export interface CreateMailMailgroupRequest {
263
+ /** The mail group's email address */
264
+ email?: string
265
+ /** The mail group's display name */
266
+ name?: string
267
+ /** The mail group's description */
268
+ description?: string
269
+ /** Who can send mail to this mail group. Possible values are:- ANYONE: Any Internet user can send mail to this mail group- ALL_INTERNAL_USERS: Anyone in the team can send mail to this mail group- ALL_GROUP_MEMBERS: Any group member can send mail to this mail group- CUSTOM_MEMBERS: Only custom members can send mail to this mail group, define in mailgroup.permission_members resoure */
270
+ who_can_send_mail?: 'ANYONE' | 'ALL_INTERNAL_USERS' | 'ALL_GROUP_MEMBERS' | 'CUSTOM_MEMBERS'
271
+ }
272
+
273
+ export interface PatchMailMailgroupRequest {
274
+ /** The public mailbox's new primary email address */
275
+ email?: string
276
+ /** The mail group's display name */
277
+ name?: string
278
+ /** The mail group's description */
279
+ description?: string
280
+ /** Who can send mail to this mail group. Possible values are:- ANYONE: Any Internet user can send mail to this mail group- ALL_INTERNAL_USERS: Anyone in the team can send mail to this mail group- ALL_GROUP_MEMBERS: Any group member can send mail to this mail group- CUSTOM_MEMBERS: Only custom members can send mail to this mail group, define in mailgroup.permission_members resoure */
281
+ who_can_send_mail?: 'ANYONE' | 'ALL_INTERNAL_USERS' | 'ALL_GROUP_MEMBERS' | 'CUSTOM_MEMBERS'
282
+ }
283
+
284
+ export interface UpdateMailMailgroupRequest {
285
+ /** The public mailbox's new primary email address */
286
+ email?: string
287
+ /** The mail group's display name */
288
+ name?: string
289
+ /** The mail group's description */
290
+ description?: string
291
+ /** Who can send mail to this mail group. Possible values are:- ANYONE: Any Internet user can send mail to this mail group- ALL_INTERNAL_USERS: Anyone in the team can send mail to this mail group- ALL_GROUP_MEMBERS: Any group member can send mail to this mail group- CUSTOM_MEMBERS: Only custom members can send mail to this mail group, define in mailgroup.permission_members resoure */
292
+ who_can_send_mail?: 'ANYONE' | 'ALL_INTERNAL_USERS' | 'ALL_GROUP_MEMBERS' | 'CUSTOM_MEMBERS'
293
+ }
294
+
295
+ export interface ListMailMailgroupQuery extends Pagination {
296
+ /** 邮件组管理员用户ID,用于获取该用户有管理权限的邮件组 */
297
+ manager_user_id?: string
298
+ /** 此次调用中使用的用户ID的类型 */
299
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
300
+ }
301
+
302
+ export interface BatchCreateMailMailgroupManagerRequest {
303
+ /** 邮件组管理员列表 */
304
+ mailgroup_manager_list?: MailgroupManager[]
305
+ }
306
+
307
+ export interface BatchCreateMailMailgroupManagerQuery {
308
+ /** 此次调用中使用的用户ID的类型 */
309
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
310
+ }
311
+
312
+ export interface BatchDeleteMailMailgroupManagerRequest {
313
+ /** 邮件组管理员列表 */
314
+ mailgroup_manager_list?: MailgroupManager[]
315
+ }
316
+
317
+ export interface BatchDeleteMailMailgroupManagerQuery {
318
+ /** 此次调用中使用的用户ID的类型 */
319
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
320
+ }
321
+
322
+ export interface ListMailMailgroupManagerQuery extends Pagination {
323
+ /** 此次调用中使用的用户ID的类型 */
324
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
325
+ }
326
+
327
+ export interface CreateMailMailgroupMemberRequest {
328
+ /** The member's email address. Value is valid when type is one of USER/EXTERNAL_USER/MAIL_GROUP/PUBLIC_MAILBOX/OTHER_MEMBER */
329
+ email?: string
330
+ /** The member's user id. Value is valid when type is USER */
331
+ user_id?: string
332
+ /** The member's department id. Value is valid when type is DEPARTMENT */
333
+ department_id?: string
334
+ /** The type of member. Possible values are:- USER: internal user in the team- DEPARTMENT: member is a department- COMPANY: member is the company- EXTERNAL_USER: internet user outside the organization- MAIL_GROUP: member is another mail group- PUBLIC_MAILBOX: member is a public mailbox- OTHER_MEMBER: other internal member */
335
+ type?: 'USER' | 'DEPARTMENT' | 'COMPANY' | 'EXTERNAL_USER' | 'MAIL_GROUP' | 'PUBLIC_MAILBOX' | 'OTHER_MEMBER'
336
+ }
337
+
338
+ export interface CreateMailMailgroupMemberQuery {
339
+ /** 此次调用中使用的用户ID的类型 */
340
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
341
+ /** 此次调用中使用的部门ID的类型 */
342
+ department_id_type?: 'department_id' | 'open_department_id'
343
+ }
344
+
345
+ export interface GetMailMailgroupMemberQuery {
346
+ /** 此次调用中使用的用户ID的类型 */
347
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
348
+ /** 此次调用中使用的部门ID的类型 */
349
+ department_id_type?: 'department_id' | 'open_department_id'
350
+ }
351
+
352
+ export interface ListMailMailgroupMemberQuery extends Pagination {
353
+ /** 此次调用中使用的用户ID的类型 */
354
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
355
+ /** 此次调用中使用的部门ID的类型 */
356
+ department_id_type?: 'department_id' | 'open_department_id'
357
+ }
358
+
359
+ export interface BatchCreateMailMailgroupMemberRequest {
360
+ /** 本次添加的邮件组成员列表 */
361
+ items?: MailgroupMember[]
362
+ }
363
+
364
+ export interface BatchCreateMailMailgroupMemberQuery {
365
+ /** 此次调用中使用的用户ID的类型 */
366
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
367
+ /** 此次调用中使用的部门ID的类型 */
368
+ department_id_type?: 'department_id' | 'open_department_id'
369
+ }
370
+
371
+ export interface BatchDeleteMailMailgroupMemberRequest {
372
+ /** 本次调用删除的成员ID列表 */
373
+ member_id_list?: string[]
374
+ }
375
+
376
+ export interface CreateMailMailgroupAliasRequest {
377
+ /** 邮箱别名 */
378
+ email_alias?: string
379
+ }
380
+
381
+ export interface CreateMailMailgroupPermissionMemberRequest {
382
+ /** The member's user id. Value is valid when type is USER */
383
+ user_id?: string
384
+ /** The member's department id. Value is valid when type is DEPARTMENT */
385
+ department_id?: string
386
+ /** The member's email address. Value is valid when type is MAIL_GROUP/PUBLIC_MAILBOX */
387
+ email?: string
388
+ /** The type of member. Possible values are:- USER: internal user in the team- DEPARTMENT: member is a department */
389
+ type?: 'USER' | 'DEPARTMENT' | 'MAIL_GROUP' | 'PUBLIC_MAILBOX'
390
+ }
391
+
392
+ export interface CreateMailMailgroupPermissionMemberQuery {
393
+ /** 此次调用中使用的用户ID的类型 */
394
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
395
+ /** 此次调用中使用的部门ID的类型 */
396
+ department_id_type?: 'department_id' | 'open_department_id'
397
+ }
398
+
399
+ export interface GetMailMailgroupPermissionMemberQuery {
400
+ /** 此次调用中使用的用户ID的类型 */
401
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
402
+ /** 此次调用中使用的部门ID的类型 */
403
+ department_id_type?: 'department_id' | 'open_department_id'
404
+ }
405
+
406
+ export interface ListMailMailgroupPermissionMemberQuery extends Pagination {
407
+ /** 此次调用中使用的用户ID的类型 */
408
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
409
+ /** 此次调用中使用的部门ID的类型 */
410
+ department_id_type?: 'department_id' | 'open_department_id'
411
+ }
412
+
413
+ export interface BatchCreateMailMailgroupPermissionMemberRequest {
414
+ /** 本次添加的邮件组权限成员列表 */
415
+ items?: MailgroupPermissionMember[]
416
+ }
417
+
418
+ export interface BatchCreateMailMailgroupPermissionMemberQuery {
419
+ /** 此次调用中使用的用户ID的类型 */
420
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
421
+ /** 此次调用中使用的部门ID的类型 */
422
+ department_id_type?: 'department_id' | 'open_department_id'
423
+ }
424
+
425
+ export interface BatchDeleteMailMailgroupPermissionMemberRequest {
426
+ /** 本次调用删除的权限成员ID列表 */
427
+ permission_member_id_list: string[]
428
+ }
429
+
430
+ export interface CreateMailPublicMailboxRequest {
431
+ /** The public mailbox's email address */
432
+ email?: string
433
+ /** The public mailbox's display name */
434
+ name?: string
435
+ /** 数据驻留地 */
436
+ geo?: string
437
+ }
438
+
439
+ export interface PatchMailPublicMailboxRequest {
440
+ /** The public mailbox's new primary email address */
441
+ email?: string
442
+ /** The public mailbox's display name */
443
+ name?: string
444
+ }
445
+
446
+ export interface UpdateMailPublicMailboxRequest {
447
+ /** The public mailbox's new primary email address */
448
+ email?: string
449
+ /** The public mailbox's display name */
450
+ name?: string
451
+ }
452
+
453
+ export interface CreateMailPublicMailboxMemberRequest {
454
+ /** The member's user id. Value is valid when type is USER */
455
+ user_id?: string
456
+ /** The type of member. Possible values are:- USER: internal user in the team */
457
+ type?: 'USER'
458
+ }
459
+
460
+ export interface CreateMailPublicMailboxMemberQuery {
461
+ /** 此次调用中使用的用户ID的类型 */
462
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
463
+ }
464
+
465
+ export interface GetMailPublicMailboxMemberQuery {
466
+ /** 此次调用中使用的用户ID的类型 */
467
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
468
+ }
469
+
470
+ export interface ListMailPublicMailboxMemberQuery extends Pagination {
471
+ /** 此次调用中使用的用户ID的类型 */
472
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
473
+ }
474
+
475
+ export interface BatchCreateMailPublicMailboxMemberRequest {
476
+ /** 本次调用添加的公共邮箱成员列表 */
477
+ items: PublicMailboxMember[]
478
+ }
479
+
480
+ export interface BatchCreateMailPublicMailboxMemberQuery {
481
+ /** 此次调用中使用的用户ID的类型 */
482
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
483
+ }
484
+
485
+ export interface BatchDeleteMailPublicMailboxMemberRequest {
486
+ /** 本次调用删除的公共邮箱成员ID列表 */
487
+ member_id_list: string[]
488
+ }
489
+
490
+ export interface CreateMailPublicMailboxAliasRequest {
491
+ /** 邮箱别名 */
492
+ email_alias?: string
493
+ }
494
+
495
+ export interface DeleteMailUserMailboxQuery {
496
+ /** 用于接受转移的邮箱地址 */
497
+ transfer_mailbox?: string
498
+ }
499
+
500
+ export interface CreateMailUserMailboxAliasRequest {
501
+ /** 邮箱别名 */
502
+ email_alias?: string
503
+ }
504
+
505
+ export interface QueryMailUserRequest {
506
+ /** 需要查询的邮箱地址列表 */
507
+ email_list: string[]
508
+ }
509
+
510
+ export interface CreateMailMailgroupResponse {
511
+ /** The unique ID of a mail group */
512
+ mailgroup_id?: string
513
+ /** The mail group's email address */
514
+ email?: string
515
+ /** The mail group's display name */
516
+ name?: string
517
+ /** The mail group's description */
518
+ description?: string
519
+ /** The number of mail group's direct members */
520
+ direct_members_count?: string
521
+ /** Value is true if this mail group has external member */
522
+ include_external_member?: boolean
523
+ /** Value is true if all company members are in this mail group */
524
+ include_all_company_member?: boolean
525
+ /** Who can send mail to this mail group. Possible values are:- ANYONE: Any Internet user can send mail to this mail group- ALL_INTERNAL_USERS: Anyone in the team can send mail to this mail group- ALL_GROUP_MEMBERS: Any group member can send mail to this mail group- CUSTOM_MEMBERS: Only custom members can send mail to this mail group, define in mailgroup.permission_members resoure */
526
+ who_can_send_mail?: 'ANYONE' | 'ALL_INTERNAL_USERS' | 'ALL_GROUP_MEMBERS' | 'CUSTOM_MEMBERS'
527
+ }
528
+
529
+ export interface PatchMailMailgroupResponse {
530
+ /** The unique ID of a mail group */
531
+ mailgroup_id?: string
532
+ /** The mail group's email address */
533
+ email?: string
534
+ /** The mail group's display name */
535
+ name?: string
536
+ /** The mail group's description */
537
+ description?: string
538
+ /** The number of mail group's direct members */
539
+ direct_members_count?: string
540
+ /** Value is true if this mail group has external member */
541
+ include_external_member?: boolean
542
+ /** Value is true if all company members are in this mail group */
543
+ include_all_company_member?: boolean
544
+ /** Who can send mail to this mail group. Possible values are:- ANYONE: Any Internet user can send mail to this mail group- ALL_INTERNAL_USERS: Anyone in the team can send mail to this mail group- ALL_GROUP_MEMBERS: Any group member can send mail to this mail group- CUSTOM_MEMBERS: Only custom members can send mail to this mail group, define in mailgroup.permission_members resoure */
545
+ who_can_send_mail?: 'ANYONE' | 'ALL_INTERNAL_USERS' | 'ALL_GROUP_MEMBERS' | 'CUSTOM_MEMBERS'
546
+ }
547
+
548
+ export interface UpdateMailMailgroupResponse {
549
+ /** The unique ID of a mail group */
550
+ mailgroup_id?: string
551
+ /** The mail group's email address */
552
+ email?: string
553
+ /** The mail group's display name */
554
+ name?: string
555
+ /** The mail group's description */
556
+ description?: string
557
+ /** The number of mail group's direct members */
558
+ direct_members_count?: string
559
+ /** Value is true if this mail group has external member */
560
+ include_external_member?: boolean
561
+ /** Value is true if all company members are in this mail group */
562
+ include_all_company_member?: boolean
563
+ /** Who can send mail to this mail group. Possible values are:- ANYONE: Any Internet user can send mail to this mail group- ALL_INTERNAL_USERS: Anyone in the team can send mail to this mail group- ALL_GROUP_MEMBERS: Any group member can send mail to this mail group- CUSTOM_MEMBERS: Only custom members can send mail to this mail group, define in mailgroup.permission_members resoure */
564
+ who_can_send_mail?: 'ANYONE' | 'ALL_INTERNAL_USERS' | 'ALL_GROUP_MEMBERS' | 'CUSTOM_MEMBERS'
565
+ }
566
+
567
+ export interface GetMailMailgroupResponse {
568
+ /** The unique ID of a mail group */
569
+ mailgroup_id?: string
570
+ /** The mail group's email address */
571
+ email?: string
572
+ /** The mail group's display name */
573
+ name?: string
574
+ /** The mail group's description */
575
+ description?: string
576
+ /** The number of mail group's direct members */
577
+ direct_members_count?: string
578
+ /** Value is true if this mail group has external member */
579
+ include_external_member?: boolean
580
+ /** Value is true if all company members are in this mail group */
581
+ include_all_company_member?: boolean
582
+ /** Who can send mail to this mail group. Possible values are:- ANYONE: Any Internet user can send mail to this mail group- ALL_INTERNAL_USERS: Anyone in the team can send mail to this mail group- ALL_GROUP_MEMBERS: Any group member can send mail to this mail group- CUSTOM_MEMBERS: Only custom members can send mail to this mail group, define in mailgroup.permission_members resoure */
583
+ who_can_send_mail?: 'ANYONE' | 'ALL_INTERNAL_USERS' | 'ALL_GROUP_MEMBERS' | 'CUSTOM_MEMBERS'
584
+ }
585
+
586
+ export interface CreateMailMailgroupMemberResponse {
587
+ /** The unique ID of a member in this mail group */
588
+ member_id?: string
589
+ /** The member's email address. Value is valid when type is one of USER/EXTERNAL_USER/MAIL_GROUP/PUBLIC_MAILBOX/OTHER_MEMBER */
590
+ email?: string
591
+ /** The member's user id. Value is valid when type is USER */
592
+ user_id?: string
593
+ /** The member's department id. Value is valid when type is DEPARTMENT */
594
+ department_id?: string
595
+ /** The type of member. Possible values are:- USER: internal user in the team- DEPARTMENT: member is a department- COMPANY: member is the company- EXTERNAL_USER: internet user outside the organization- MAIL_GROUP: member is another mail group- PUBLIC_MAILBOX: member is a public mailbox- OTHER_MEMBER: other internal member */
596
+ type?: 'USER' | 'DEPARTMENT' | 'COMPANY' | 'EXTERNAL_USER' | 'MAIL_GROUP' | 'PUBLIC_MAILBOX' | 'OTHER_MEMBER'
597
+ }
598
+
599
+ export interface GetMailMailgroupMemberResponse {
600
+ /** The unique ID of a member in this mail group */
601
+ member_id?: string
602
+ /** The member's email address. Value is valid when type is one of USER/EXTERNAL_USER/MAIL_GROUP/PUBLIC_MAILBOX/OTHER_MEMBER */
603
+ email?: string
604
+ /** The member's user id. Value is valid when type is USER */
605
+ user_id?: string
606
+ /** The member's department id. Value is valid when type is DEPARTMENT */
607
+ department_id?: string
608
+ /** The type of member. Possible values are:- USER: internal user in the team- DEPARTMENT: member is a department- COMPANY: member is the company- EXTERNAL_USER: internet user outside the organization- MAIL_GROUP: member is another mail group- PUBLIC_MAILBOX: member is a public mailbox- OTHER_MEMBER: other internal member */
609
+ type?: 'USER' | 'DEPARTMENT' | 'COMPANY' | 'EXTERNAL_USER' | 'MAIL_GROUP' | 'PUBLIC_MAILBOX' | 'OTHER_MEMBER'
610
+ }
611
+
612
+ export interface BatchCreateMailMailgroupMemberResponse {
613
+ /** 添加成功后的邮件组成员信息列表 */
614
+ items?: MailgroupMember[]
615
+ }
616
+
617
+ export interface CreateMailMailgroupAliasResponse {
618
+ /** 邮件组别名 */
619
+ mailgroup_alias?: EmailAlias
620
+ }
621
+
622
+ export interface ListMailMailgroupAliasResponse {
623
+ /** 邮件组别名 */
624
+ items?: EmailAlias[]
625
+ }
626
+
627
+ export interface CreateMailMailgroupPermissionMemberResponse {
628
+ /** The unique ID of a member in this permission group */
629
+ permission_member_id?: string
630
+ /** The member's user id. Value is valid when type is USER */
631
+ user_id?: string
632
+ /** The member's department id. Value is valid when type is DEPARTMENT */
633
+ department_id?: string
634
+ /** The member's email address. Value is valid when type is MAIL_GROUP/PUBLIC_MAILBOX */
635
+ email?: string
636
+ /** The type of member. Possible values are:- USER: internal user in the team- DEPARTMENT: member is a department */
637
+ type?: 'USER' | 'DEPARTMENT' | 'MAIL_GROUP' | 'PUBLIC_MAILBOX'
638
+ }
639
+
640
+ export interface GetMailMailgroupPermissionMemberResponse {
641
+ /** The unique ID of a member in this permission group */
642
+ permission_member_id?: string
643
+ /** The member's user id. Value is valid when type is USER */
644
+ user_id?: string
645
+ /** The member's department id. Value is valid when type is DEPARTMENT */
646
+ department_id?: string
647
+ /** The member's email address. Value is valid when type is MAIL_GROUP/PUBLIC_MAILBOX */
648
+ email?: string
649
+ /** The type of member. Possible values are:- USER: internal user in the team- DEPARTMENT: member is a department */
650
+ type?: 'USER' | 'DEPARTMENT' | 'MAIL_GROUP' | 'PUBLIC_MAILBOX'
651
+ }
652
+
653
+ export interface BatchCreateMailMailgroupPermissionMemberResponse {
654
+ /** 添加成功后的邮件组权限成员信息列表 */
655
+ items?: MailgroupPermissionMember[]
656
+ }
657
+
658
+ export interface CreateMailPublicMailboxResponse {
659
+ /** The unique ID of a public mailbox */
660
+ public_mailbox_id?: string
661
+ /** The public mailbox's email address */
662
+ email?: string
663
+ /** The public mailbox's display name */
664
+ name?: string
665
+ /** 数据驻留地 */
666
+ geo?: string
667
+ }
668
+
669
+ export interface PatchMailPublicMailboxResponse {
670
+ /** The unique ID of a public mailbox */
671
+ public_mailbox_id?: string
672
+ /** The public mailbox's email address */
673
+ email?: string
674
+ /** The public mailbox's display name */
675
+ name?: string
676
+ }
677
+
678
+ export interface UpdateMailPublicMailboxResponse {
679
+ /** The unique ID of a public mailbox */
680
+ public_mailbox_id?: string
681
+ /** The public mailbox's email address */
682
+ email?: string
683
+ /** The public mailbox's display name */
684
+ name?: string
685
+ }
686
+
687
+ export interface GetMailPublicMailboxResponse {
688
+ /** The unique ID of a public mailbox */
689
+ public_mailbox_id?: string
690
+ /** The public mailbox's email address */
691
+ email?: string
692
+ /** The public mailbox's display name */
693
+ name?: string
694
+ /** 数据驻留地 */
695
+ geo?: string
696
+ }
697
+
698
+ export interface CreateMailPublicMailboxMemberResponse {
699
+ /** The unique ID of a member in this public mailbox */
700
+ member_id?: string
701
+ /** The member's user id. Value is valid when type is USER */
702
+ user_id?: string
703
+ /** The type of member. Possible values are:- USER: internal user in the team */
704
+ type?: 'USER'
705
+ }
706
+
707
+ export interface GetMailPublicMailboxMemberResponse {
708
+ /** The unique ID of a member in this public mailbox */
709
+ member_id?: string
710
+ /** The member's user id. Value is valid when type is USER */
711
+ user_id?: string
712
+ /** The type of member. Possible values are:- USER: internal user in the team */
713
+ type?: 'USER'
714
+ }
715
+
716
+ export interface BatchCreateMailPublicMailboxMemberResponse {
717
+ /** 添加成功后的公共邮箱成员信息列表 */
718
+ items?: PublicMailboxMember[]
719
+ }
720
+
721
+ export interface CreateMailPublicMailboxAliasResponse {
722
+ /** 公共邮箱别名 */
723
+ public_mailbox_alias?: EmailAlias
724
+ }
725
+
726
+ export interface ListMailPublicMailboxAliasResponse {
727
+ /** 公共邮箱别名 */
728
+ items?: EmailAlias[]
729
+ }
730
+
731
+ export interface CreateMailUserMailboxAliasResponse {
732
+ /** 用户邮箱别名 */
733
+ user_mailbox_alias?: EmailAlias
734
+ }
735
+
736
+ export interface ListMailUserMailboxAliasResponse {
737
+ /** 用户邮箱别名 */
738
+ items?: EmailAlias[]
739
+ }
740
+
741
+ export interface QueryMailUserResponse {
742
+ /** 邮箱地址返回 */
743
+ user_list?: User[]
744
+ }
745
+
746
+ Internal.define({
747
+ '/mail/v1/user_mailboxes/{user_mailbox_id}/messages/send': {
748
+ POST: 'sendMailUserMailboxMessage',
749
+ },
750
+ '/mail/v1/mailgroups': {
751
+ POST: 'createMailMailgroup',
752
+ GET: { name: 'listMailMailgroup', pagination: { argIndex: 0 } },
753
+ },
754
+ '/mail/v1/mailgroups/{mailgroup_id}': {
755
+ DELETE: 'deleteMailMailgroup',
756
+ PATCH: 'patchMailMailgroup',
757
+ PUT: 'updateMailMailgroup',
758
+ GET: 'getMailMailgroup',
759
+ },
760
+ '/mail/v1/mailgroups/{mailgroup_id}/managers/batch_create': {
761
+ POST: 'batchCreateMailMailgroupManager',
762
+ },
763
+ '/mail/v1/mailgroups/{mailgroup_id}/managers/batch_delete': {
764
+ POST: 'batchDeleteMailMailgroupManager',
765
+ },
766
+ '/mail/v1/mailgroups/{mailgroup_id}/managers': {
767
+ GET: { name: 'listMailMailgroupManager', pagination: { argIndex: 1 } },
768
+ },
769
+ '/mail/v1/mailgroups/{mailgroup_id}/members': {
770
+ POST: 'createMailMailgroupMember',
771
+ GET: { name: 'listMailMailgroupMember', pagination: { argIndex: 1 } },
772
+ },
773
+ '/mail/v1/mailgroups/{mailgroup_id}/members/{member_id}': {
774
+ DELETE: 'deleteMailMailgroupMember',
775
+ GET: 'getMailMailgroupMember',
776
+ },
777
+ '/mail/v1/mailgroups/{mailgroup_id}/members/batch_create': {
778
+ POST: 'batchCreateMailMailgroupMember',
779
+ },
780
+ '/mail/v1/mailgroups/{mailgroup_id}/members/batch_delete': {
781
+ DELETE: 'batchDeleteMailMailgroupMember',
782
+ },
783
+ '/mail/v1/mailgroups/{mailgroup_id}/aliases': {
784
+ POST: 'createMailMailgroupAlias',
785
+ GET: 'listMailMailgroupAlias',
786
+ },
787
+ '/mail/v1/mailgroups/{mailgroup_id}/aliases/{alias_id}': {
788
+ DELETE: 'deleteMailMailgroupAlias',
789
+ },
790
+ '/mail/v1/mailgroups/{mailgroup_id}/permission_members': {
791
+ POST: 'createMailMailgroupPermissionMember',
792
+ GET: { name: 'listMailMailgroupPermissionMember', pagination: { argIndex: 1 } },
793
+ },
794
+ '/mail/v1/mailgroups/{mailgroup_id}/permission_members/{permission_member_id}': {
795
+ DELETE: 'deleteMailMailgroupPermissionMember',
796
+ GET: 'getMailMailgroupPermissionMember',
797
+ },
798
+ '/mail/v1/mailgroups/{mailgroup_id}/permission_members/batch_create': {
799
+ POST: 'batchCreateMailMailgroupPermissionMember',
800
+ },
801
+ '/mail/v1/mailgroups/{mailgroup_id}/permission_members/batch_delete': {
802
+ DELETE: 'batchDeleteMailMailgroupPermissionMember',
803
+ },
804
+ '/mail/v1/public_mailboxes': {
805
+ POST: 'createMailPublicMailbox',
806
+ GET: { name: 'listMailPublicMailbox', pagination: { argIndex: 0 } },
807
+ },
808
+ '/mail/v1/public_mailboxes/{public_mailbox_id}': {
809
+ PATCH: 'patchMailPublicMailbox',
810
+ PUT: 'updateMailPublicMailbox',
811
+ GET: 'getMailPublicMailbox',
812
+ DELETE: 'deleteMailPublicMailbox',
813
+ },
814
+ '/mail/v1/public_mailboxes/{public_mailbox_id}/members': {
815
+ POST: 'createMailPublicMailboxMember',
816
+ GET: { name: 'listMailPublicMailboxMember', pagination: { argIndex: 1 } },
817
+ },
818
+ '/mail/v1/public_mailboxes/{public_mailbox_id}/members/{member_id}': {
819
+ DELETE: 'deleteMailPublicMailboxMember',
820
+ GET: 'getMailPublicMailboxMember',
821
+ },
822
+ '/mail/v1/public_mailboxes/{public_mailbox_id}/members/clear': {
823
+ POST: 'clearMailPublicMailboxMember',
824
+ },
825
+ '/mail/v1/public_mailboxes/{public_mailbox_id}/members/batch_create': {
826
+ POST: 'batchCreateMailPublicMailboxMember',
827
+ },
828
+ '/mail/v1/public_mailboxes/{public_mailbox_id}/members/batch_delete': {
829
+ DELETE: 'batchDeleteMailPublicMailboxMember',
830
+ },
831
+ '/mail/v1/public_mailboxes/{public_mailbox_id}/aliases': {
832
+ POST: 'createMailPublicMailboxAlias',
833
+ GET: 'listMailPublicMailboxAlias',
834
+ },
835
+ '/mail/v1/public_mailboxes/{public_mailbox_id}/aliases/{alias_id}': {
836
+ DELETE: 'deleteMailPublicMailboxAlias',
837
+ },
838
+ '/mail/v1/user_mailboxes/{user_mailbox_id}': {
839
+ DELETE: 'deleteMailUserMailbox',
840
+ },
841
+ '/mail/v1/user_mailboxes/{user_mailbox_id}/aliases': {
842
+ POST: 'createMailUserMailboxAlias',
843
+ GET: 'listMailUserMailboxAlias',
844
+ },
845
+ '/mail/v1/user_mailboxes/{user_mailbox_id}/aliases/{alias_id}': {
846
+ DELETE: 'deleteMailUserMailboxAlias',
847
+ },
848
+ '/mail/v1/users/query': {
849
+ POST: 'queryMailUser',
850
+ },
851
+ })