@satorijs/adapter-dingtalk 2.0.0 → 2.0.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.
Files changed (50) hide show
  1. package/lib/api/alitrip.d.ts +12 -12
  2. package/lib/api/attendance.d.ts +3 -3
  3. package/lib/api/badge.d.ts +8 -8
  4. package/lib/api/blackboard.d.ts +1 -1
  5. package/lib/api/calendar.d.ts +28 -28
  6. package/lib/api/card.d.ts +6 -6
  7. package/lib/api/conference.d.ts +23 -23
  8. package/lib/api/connector.d.ts +3 -3
  9. package/lib/api/contact.d.ts +2 -2
  10. package/lib/api/convFile.d.ts +4 -4
  11. package/lib/api/crm.d.ts +28 -28
  12. package/lib/api/customerService.d.ts +4 -4
  13. package/lib/api/datacenter.d.ts +26 -26
  14. package/lib/api/devicemng.d.ts +5 -5
  15. package/lib/api/diot.d.ts +1 -1
  16. package/lib/api/doc.d.ts +8 -8
  17. package/lib/api/drive.d.ts +4 -4
  18. package/lib/api/edu.d.ts +5 -5
  19. package/lib/api/esign.d.ts +2 -2
  20. package/lib/api/exclusive.d.ts +14 -14
  21. package/lib/api/h3yun.d.ts +20 -20
  22. package/lib/api/hrm.d.ts +9 -9
  23. package/lib/api/im.d.ts +37 -37
  24. package/lib/api/industry.d.ts +5 -5
  25. package/lib/api/jzcrm.d.ts +13 -13
  26. package/lib/api/link.d.ts +4 -4
  27. package/lib/api/live.d.ts +6 -6
  28. package/lib/api/microApp.d.ts +12 -12
  29. package/lib/api/oapi.d.ts +257 -257
  30. package/lib/api/oauth2.d.ts +7 -7
  31. package/lib/api/pedia.d.ts +6 -6
  32. package/lib/api/project.d.ts +50 -50
  33. package/lib/api/resident.d.ts +6 -6
  34. package/lib/api/robot.d.ts +14 -14
  35. package/lib/api/rooms.d.ts +12 -12
  36. package/lib/api/serviceGroup.d.ts +8 -8
  37. package/lib/api/storage.d.ts +51 -51
  38. package/lib/api/swform.d.ts +3 -3
  39. package/lib/api/todo.d.ts +5 -5
  40. package/lib/api/wiki.d.ts +6 -6
  41. package/lib/api/workbench.d.ts +3 -3
  42. package/lib/api/yida.d.ts +60 -60
  43. package/lib/bot.d.ts +5 -6
  44. package/lib/http.d.ts +2 -3
  45. package/lib/index.js +164 -165
  46. package/lib/index.js.map +2 -2
  47. package/lib/message.d.ts +2 -2
  48. package/lib/utils.d.ts +2 -2
  49. package/lib/ws.d.ts +3 -3
  50. package/package.json +7 -4
@@ -133,42 +133,42 @@ declare module '../internal' {
133
133
  interface Internal {
134
134
  /**
135
135
  * 添加服务群成员
136
- * @see https://developers.dingtalk.com/document/orgapp/add-service-group-members
136
+ * @see https://open.dingtalk.com/document/orgapp/add-service-group-members
137
137
  */
138
138
  addMemberToServiceGroup(params: AddMemberToServiceGroupParams): Promise<AddMemberToServiceGroupResponse>;
139
139
  /**
140
140
  * 服务群发任务
141
- * @see https://developers.dingtalk.com/document/orgapp/service-group-sending-task-interface
141
+ * @see https://open.dingtalk.com/document/orgapp/service-group-sending-task-interface
142
142
  */
143
143
  sendMsgByTask(params: SendMsgByTaskParams): Promise<SendMsgByTaskResponse>;
144
144
  /**
145
145
  * 升级普通群为服务群
146
- * @see https://developers.dingtalk.com/document/orgapp/a-dingtalk-group-is-upgraded-to-one-of-the-intelligent
146
+ * @see https://open.dingtalk.com/document/orgapp/a-dingtalk-group-is-upgraded-to-one-of-the-intelligent
147
147
  */
148
148
  upgradeNormalGroup(params: UpgradeNormalGroupParams): Promise<void>;
149
149
  /**
150
150
  * 升级云客服服务群为钉钉智能服务群
151
- * @see https://developers.dingtalk.com/document/orgapp/upgraded-the-cloud-customer-service-group-to-the-dingtalk-intelligent
151
+ * @see https://open.dingtalk.com/document/orgapp/upgraded-the-cloud-customer-service-group-to-the-dingtalk-intelligent
152
152
  */
153
153
  upgradeCloudGroup(params: UpgradeCloudGroupParams): Promise<void>;
154
154
  /**
155
155
  * 查询服务群活跃成员
156
- * @see https://developers.dingtalk.com/document/orgapp/queries-active-service-users
156
+ * @see https://open.dingtalk.com/document/orgapp/queries-active-service-users
157
157
  */
158
158
  queryActiveUsers(query: QueryActiveUsersQuery): Promise<QueryActiveUsersResponse>;
159
159
  /**
160
160
  * 服务群发消息
161
- * @see https://developers.dingtalk.com/document/orgapp/service-group-message-sending-interface
161
+ * @see https://open.dingtalk.com/document/orgapp/service-group-message-sending-interface
162
162
  */
163
163
  sendServiceGroupMessage(params: SendServiceGroupMessageParams): Promise<SendServiceGroupMessageResponse>;
164
164
  /**
165
165
  * 创建服务群
166
- * @see https://developers.dingtalk.com/document/orgapp/create-a-scenario-service-group
166
+ * @see https://open.dingtalk.com/document/orgapp/create-a-scenario-service-group
167
167
  */
168
168
  serviceGroupCreateGroup(params: ServiceGroupCreateGroupParams): Promise<ServiceGroupCreateGroupResponse>;
169
169
  /**
170
170
  * 更换服务群所在的群分组
171
- * @see https://developers.dingtalk.com/document/isvapp/modify-a-service-group
171
+ * @see https://open.dingtalk.com/document/isvapp/modify-a-service-group
172
172
  */
173
173
  serviceGroupUpdateGroupSet(params: ServiceGroupUpdateGroupSetParams): Promise<ServiceGroupUpdateGroupSetResponse>;
174
174
  }
@@ -983,257 +983,257 @@ declare module '../internal' {
983
983
  interface Internal {
984
984
  /**
985
985
  * 搜索知识库
986
- * @see https://developers.dingtalk.com/document/orgapp/search-knowledge-base
986
+ * @see https://open.dingtalk.com/document/orgapp/search-knowledge-base
987
987
  */
988
988
  searchWorkspaces(query: SearchWorkspacesQuery, params: SearchWorkspacesParams): Promise<SearchWorkspacesResponse>;
989
989
  /**
990
990
  * 设置权限继承模式
991
- * @see https://developers.dingtalk.com/document/orgapp/set-permission-inheritance-mode
991
+ * @see https://open.dingtalk.com/document/orgapp/set-permission-inheritance-mode
992
992
  */
993
993
  setPermissionInheritance(dentryUuid: string, query: SetPermissionInheritanceQuery, params: SetPermissionInheritanceParams): Promise<SetPermissionInheritanceResponse>;
994
994
  /**
995
995
  * 获取权限继承模式
996
- * @see https://developers.dingtalk.com/document/orgapp/get-permission-inheritance-mode
996
+ * @see https://open.dingtalk.com/document/orgapp/get-permission-inheritance-mode
997
997
  */
998
998
  getPermissionInheritance(dentryUuid: string, query: GetPermissionInheritanceQuery): Promise<GetPermissionInheritanceResponse>;
999
999
  /**
1000
1000
  * 修改权限
1001
- * @see https://developers.dingtalk.com/document/orgapp/modify-permissions-file
1001
+ * @see https://open.dingtalk.com/document/orgapp/modify-permissions-file
1002
1002
  */
1003
1003
  storageUpdatePermission(dentryUuid: string, query: StorageUpdatePermissionQuery, params: StorageUpdatePermissionParams): Promise<StorageUpdatePermissionResponse>;
1004
1004
  /**
1005
1005
  * 删除权限
1006
- * @see https://developers.dingtalk.com/document/orgapp/delete-permissions-file
1006
+ * @see https://open.dingtalk.com/document/orgapp/delete-permissions-file
1007
1007
  */
1008
1008
  storageDeletePermission(dentryUuid: string, query: StorageDeletePermissionQuery, params: StorageDeletePermissionParams): Promise<StorageDeletePermissionResponse>;
1009
1009
  /**
1010
1010
  * 添加权限
1011
- * @see https://developers.dingtalk.com/document/orgapp/add-permissions-file
1011
+ * @see https://open.dingtalk.com/document/orgapp/add-permissions-file
1012
1012
  */
1013
1013
  storageAddPermission(dentryUuid: string, query: StorageAddPermissionQuery, params: StorageAddPermissionParams): Promise<StorageAddPermissionResponse>;
1014
1014
  /**
1015
1015
  * 获取权限列表
1016
- * @see https://developers.dingtalk.com/document/orgapp/get-permission-list
1016
+ * @see https://open.dingtalk.com/document/orgapp/get-permission-list
1017
1017
  */
1018
1018
  listPermissionsOrg(dentryUuid: string, query: ListPermissionsOrgQuery, params: ListPermissionsOrgParams): Promise<ListPermissionsOrgResponse>;
1019
1019
  /**
1020
1020
  * 搜索文件
1021
- * @see https://developers.dingtalk.com/document/orgapp/search-for-files
1021
+ * @see https://open.dingtalk.com/document/orgapp/search-for-files
1022
1022
  */
1023
1023
  searchDentries(query: SearchDentriesQuery, params: SearchDentriesParams): Promise<SearchDentriesResponse>;
1024
1024
  /**
1025
1025
  * 提交文件
1026
- * @see https://developers.dingtalk.com/document/app/submittal-file
1026
+ * @see https://open.dingtalk.com/document/app/submittal-file
1027
1027
  */
1028
1028
  storageCommitFile(parentDentryUuid: string, query: StorageCommitFileQuery, params: StorageCommitFileParams): Promise<StorageCommitFileResponse>;
1029
1029
  /**
1030
1030
  * 获取文件上传信息
1031
- * @see https://developers.dingtalk.com/document/app/obtain-file-upload-informations
1031
+ * @see https://open.dingtalk.com/document/app/obtain-file-upload-informations
1032
1032
  */
1033
1033
  storageGetFileUploadInfo(parentDentryUuid: string, query: StorageGetFileUploadInfoQuery, params: StorageGetFileUploadInfoParams): Promise<StorageGetFileUploadInfoResponse>;
1034
1034
  /**
1035
1035
  * 取消订阅文件变更事件
1036
- * @see https://developers.dingtalk.com/document/isvapp/unsubscribe-from-file-change-event
1036
+ * @see https://open.dingtalk.com/document/isvapp/unsubscribe-from-file-change-event
1037
1037
  */
1038
1038
  unsubscribeEvent(query: UnsubscribeEventQuery, params: UnsubscribeEventParams): Promise<UnsubscribeEventResponse>;
1039
1039
  /**
1040
1040
  * 获取文件列表
1041
- * @see https://developers.dingtalk.com/document/isvapp/get-the-list-of-files-or-folders-under-a-space
1041
+ * @see https://open.dingtalk.com/document/isvapp/get-the-list-of-files-or-folders-under-a-space
1042
1042
  */
1043
1043
  listAllDentries(spaceId: string, query: ListAllDentriesQuery, params: ListAllDentriesParams): Promise<ListAllDentriesResponse>;
1044
1044
  /**
1045
1045
  * 批量获取文件(夹)信息
1046
- * @see https://developers.dingtalk.com/document/isvapp/get-file-or-folder-information-in-bulk
1046
+ * @see https://open.dingtalk.com/document/isvapp/get-file-or-folder-information-in-bulk
1047
1047
  */
1048
1048
  getDentries(spaceId: string, query: GetDentriesQuery, params: GetDentriesParams): Promise<GetDentriesResponse>;
1049
1049
  /**
1050
1050
  * 批量获取文件缩略图
1051
- * @see undefined
1051
+ * @see https://open.dingtalk.com/document/isvapp/get-file-thumbnails-in-bulk
1052
1052
  */
1053
1053
  getDentryThumbnails(spaceId: string, query: GetDentryThumbnailsQuery, params: GetDentryThumbnailsParams): Promise<GetDentryThumbnailsResponse>;
1054
1054
  /**
1055
1055
  * 批量移动文件或文件夹
1056
- * @see https://developers.dingtalk.com/document/isvapp/bulk-move-files-or-folders
1056
+ * @see https://open.dingtalk.com/document/isvapp/bulk-move-files-or-folders
1057
1057
  */
1058
1058
  moveDentries(spaceId: string, query: MoveDentriesQuery, params: MoveDentriesParams): Promise<MoveDentriesResponse>;
1059
1059
  /**
1060
1060
  * 批量拷贝文件或文件夹
1061
- * @see https://developers.dingtalk.com/document/isvapp/copy-files-or-folders-in-bulk
1061
+ * @see https://open.dingtalk.com/document/isvapp/copy-files-or-folders-in-bulk
1062
1062
  */
1063
1063
  copyDentries(spaceId: string, query: CopyDentriesQuery, params: CopyDentriesParams): Promise<CopyDentriesResponse>;
1064
1064
  /**
1065
1065
  * 批量删除文件或文件夹
1066
- * @see https://developers.dingtalk.com/document/isvapp/delete-files-or-folders-in-bulk
1066
+ * @see https://open.dingtalk.com/document/isvapp/delete-files-or-folders-in-bulk
1067
1067
  */
1068
1068
  deleteDentries(spaceId: string, query: DeleteDentriesQuery, params: DeleteDentriesParams): Promise<DeleteDentriesResponse>;
1069
1069
  /**
1070
1070
  * 获取异步任务信息
1071
- * @see https://developers.dingtalk.com/document/isvapp/get-the-asynchronous-task-information-in-storage
1071
+ * @see https://open.dingtalk.com/document/isvapp/get-the-asynchronous-task-information-in-storage
1072
1072
  */
1073
1073
  getTask(taskId: string, query: GetTaskQuery): Promise<GetTaskResponse>;
1074
1074
  /**
1075
1075
  * 初始化文件分片上传
1076
- * @see https://developers.dingtalk.com/document/isvapp/initialize-a-multipart-upload-object
1076
+ * @see https://open.dingtalk.com/document/isvapp/initialize-a-multipart-upload-object
1077
1077
  */
1078
1078
  initMultipartFileUpload(spaceId: string, query: InitMultipartFileUploadQuery, params: InitMultipartFileUploadParams): Promise<InitMultipartFileUploadResponse>;
1079
1079
  /**
1080
1080
  * 获取文件上传信息(分片上传)
1081
- * @see https://developers.dingtalk.com/document/isvapp/obtains-the-information-about-multipart-uploads-of-an-object
1081
+ * @see https://open.dingtalk.com/document/isvapp/obtains-the-information-about-multipart-uploads-of-an-object
1082
1082
  */
1083
1083
  getMultipartFileUploadInfos(query: GetMultipartFileUploadInfosQuery, params: GetMultipartFileUploadInfosParams): Promise<GetMultipartFileUploadInfosResponse>;
1084
1084
  /**
1085
1085
  * 获取企业存储中企业维度的信息
1086
- * @see https://developers.dingtalk.com/document/isvapp/obtain-enterprise-information-1
1086
+ * @see https://open.dingtalk.com/document/isvapp/obtain-enterprise-information-1
1087
1087
  */
1088
1088
  getOrg(corpId: string, query: GetOrgQuery): Promise<GetOrgResponse>;
1089
1089
  /**
1090
1090
  * 还原回收站中的回收项
1091
- * @see https://developers.dingtalk.com/document/isvapp/restore-recycle-items
1091
+ * @see https://open.dingtalk.com/document/isvapp/restore-recycle-items
1092
1092
  */
1093
1093
  restoreRecycleItem(recycleBinId: string, recycleItemId: string, query: RestoreRecycleItemQuery, params: RestoreRecycleItemParams): Promise<RestoreRecycleItemResponse>;
1094
1094
  /**
1095
1095
  * 获取回收站信息
1096
- * @see https://developers.dingtalk.com/document/isvapp/obtain-information-about-the-recycle-bin
1096
+ * @see https://open.dingtalk.com/document/isvapp/obtain-information-about-the-recycle-bin
1097
1097
  */
1098
1098
  getRecycleBin(query: GetRecycleBinQuery): Promise<GetRecycleBinResponse>;
1099
1099
  /**
1100
1100
  * 获取回收项详情
1101
- * @see https://developers.dingtalk.com/document/isvapp/obtain-recycling-item-information
1101
+ * @see https://open.dingtalk.com/document/isvapp/obtain-recycling-item-information
1102
1102
  */
1103
1103
  getRecycleItem(recycleBinId: string, recycleItemId: string, query: GetRecycleItemQuery): Promise<GetRecycleItemResponse>;
1104
1104
  /**
1105
1105
  * 删除回收项, 删除之后该记录从回收站删除, 后续文件就无法恢复了
1106
- * @see https://developers.dingtalk.com/document/isvapp/delete-recycle-item
1106
+ * @see https://open.dingtalk.com/document/isvapp/delete-recycle-item
1107
1107
  */
1108
1108
  deleteRecycleItem(recycleBinId: string, recycleItemId: string, query: DeleteRecycleItemQuery): Promise<DeleteRecycleItemResponse>;
1109
1109
  /**
1110
1110
  * 清空回收站
1111
- * @see https://developers.dingtalk.com/document/isvapp/empty-the-recycle-bin
1111
+ * @see https://open.dingtalk.com/document/isvapp/empty-the-recycle-bin
1112
1112
  */
1113
1113
  clearRecycleBin(recycleBinId: string, query: ClearRecycleBinQuery): Promise<ClearRecycleBinResponse>;
1114
1114
  /**
1115
1115
  * 批量删除回收项, 删除之后该记录从回收站删除, 后续文件就无法恢复了
1116
- * @see https://developers.dingtalk.com/document/isvapp/batch-delete-recycle-items
1116
+ * @see https://open.dingtalk.com/document/isvapp/batch-delete-recycle-items
1117
1117
  */
1118
1118
  deleteRecycleItems(recycleBinId: string, query: DeleteRecycleItemsQuery, params: DeleteRecycleItemsParams): Promise<DeleteRecycleItemsResponse>;
1119
1119
  /**
1120
1120
  * 批量还原回收站中的回收项
1121
- * @see https://developers.dingtalk.com/document/isvapp/batch-restore-recycled-items
1121
+ * @see https://open.dingtalk.com/document/isvapp/batch-restore-recycled-items
1122
1122
  */
1123
1123
  restoreRecycleItems(recycleBinId: string, query: RestoreRecycleItemsQuery, params: RestoreRecycleItemsParams): Promise<RestoreRecycleItemsResponse>;
1124
1124
  /**
1125
1125
  * 获取文件历史版本
1126
- * @see https://developers.dingtalk.com/document/isvapp/obtains-a-list-of-file-versions
1126
+ * @see https://open.dingtalk.com/document/isvapp/obtains-a-list-of-file-versions
1127
1127
  */
1128
1128
  listDentryVersions(spaceId: string, dentryId: string, query: ListDentryVersionsQuery): Promise<ListDentryVersionsResponse>;
1129
1129
  /**
1130
1130
  * 获取文件打开链接
1131
- * @see https://developers.dingtalk.com/document/isvapp/obtains-the-object-preview-or-editing-information
1131
+ * @see https://open.dingtalk.com/document/isvapp/obtains-the-object-preview-or-editing-information
1132
1132
  */
1133
1133
  getDentryOpenInfo(spaceId: string, dentryId: string, query: GetDentryOpenInfoQuery, params: GetDentryOpenInfoParams): Promise<GetDentryOpenInfoResponse>;
1134
1134
  /**
1135
1135
  * 移动文件或文件夹
1136
- * @see https://developers.dingtalk.com/document/isvapp/move-a-file-or-folder
1136
+ * @see https://open.dingtalk.com/document/isvapp/move-a-file-or-folder
1137
1137
  */
1138
1138
  moveDentry(spaceId: string, dentryId: string, query: MoveDentryQuery, params: MoveDentryParams): Promise<MoveDentryResponse>;
1139
1139
  /**
1140
1140
  * 获取权限列表
1141
- * @see https://developers.dingtalk.com/document/isvapp/obtain-a-permission-list-storage
1141
+ * @see https://open.dingtalk.com/document/isvapp/obtain-a-permission-list-storage
1142
1142
  */
1143
1143
  listPermissionsIsv(spaceId: string, dentryId: string, query: ListPermissionsIsvQuery, params: ListPermissionsIsvParams): Promise<ListPermissionsIsvResponse>;
1144
1144
  /**
1145
1145
  * 获取文件下载信息
1146
- * @see https://developers.dingtalk.com/document/orgapp/obtains-the-download-information-about-a-file
1146
+ * @see https://open.dingtalk.com/document/orgapp/obtains-the-download-information-about-a-file
1147
1147
  */
1148
1148
  getFileDownloadInfo(spaceId: string, dentryId: string, query: GetFileDownloadInfoQuery, params: GetFileDownloadInfoParams): Promise<GetFileDownloadInfoResponse>;
1149
1149
  /**
1150
1150
  * 获取回收项列表
1151
- * @see https://developers.dingtalk.com/document/isvapp/gets-the-list-of-recycle-items
1151
+ * @see https://open.dingtalk.com/document/isvapp/gets-the-list-of-recycle-items
1152
1152
  */
1153
1153
  listRecycleItems(recycleBinId: string, query: ListRecycleItemsQuery): Promise<ListRecycleItemsResponse>;
1154
1154
  /**
1155
1155
  * 删除文件或文件夹
1156
- * @see https://developers.dingtalk.com/document/isvapp/delete-a-file-or-folder
1156
+ * @see https://open.dingtalk.com/document/isvapp/delete-a-file-or-folder
1157
1157
  */
1158
1158
  deleteDentry(spaceId: string, dentryId: string, query: DeleteDentryQuery): Promise<DeleteDentryResponse>;
1159
1159
  /**
1160
1160
  * 重命名文件或文件夹
1161
- * @see https://developers.dingtalk.com/document/isvapp/rename-a-file-or-folder
1161
+ * @see https://open.dingtalk.com/document/isvapp/rename-a-file-or-folder
1162
1162
  */
1163
1163
  renameDentry(spaceId: string, dentryId: string, query: RenameDentryQuery, params: RenameDentryParams): Promise<RenameDentryResponse>;
1164
1164
  /**
1165
1165
  * 获取文件列表
1166
- * @see https://developers.dingtalk.com/document/isvapp/obtain-the-file-list-storage
1166
+ * @see https://open.dingtalk.com/document/isvapp/obtain-the-file-list-storage
1167
1167
  */
1168
1168
  listDentries(spaceId: string, query: ListDentriesQuery): Promise<ListDentriesResponse>;
1169
1169
  /**
1170
1170
  * 恢复文件历史版本
1171
- * @see https://developers.dingtalk.com/document/isvapp/restore-previous-versions-of-files
1171
+ * @see https://open.dingtalk.com/document/isvapp/restore-previous-versions-of-files
1172
1172
  */
1173
1173
  revertDentryVersion(spaceId: string, dentryId: string, version: number, query: RevertDentryVersionQuery): Promise<RevertDentryVersionResponse>;
1174
1174
  /**
1175
1175
  * 拷贝文件或文件夹
1176
- * @see https://developers.dingtalk.com/document/isvapp/copy-an-object
1176
+ * @see https://open.dingtalk.com/document/isvapp/copy-an-object
1177
1177
  */
1178
1178
  copyDentry(spaceId: string, dentryId: string, query: CopyDentryQuery, params: CopyDentryParams): Promise<CopyDentryResponse>;
1179
1179
  /**
1180
1180
  * 获取开放平台应用在企业存储中的相关应用信息
1181
- * @see https://developers.dingtalk.com/document/isvapp/queries-application-information-1
1181
+ * @see https://open.dingtalk.com/document/isvapp/queries-application-information-1
1182
1182
  */
1183
1183
  getCurrentApp(query: GetCurrentAppQuery): Promise<GetCurrentAppResponse>;
1184
1184
  /**
1185
1185
  * 获取空间信息
1186
- * @see https://developers.dingtalk.com/document/isvapp/get-space-information
1186
+ * @see https://open.dingtalk.com/document/isvapp/get-space-information
1187
1187
  */
1188
1188
  storageGetSpace(spaceId: string, query: StorageGetSpaceQuery): Promise<StorageGetSpaceResponse>;
1189
1189
  /**
1190
1190
  * 添加文件夹
1191
- * @see https://developers.dingtalk.com/document/isvapp/add-folder
1191
+ * @see https://open.dingtalk.com/document/isvapp/add-folder
1192
1192
  */
1193
1193
  addFolder(spaceId: string, parentId: string, query: AddFolderQuery, params: AddFolderParams): Promise<AddFolderResponse>;
1194
1194
  /**
1195
1195
  * 获取文件(夹)信息
1196
- * @see https://developers.dingtalk.com/document/isvapp/obtain-file-or-folder-information
1196
+ * @see https://open.dingtalk.com/document/isvapp/obtain-file-or-folder-information
1197
1197
  */
1198
1198
  getDentry(spaceId: string, dentryId: string, query: GetDentryQuery, params: GetDentryParams): Promise<GetDentryResponse>;
1199
1199
  /**
1200
1200
  * 删除文件上的App属性值
1201
- * @see https://developers.dingtalk.com/document/isvapp/delete-file-app-attribute
1201
+ * @see https://open.dingtalk.com/document/isvapp/delete-file-app-attribute
1202
1202
  */
1203
1203
  deleteDentryAppProperties(spaceId: number, dentryId: number, query: DeleteDentryAppPropertiesQuery, params: DeleteDentryAppPropertiesParams): Promise<DeleteDentryAppPropertiesResponse>;
1204
1204
  /**
1205
1205
  * 修改文件上的App属性值
1206
- * @see https://developers.dingtalk.com/document/isvapp/update-the-application-properties-of-a-file-or-folder
1206
+ * @see https://open.dingtalk.com/document/isvapp/update-the-application-properties-of-a-file-or-folder
1207
1207
  */
1208
1208
  updateDentryAppProperties(spaceId: number, dentryId: number, query: UpdateDentryAppPropertiesQuery, params: UpdateDentryAppPropertiesParams): Promise<UpdateDentryAppPropertiesResponse>;
1209
1209
  /**
1210
1210
  * 提交文件
1211
- * @see https://developers.dingtalk.com/document/orgapp/submit-documents
1211
+ * @see https://open.dingtalk.com/document/orgapp/submit-documents
1212
1212
  */
1213
1213
  storageCommitFile(spaceId: string, query: StorageCommitFileQuery, params: StorageCommitFileParams): Promise<StorageCommitFileResponse>;
1214
1214
  /**
1215
1215
  * 获取文件上传信息
1216
- * @see https://developers.dingtalk.com/document/orgapp/obtain-storage-upload-information
1216
+ * @see https://open.dingtalk.com/document/orgapp/obtain-storage-upload-information
1217
1217
  */
1218
1218
  storageGetFileUploadInfo(spaceId: string, query: StorageGetFileUploadInfoQuery, params: StorageGetFileUploadInfoParams): Promise<StorageGetFileUploadInfoResponse>;
1219
1219
  /**
1220
1220
  * 修改权限
1221
- * @see https://developers.dingtalk.com/document/isvapp/modify-storage-permissions
1221
+ * @see https://open.dingtalk.com/document/isvapp/modify-storage-permissions
1222
1222
  */
1223
1223
  storageUpdatePermission(spaceId: string, dentryId: string, query: StorageUpdatePermissionQuery, params: StorageUpdatePermissionParams): Promise<StorageUpdatePermissionResponse>;
1224
1224
  /**
1225
1225
  * 删除权限
1226
- * @see https://developers.dingtalk.com/document/isvapp/delete-storage-permissions
1226
+ * @see https://open.dingtalk.com/document/isvapp/delete-storage-permissions
1227
1227
  */
1228
1228
  storageDeletePermission(spaceId: string, dentryId: string, query: StorageDeletePermissionQuery, params: StorageDeletePermissionParams): Promise<StorageDeletePermissionResponse>;
1229
1229
  /**
1230
1230
  * 添加权限
1231
- * @see https://developers.dingtalk.com/document/isvapp/add-permissions-storage
1231
+ * @see https://open.dingtalk.com/document/isvapp/add-permissions-storage
1232
1232
  */
1233
1233
  storageAddPermission(spaceId: string, dentryId: string, query: StorageAddPermissionQuery, params: StorageAddPermissionParams): Promise<StorageAddPermissionResponse>;
1234
1234
  /**
1235
1235
  * 添加空间
1236
- * @see https://developers.dingtalk.com/document/isvapp/add-space
1236
+ * @see https://open.dingtalk.com/document/isvapp/add-space
1237
1237
  */
1238
1238
  storageAddSpace(query: StorageAddSpaceQuery, params: StorageAddSpaceParams): Promise<StorageAddSpaceResponse>;
1239
1239
  }
@@ -53,17 +53,17 @@ declare module '../internal' {
53
53
  interface Internal {
54
54
  /**
55
55
  * 获取单条填表实例详情
56
- * @see https://developers.dingtalk.com/document/isvapp/obtains-the-instance-details-of-a-single-fill-table
56
+ * @see https://open.dingtalk.com/document/isvapp/obtains-the-instance-details-of-a-single-fill-table
57
57
  */
58
58
  getFormInstance(formInstanceId: string, query: GetFormInstanceQuery): Promise<GetFormInstanceResponse>;
59
59
  /**
60
60
  * 获取填表实例列表
61
- * @see https://developers.dingtalk.com/document/isvapp/obtain-the-table-filling-instance-list-data
61
+ * @see https://open.dingtalk.com/document/isvapp/obtain-the-table-filling-instance-list-data
62
62
  */
63
63
  listFormInstances(formCode: string, query: ListFormInstancesQuery): Promise<ListFormInstancesResponse>;
64
64
  /**
65
65
  * 获取用户创建的填表模板列表
66
- * @see https://developers.dingtalk.com/document/isvapp/new-obtains-the-template-that-a-user-creates
66
+ * @see https://open.dingtalk.com/document/isvapp/new-obtains-the-template-that-a-user-creates
67
67
  */
68
68
  listFormSchemasByCreator(query: ListFormSchemasByCreatorQuery): Promise<ListFormSchemasByCreatorResponse>;
69
69
  }
package/lib/api/todo.d.ts CHANGED
@@ -141,27 +141,27 @@ declare module '../internal' {
141
141
  interface Internal {
142
142
  /**
143
143
  * 查询企业下用户待办列表
144
- * @see https://developers.dingtalk.com/document/isvapp/query-the-to-do-list-of-enterprise-users
144
+ * @see https://open.dingtalk.com/document/isvapp/query-the-to-do-list-of-enterprise-users
145
145
  */
146
146
  queryOrgTodoTasks(unionId: string, params: QueryOrgTodoTasksParams): Promise<QueryOrgTodoTasksResponse>;
147
147
  /**
148
148
  * 更新钉钉待办执行者状态
149
- * @see https://developers.dingtalk.com/document/isvapp/update-dingtalk-to-do-status
149
+ * @see https://open.dingtalk.com/document/isvapp/update-dingtalk-to-do-status
150
150
  */
151
151
  updateTodoTaskExecutorStatus(unionId: string, taskId: string, query: UpdateTodoTaskExecutorStatusQuery, params: UpdateTodoTaskExecutorStatusParams): Promise<UpdateTodoTaskExecutorStatusResponse>;
152
152
  /**
153
153
  * 创建待办
154
- * @see https://developers.dingtalk.com/document/isvapp/add-dingtalk-to-do-task
154
+ * @see https://open.dingtalk.com/document/isvapp/add-dingtalk-to-do-task
155
155
  */
156
156
  createTodoTask(unionId: string, query: CreateTodoTaskQuery, params: CreateTodoTaskParams): Promise<CreateTodoTaskResponse>;
157
157
  /**
158
158
  * 更新钉钉待办任务
159
- * @see https://developers.dingtalk.com/document/isvapp/updates-dingtalk-to-do-tasks
159
+ * @see https://open.dingtalk.com/document/isvapp/updates-dingtalk-to-do-tasks
160
160
  */
161
161
  updateTodoTask(unionId: string, taskId: string, query: UpdateTodoTaskQuery, params: UpdateTodoTaskParams): Promise<UpdateTodoTaskResponse>;
162
162
  /**
163
163
  * 删除钉钉待办任务
164
- * @see https://developers.dingtalk.com/document/isvapp/delete-dingtalk-to-do-tasks
164
+ * @see https://open.dingtalk.com/document/isvapp/delete-dingtalk-to-do-tasks
165
165
  */
166
166
  deleteTodoTask(unionId: string, taskId: string, query: DeleteTodoTaskQuery): Promise<DeleteTodoTaskResponse>;
167
167
  }
package/lib/api/wiki.d.ts CHANGED
@@ -162,32 +162,32 @@ declare module '../internal' {
162
162
  interface Internal {
163
163
  /**
164
164
  * 获取节点列表
165
- * @see https://developers.dingtalk.com/document/orgapp/get-node-list
165
+ * @see https://open.dingtalk.com/document/orgapp/get-node-list
166
166
  */
167
167
  listNodes(query: ListNodesQuery): Promise<ListNodesResponse>;
168
168
  /**
169
169
  * 通过链接获取节点
170
- * @see https://developers.dingtalk.com/document/orgapp/get-node-by-link
170
+ * @see https://open.dingtalk.com/document/orgapp/get-node-by-link
171
171
  */
172
172
  getNodeByUrl(query: GetNodeByUrlQuery, params: GetNodeByUrlParams): Promise<GetNodeByUrlResponse>;
173
173
  /**
174
174
  * 批量获取节点
175
- * @see https://developers.dingtalk.com/document/orgapp/obtain-nodes-in-batch
175
+ * @see https://open.dingtalk.com/document/orgapp/obtain-nodes-in-batch
176
176
  */
177
177
  getNodes(query: GetNodesQuery, params: GetNodesParams): Promise<GetNodesResponse>;
178
178
  /**
179
179
  * 获取节点
180
- * @see https://developers.dingtalk.com/document/orgapp/get-node
180
+ * @see https://open.dingtalk.com/document/orgapp/get-node
181
181
  */
182
182
  getNode(nodeId: string, query: GetNodeQuery): Promise<GetNodeResponse>;
183
183
  /**
184
184
  * 根据词条名称获取该词条释义
185
- * @see https://developers.dingtalk.com/document/orgapp/enterprise-encyclopedia-query-entry-details-by-entry-name
185
+ * @see https://open.dingtalk.com/document/orgapp/enterprise-encyclopedia-query-entry-details-by-entry-name
186
186
  */
187
187
  wikiWordsDetail(query: WikiWordsDetailQuery): Promise<WikiWordsDetailResponse>;
188
188
  /**
189
189
  * 外部传递过来的消息根据百科词库分词
190
- * @see https://developers.dingtalk.com/document/orgapp/enterprise-encyclopedia-match-entries-in-a-text
190
+ * @see https://open.dingtalk.com/document/orgapp/enterprise-encyclopedia-match-entries-in-a-text
191
191
  */
192
192
  wikiWordsParse(params: WikiWordsParseParams): Promise<WikiWordsParseResponse>;
193
193
  }
@@ -28,17 +28,17 @@ declare module '../internal' {
28
28
  interface Internal {
29
29
  /**
30
30
  * 批量添加最近使用记录
31
- * @see https://developers.dingtalk.com/document/app/add-recently-used-apps-in-bulk
31
+ * @see https://open.dingtalk.com/document/app/add-recently-used-apps-in-bulk
32
32
  */
33
33
  addRecentUserAppList(params: AddRecentUserAppListParams): Promise<AddRecentUserAppListResponse>;
34
34
  /**
35
35
  * 获取插件的校验规则
36
- * @see https://developers.dingtalk.com/document/dashboard/you-can-call-this-operation-to-obtain-the-information-about
36
+ * @see https://open.dingtalk.com/document/dashboard/you-can-call-this-operation-to-obtain-the-information-about
37
37
  */
38
38
  getPluginRuleCheckInfo(query: GetPluginRuleCheckInfoQuery): Promise<GetPluginRuleCheckInfoResponse>;
39
39
  /**
40
40
  * 获取工作台插件的权限点
41
- * @see https://developers.dingtalk.com/document/dashboard/obtain-the-permissions-of-the-workbench-plug-in
41
+ * @see https://open.dingtalk.com/document/dashboard/obtain-the-permissions-of-the-workbench-plug-in
42
42
  */
43
43
  getPluginPermissionPoint(query: GetPluginPermissionPointQuery): Promise<GetPluginPermissionPointResponse>;
44
44
  }