@satorijs/adapter-dingtalk 2.0.3 → 2.0.5

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 (56) hide show
  1. package/lib/bot.d.ts +1 -1
  2. package/lib/http.d.ts +3 -2
  3. package/lib/index.js +35 -14
  4. package/lib/index.js.map +2 -3
  5. package/package.json +8 -4
  6. package/src/api/.eslintrc.yml +2 -0
  7. package/src/api/alitrip.ts +467 -0
  8. package/src/api/attendance.ts +81 -0
  9. package/src/api/badge.ts +285 -0
  10. package/src/api/blackboard.ts +28 -0
  11. package/src/api/calendar.ts +817 -0
  12. package/src/api/card.ts +215 -0
  13. package/src/api/conference.ts +561 -0
  14. package/src/api/connector.ts +97 -0
  15. package/src/api/contact.ts +56 -0
  16. package/src/api/convFile.ts +166 -0
  17. package/src/api/crm.ts +830 -0
  18. package/src/api/customerService.ts +156 -0
  19. package/src/api/datacenter.ts +672 -0
  20. package/src/api/devicemng.ts +202 -0
  21. package/src/api/diot.ts +19 -0
  22. package/src/api/doc.ts +232 -0
  23. package/src/api/drive.ts +109 -0
  24. package/src/api/edu.ts +30 -0
  25. package/src/api/esign.ts +44 -0
  26. package/src/api/exclusive.ts +372 -0
  27. package/src/api/h3yun.ts +537 -0
  28. package/src/api/hrm.ts +272 -0
  29. package/src/api/im.ts +978 -0
  30. package/src/api/industry.ts +153 -0
  31. package/src/api/jzcrm.ts +304 -0
  32. package/src/api/link.ts +94 -0
  33. package/src/api/live.ts +162 -0
  34. package/src/api/microApp.ts +309 -0
  35. package/src/api/oapi.ts +4083 -0
  36. package/src/api/oauth2.ts +146 -0
  37. package/src/api/pedia.ts +222 -0
  38. package/src/api/project.ts +1519 -0
  39. package/src/api/resident.ts +133 -0
  40. package/src/api/robot.ts +326 -0
  41. package/src/api/rooms.ts +334 -0
  42. package/src/api/serviceGroup.ts +216 -0
  43. package/src/api/storage.ts +1701 -0
  44. package/src/api/swform.ts +94 -0
  45. package/src/api/todo.ts +220 -0
  46. package/src/api/wiki.ts +231 -0
  47. package/src/api/workbench.ts +73 -0
  48. package/src/api/yida.ts +2165 -0
  49. package/src/bot.ts +129 -0
  50. package/src/http.ts +44 -0
  51. package/src/index.ts +9 -0
  52. package/src/internal.ts +47 -0
  53. package/src/message.ts +141 -0
  54. package/src/types/index.ts +140 -0
  55. package/src/utils.ts +53 -0
  56. package/src/ws.ts +55 -0
@@ -0,0 +1,202 @@
1
+ import { Internal } from '../internal'
2
+ // GENERATED CONTENT
3
+
4
+ export interface ListMaintainInfoParams {
5
+ /** 页码,从1开始。 */
6
+ pageNumber?: number
7
+ /** 页面大小,最大值20。 */
8
+ pageSize?: number
9
+ /** 设备uuIi列表,最大值10。 */
10
+ deviceUuid?: string[]
11
+ }
12
+
13
+ export interface ListMaintainInfoResponse {
14
+ totalCount?: number
15
+ success?: unknown
16
+ result?: {
17
+ gmtCreate?: string
18
+ deviceCode?: string
19
+ deviceName?: string
20
+ remark?: string
21
+ maintenanceStaff?: number
22
+ processState?: number
23
+ handleTime?: string
24
+ }[]
25
+ }
26
+
27
+ export interface ListInspectInfoParams {
28
+ /** 当前页码,从1开始。 */
29
+ pageNumber?: number
30
+ /** 当页大小,最大值20。 */
31
+ pageSize?: number
32
+ /** 设备uuIi列表,最大值10。 */
33
+ deviceUuid?: string[]
34
+ /** 类型。 */
35
+ type?: string
36
+ }
37
+
38
+ export interface ListInspectInfoResponse {
39
+ totalCount?: number
40
+ success?: unknown
41
+ result?: {
42
+ deviceName?: string
43
+ deviceCode?: string
44
+ type?: string
45
+ status?: number
46
+ repairStatus?: number
47
+ maintenanceStaff?: number
48
+ handleTime?: string
49
+ remark?: string
50
+ name?: string
51
+ gmtCreate?: string
52
+ }[]
53
+ }
54
+
55
+ export interface ListActivateDevicesQuery {
56
+ /** 设备型号。 */
57
+ deviceTypeId?: string
58
+ /** 当前页码,从1开始。 */
59
+ pageNumber?: number
60
+ /** 分组标识。 */
61
+ groupId?: string
62
+ /** 每页大小,最大值50。 */
63
+ pageSize?: number
64
+ /** 设备编号。 */
65
+ deviceCode?: string
66
+ /** 设备分类。 */
67
+ deviceCategory?: number
68
+ }
69
+
70
+ export interface ListActivateDevicesResponse {
71
+ totalCount?: number
72
+ success?: unknown
73
+ result?: {
74
+ bizExt?: string
75
+ deviceCallbackUrl?: string
76
+ deviceCode?: string
77
+ deviceDetailUrl?: string
78
+ deviceName?: string
79
+ groupUuid?: string
80
+ icon?: string
81
+ introduction?: string
82
+ typeUuid?: string
83
+ uuid?: string
84
+ deviceCategory?: number
85
+ }[]
86
+ }
87
+
88
+ export interface RegisterAndActivateDeviceBatchParams {
89
+ /** 设备信息。 */
90
+ registerAndActivateVOS?: object[]
91
+ }
92
+
93
+ export interface RegisterAndActivateDeviceBatchResponse {
94
+ successItems?: {
95
+ errorCode?: string
96
+ errorMsg?: string
97
+ result?: number
98
+ success?: number
99
+ }[]
100
+ success?: unknown
101
+ failItems?: {
102
+ errorCode?: string
103
+ errorMsg?: string
104
+ result?: number
105
+ success?: number
106
+ }[]
107
+ }
108
+
109
+ export interface RegisterAndActivateDeviceParams {
110
+ /** 设备号。 */
111
+ deviceCode: string
112
+ /** 设备名称。 */
113
+ deviceName: string
114
+ /** 设备的简介。 */
115
+ introduction?: string
116
+ /** 设备型号。 */
117
+ typeUuid?: string
118
+ /** 设备管理员的userId列表。 */
119
+ userIds?: string[]
120
+ /** 角色标识。 */
121
+ roleUuid?: string
122
+ /** 设备详情链接,最大长度2048字符。 */
123
+ deviceDetailUrl?: string
124
+ /** 设备回调链接,最大长度2048字符。 */
125
+ deviceCallbackUrl?: string
126
+ /** 设备分类。 */
127
+ deviceCategory?: number
128
+ }
129
+
130
+ export interface RegisterAndActivateDeviceResponse {
131
+ success?: unknown
132
+ result: {
133
+ deviceCode: string
134
+ deviceUuid: string
135
+ deviceName: string
136
+ introduction: string
137
+ typeUuid: string
138
+ roleUuid: string
139
+ deviceDetailUrl: string
140
+ userIds: number
141
+ deviceCategory?: number
142
+ }
143
+ }
144
+
145
+ // funcName: isOldApi
146
+ Internal.define({
147
+ '/devicemng/customers/devices/maintainInfos/query': {
148
+ POST: { listMaintainInfo: false },
149
+ },
150
+ '/devicemng/customers/devices/inspectInfos/query': {
151
+ POST: { listInspectInfo: false },
152
+ },
153
+ '/devicemng/customers/devices/activations/infos': {
154
+ GET: { listActivateDevices: false },
155
+ },
156
+ '/devicemng/customers/devices/registrationActivations/batch': {
157
+ POST: { registerAndActivateDeviceBatch: false },
158
+ },
159
+ '/devicemng/customers/devices/registerAndActivate': {
160
+ POST: { registerAndActivateDevice: false },
161
+ },
162
+ })
163
+
164
+ declare module '../internal' {
165
+ interface Internal {
166
+ /**
167
+ * 获取报修信息
168
+ * @see https://open.dingtalk.com/document/isvapp/obtain-the-repair-report-record
169
+ */
170
+ listMaintainInfo(
171
+ params: ListMaintainInfoParams,
172
+ ): Promise<ListMaintainInfoResponse>
173
+ /**
174
+ * 获取巡检、保养记录
175
+ * @see https://open.dingtalk.com/document/isvapp/obtain-inspection-and-maintenance-records
176
+ */
177
+ listInspectInfo(
178
+ params: ListInspectInfoParams,
179
+ ): Promise<ListInspectInfoResponse>
180
+ /**
181
+ * 查询激活的设备信息
182
+ * @see https://open.dingtalk.com/document/isvapp/query-information-about-a-registered-device
183
+ */
184
+ listActivateDevices(
185
+ query: ListActivateDevicesQuery,
186
+ ): Promise<ListActivateDevicesResponse>
187
+ /**
188
+ * 批量注册与激活设备
189
+ * @see https://open.dingtalk.com/document/isvapp/register-and-activate-devices-in-batches
190
+ */
191
+ registerAndActivateDeviceBatch(
192
+ params: RegisterAndActivateDeviceBatchParams,
193
+ ): Promise<RegisterAndActivateDeviceBatchResponse>
194
+ /**
195
+ * 注册与激活设备
196
+ * @see https://open.dingtalk.com/document/isvapp/register-the-device-to-the-dingtalk
197
+ */
198
+ registerAndActivateDevice(
199
+ params: RegisterAndActivateDeviceParams,
200
+ ): Promise<RegisterAndActivateDeviceResponse>
201
+ }
202
+ }
@@ -0,0 +1,19 @@
1
+ import { Internal } from '../internal'
2
+ // GENERATED CONTENT
3
+
4
+ export interface UpgradeDeviceResponse {
5
+ requestId?: string
6
+ }
7
+
8
+ // funcName: isOldApi
9
+ Internal.define({ '/diot/upgrade/device': { POST: { upgradeDevice: false } } })
10
+
11
+ declare module '../internal' {
12
+ interface Internal {
13
+ /**
14
+ * 升级设备
15
+ * @see https://open.dingtalk.com/document/app/upgrade-equipment
16
+ */
17
+ upgradeDevice(): Promise<UpgradeDeviceResponse>
18
+ }
19
+ }
package/src/api/doc.ts ADDED
@@ -0,0 +1,232 @@
1
+ import { Internal } from '../internal'
2
+ // GENERATED CONTENT
3
+
4
+ export interface SetRowsVisibilityParams {
5
+ /** 可见性。 */
6
+ visibility: string
7
+ /** 要显示或者隐藏的第一行的游标,从0开始。 */
8
+ row: number
9
+ /** 要显示或隐藏的行的数量。 */
10
+ rowCount: number
11
+ }
12
+
13
+ export interface SetRowsVisibilityQuery {
14
+ /** 操作人unionId。 */
15
+ operatorId: string
16
+ }
17
+
18
+ export interface SetRowsVisibilityResponse {
19
+ id?: string
20
+ }
21
+
22
+ export interface SetColumnsVisibilityParams {
23
+ /** 要显示或隐藏的第一列的游标,从0开始。 */
24
+ column: number
25
+ /** 要显示或隐藏的列的数量。 */
26
+ columnCount: number
27
+ /** 可见性。 */
28
+ visibility: string
29
+ }
30
+
31
+ export interface SetColumnsVisibilityQuery {
32
+ /** 操作人unionId。 */
33
+ operatorId: string
34
+ }
35
+
36
+ export interface SetColumnsVisibilityResponse {
37
+ id?: string
38
+ }
39
+
40
+ export interface DeleteRowsParams {
41
+ /** 要删除的第一行的游标,从0开始。 */
42
+ row: number
43
+ /** 要删除的行的数量。 */
44
+ rowCount: number
45
+ }
46
+
47
+ export interface DeleteRowsQuery {
48
+ /** 操作人unionId。 */
49
+ operatorId: string
50
+ }
51
+
52
+ export interface DeleteRowsResponse {
53
+ id?: string
54
+ }
55
+
56
+ export interface DeleteColumnsParams {
57
+ /** 要删除的第一列的游标,从0开始。 */
58
+ column: number
59
+ /** 要删除的列的数量。 */
60
+ columnCount: number
61
+ }
62
+
63
+ export interface DeleteColumnsQuery {
64
+ /** 操作人unionId。 */
65
+ operatorId: string
66
+ }
67
+
68
+ export interface DeleteColumnsResponse {
69
+ id?: string
70
+ }
71
+
72
+ export interface InsertRowsBeforeParams {
73
+ /** 指定行的游标,从0开始。 */
74
+ row: number
75
+ /** 插入行的数量。 */
76
+ rowCount: number
77
+ }
78
+
79
+ export interface InsertRowsBeforeQuery {
80
+ /** 操作人unionId。 */
81
+ operatorId: string
82
+ }
83
+
84
+ export interface InsertRowsBeforeResponse {
85
+ id?: string
86
+ }
87
+
88
+ export interface InsertColumnsBeforeParams {
89
+ /** 指定列的游标,从0开始。 */
90
+ column: number
91
+ /** 插入列的数量。 */
92
+ columnCount: number
93
+ }
94
+
95
+ export interface InsertColumnsBeforeQuery {
96
+ /** 操作人unionId。 */
97
+ operatorId: string
98
+ }
99
+
100
+ export interface InsertColumnsBeforeResponse {
101
+ id?: string
102
+ }
103
+
104
+ export interface ClearQuery {
105
+ /** 操作人unionId。 */
106
+ operatorId: string
107
+ }
108
+
109
+ export interface ClearResponse {
110
+ a1Notation?: string
111
+ }
112
+
113
+ export interface ClearDataQuery {
114
+ /** 操作人unionId。 */
115
+ operatorId: string
116
+ }
117
+
118
+ export interface ClearDataResponse {
119
+ a1Notation?: string
120
+ }
121
+
122
+ // funcName: isOldApi
123
+ Internal.define({
124
+ '/doc/workbooks/{workbookId}/sheets/{sheetId}/setRowsVisibility': {
125
+ POST: { setRowsVisibility: false },
126
+ },
127
+ '/doc/workbooks/{workbookId}/sheets/{sheetId}/setColumnsVisibility': {
128
+ POST: { setColumnsVisibility: false },
129
+ },
130
+ '/doc/workbooks/{workbookId}/sheets/{sheetId}/deleteRows': {
131
+ POST: { deleteRows: false },
132
+ },
133
+ '/doc/workbooks/{workbookId}/sheets/{sheetId}/deleteColumns': {
134
+ POST: { deleteColumns: false },
135
+ },
136
+ '/doc/workbooks/{workbookId}/sheets/{sheetId}/insertRowsBefore': {
137
+ POST: { insertRowsBefore: false },
138
+ },
139
+ '/doc/workbooks/{workbookId}/sheets/{sheetId}/insertColumnsBefore': {
140
+ POST: { insertColumnsBefore: false },
141
+ },
142
+ '/doc/workbooks/{workbookId}/sheets/{sheetId}/ranges/{rangeAddress}/clear': {
143
+ POST: { clear: false },
144
+ },
145
+ '/doc/workbooks/{workbookId}/sheets/{sheetId}/ranges/{rangeAddress}/clearData':
146
+ { POST: { clearData: false } },
147
+ })
148
+
149
+ declare module '../internal' {
150
+ interface Internal {
151
+ /**
152
+ * 设置行隐藏或显示
153
+ * @see https://open.dingtalk.com/document/app/set-row-visibility
154
+ */
155
+ setRowsVisibility(
156
+ workbookId: string,
157
+ sheetId: string,
158
+ query: SetRowsVisibilityQuery,
159
+ params: SetRowsVisibilityParams,
160
+ ): Promise<SetRowsVisibilityResponse>
161
+ /**
162
+ * 设置列隐藏或显示
163
+ * @see https://open.dingtalk.com/document/app/set-column-visibility
164
+ */
165
+ setColumnsVisibility(
166
+ workbookId: string,
167
+ sheetId: string,
168
+ query: SetColumnsVisibilityQuery,
169
+ params: SetColumnsVisibilityParams,
170
+ ): Promise<SetColumnsVisibilityResponse>
171
+ /**
172
+ * 删除行
173
+ * @see https://open.dingtalk.com/document/app/delete-row
174
+ */
175
+ deleteRows(
176
+ workbookId: string,
177
+ sheetId: string,
178
+ query: DeleteRowsQuery,
179
+ params: DeleteRowsParams,
180
+ ): Promise<DeleteRowsResponse>
181
+ /**
182
+ * 删除列
183
+ * @see https://open.dingtalk.com/document/app/delete-column
184
+ */
185
+ deleteColumns(
186
+ workbookId: string,
187
+ sheetId: string,
188
+ query: DeleteColumnsQuery,
189
+ params: DeleteColumnsParams,
190
+ ): Promise<DeleteColumnsResponse>
191
+ /**
192
+ * 指定行上方插入若干行
193
+ * @see https://open.dingtalk.com/document/app/insert-rows-before-rows
194
+ */
195
+ insertRowsBefore(
196
+ workbookId: string,
197
+ sheetId: string,
198
+ query: InsertRowsBeforeQuery,
199
+ params: InsertRowsBeforeParams,
200
+ ): Promise<InsertRowsBeforeResponse>
201
+ /**
202
+ * 指定列左侧插入若干列
203
+ * @see https://open.dingtalk.com/document/app/insert-column-before-column
204
+ */
205
+ insertColumnsBefore(
206
+ workbookId: string,
207
+ sheetId: string,
208
+ query: InsertColumnsBeforeQuery,
209
+ params: InsertColumnsBeforeParams,
210
+ ): Promise<InsertColumnsBeforeResponse>
211
+ /**
212
+ * 清除单元格区域内所有内容
213
+ * @see https://open.dingtalk.com/document/app/clear-all
214
+ */
215
+ clear(
216
+ workbookId: string,
217
+ sheetId: string,
218
+ rangeAddress: string,
219
+ query: ClearQuery,
220
+ ): Promise<ClearResponse>
221
+ /**
222
+ * 清除单元格区域内数据
223
+ * @see https://open.dingtalk.com/document/app/clear-cell-data
224
+ */
225
+ clearData(
226
+ workbookId: string,
227
+ sheetId: string,
228
+ rangeAddress: string,
229
+ query: ClearDataQuery,
230
+ ): Promise<ClearDataResponse>
231
+ }
232
+ }
@@ -0,0 +1,109 @@
1
+ import { Internal } from '../internal'
2
+ // GENERATED CONTENT
3
+
4
+ export interface AddCustomSpaceParams {
5
+ /** 自定义空间标识。任意小于10位的字符串即可。 */
6
+ identifier: string
7
+ /** 业务类型。任意小于8位的字符串即可。 */
8
+ bizType: string
9
+ /** 授权模式,取值: */
10
+ permissionMode: string
11
+ /** 用户unionId,可通过以下两种方式获取: */
12
+ unionId: string
13
+ }
14
+
15
+ export interface AddCustomSpaceResponse {
16
+ spaceId: string
17
+ spaceName?: string
18
+ spaceType: string
19
+ quota?: number
20
+ usedQuota: number
21
+ permissionMode?: string
22
+ createTime?: string
23
+ modifyTime?: string
24
+ }
25
+
26
+ export interface DeleteSpaceQuery {
27
+ /** 用户unionId,可通过以下两种方式获取: */
28
+ unionId: string
29
+ }
30
+
31
+ export interface DriveAddSpaceParams {
32
+ /** 空间名称(不能为空)。 */
33
+ name: string
34
+ /** 用户unionId,可通过以下两种方式获取: */
35
+ unionId: string
36
+ }
37
+
38
+ export interface DriveAddSpaceResponse {
39
+ spaceId: string
40
+ spaceName?: string
41
+ spaceType: string
42
+ quota?: number
43
+ usedQuota: number
44
+ permissionMode?: string
45
+ createTime?: string
46
+ modifyTime?: string
47
+ }
48
+
49
+ export interface ListSpacesQuery {
50
+ /** 用户unionId,可通过以下两种方式获取: */
51
+ unionId: string
52
+ /** 空间类型。 */
53
+ spaceType: string
54
+ /** 分页游标。 */
55
+ nextToken?: string
56
+ /** 分页大小。 */
57
+ maxResults: number
58
+ }
59
+
60
+ export interface ListSpacesResponse {
61
+ spaces: {
62
+ spaceId: string
63
+ spaceName?: string
64
+ spaceType: string
65
+ quota?: number
66
+ usedQuota: number
67
+ permissionMode?: string
68
+ createTime?: string
69
+ modifyTime?: string
70
+ }[]
71
+ nextToken?: string
72
+ }
73
+
74
+ // funcName: isOldApi
75
+ Internal.define({
76
+ '/drive/spaces/customSpaces': { POST: { addCustomSpace: false } },
77
+ '/drive/spaces/{spaceId}': { DELETE: { deleteSpace: false } },
78
+ '/drive/spaces': {
79
+ POST: { driveAddSpace: false },
80
+ GET: { listSpaces: false },
81
+ },
82
+ })
83
+
84
+ declare module '../internal' {
85
+ interface Internal {
86
+ /**
87
+ * 新建自定义空间
88
+ * @see https://open.dingtalk.com/document/isvapp/new-custom-space
89
+ */
90
+ addCustomSpace(
91
+ params: AddCustomSpaceParams,
92
+ ): Promise<AddCustomSpaceResponse>
93
+ /**
94
+ * 删除空间
95
+ * @see https://open.dingtalk.com/document/isvapp/delete-a-space
96
+ */
97
+ deleteSpace(spaceId: string, query: DeleteSpaceQuery): Promise<void>
98
+ /**
99
+ * 新建空间
100
+ * @see https://open.dingtalk.com/document/isvapp/new-space
101
+ */
102
+ driveAddSpace(params: DriveAddSpaceParams): Promise<DriveAddSpaceResponse>
103
+ /**
104
+ * 获取空间列表
105
+ * @see https://open.dingtalk.com/document/isvapp/queries-a-space-list
106
+ */
107
+ listSpaces(query: ListSpacesQuery): Promise<ListSpacesResponse>
108
+ }
109
+ }
package/src/api/edu.ts ADDED
@@ -0,0 +1,30 @@
1
+ import { Internal } from '../internal'
2
+ // GENERATED CONTENT
3
+
4
+ export interface MoveStudentParams {
5
+ /** 操作者的userid,可调用[通过免登码获取用户信息](https://open.dingtalk.com/document/app/obtain-the-userid-of-a-user-by-using-the-log-free)接口获取。 */
6
+ operator: string
7
+ /** 学生的userid,可调用[获取人员列表](https://open.dingtalk.com/document/app/obtains-a-list-of-home-school-user-identities)接口获取。 */
8
+ userId: string
9
+ /** 原班级ID,可调用[获取部门列表](https://open.dingtalk.com/document/app/obtains-the-department-node-list)接口获取。 */
10
+ originClassId: number
11
+ /** 目标班级ID,可调用[获取部门列表](https://open.dingtalk.com/document/app/obtains-the-department-node-list)接口获取。 */
12
+ targetClassId: number
13
+ }
14
+
15
+ export interface MoveStudentResponse {
16
+ success?: unknown
17
+ }
18
+
19
+ // funcName: isOldApi
20
+ Internal.define({ '/edu/students/move': { POST: { moveStudent: false } } })
21
+
22
+ declare module '../internal' {
23
+ interface Internal {
24
+ /**
25
+ * 学生调班
26
+ * @see https://open.dingtalk.com/document/isvapp/shift-students
27
+ */
28
+ moveStudent(params: MoveStudentParams): Promise<MoveStudentResponse>
29
+ }
30
+ }
@@ -0,0 +1,44 @@
1
+ import { Internal } from '../internal'
2
+ // GENERATED CONTENT
3
+
4
+ export interface GetFlowDocsResponse {
5
+ data?: {
6
+ fileId?: string
7
+ fileName?: string
8
+ fileUrl?: string
9
+ }[]
10
+ }
11
+
12
+ export interface ApprovalListResponse {
13
+ data?: {
14
+ approvalName?: string
15
+ status?: string
16
+ refuseReason?: string
17
+ sponsorAccountName?: string
18
+ startTime?: number
19
+ endTime?: number
20
+ sealIdImg?: string
21
+ approvalNodes?: number
22
+ }[]
23
+ }
24
+
25
+ // funcName: isOldApi
26
+ Internal.define({
27
+ '/esign/flowTasks/{taskId}/docs': { GET: { getFlowDocs: false } },
28
+ '/esign/approvals/{taskId}': { GET: { approvalList: false } },
29
+ })
30
+
31
+ declare module '../internal' {
32
+ interface Internal {
33
+ /**
34
+ * 获取流程任务的所有合同列表
35
+ * @see https://open.dingtalk.com/document/isvapp/get-a-list-of-all-contracts-for-the-process-task
36
+ */
37
+ getFlowDocs(taskId: string): Promise<GetFlowDocsResponse>
38
+ /**
39
+ * 获取流程任务用印审批列表
40
+ * @see https://open.dingtalk.com/document/isvapp/obtains-the-print-approval-list-for-process-tasks
41
+ */
42
+ approvalList(taskId: string): Promise<ApprovalListResponse>
43
+ }
44
+ }