@satorijs/adapter-lark 3.8.6 → 3.9.1

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 (121) 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 +2792 -1719
  5. package/lib/index.d.ts +4 -2
  6. package/lib/internal.d.ts +37 -0
  7. package/lib/message.d.ts +2 -0
  8. package/lib/types/acs.d.ts +177 -0
  9. package/lib/types/admin.d.ts +270 -0
  10. package/lib/types/aily.d.ts +221 -0
  11. package/lib/types/apaas.d.ts +499 -0
  12. package/lib/types/application.d.ts +406 -0
  13. package/lib/types/approval.d.ts +779 -0
  14. package/lib/types/attendance.d.ts +957 -0
  15. package/lib/types/auth.d.ts +86 -0
  16. package/lib/types/authen.d.ts +191 -0
  17. package/lib/types/baike.d.ts +239 -0
  18. package/lib/types/bitable.d.ts +691 -0
  19. package/lib/types/board.d.ts +19 -0
  20. package/lib/types/calendar.d.ts +653 -0
  21. package/lib/types/cardkit.d.ts +139 -0
  22. package/lib/types/compensation.d.ts +54 -0
  23. package/lib/types/contact.d.ts +1137 -0
  24. package/lib/types/corehr.d.ts +4391 -0
  25. package/lib/types/docs.d.ts +23 -0
  26. package/lib/types/document_ai.d.ts +257 -0
  27. package/lib/types/docx.d.ts +380 -0
  28. package/lib/types/drive.d.ts +1053 -0
  29. package/lib/types/ehr.d.ts +32 -0
  30. package/lib/types/event.d.ts +9 -18
  31. package/lib/types/helpdesk.d.ts +746 -0
  32. package/lib/types/hire.d.ts +3150 -0
  33. package/lib/types/human_authentication.d.ts +27 -0
  34. package/lib/types/im.d.ts +1300 -0
  35. package/lib/types/index.d.ts +16432 -34
  36. package/lib/types/lingo.d.ts +254 -0
  37. package/lib/types/mail.d.ts +680 -0
  38. package/lib/types/mdm.d.ts +42 -0
  39. package/lib/types/minutes.d.ts +31 -0
  40. package/lib/types/moments.d.ts +18 -0
  41. package/lib/types/okr.d.ts +205 -0
  42. package/lib/types/optical_char_recognition.d.ts +17 -0
  43. package/lib/types/passport.d.ts +45 -0
  44. package/lib/types/payroll.d.ts +50 -0
  45. package/lib/types/performance.d.ts +413 -0
  46. package/lib/types/personal_settings.d.ts +87 -0
  47. package/lib/types/report.d.ts +57 -0
  48. package/lib/types/search.d.ts +216 -0
  49. package/lib/types/security_and_compliance.d.ts +24 -0
  50. package/lib/types/sheets.d.ts +326 -0
  51. package/lib/types/speech_to_text.d.ts +39 -0
  52. package/lib/types/task.d.ts +1153 -0
  53. package/lib/types/tenant.d.ts +23 -0
  54. package/lib/types/translation.d.ts +37 -0
  55. package/lib/types/vc.d.ts +948 -0
  56. package/lib/types/verification.d.ts +14 -0
  57. package/lib/types/wiki.d.ts +240 -0
  58. package/lib/types/workplace.d.ts +43 -0
  59. package/lib/utils.d.ts +143 -7
  60. package/package.json +6 -4
  61. package/src/bot.ts +19 -3
  62. package/src/{types/message/content.ts → content.ts} +1 -0
  63. package/src/http.ts +1 -3
  64. package/src/index.ts +4 -2
  65. package/src/internal.ts +143 -0
  66. package/src/message.ts +13 -11
  67. package/src/types/acs.ts +236 -0
  68. package/src/types/admin.ts +328 -0
  69. package/src/types/aily.ts +288 -0
  70. package/src/types/apaas.ts +646 -0
  71. package/src/types/application.ts +520 -0
  72. package/src/types/approval.ts +924 -0
  73. package/src/types/attendance.ts +1153 -0
  74. package/src/types/auth.ts +114 -0
  75. package/src/types/authen.ts +220 -0
  76. package/src/types/baike.ts +306 -0
  77. package/src/types/bitable.ts +879 -0
  78. package/src/types/board.ts +31 -0
  79. package/src/types/calendar.ts +817 -0
  80. package/src/types/cardkit.ts +182 -0
  81. package/src/types/compensation.ts +79 -0
  82. package/src/types/contact.ts +1411 -0
  83. package/src/types/corehr.ts +5297 -0
  84. package/src/types/docs.ts +33 -0
  85. package/src/types/document_ai.ts +352 -0
  86. package/src/types/docx.ts +471 -0
  87. package/src/types/drive.ts +1321 -0
  88. package/src/types/ehr.ts +43 -0
  89. package/src/types/event.ts +15 -21
  90. package/src/types/helpdesk.ts +925 -0
  91. package/src/types/hire.ts +3918 -0
  92. package/src/types/human_authentication.ts +38 -0
  93. package/src/types/im.ts +1605 -0
  94. package/src/types/index.ts +17754 -39
  95. package/src/types/lingo.ts +321 -0
  96. package/src/types/mail.ts +851 -0
  97. package/src/types/mdm.ts +57 -0
  98. package/src/types/minutes.ts +46 -0
  99. package/src/types/moments.ts +28 -0
  100. package/src/types/okr.ts +261 -0
  101. package/src/types/optical_char_recognition.ts +27 -0
  102. package/src/types/passport.ts +61 -0
  103. package/src/types/payroll.ts +69 -0
  104. package/src/types/performance.ts +524 -0
  105. package/src/types/personal_settings.ts +116 -0
  106. package/src/types/report.ts +77 -0
  107. package/src/types/search.ts +268 -0
  108. package/src/types/security_and_compliance.ts +33 -0
  109. package/src/types/sheets.ts +425 -0
  110. package/src/types/speech_to_text.ts +54 -0
  111. package/src/types/task.ts +1464 -0
  112. package/src/types/tenant.ts +36 -0
  113. package/src/types/translation.ts +52 -0
  114. package/src/types/vc.ts +1197 -0
  115. package/src/types/verification.ts +23 -0
  116. package/src/types/wiki.ts +313 -0
  117. package/src/types/workplace.ts +59 -0
  118. package/src/utils.ts +160 -8
  119. package/src/types/api.ts +0 -30848
  120. package/src/types/internal.ts +0 -84
  121. package/src/types/message/index.ts +0 -97
@@ -0,0 +1,38 @@
1
+ import { Internal } from '../internal'
2
+
3
+ declare module '../internal' {
4
+ interface Internal {
5
+ /**
6
+ * 录入身份信息
7
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/human_authentication-v1/identity/create
8
+ */
9
+ createHumanAuthenticationIdentity(body: CreateHumanAuthenticationIdentityRequest, query?: CreateHumanAuthenticationIdentityQuery): Promise<CreateHumanAuthenticationIdentityResponse>
10
+ }
11
+ }
12
+
13
+ export interface CreateHumanAuthenticationIdentityRequest {
14
+ /** 姓名 */
15
+ identity_name: string
16
+ /** 身份证号 */
17
+ identity_code: string
18
+ /** 手机号 */
19
+ mobile?: string
20
+ }
21
+
22
+ export interface CreateHumanAuthenticationIdentityQuery {
23
+ /** 用户的唯一标识(使用的ID类型见下一参数描述,不同ID类型的区别和获取,参考文档:[如何获得 User ID、Open ID 和 Union ID?](/ssl:ttdoc/home/user-identity-introduction/how-to-get)) */
24
+ user_id: string
25
+ /** 用户ID类型 open_id/user_id/union_id */
26
+ user_id_type?: 'open_id' | 'user_id' | 'union_id'
27
+ }
28
+
29
+ export interface CreateHumanAuthenticationIdentityResponse {
30
+ /** uid of user bind authentication */
31
+ verify_uid: string
32
+ }
33
+
34
+ Internal.define({
35
+ '/human_authentication/v1/identities': {
36
+ POST: 'createHumanAuthenticationIdentity',
37
+ },
38
+ })