@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.
Files changed (82) hide show
  1. package/lib/index.cjs +1077 -13
  2. package/lib/types/acs.d.ts +19 -19
  3. package/lib/types/admin.d.ts +58 -32
  4. package/lib/types/aily.d.ts +52 -52
  5. package/lib/types/apaas.d.ts +96 -96
  6. package/lib/types/application.d.ts +151 -67
  7. package/lib/types/approval.d.ts +182 -150
  8. package/lib/types/attendance.d.ts +395 -353
  9. package/lib/types/auth.d.ts +18 -18
  10. package/lib/types/authen.d.ts +24 -24
  11. package/lib/types/baike.d.ts +42 -42
  12. package/lib/types/bitable.d.ts +268 -184
  13. package/lib/types/calendar.d.ts +144 -144
  14. package/lib/types/cardkit.d.ts +8 -8
  15. package/lib/types/contact.d.ts +209 -137
  16. package/lib/types/corehr.d.ts +760 -620
  17. package/lib/types/document_ai.d.ts +68 -68
  18. package/lib/types/docx.d.ts +103 -95
  19. package/lib/types/drive.d.ts +236 -236
  20. package/lib/types/ehr.d.ts +26 -2
  21. package/lib/types/helpdesk.d.ts +155 -155
  22. package/lib/types/hire.d.ts +954 -510
  23. package/lib/types/im.d.ts +446 -446
  24. package/lib/types/index.d.ts +72 -30
  25. package/lib/types/lingo.d.ts +28 -28
  26. package/lib/types/mail.d.ts +192 -192
  27. package/lib/types/minutes.d.ts +4 -4
  28. package/lib/types/okr.d.ts +86 -58
  29. package/lib/types/passport.d.ts +13 -5
  30. package/lib/types/payroll.d.ts +13 -5
  31. package/lib/types/performance.d.ts +85 -79
  32. package/lib/types/personal_settings.d.ts +12 -12
  33. package/lib/types/report.d.ts +11 -5
  34. package/lib/types/search.d.ts +48 -24
  35. package/lib/types/sheets.d.ts +64 -64
  36. package/lib/types/speech_to_text.d.ts +4 -4
  37. package/lib/types/task.d.ts +191 -185
  38. package/lib/types/translation.d.ts +4 -4
  39. package/lib/types/vc.d.ts +335 -155
  40. package/lib/types/wiki.d.ts +48 -48
  41. package/package.json +1 -1
  42. package/src/internal.ts +1 -1
  43. package/src/types/acs.ts +24 -24
  44. package/src/types/admin.ts +69 -39
  45. package/src/types/aily.ts +61 -61
  46. package/src/types/apaas.ts +113 -113
  47. package/src/types/application.ts +173 -79
  48. package/src/types/approval.ts +202 -166
  49. package/src/types/attendance.ts +466 -421
  50. package/src/types/auth.ts +20 -20
  51. package/src/types/authen.ts +28 -28
  52. package/src/types/baike.ts +55 -55
  53. package/src/types/bitable.ts +305 -219
  54. package/src/types/calendar.ts +167 -167
  55. package/src/types/cardkit.ts +10 -10
  56. package/src/types/contact.ts +251 -169
  57. package/src/types/corehr.ts +903 -743
  58. package/src/types/document_ai.ts +85 -85
  59. package/src/types/docx.ts +117 -108
  60. package/src/types/drive.ts +298 -298
  61. package/src/types/ehr.ts +28 -2
  62. package/src/types/helpdesk.ts +181 -181
  63. package/src/types/hire.ts +1081 -591
  64. package/src/types/im.ts +521 -521
  65. package/src/types/index.ts +73 -30
  66. package/src/types/lingo.ts +36 -36
  67. package/src/types/mail.ts +215 -215
  68. package/src/types/minutes.ts +5 -5
  69. package/src/types/okr.ts +98 -66
  70. package/src/types/passport.ts +15 -6
  71. package/src/types/payroll.ts +15 -6
  72. package/src/types/performance.ts +98 -91
  73. package/src/types/personal_settings.ts +15 -15
  74. package/src/types/report.ts +13 -6
  75. package/src/types/search.ts +57 -29
  76. package/src/types/sheets.ts +80 -80
  77. package/src/types/speech_to_text.ts +5 -5
  78. package/src/types/task.ts +238 -231
  79. package/src/types/translation.ts +5 -5
  80. package/src/types/vc.ts +386 -186
  81. package/src/types/wiki.ts +59 -59
  82. package/src/utils.ts +11 -6
@@ -101,81 +101,161 @@ export interface ParseDocumentAiResumeForm {
101
101
  file: Blob
102
102
  }
103
103
 
104
+ export interface ParseDocumentAiResumeResponse {
105
+ /** 简历信息 */
106
+ resumes?: Resume[]
107
+ }
108
+
104
109
  export interface RecognizeDocumentAiVehicleInvoiceForm {
105
110
  /** 识别的机动车发票源文件 */
106
111
  file: Blob
107
112
  }
108
113
 
114
+ export interface RecognizeDocumentAiVehicleInvoiceResponse {
115
+ /** 机动车发票信息 */
116
+ vehicle_invoice?: VehicleInvoice
117
+ }
118
+
109
119
  export interface RecognizeDocumentAiHealthCertificateForm {
110
120
  /** 识别的健康证源文件 */
111
121
  file: Blob
112
122
  }
113
123
 
124
+ export interface RecognizeDocumentAiHealthCertificateResponse {
125
+ /** 健康证信息 */
126
+ health_certificate?: HealthCertificate
127
+ }
128
+
114
129
  export interface RecognizeDocumentAiHkmMainlandTravelPermitForm {
115
130
  /** 识别的港澳居民来往内地通行证源文件 */
116
131
  file: Blob
117
132
  }
118
133
 
134
+ export interface RecognizeDocumentAiHkmMainlandTravelPermitResponse {
135
+ /** 港澳居民来往内地通行证信息 */
136
+ hkm_mainland_travel_permit?: HkmMainlandTravelPermit
137
+ }
138
+
119
139
  export interface RecognizeDocumentAiTwMainlandTravelPermitForm {
120
140
  /** 识别的台湾居民来往大陆通行证源文件 */
121
141
  file?: Blob
122
142
  }
123
143
 
144
+ export interface RecognizeDocumentAiTwMainlandTravelPermitResponse {
145
+ /** 台湾居民来往大陆通行证信息 */
146
+ tw_mainland_travel_permit?: TwMainlandTravelPermit
147
+ }
148
+
124
149
  export interface RecognizeDocumentAiChinesePassportForm {
125
150
  /** 识别的中国护照源文件 */
126
151
  file: Blob
127
152
  }
128
153
 
154
+ export interface RecognizeDocumentAiChinesePassportResponse {
155
+ /** 中国护照信息 */
156
+ chinese_passport?: ChinesePassport
157
+ }
158
+
129
159
  export interface RecognizeDocumentAiBankCardForm {
130
160
  /** 识别的银行卡源文件 */
131
161
  file: Blob
132
162
  }
133
163
 
164
+ export interface RecognizeDocumentAiBankCardResponse {
165
+ /** 银行卡信息 */
166
+ bank_card?: BankCard
167
+ }
168
+
134
169
  export interface RecognizeDocumentAiVehicleLicenseForm {
135
170
  /** 识别的行驶证源文件 */
136
171
  file: Blob
137
172
  }
138
173
 
174
+ export interface RecognizeDocumentAiVehicleLicenseResponse {
175
+ /** 行驶证信息 */
176
+ vehicle_license?: VehicleLicense
177
+ }
178
+
139
179
  export interface RecognizeDocumentAiTrainInvoiceForm {
140
180
  /** 识别的火车票源文件 */
141
181
  file: Blob
142
182
  }
143
183
 
184
+ export interface RecognizeDocumentAiTrainInvoiceResponse {
185
+ /** 火车票信息 */
186
+ train_invoices?: TrainInvoice[]
187
+ }
188
+
144
189
  export interface RecognizeDocumentAiTaxiInvoiceForm {
145
190
  /** 识别的出租车票源文件 */
146
191
  file: Blob
147
192
  }
148
193
 
194
+ export interface RecognizeDocumentAiTaxiInvoiceResponse {
195
+ /** 出租车票信息 */
196
+ taxi_invoices?: TaxiInvoice[]
197
+ }
198
+
149
199
  export interface RecognizeDocumentAiIdCardForm {
150
200
  /** 识别身份证的源文件 */
151
201
  file: Blob
152
202
  }
153
203
 
204
+ export interface RecognizeDocumentAiIdCardResponse {
205
+ /** 身份证信息 */
206
+ id_card?: IdCard
207
+ }
208
+
154
209
  export interface RecognizeDocumentAiFoodProduceLicenseForm {
155
210
  /** 识别的食品生产许可证源文件 */
156
211
  file: Blob
157
212
  }
158
213
 
214
+ export interface RecognizeDocumentAiFoodProduceLicenseResponse {
215
+ /** 食品生产许可证信息 */
216
+ food_produce_license?: FoodProduceLicense
217
+ }
218
+
159
219
  export interface RecognizeDocumentAiFoodManageLicenseForm {
160
220
  /** 识别的食品经营许可证源文件 */
161
221
  file: Blob
162
222
  }
163
223
 
224
+ export interface RecognizeDocumentAiFoodManageLicenseResponse {
225
+ /** 食品经营许可证信息 */
226
+ food_manage_license?: FoodManageLicense
227
+ }
228
+
164
229
  export interface RecognizeDocumentAiDrivingLicenseForm {
165
230
  /** 识别的驾驶证源文件 */
166
231
  file: Blob
167
232
  }
168
233
 
234
+ export interface RecognizeDocumentAiDrivingLicenseResponse {
235
+ /** 驾驶证信息 */
236
+ driving_license?: DrvingLicense
237
+ }
238
+
169
239
  export interface RecognizeDocumentAiVatInvoiceForm {
170
240
  /** 识别的增值税发票文件 */
171
241
  file: Blob
172
242
  }
173
243
 
244
+ export interface RecognizeDocumentAiVatInvoiceResponse {
245
+ /** 增值税发票信息 */
246
+ vat_invoices?: VatInvoice[]
247
+ }
248
+
174
249
  export interface RecognizeDocumentAiBusinessLicenseForm {
175
250
  /** 识别的营业执照源文件 */
176
251
  file: Blob
177
252
  }
178
253
 
254
+ export interface RecognizeDocumentAiBusinessLicenseResponse {
255
+ /** 营业执照信息 */
256
+ business_license?: BusinessLicense
257
+ }
258
+
179
259
  export interface FieldExtractionDocumentAiContractForm {
180
260
  /** 合同字段解析的源文件,当前只支持pdf, doc, docx三种类型的文件 */
181
261
  file: Blob
@@ -185,91 +265,6 @@ export interface FieldExtractionDocumentAiContractForm {
185
265
  ocr_mode: 'force' | 'auto' | 'unused'
186
266
  }
187
267
 
188
- export interface RecognizeDocumentAiBusinessCardForm {
189
- /** 识别名片的源文件(支持 JPG / PNG / PDF) */
190
- file: Blob
191
- }
192
-
193
- export interface ParseDocumentAiResumeResponse {
194
- /** 简历信息 */
195
- resumes?: Resume[]
196
- }
197
-
198
- export interface RecognizeDocumentAiVehicleInvoiceResponse {
199
- /** 机动车发票信息 */
200
- vehicle_invoice?: VehicleInvoice
201
- }
202
-
203
- export interface RecognizeDocumentAiHealthCertificateResponse {
204
- /** 健康证信息 */
205
- health_certificate?: HealthCertificate
206
- }
207
-
208
- export interface RecognizeDocumentAiHkmMainlandTravelPermitResponse {
209
- /** 港澳居民来往内地通行证信息 */
210
- hkm_mainland_travel_permit?: HkmMainlandTravelPermit
211
- }
212
-
213
- export interface RecognizeDocumentAiTwMainlandTravelPermitResponse {
214
- /** 台湾居民来往大陆通行证信息 */
215
- tw_mainland_travel_permit?: TwMainlandTravelPermit
216
- }
217
-
218
- export interface RecognizeDocumentAiChinesePassportResponse {
219
- /** 中国护照信息 */
220
- chinese_passport?: ChinesePassport
221
- }
222
-
223
- export interface RecognizeDocumentAiBankCardResponse {
224
- /** 银行卡信息 */
225
- bank_card?: BankCard
226
- }
227
-
228
- export interface RecognizeDocumentAiVehicleLicenseResponse {
229
- /** 行驶证信息 */
230
- vehicle_license?: VehicleLicense
231
- }
232
-
233
- export interface RecognizeDocumentAiTrainInvoiceResponse {
234
- /** 火车票信息 */
235
- train_invoices?: TrainInvoice[]
236
- }
237
-
238
- export interface RecognizeDocumentAiTaxiInvoiceResponse {
239
- /** 出租车票信息 */
240
- taxi_invoices?: TaxiInvoice[]
241
- }
242
-
243
- export interface RecognizeDocumentAiIdCardResponse {
244
- /** 身份证信息 */
245
- id_card?: IdCard
246
- }
247
-
248
- export interface RecognizeDocumentAiFoodProduceLicenseResponse {
249
- /** 食品生产许可证信息 */
250
- food_produce_license?: FoodProduceLicense
251
- }
252
-
253
- export interface RecognizeDocumentAiFoodManageLicenseResponse {
254
- /** 食品经营许可证信息 */
255
- food_manage_license?: FoodManageLicense
256
- }
257
-
258
- export interface RecognizeDocumentAiDrivingLicenseResponse {
259
- /** 驾驶证信息 */
260
- driving_license?: DrvingLicense
261
- }
262
-
263
- export interface RecognizeDocumentAiVatInvoiceResponse {
264
- /** 增值税发票信息 */
265
- vat_invoices?: VatInvoice[]
266
- }
267
-
268
- export interface RecognizeDocumentAiBusinessLicenseResponse {
269
- /** 营业执照信息 */
270
- business_license?: BusinessLicense
271
- }
272
-
273
268
  export interface FieldExtractionDocumentAiContractResponse {
274
269
  /** 文件的唯一id */
275
270
  file_id?: string
@@ -289,6 +284,11 @@ export interface FieldExtractionDocumentAiContractResponse {
289
284
  bank_info?: BankInfo[]
290
285
  }
291
286
 
287
+ export interface RecognizeDocumentAiBusinessCardForm {
288
+ /** 识别名片的源文件(支持 JPG / PNG / PDF) */
289
+ file: Blob
290
+ }
291
+
292
292
  export interface RecognizeDocumentAiBusinessCardResponse {
293
293
  /** 名片信息 */
294
294
  business_cards?: RecognizedEntities[]
package/src/types/docx.ts CHANGED
@@ -101,6 +101,25 @@ export interface GetDocxChatAnnouncementQuery {
101
101
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
102
102
  }
103
103
 
104
+ export interface GetDocxChatAnnouncementResponse {
105
+ /** 当前版本号 */
106
+ revision_id?: number
107
+ /** 群公告生成的时间戳(秒) */
108
+ create_time?: string
109
+ /** 群公告更新的时间戳(秒) */
110
+ update_time?: string
111
+ /** 群公告所有者 ID,ID 值与 owner_id_type 中的ID类型对应 */
112
+ owner_id?: string
113
+ /** 群公告所有者的 ID 类型 */
114
+ owner_id_type?: 'user_id' | 'union_id' | 'open_id'
115
+ /** 群公告最新修改者 ID,ID 值与 modifier_id_type 中的ID类型对应 */
116
+ modifier_id?: string
117
+ /** 群公告最新修改者 id 类型 */
118
+ modifier_id_type?: 'user_id' | 'union_id' | 'open_id'
119
+ /** 群公告类型 */
120
+ announcement_type?: 'docx' | 'doc'
121
+ }
122
+
104
123
  export interface ListDocxChatAnnouncementBlockQuery extends Pagination {
105
124
  /** 查询的群公告版本,-1 表示群公告最新版本。群公告创建后,版本为 1。若查询的版本为群公告最新版本,则需要持有群公告的阅读权限;若查询的版本为群公告的历史版本,则需要持有群公告的编辑权限。 */
106
125
  revision_id?: number
@@ -124,6 +143,15 @@ export interface CreateDocxChatAnnouncementBlockChildrenQuery {
124
143
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
125
144
  }
126
145
 
146
+ export interface CreateDocxChatAnnouncementBlockChildrenResponse {
147
+ /** 所添加的孩子的 Block 信息 */
148
+ children?: Block[]
149
+ /** 当前 Block Children 创建成功后群公告的版本号 */
150
+ revision_id?: number
151
+ /** 操作的唯一标识,更新请求中使用此值表示幂等的进行此次更新 */
152
+ client_token?: string
153
+ }
154
+
127
155
  export interface BatchUpdateDocxChatAnnouncementBlockRequest {
128
156
  /** 批量更新 Block */
129
157
  requests?: UpdateBlockRequest[]
@@ -138,6 +166,15 @@ export interface BatchUpdateDocxChatAnnouncementBlockQuery {
138
166
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
139
167
  }
140
168
 
169
+ export interface BatchUpdateDocxChatAnnouncementBlockResponse {
170
+ /** 批量更新的 Block */
171
+ blocks?: Block[]
172
+ /** 当前更新成功后群公告的版本号 */
173
+ revision_id?: number
174
+ /** 操作的唯一标识,更新请求中使用此值表示幂等的进行此次更新 */
175
+ client_token?: string
176
+ }
177
+
141
178
  export interface GetDocxChatAnnouncementBlockQuery {
142
179
  /** 查询的群公告版本,-1 表示群公告最新版本。群公告创建后,版本为 1。若查询的版本为群公告最新版本,则需要持有群公告的阅读权限;若查询的版本为群公告的历史版本,则需要持有群公告的更新权限 */
143
180
  revision_id?: number
@@ -145,6 +182,11 @@ export interface GetDocxChatAnnouncementBlockQuery {
145
182
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
146
183
  }
147
184
 
185
+ export interface GetDocxChatAnnouncementBlockResponse {
186
+ /** 查询的 Block 的信息 */
187
+ block?: Block
188
+ }
189
+
148
190
  export interface GetDocxChatAnnouncementBlockChildrenQuery extends Pagination {
149
191
  /** 查询的群公告版本,-1 表示群公告最新版本。群公告创建后,版本为 1。若查询的版本为群公告最新版本,则需要持有群公告的阅读权限;若查询的版本为群公告的历史版本,则需要持有群公告的更新权限。 */
150
192
  revision_id?: number
@@ -166,6 +208,13 @@ export interface BatchDeleteDocxChatAnnouncementBlockChildrenQuery {
166
208
  client_token?: string
167
209
  }
168
210
 
211
+ export interface BatchDeleteDocxChatAnnouncementBlockChildrenResponse {
212
+ /** 当前删除操作成功后群公告的版本号 */
213
+ revision_id?: number
214
+ /** 操作的唯一标识,更新请求中使用此值表示幂等的进行此次更新 */
215
+ client_token?: string
216
+ }
217
+
169
218
  export interface CreateDocxDocumentRequest {
170
219
  /** 文件夹 token,获取方式见云文档接口快速入门;空表示根目录,tenant_access_token应用权限仅允许操作应用创建的目录 */
171
220
  folder_token?: string
@@ -173,9 +222,33 @@ export interface CreateDocxDocumentRequest {
173
222
  title?: string
174
223
  }
175
224
 
225
+ export interface CreateDocxDocumentResponse {
226
+ /** 新建文档的文档信息 */
227
+ document?: Document
228
+ }
229
+
230
+ export interface GetDocxDocumentResponse {
231
+ /** 文档信息 */
232
+ document?: Document
233
+ }
234
+
235
+ export const enum RawContentDocxDocumentQueryLang {
236
+ /** 中文 */
237
+ ZH = 0,
238
+ /** 英文 */
239
+ EN = 1,
240
+ /** 日文 */
241
+ JP = 2,
242
+ }
243
+
176
244
  export interface RawContentDocxDocumentQuery {
177
245
  /** 语言(用于 MentionUser 语言的选取) */
178
- lang?: 0 | 1 | 2
246
+ lang?: RawContentDocxDocumentQueryLang
247
+ }
248
+
249
+ export interface RawContentDocxDocumentResponse {
250
+ /** 文档纯文本 */
251
+ content?: string
179
252
  }
180
253
 
181
254
  export interface ListDocxDocumentBlockQuery extends Pagination {
@@ -201,6 +274,15 @@ export interface CreateDocxDocumentBlockChildrenQuery {
201
274
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
202
275
  }
203
276
 
277
+ export interface CreateDocxDocumentBlockChildrenResponse {
278
+ /** 所添加的孩子的 Block 信息 */
279
+ children?: Block[]
280
+ /** 当前 block children 创建成功后文档的版本号 */
281
+ document_revision_id?: number
282
+ /** 操作的唯一标识,更新请求中使用此值表示幂等的进行此次更新 */
283
+ client_token: string
284
+ }
285
+
204
286
  export interface CreateDocxDocumentBlockDescendantRequest {
205
287
  /** 添加的孩子 BlockID 列表 */
206
288
  children_id: string[]
@@ -219,6 +301,17 @@ export interface CreateDocxDocumentBlockDescendantQuery {
219
301
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
220
302
  }
221
303
 
304
+ export interface CreateDocxDocumentBlockDescendantResponse {
305
+ /** 所添加的孩子的 Block 信息 */
306
+ children?: Block[]
307
+ /** 当前提交的 Block 创建成功后文档的版本号 */
308
+ document_revision_id?: number
309
+ /** 操作的唯一标识,更新请求中使用此值表示幂等的进行此次更新 */
310
+ client_token?: string
311
+ /** 传入的临时 BlockID 与真实 BlockID 映射关系 */
312
+ block_id_relations?: BlockIdRelation[]
313
+ }
314
+
222
315
  export interface PatchDocxDocumentBlockRequest {
223
316
  /** 更新文本元素请求 */
224
317
  update_text_elements?: UpdateTextElementsRequest
@@ -263,6 +356,15 @@ export interface PatchDocxDocumentBlockQuery {
263
356
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
264
357
  }
265
358
 
359
+ export interface PatchDocxDocumentBlockResponse {
360
+ /** 更新后的 block 信息 */
361
+ block?: Block
362
+ /** 当前更新成功后文档的版本号 */
363
+ document_revision_id?: number
364
+ /** 操作的唯一标识,更新请求中使用此值表示幂等的进行此次更新 */
365
+ client_token: string
366
+ }
367
+
266
368
  export interface GetDocxDocumentBlockQuery {
267
369
  /** 查询的文档版本,-1表示文档最新版本。若此时查询的版本为文档最新版本,则需要持有文档的阅读权限;若此时查询的版本为文档的历史版本,则需要持有文档的编辑权限。 */
268
370
  document_revision_id?: number
@@ -270,6 +372,11 @@ export interface GetDocxDocumentBlockQuery {
270
372
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
271
373
  }
272
374
 
375
+ export interface GetDocxDocumentBlockResponse {
376
+ /** 查询的 Block 的信息 */
377
+ block?: Block
378
+ }
379
+
273
380
  export interface BatchUpdateDocxDocumentBlockRequest {
274
381
  /** 批量更新 Block */
275
382
  requests: UpdateBlockRequest[]
@@ -284,6 +391,15 @@ export interface BatchUpdateDocxDocumentBlockQuery {
284
391
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
285
392
  }
286
393
 
394
+ export interface BatchUpdateDocxDocumentBlockResponse {
395
+ /** 批量更新的 Block */
396
+ blocks?: Block[]
397
+ /** 当前更新成功后文档的版本号 */
398
+ document_revision_id?: number
399
+ /** 操作的唯一标识,更新请求中使用此值表示幂等的进行此次更新 */
400
+ client_token: string
401
+ }
402
+
287
403
  export interface GetDocxDocumentBlockChildrenQuery extends Pagination {
288
404
  /** 操作的文档版本,-1表示文档最新版本。若此时操作的版本为文档最新版本,则需要持有文档的阅读权限;若此时操作的版本为文档的历史版本,则需要持有文档的编辑权限。 */
289
405
  document_revision_id?: number
@@ -305,113 +421,6 @@ export interface BatchDeleteDocxDocumentBlockChildrenQuery {
305
421
  client_token?: string
306
422
  }
307
423
 
308
- export interface GetDocxChatAnnouncementResponse {
309
- /** 当前版本号 */
310
- revision_id?: number
311
- /** 群公告生成的时间戳(秒) */
312
- create_time?: string
313
- /** 群公告更新的时间戳(秒) */
314
- update_time?: string
315
- /** 群公告所有者 ID,ID 值与 owner_id_type 中的ID类型对应 */
316
- owner_id?: string
317
- /** 群公告所有者的 ID 类型 */
318
- owner_id_type?: 'user_id' | 'union_id' | 'open_id'
319
- /** 群公告最新修改者 ID,ID 值与 modifier_id_type 中的ID类型对应 */
320
- modifier_id?: string
321
- /** 群公告最新修改者 id 类型 */
322
- modifier_id_type?: 'user_id' | 'union_id' | 'open_id'
323
- /** 群公告类型 */
324
- announcement_type?: 'docx' | 'doc'
325
- }
326
-
327
- export interface CreateDocxChatAnnouncementBlockChildrenResponse {
328
- /** 所添加的孩子的 Block 信息 */
329
- children?: Block[]
330
- /** 当前 Block Children 创建成功后群公告的版本号 */
331
- revision_id?: number
332
- /** 操作的唯一标识,更新请求中使用此值表示幂等的进行此次更新 */
333
- client_token?: string
334
- }
335
-
336
- export interface BatchUpdateDocxChatAnnouncementBlockResponse {
337
- /** 批量更新的 Block */
338
- blocks?: Block[]
339
- /** 当前更新成功后群公告的版本号 */
340
- revision_id?: number
341
- /** 操作的唯一标识,更新请求中使用此值表示幂等的进行此次更新 */
342
- client_token?: string
343
- }
344
-
345
- export interface GetDocxChatAnnouncementBlockResponse {
346
- /** 查询的 Block 的信息 */
347
- block?: Block
348
- }
349
-
350
- export interface BatchDeleteDocxChatAnnouncementBlockChildrenResponse {
351
- /** 当前删除操作成功后群公告的版本号 */
352
- revision_id?: number
353
- /** 操作的唯一标识,更新请求中使用此值表示幂等的进行此次更新 */
354
- client_token?: string
355
- }
356
-
357
- export interface CreateDocxDocumentResponse {
358
- /** 新建文档的文档信息 */
359
- document?: Document
360
- }
361
-
362
- export interface GetDocxDocumentResponse {
363
- /** 文档信息 */
364
- document?: Document
365
- }
366
-
367
- export interface RawContentDocxDocumentResponse {
368
- /** 文档纯文本 */
369
- content?: string
370
- }
371
-
372
- export interface CreateDocxDocumentBlockChildrenResponse {
373
- /** 所添加的孩子的 Block 信息 */
374
- children?: Block[]
375
- /** 当前 block children 创建成功后文档的版本号 */
376
- document_revision_id?: number
377
- /** 操作的唯一标识,更新请求中使用此值表示幂等的进行此次更新 */
378
- client_token: string
379
- }
380
-
381
- export interface CreateDocxDocumentBlockDescendantResponse {
382
- /** 所添加的孩子的 Block 信息 */
383
- children?: Block[]
384
- /** 当前提交的 Block 创建成功后文档的版本号 */
385
- document_revision_id?: number
386
- /** 操作的唯一标识,更新请求中使用此值表示幂等的进行此次更新 */
387
- client_token?: string
388
- /** 传入的临时 BlockID 与真实 BlockID 映射关系 */
389
- block_id_relations?: BlockIdRelation[]
390
- }
391
-
392
- export interface PatchDocxDocumentBlockResponse {
393
- /** 更新后的 block 信息 */
394
- block?: Block
395
- /** 当前更新成功后文档的版本号 */
396
- document_revision_id?: number
397
- /** 操作的唯一标识,更新请求中使用此值表示幂等的进行此次更新 */
398
- client_token: string
399
- }
400
-
401
- export interface GetDocxDocumentBlockResponse {
402
- /** 查询的 Block 的信息 */
403
- block?: Block
404
- }
405
-
406
- export interface BatchUpdateDocxDocumentBlockResponse {
407
- /** 批量更新的 Block */
408
- blocks?: Block[]
409
- /** 当前更新成功后文档的版本号 */
410
- document_revision_id?: number
411
- /** 操作的唯一标识,更新请求中使用此值表示幂等的进行此次更新 */
412
- client_token: string
413
- }
414
-
415
424
  export interface BatchDeleteDocxDocumentBlockChildrenResponse {
416
425
  /** 当前删除操作成功后文档的版本号 */
417
426
  document_revision_id?: number