@satorijs/adapter-lark 3.9.1 → 3.9.2
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.
- package/lib/index.cjs +1077 -13
- package/lib/types/acs.d.ts +19 -19
- package/lib/types/admin.d.ts +58 -32
- package/lib/types/aily.d.ts +52 -52
- package/lib/types/apaas.d.ts +96 -96
- package/lib/types/application.d.ts +151 -67
- package/lib/types/approval.d.ts +182 -150
- package/lib/types/attendance.d.ts +395 -353
- package/lib/types/auth.d.ts +18 -18
- package/lib/types/authen.d.ts +24 -24
- package/lib/types/baike.d.ts +42 -42
- package/lib/types/bitable.d.ts +268 -184
- package/lib/types/calendar.d.ts +144 -144
- package/lib/types/cardkit.d.ts +8 -8
- package/lib/types/contact.d.ts +209 -137
- package/lib/types/corehr.d.ts +760 -620
- package/lib/types/document_ai.d.ts +68 -68
- package/lib/types/docx.d.ts +103 -95
- package/lib/types/drive.d.ts +236 -236
- package/lib/types/ehr.d.ts +26 -2
- package/lib/types/helpdesk.d.ts +155 -155
- package/lib/types/hire.d.ts +954 -510
- package/lib/types/im.d.ts +446 -446
- package/lib/types/index.d.ts +72 -30
- package/lib/types/lingo.d.ts +28 -28
- package/lib/types/mail.d.ts +192 -192
- package/lib/types/minutes.d.ts +4 -4
- package/lib/types/okr.d.ts +86 -58
- package/lib/types/passport.d.ts +13 -5
- package/lib/types/payroll.d.ts +13 -5
- package/lib/types/performance.d.ts +85 -79
- package/lib/types/personal_settings.d.ts +12 -12
- package/lib/types/report.d.ts +11 -5
- package/lib/types/search.d.ts +48 -24
- package/lib/types/sheets.d.ts +64 -64
- package/lib/types/speech_to_text.d.ts +4 -4
- package/lib/types/task.d.ts +191 -185
- package/lib/types/translation.d.ts +4 -4
- package/lib/types/vc.d.ts +335 -155
- package/lib/types/wiki.d.ts +48 -48
- package/package.json +1 -1
- package/src/internal.ts +1 -1
- package/src/types/acs.ts +24 -24
- package/src/types/admin.ts +69 -39
- package/src/types/aily.ts +61 -61
- package/src/types/apaas.ts +113 -113
- package/src/types/application.ts +173 -79
- package/src/types/approval.ts +202 -166
- package/src/types/attendance.ts +466 -421
- package/src/types/auth.ts +20 -20
- package/src/types/authen.ts +28 -28
- package/src/types/baike.ts +55 -55
- package/src/types/bitable.ts +305 -219
- package/src/types/calendar.ts +167 -167
- package/src/types/cardkit.ts +10 -10
- package/src/types/contact.ts +251 -169
- package/src/types/corehr.ts +903 -743
- package/src/types/document_ai.ts +85 -85
- package/src/types/docx.ts +117 -108
- package/src/types/drive.ts +298 -298
- package/src/types/ehr.ts +28 -2
- package/src/types/helpdesk.ts +181 -181
- package/src/types/hire.ts +1081 -591
- package/src/types/im.ts +521 -521
- package/src/types/index.ts +73 -30
- package/src/types/lingo.ts +36 -36
- package/src/types/mail.ts +215 -215
- package/src/types/minutes.ts +5 -5
- package/src/types/okr.ts +98 -66
- package/src/types/passport.ts +15 -6
- package/src/types/payroll.ts +15 -6
- package/src/types/performance.ts +98 -91
- package/src/types/personal_settings.ts +15 -15
- package/src/types/report.ts +13 -6
- package/src/types/search.ts +57 -29
- package/src/types/sheets.ts +80 -80
- package/src/types/speech_to_text.ts +5 -5
- package/src/types/task.ts +238 -231
- package/src/types/translation.ts +5 -5
- package/src/types/vc.ts +386 -186
- package/src/types/wiki.ts +59 -59
- package/src/utils.ts +11 -6
package/lib/types/mail.d.ts
CHANGED
|
@@ -266,6 +266,24 @@ export interface CreateMailMailgroupRequest {
|
|
|
266
266
|
/** 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 */
|
|
267
267
|
who_can_send_mail?: 'ANYONE' | 'ALL_INTERNAL_USERS' | 'ALL_GROUP_MEMBERS' | 'CUSTOM_MEMBERS';
|
|
268
268
|
}
|
|
269
|
+
export interface CreateMailMailgroupResponse {
|
|
270
|
+
/** The unique ID of a mail group */
|
|
271
|
+
mailgroup_id?: string;
|
|
272
|
+
/** The mail group's email address */
|
|
273
|
+
email?: string;
|
|
274
|
+
/** The mail group's display name */
|
|
275
|
+
name?: string;
|
|
276
|
+
/** The mail group's description */
|
|
277
|
+
description?: string;
|
|
278
|
+
/** The number of mail group's direct members */
|
|
279
|
+
direct_members_count?: string;
|
|
280
|
+
/** Value is true if this mail group has external member */
|
|
281
|
+
include_external_member?: boolean;
|
|
282
|
+
/** Value is true if all company members are in this mail group */
|
|
283
|
+
include_all_company_member?: boolean;
|
|
284
|
+
/** 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 */
|
|
285
|
+
who_can_send_mail?: 'ANYONE' | 'ALL_INTERNAL_USERS' | 'ALL_GROUP_MEMBERS' | 'CUSTOM_MEMBERS';
|
|
286
|
+
}
|
|
269
287
|
export interface PatchMailMailgroupRequest {
|
|
270
288
|
/** The public mailbox's new primary email address */
|
|
271
289
|
email?: string;
|
|
@@ -276,6 +294,24 @@ export interface PatchMailMailgroupRequest {
|
|
|
276
294
|
/** 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 */
|
|
277
295
|
who_can_send_mail?: 'ANYONE' | 'ALL_INTERNAL_USERS' | 'ALL_GROUP_MEMBERS' | 'CUSTOM_MEMBERS';
|
|
278
296
|
}
|
|
297
|
+
export interface PatchMailMailgroupResponse {
|
|
298
|
+
/** The unique ID of a mail group */
|
|
299
|
+
mailgroup_id?: string;
|
|
300
|
+
/** The mail group's email address */
|
|
301
|
+
email?: string;
|
|
302
|
+
/** The mail group's display name */
|
|
303
|
+
name?: string;
|
|
304
|
+
/** The mail group's description */
|
|
305
|
+
description?: string;
|
|
306
|
+
/** The number of mail group's direct members */
|
|
307
|
+
direct_members_count?: string;
|
|
308
|
+
/** Value is true if this mail group has external member */
|
|
309
|
+
include_external_member?: boolean;
|
|
310
|
+
/** Value is true if all company members are in this mail group */
|
|
311
|
+
include_all_company_member?: boolean;
|
|
312
|
+
/** 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 */
|
|
313
|
+
who_can_send_mail?: 'ANYONE' | 'ALL_INTERNAL_USERS' | 'ALL_GROUP_MEMBERS' | 'CUSTOM_MEMBERS';
|
|
314
|
+
}
|
|
279
315
|
export interface UpdateMailMailgroupRequest {
|
|
280
316
|
/** The public mailbox's new primary email address */
|
|
281
317
|
email?: string;
|
|
@@ -286,6 +322,42 @@ export interface UpdateMailMailgroupRequest {
|
|
|
286
322
|
/** 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 */
|
|
287
323
|
who_can_send_mail?: 'ANYONE' | 'ALL_INTERNAL_USERS' | 'ALL_GROUP_MEMBERS' | 'CUSTOM_MEMBERS';
|
|
288
324
|
}
|
|
325
|
+
export interface UpdateMailMailgroupResponse {
|
|
326
|
+
/** The unique ID of a mail group */
|
|
327
|
+
mailgroup_id?: string;
|
|
328
|
+
/** The mail group's email address */
|
|
329
|
+
email?: string;
|
|
330
|
+
/** The mail group's display name */
|
|
331
|
+
name?: string;
|
|
332
|
+
/** The mail group's description */
|
|
333
|
+
description?: string;
|
|
334
|
+
/** The number of mail group's direct members */
|
|
335
|
+
direct_members_count?: string;
|
|
336
|
+
/** Value is true if this mail group has external member */
|
|
337
|
+
include_external_member?: boolean;
|
|
338
|
+
/** Value is true if all company members are in this mail group */
|
|
339
|
+
include_all_company_member?: boolean;
|
|
340
|
+
/** 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 */
|
|
341
|
+
who_can_send_mail?: 'ANYONE' | 'ALL_INTERNAL_USERS' | 'ALL_GROUP_MEMBERS' | 'CUSTOM_MEMBERS';
|
|
342
|
+
}
|
|
343
|
+
export interface GetMailMailgroupResponse {
|
|
344
|
+
/** The unique ID of a mail group */
|
|
345
|
+
mailgroup_id?: string;
|
|
346
|
+
/** The mail group's email address */
|
|
347
|
+
email?: string;
|
|
348
|
+
/** The mail group's display name */
|
|
349
|
+
name?: string;
|
|
350
|
+
/** The mail group's description */
|
|
351
|
+
description?: string;
|
|
352
|
+
/** The number of mail group's direct members */
|
|
353
|
+
direct_members_count?: string;
|
|
354
|
+
/** Value is true if this mail group has external member */
|
|
355
|
+
include_external_member?: boolean;
|
|
356
|
+
/** Value is true if all company members are in this mail group */
|
|
357
|
+
include_all_company_member?: boolean;
|
|
358
|
+
/** 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 */
|
|
359
|
+
who_can_send_mail?: 'ANYONE' | 'ALL_INTERNAL_USERS' | 'ALL_GROUP_MEMBERS' | 'CUSTOM_MEMBERS';
|
|
360
|
+
}
|
|
289
361
|
export interface ListMailMailgroupQuery extends Pagination {
|
|
290
362
|
/** 邮件组管理员用户ID,用于获取该用户有管理权限的邮件组 */
|
|
291
363
|
manager_user_id?: string;
|
|
@@ -328,12 +400,36 @@ export interface CreateMailMailgroupMemberQuery {
|
|
|
328
400
|
/** 此次调用中使用的部门ID的类型 */
|
|
329
401
|
department_id_type?: 'department_id' | 'open_department_id';
|
|
330
402
|
}
|
|
403
|
+
export interface CreateMailMailgroupMemberResponse {
|
|
404
|
+
/** The unique ID of a member in this mail group */
|
|
405
|
+
member_id?: string;
|
|
406
|
+
/** The member's email address. Value is valid when type is one of USER/EXTERNAL_USER/MAIL_GROUP/PUBLIC_MAILBOX/OTHER_MEMBER */
|
|
407
|
+
email?: string;
|
|
408
|
+
/** The member's user id. Value is valid when type is USER */
|
|
409
|
+
user_id?: string;
|
|
410
|
+
/** The member's department id. Value is valid when type is DEPARTMENT */
|
|
411
|
+
department_id?: string;
|
|
412
|
+
/** 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 */
|
|
413
|
+
type?: 'USER' | 'DEPARTMENT' | 'COMPANY' | 'EXTERNAL_USER' | 'MAIL_GROUP' | 'PUBLIC_MAILBOX' | 'OTHER_MEMBER';
|
|
414
|
+
}
|
|
331
415
|
export interface GetMailMailgroupMemberQuery {
|
|
332
416
|
/** 此次调用中使用的用户ID的类型 */
|
|
333
417
|
user_id_type?: 'user_id' | 'union_id' | 'open_id';
|
|
334
418
|
/** 此次调用中使用的部门ID的类型 */
|
|
335
419
|
department_id_type?: 'department_id' | 'open_department_id';
|
|
336
420
|
}
|
|
421
|
+
export interface GetMailMailgroupMemberResponse {
|
|
422
|
+
/** The unique ID of a member in this mail group */
|
|
423
|
+
member_id?: string;
|
|
424
|
+
/** The member's email address. Value is valid when type is one of USER/EXTERNAL_USER/MAIL_GROUP/PUBLIC_MAILBOX/OTHER_MEMBER */
|
|
425
|
+
email?: string;
|
|
426
|
+
/** The member's user id. Value is valid when type is USER */
|
|
427
|
+
user_id?: string;
|
|
428
|
+
/** The member's department id. Value is valid when type is DEPARTMENT */
|
|
429
|
+
department_id?: string;
|
|
430
|
+
/** 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 */
|
|
431
|
+
type?: 'USER' | 'DEPARTMENT' | 'COMPANY' | 'EXTERNAL_USER' | 'MAIL_GROUP' | 'PUBLIC_MAILBOX' | 'OTHER_MEMBER';
|
|
432
|
+
}
|
|
337
433
|
export interface ListMailMailgroupMemberQuery extends Pagination {
|
|
338
434
|
/** 此次调用中使用的用户ID的类型 */
|
|
339
435
|
user_id_type?: 'user_id' | 'union_id' | 'open_id';
|
|
@@ -350,6 +446,10 @@ export interface BatchCreateMailMailgroupMemberQuery {
|
|
|
350
446
|
/** 此次调用中使用的部门ID的类型 */
|
|
351
447
|
department_id_type?: 'department_id' | 'open_department_id';
|
|
352
448
|
}
|
|
449
|
+
export interface BatchCreateMailMailgroupMemberResponse {
|
|
450
|
+
/** 添加成功后的邮件组成员信息列表 */
|
|
451
|
+
items?: MailgroupMember[];
|
|
452
|
+
}
|
|
353
453
|
export interface BatchDeleteMailMailgroupMemberRequest {
|
|
354
454
|
/** 本次调用删除的成员ID列表 */
|
|
355
455
|
member_id_list?: string[];
|
|
@@ -358,6 +458,14 @@ export interface CreateMailMailgroupAliasRequest {
|
|
|
358
458
|
/** 邮箱别名 */
|
|
359
459
|
email_alias?: string;
|
|
360
460
|
}
|
|
461
|
+
export interface CreateMailMailgroupAliasResponse {
|
|
462
|
+
/** 邮件组别名 */
|
|
463
|
+
mailgroup_alias?: EmailAlias;
|
|
464
|
+
}
|
|
465
|
+
export interface ListMailMailgroupAliasResponse {
|
|
466
|
+
/** 邮件组别名 */
|
|
467
|
+
items?: EmailAlias[];
|
|
468
|
+
}
|
|
361
469
|
export interface CreateMailMailgroupPermissionMemberRequest {
|
|
362
470
|
/** The member's user id. Value is valid when type is USER */
|
|
363
471
|
user_id?: string;
|
|
@@ -374,12 +482,36 @@ export interface CreateMailMailgroupPermissionMemberQuery {
|
|
|
374
482
|
/** 此次调用中使用的部门ID的类型 */
|
|
375
483
|
department_id_type?: 'department_id' | 'open_department_id';
|
|
376
484
|
}
|
|
485
|
+
export interface CreateMailMailgroupPermissionMemberResponse {
|
|
486
|
+
/** The unique ID of a member in this permission group */
|
|
487
|
+
permission_member_id?: string;
|
|
488
|
+
/** The member's user id. Value is valid when type is USER */
|
|
489
|
+
user_id?: string;
|
|
490
|
+
/** The member's department id. Value is valid when type is DEPARTMENT */
|
|
491
|
+
department_id?: string;
|
|
492
|
+
/** The member's email address. Value is valid when type is MAIL_GROUP/PUBLIC_MAILBOX */
|
|
493
|
+
email?: string;
|
|
494
|
+
/** The type of member. Possible values are:- USER: internal user in the team- DEPARTMENT: member is a department */
|
|
495
|
+
type?: 'USER' | 'DEPARTMENT' | 'MAIL_GROUP' | 'PUBLIC_MAILBOX';
|
|
496
|
+
}
|
|
377
497
|
export interface GetMailMailgroupPermissionMemberQuery {
|
|
378
498
|
/** 此次调用中使用的用户ID的类型 */
|
|
379
499
|
user_id_type?: 'user_id' | 'union_id' | 'open_id';
|
|
380
500
|
/** 此次调用中使用的部门ID的类型 */
|
|
381
501
|
department_id_type?: 'department_id' | 'open_department_id';
|
|
382
502
|
}
|
|
503
|
+
export interface GetMailMailgroupPermissionMemberResponse {
|
|
504
|
+
/** The unique ID of a member in this permission group */
|
|
505
|
+
permission_member_id?: string;
|
|
506
|
+
/** The member's user id. Value is valid when type is USER */
|
|
507
|
+
user_id?: string;
|
|
508
|
+
/** The member's department id. Value is valid when type is DEPARTMENT */
|
|
509
|
+
department_id?: string;
|
|
510
|
+
/** The member's email address. Value is valid when type is MAIL_GROUP/PUBLIC_MAILBOX */
|
|
511
|
+
email?: string;
|
|
512
|
+
/** The type of member. Possible values are:- USER: internal user in the team- DEPARTMENT: member is a department */
|
|
513
|
+
type?: 'USER' | 'DEPARTMENT' | 'MAIL_GROUP' | 'PUBLIC_MAILBOX';
|
|
514
|
+
}
|
|
383
515
|
export interface ListMailMailgroupPermissionMemberQuery extends Pagination {
|
|
384
516
|
/** 此次调用中使用的用户ID的类型 */
|
|
385
517
|
user_id_type?: 'user_id' | 'union_id' | 'open_id';
|
|
@@ -396,6 +528,10 @@ export interface BatchCreateMailMailgroupPermissionMemberQuery {
|
|
|
396
528
|
/** 此次调用中使用的部门ID的类型 */
|
|
397
529
|
department_id_type?: 'department_id' | 'open_department_id';
|
|
398
530
|
}
|
|
531
|
+
export interface BatchCreateMailMailgroupPermissionMemberResponse {
|
|
532
|
+
/** 添加成功后的邮件组权限成员信息列表 */
|
|
533
|
+
items?: MailgroupPermissionMember[];
|
|
534
|
+
}
|
|
399
535
|
export interface BatchDeleteMailMailgroupPermissionMemberRequest {
|
|
400
536
|
/** 本次调用删除的权限成员ID列表 */
|
|
401
537
|
permission_member_id_list: string[];
|
|
@@ -408,214 +544,32 @@ export interface CreateMailPublicMailboxRequest {
|
|
|
408
544
|
/** 数据驻留地 */
|
|
409
545
|
geo?: string;
|
|
410
546
|
}
|
|
411
|
-
export interface
|
|
412
|
-
/** The
|
|
547
|
+
export interface CreateMailPublicMailboxResponse {
|
|
548
|
+
/** The unique ID of a public mailbox */
|
|
549
|
+
public_mailbox_id?: string;
|
|
550
|
+
/** The public mailbox's email address */
|
|
413
551
|
email?: string;
|
|
414
552
|
/** The public mailbox's display name */
|
|
415
553
|
name?: string;
|
|
554
|
+
/** 数据驻留地 */
|
|
555
|
+
geo?: string;
|
|
416
556
|
}
|
|
417
|
-
export interface
|
|
557
|
+
export interface PatchMailPublicMailboxRequest {
|
|
418
558
|
/** The public mailbox's new primary email address */
|
|
419
559
|
email?: string;
|
|
420
560
|
/** The public mailbox's display name */
|
|
421
561
|
name?: string;
|
|
422
562
|
}
|
|
423
|
-
export interface
|
|
424
|
-
/** The member's user id. Value is valid when type is USER */
|
|
425
|
-
user_id?: string;
|
|
426
|
-
/** The type of member. Possible values are:- USER: internal user in the team */
|
|
427
|
-
type?: 'USER';
|
|
428
|
-
}
|
|
429
|
-
export interface CreateMailPublicMailboxMemberQuery {
|
|
430
|
-
/** 此次调用中使用的用户ID的类型 */
|
|
431
|
-
user_id_type?: 'user_id' | 'union_id' | 'open_id';
|
|
432
|
-
}
|
|
433
|
-
export interface GetMailPublicMailboxMemberQuery {
|
|
434
|
-
/** 此次调用中使用的用户ID的类型 */
|
|
435
|
-
user_id_type?: 'user_id' | 'union_id' | 'open_id';
|
|
436
|
-
}
|
|
437
|
-
export interface ListMailPublicMailboxMemberQuery extends Pagination {
|
|
438
|
-
/** 此次调用中使用的用户ID的类型 */
|
|
439
|
-
user_id_type?: 'user_id' | 'union_id' | 'open_id';
|
|
440
|
-
}
|
|
441
|
-
export interface BatchCreateMailPublicMailboxMemberRequest {
|
|
442
|
-
/** 本次调用添加的公共邮箱成员列表 */
|
|
443
|
-
items: PublicMailboxMember[];
|
|
444
|
-
}
|
|
445
|
-
export interface BatchCreateMailPublicMailboxMemberQuery {
|
|
446
|
-
/** 此次调用中使用的用户ID的类型 */
|
|
447
|
-
user_id_type?: 'user_id' | 'union_id' | 'open_id';
|
|
448
|
-
}
|
|
449
|
-
export interface BatchDeleteMailPublicMailboxMemberRequest {
|
|
450
|
-
/** 本次调用删除的公共邮箱成员ID列表 */
|
|
451
|
-
member_id_list: string[];
|
|
452
|
-
}
|
|
453
|
-
export interface CreateMailPublicMailboxAliasRequest {
|
|
454
|
-
/** 邮箱别名 */
|
|
455
|
-
email_alias?: string;
|
|
456
|
-
}
|
|
457
|
-
export interface DeleteMailUserMailboxQuery {
|
|
458
|
-
/** 用于接受转移的邮箱地址 */
|
|
459
|
-
transfer_mailbox?: string;
|
|
460
|
-
}
|
|
461
|
-
export interface CreateMailUserMailboxAliasRequest {
|
|
462
|
-
/** 邮箱别名 */
|
|
463
|
-
email_alias?: string;
|
|
464
|
-
}
|
|
465
|
-
export interface QueryMailUserRequest {
|
|
466
|
-
/** 需要查询的邮箱地址列表 */
|
|
467
|
-
email_list: string[];
|
|
468
|
-
}
|
|
469
|
-
export interface CreateMailMailgroupResponse {
|
|
470
|
-
/** The unique ID of a mail group */
|
|
471
|
-
mailgroup_id?: string;
|
|
472
|
-
/** The mail group's email address */
|
|
473
|
-
email?: string;
|
|
474
|
-
/** The mail group's display name */
|
|
475
|
-
name?: string;
|
|
476
|
-
/** The mail group's description */
|
|
477
|
-
description?: string;
|
|
478
|
-
/** The number of mail group's direct members */
|
|
479
|
-
direct_members_count?: string;
|
|
480
|
-
/** Value is true if this mail group has external member */
|
|
481
|
-
include_external_member?: boolean;
|
|
482
|
-
/** Value is true if all company members are in this mail group */
|
|
483
|
-
include_all_company_member?: boolean;
|
|
484
|
-
/** 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 */
|
|
485
|
-
who_can_send_mail?: 'ANYONE' | 'ALL_INTERNAL_USERS' | 'ALL_GROUP_MEMBERS' | 'CUSTOM_MEMBERS';
|
|
486
|
-
}
|
|
487
|
-
export interface PatchMailMailgroupResponse {
|
|
488
|
-
/** The unique ID of a mail group */
|
|
489
|
-
mailgroup_id?: string;
|
|
490
|
-
/** The mail group's email address */
|
|
491
|
-
email?: string;
|
|
492
|
-
/** The mail group's display name */
|
|
493
|
-
name?: string;
|
|
494
|
-
/** The mail group's description */
|
|
495
|
-
description?: string;
|
|
496
|
-
/** The number of mail group's direct members */
|
|
497
|
-
direct_members_count?: string;
|
|
498
|
-
/** Value is true if this mail group has external member */
|
|
499
|
-
include_external_member?: boolean;
|
|
500
|
-
/** Value is true if all company members are in this mail group */
|
|
501
|
-
include_all_company_member?: boolean;
|
|
502
|
-
/** 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 */
|
|
503
|
-
who_can_send_mail?: 'ANYONE' | 'ALL_INTERNAL_USERS' | 'ALL_GROUP_MEMBERS' | 'CUSTOM_MEMBERS';
|
|
504
|
-
}
|
|
505
|
-
export interface UpdateMailMailgroupResponse {
|
|
506
|
-
/** The unique ID of a mail group */
|
|
507
|
-
mailgroup_id?: string;
|
|
508
|
-
/** The mail group's email address */
|
|
509
|
-
email?: string;
|
|
510
|
-
/** The mail group's display name */
|
|
511
|
-
name?: string;
|
|
512
|
-
/** The mail group's description */
|
|
513
|
-
description?: string;
|
|
514
|
-
/** The number of mail group's direct members */
|
|
515
|
-
direct_members_count?: string;
|
|
516
|
-
/** Value is true if this mail group has external member */
|
|
517
|
-
include_external_member?: boolean;
|
|
518
|
-
/** Value is true if all company members are in this mail group */
|
|
519
|
-
include_all_company_member?: boolean;
|
|
520
|
-
/** 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 */
|
|
521
|
-
who_can_send_mail?: 'ANYONE' | 'ALL_INTERNAL_USERS' | 'ALL_GROUP_MEMBERS' | 'CUSTOM_MEMBERS';
|
|
522
|
-
}
|
|
523
|
-
export interface GetMailMailgroupResponse {
|
|
524
|
-
/** The unique ID of a mail group */
|
|
525
|
-
mailgroup_id?: string;
|
|
526
|
-
/** The mail group's email address */
|
|
527
|
-
email?: string;
|
|
528
|
-
/** The mail group's display name */
|
|
529
|
-
name?: string;
|
|
530
|
-
/** The mail group's description */
|
|
531
|
-
description?: string;
|
|
532
|
-
/** The number of mail group's direct members */
|
|
533
|
-
direct_members_count?: string;
|
|
534
|
-
/** Value is true if this mail group has external member */
|
|
535
|
-
include_external_member?: boolean;
|
|
536
|
-
/** Value is true if all company members are in this mail group */
|
|
537
|
-
include_all_company_member?: boolean;
|
|
538
|
-
/** 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 */
|
|
539
|
-
who_can_send_mail?: 'ANYONE' | 'ALL_INTERNAL_USERS' | 'ALL_GROUP_MEMBERS' | 'CUSTOM_MEMBERS';
|
|
540
|
-
}
|
|
541
|
-
export interface CreateMailMailgroupMemberResponse {
|
|
542
|
-
/** The unique ID of a member in this mail group */
|
|
543
|
-
member_id?: string;
|
|
544
|
-
/** The member's email address. Value is valid when type is one of USER/EXTERNAL_USER/MAIL_GROUP/PUBLIC_MAILBOX/OTHER_MEMBER */
|
|
545
|
-
email?: string;
|
|
546
|
-
/** The member's user id. Value is valid when type is USER */
|
|
547
|
-
user_id?: string;
|
|
548
|
-
/** The member's department id. Value is valid when type is DEPARTMENT */
|
|
549
|
-
department_id?: string;
|
|
550
|
-
/** 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 */
|
|
551
|
-
type?: 'USER' | 'DEPARTMENT' | 'COMPANY' | 'EXTERNAL_USER' | 'MAIL_GROUP' | 'PUBLIC_MAILBOX' | 'OTHER_MEMBER';
|
|
552
|
-
}
|
|
553
|
-
export interface GetMailMailgroupMemberResponse {
|
|
554
|
-
/** The unique ID of a member in this mail group */
|
|
555
|
-
member_id?: string;
|
|
556
|
-
/** The member's email address. Value is valid when type is one of USER/EXTERNAL_USER/MAIL_GROUP/PUBLIC_MAILBOX/OTHER_MEMBER */
|
|
557
|
-
email?: string;
|
|
558
|
-
/** The member's user id. Value is valid when type is USER */
|
|
559
|
-
user_id?: string;
|
|
560
|
-
/** The member's department id. Value is valid when type is DEPARTMENT */
|
|
561
|
-
department_id?: string;
|
|
562
|
-
/** 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 */
|
|
563
|
-
type?: 'USER' | 'DEPARTMENT' | 'COMPANY' | 'EXTERNAL_USER' | 'MAIL_GROUP' | 'PUBLIC_MAILBOX' | 'OTHER_MEMBER';
|
|
564
|
-
}
|
|
565
|
-
export interface BatchCreateMailMailgroupMemberResponse {
|
|
566
|
-
/** 添加成功后的邮件组成员信息列表 */
|
|
567
|
-
items?: MailgroupMember[];
|
|
568
|
-
}
|
|
569
|
-
export interface CreateMailMailgroupAliasResponse {
|
|
570
|
-
/** 邮件组别名 */
|
|
571
|
-
mailgroup_alias?: EmailAlias;
|
|
572
|
-
}
|
|
573
|
-
export interface ListMailMailgroupAliasResponse {
|
|
574
|
-
/** 邮件组别名 */
|
|
575
|
-
items?: EmailAlias[];
|
|
576
|
-
}
|
|
577
|
-
export interface CreateMailMailgroupPermissionMemberResponse {
|
|
578
|
-
/** The unique ID of a member in this permission group */
|
|
579
|
-
permission_member_id?: string;
|
|
580
|
-
/** The member's user id. Value is valid when type is USER */
|
|
581
|
-
user_id?: string;
|
|
582
|
-
/** The member's department id. Value is valid when type is DEPARTMENT */
|
|
583
|
-
department_id?: string;
|
|
584
|
-
/** The member's email address. Value is valid when type is MAIL_GROUP/PUBLIC_MAILBOX */
|
|
585
|
-
email?: string;
|
|
586
|
-
/** The type of member. Possible values are:- USER: internal user in the team- DEPARTMENT: member is a department */
|
|
587
|
-
type?: 'USER' | 'DEPARTMENT' | 'MAIL_GROUP' | 'PUBLIC_MAILBOX';
|
|
588
|
-
}
|
|
589
|
-
export interface GetMailMailgroupPermissionMemberResponse {
|
|
590
|
-
/** The unique ID of a member in this permission group */
|
|
591
|
-
permission_member_id?: string;
|
|
592
|
-
/** The member's user id. Value is valid when type is USER */
|
|
593
|
-
user_id?: string;
|
|
594
|
-
/** The member's department id. Value is valid when type is DEPARTMENT */
|
|
595
|
-
department_id?: string;
|
|
596
|
-
/** The member's email address. Value is valid when type is MAIL_GROUP/PUBLIC_MAILBOX */
|
|
597
|
-
email?: string;
|
|
598
|
-
/** The type of member. Possible values are:- USER: internal user in the team- DEPARTMENT: member is a department */
|
|
599
|
-
type?: 'USER' | 'DEPARTMENT' | 'MAIL_GROUP' | 'PUBLIC_MAILBOX';
|
|
600
|
-
}
|
|
601
|
-
export interface BatchCreateMailMailgroupPermissionMemberResponse {
|
|
602
|
-
/** 添加成功后的邮件组权限成员信息列表 */
|
|
603
|
-
items?: MailgroupPermissionMember[];
|
|
604
|
-
}
|
|
605
|
-
export interface CreateMailPublicMailboxResponse {
|
|
563
|
+
export interface PatchMailPublicMailboxResponse {
|
|
606
564
|
/** The unique ID of a public mailbox */
|
|
607
565
|
public_mailbox_id?: string;
|
|
608
566
|
/** The public mailbox's email address */
|
|
609
567
|
email?: string;
|
|
610
568
|
/** The public mailbox's display name */
|
|
611
569
|
name?: string;
|
|
612
|
-
/** 数据驻留地 */
|
|
613
|
-
geo?: string;
|
|
614
570
|
}
|
|
615
|
-
export interface
|
|
616
|
-
/** The
|
|
617
|
-
public_mailbox_id?: string;
|
|
618
|
-
/** The public mailbox's email address */
|
|
571
|
+
export interface UpdateMailPublicMailboxRequest {
|
|
572
|
+
/** The public mailbox's new primary email address */
|
|
619
573
|
email?: string;
|
|
620
574
|
/** The public mailbox's display name */
|
|
621
575
|
name?: string;
|
|
@@ -638,6 +592,16 @@ export interface GetMailPublicMailboxResponse {
|
|
|
638
592
|
/** 数据驻留地 */
|
|
639
593
|
geo?: string;
|
|
640
594
|
}
|
|
595
|
+
export interface CreateMailPublicMailboxMemberRequest {
|
|
596
|
+
/** The member's user id. Value is valid when type is USER */
|
|
597
|
+
user_id?: string;
|
|
598
|
+
/** The type of member. Possible values are:- USER: internal user in the team */
|
|
599
|
+
type?: 'USER';
|
|
600
|
+
}
|
|
601
|
+
export interface CreateMailPublicMailboxMemberQuery {
|
|
602
|
+
/** 此次调用中使用的用户ID的类型 */
|
|
603
|
+
user_id_type?: 'user_id' | 'union_id' | 'open_id';
|
|
604
|
+
}
|
|
641
605
|
export interface CreateMailPublicMailboxMemberResponse {
|
|
642
606
|
/** The unique ID of a member in this public mailbox */
|
|
643
607
|
member_id?: string;
|
|
@@ -646,6 +610,10 @@ export interface CreateMailPublicMailboxMemberResponse {
|
|
|
646
610
|
/** The type of member. Possible values are:- USER: internal user in the team */
|
|
647
611
|
type?: 'USER';
|
|
648
612
|
}
|
|
613
|
+
export interface GetMailPublicMailboxMemberQuery {
|
|
614
|
+
/** 此次调用中使用的用户ID的类型 */
|
|
615
|
+
user_id_type?: 'user_id' | 'union_id' | 'open_id';
|
|
616
|
+
}
|
|
649
617
|
export interface GetMailPublicMailboxMemberResponse {
|
|
650
618
|
/** The unique ID of a member in this public mailbox */
|
|
651
619
|
member_id?: string;
|
|
@@ -654,10 +622,30 @@ export interface GetMailPublicMailboxMemberResponse {
|
|
|
654
622
|
/** The type of member. Possible values are:- USER: internal user in the team */
|
|
655
623
|
type?: 'USER';
|
|
656
624
|
}
|
|
625
|
+
export interface ListMailPublicMailboxMemberQuery extends Pagination {
|
|
626
|
+
/** 此次调用中使用的用户ID的类型 */
|
|
627
|
+
user_id_type?: 'user_id' | 'union_id' | 'open_id';
|
|
628
|
+
}
|
|
629
|
+
export interface BatchCreateMailPublicMailboxMemberRequest {
|
|
630
|
+
/** 本次调用添加的公共邮箱成员列表 */
|
|
631
|
+
items: PublicMailboxMember[];
|
|
632
|
+
}
|
|
633
|
+
export interface BatchCreateMailPublicMailboxMemberQuery {
|
|
634
|
+
/** 此次调用中使用的用户ID的类型 */
|
|
635
|
+
user_id_type?: 'user_id' | 'union_id' | 'open_id';
|
|
636
|
+
}
|
|
657
637
|
export interface BatchCreateMailPublicMailboxMemberResponse {
|
|
658
638
|
/** 添加成功后的公共邮箱成员信息列表 */
|
|
659
639
|
items?: PublicMailboxMember[];
|
|
660
640
|
}
|
|
641
|
+
export interface BatchDeleteMailPublicMailboxMemberRequest {
|
|
642
|
+
/** 本次调用删除的公共邮箱成员ID列表 */
|
|
643
|
+
member_id_list: string[];
|
|
644
|
+
}
|
|
645
|
+
export interface CreateMailPublicMailboxAliasRequest {
|
|
646
|
+
/** 邮箱别名 */
|
|
647
|
+
email_alias?: string;
|
|
648
|
+
}
|
|
661
649
|
export interface CreateMailPublicMailboxAliasResponse {
|
|
662
650
|
/** 公共邮箱别名 */
|
|
663
651
|
public_mailbox_alias?: EmailAlias;
|
|
@@ -666,6 +654,14 @@ export interface ListMailPublicMailboxAliasResponse {
|
|
|
666
654
|
/** 公共邮箱别名 */
|
|
667
655
|
items?: EmailAlias[];
|
|
668
656
|
}
|
|
657
|
+
export interface DeleteMailUserMailboxQuery {
|
|
658
|
+
/** 用于接受转移的邮箱地址 */
|
|
659
|
+
transfer_mailbox?: string;
|
|
660
|
+
}
|
|
661
|
+
export interface CreateMailUserMailboxAliasRequest {
|
|
662
|
+
/** 邮箱别名 */
|
|
663
|
+
email_alias?: string;
|
|
664
|
+
}
|
|
669
665
|
export interface CreateMailUserMailboxAliasResponse {
|
|
670
666
|
/** 用户邮箱别名 */
|
|
671
667
|
user_mailbox_alias?: EmailAlias;
|
|
@@ -674,6 +670,10 @@ export interface ListMailUserMailboxAliasResponse {
|
|
|
674
670
|
/** 用户邮箱别名 */
|
|
675
671
|
items?: EmailAlias[];
|
|
676
672
|
}
|
|
673
|
+
export interface QueryMailUserRequest {
|
|
674
|
+
/** 需要查询的邮箱地址列表 */
|
|
675
|
+
email_list: string[];
|
|
676
|
+
}
|
|
677
677
|
export interface QueryMailUserResponse {
|
|
678
678
|
/** 邮箱地址返回 */
|
|
679
679
|
user_list?: User[];
|
package/lib/types/minutes.d.ts
CHANGED
|
@@ -17,14 +17,14 @@ export interface GetMinutesMinuteStatisticsQuery {
|
|
|
17
17
|
/** 此次调用中使用的用户ID的类型 */
|
|
18
18
|
user_id_type?: 'user_id' | 'union_id' | 'open_id';
|
|
19
19
|
}
|
|
20
|
-
export interface GetMinutesMinuteQuery {
|
|
21
|
-
/** 此次调用中使用的用户ID的类型 */
|
|
22
|
-
user_id_type?: 'user_id' | 'union_id' | 'open_id';
|
|
23
|
-
}
|
|
24
20
|
export interface GetMinutesMinuteStatisticsResponse {
|
|
25
21
|
/** 妙记浏览信息统计 */
|
|
26
22
|
statistics?: Statictics;
|
|
27
23
|
}
|
|
24
|
+
export interface GetMinutesMinuteQuery {
|
|
25
|
+
/** 此次调用中使用的用户ID的类型 */
|
|
26
|
+
user_id_type?: 'user_id' | 'union_id' | 'open_id';
|
|
27
|
+
}
|
|
28
28
|
export interface GetMinutesMinuteResponse {
|
|
29
29
|
/** 妙记基本信息 */
|
|
30
30
|
minute?: Minute;
|