@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/src/types/search.ts
CHANGED
|
@@ -112,11 +112,25 @@ export interface CreateSearchAppQuery extends Pagination {
|
|
|
112
112
|
user_id_type?: 'user_id' | 'union_id' | 'open_id'
|
|
113
113
|
}
|
|
114
114
|
|
|
115
|
+
export const enum CreateSearchDataSourceRequestState {
|
|
116
|
+
/** 已上线 */
|
|
117
|
+
Online = 0,
|
|
118
|
+
/** 未上线 */
|
|
119
|
+
Offline = 1,
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
export const enum CreateSearchDataSourceRequestConnectType {
|
|
123
|
+
/** 调用搜索请求时,使用的是飞书搜索接口 */
|
|
124
|
+
Default = 0,
|
|
125
|
+
/** 调用搜索请求时,使用的是自定义回调函数的Uri */
|
|
126
|
+
Callback = 1,
|
|
127
|
+
}
|
|
128
|
+
|
|
115
129
|
export interface CreateSearchDataSourceRequest {
|
|
116
130
|
/** data_source的展示名称 */
|
|
117
131
|
name: string
|
|
118
132
|
/** 数据源状态,0-已上线,1-未上线 */
|
|
119
|
-
state?:
|
|
133
|
+
state?: CreateSearchDataSourceRequestState
|
|
120
134
|
/** 对于数据源的描述 */
|
|
121
135
|
description?: string
|
|
122
136
|
/** 数据源在 search tab 上的展示图标路径 */
|
|
@@ -134,18 +148,30 @@ export interface CreateSearchDataSourceRequest {
|
|
|
134
148
|
/** datasource对应的开放平台应用id */
|
|
135
149
|
app_id?: string
|
|
136
150
|
/** 搜索请求的接入方式 */
|
|
137
|
-
connect_type?:
|
|
151
|
+
connect_type?: CreateSearchDataSourceRequestConnectType
|
|
138
152
|
/** 根据连接器类型不同所需要提供的相关参数 */
|
|
139
153
|
connector_param?: ConnectorParam
|
|
140
154
|
/** 是否使用问答服务 */
|
|
141
155
|
enable_answer?: boolean
|
|
142
156
|
}
|
|
143
157
|
|
|
158
|
+
export interface CreateSearchDataSourceResponse {
|
|
159
|
+
/** 数据源实例 */
|
|
160
|
+
data_source?: DataSource
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
export const enum PatchSearchDataSourceRequestState {
|
|
164
|
+
/** 已上线 */
|
|
165
|
+
Online = 0,
|
|
166
|
+
/** 未上线 */
|
|
167
|
+
Offline = 1,
|
|
168
|
+
}
|
|
169
|
+
|
|
144
170
|
export interface PatchSearchDataSourceRequest {
|
|
145
171
|
/** 数据源的展示名称 */
|
|
146
172
|
name?: string
|
|
147
173
|
/** 数据源状态,0-已上线,1-未上线 */
|
|
148
|
-
state?:
|
|
174
|
+
state?: PatchSearchDataSourceRequestState
|
|
149
175
|
/** 对于数据源的描述 */
|
|
150
176
|
description?: string
|
|
151
177
|
/** 数据源在 search tab 上的展示图标路径 */
|
|
@@ -160,9 +186,26 @@ export interface PatchSearchDataSourceRequest {
|
|
|
160
186
|
enable_answer?: boolean
|
|
161
187
|
}
|
|
162
188
|
|
|
189
|
+
export interface PatchSearchDataSourceResponse {
|
|
190
|
+
/** 数据源 */
|
|
191
|
+
data_source?: DataSource
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
export interface GetSearchDataSourceResponse {
|
|
195
|
+
/** 数据源实例 */
|
|
196
|
+
data_source?: DataSource
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
export const enum ListSearchDataSourceQueryView {
|
|
200
|
+
/** 全量数据 */
|
|
201
|
+
FULL = 0,
|
|
202
|
+
/** 摘要数据 */
|
|
203
|
+
BASIC = 1,
|
|
204
|
+
}
|
|
205
|
+
|
|
163
206
|
export interface ListSearchDataSourceQuery extends Pagination {
|
|
164
207
|
/** 回包数据格式,0-全量数据;1-摘要数据。**注**:摘要数据仅包含"id","name","state"。 */
|
|
165
|
-
view?:
|
|
208
|
+
view?: ListSearchDataSourceQueryView
|
|
166
209
|
}
|
|
167
210
|
|
|
168
211
|
export interface CreateSearchDataSourceItemRequest {
|
|
@@ -178,6 +221,11 @@ export interface CreateSearchDataSourceItemRequest {
|
|
|
178
221
|
content?: ItemContent
|
|
179
222
|
}
|
|
180
223
|
|
|
224
|
+
export interface GetSearchDataSourceItemResponse {
|
|
225
|
+
/** 数据项实例 */
|
|
226
|
+
item: Item
|
|
227
|
+
}
|
|
228
|
+
|
|
181
229
|
export interface CreateSearchSchemaRequest {
|
|
182
230
|
/** 数据范式的属性定义 */
|
|
183
231
|
properties: SchemaProperty[]
|
|
@@ -192,6 +240,11 @@ export interface CreateSearchSchemaQuery {
|
|
|
192
240
|
validate_only?: boolean
|
|
193
241
|
}
|
|
194
242
|
|
|
243
|
+
export interface CreateSearchSchemaResponse {
|
|
244
|
+
/** 数据范式实例 */
|
|
245
|
+
schema?: Schema
|
|
246
|
+
}
|
|
247
|
+
|
|
195
248
|
export interface PatchSearchSchemaRequest {
|
|
196
249
|
/** 数据展示相关配置 */
|
|
197
250
|
display?: SchemaDisplay
|
|
@@ -199,31 +252,6 @@ export interface PatchSearchSchemaRequest {
|
|
|
199
252
|
properties?: PatchSchemaProperty[]
|
|
200
253
|
}
|
|
201
254
|
|
|
202
|
-
export interface CreateSearchDataSourceResponse {
|
|
203
|
-
/** 数据源实例 */
|
|
204
|
-
data_source?: DataSource
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
export interface PatchSearchDataSourceResponse {
|
|
208
|
-
/** 数据源 */
|
|
209
|
-
data_source?: DataSource
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
export interface GetSearchDataSourceResponse {
|
|
213
|
-
/** 数据源实例 */
|
|
214
|
-
data_source?: DataSource
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
export interface GetSearchDataSourceItemResponse {
|
|
218
|
-
/** 数据项实例 */
|
|
219
|
-
item: Item
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
export interface CreateSearchSchemaResponse {
|
|
223
|
-
/** 数据范式实例 */
|
|
224
|
-
schema?: Schema
|
|
225
|
-
}
|
|
226
|
-
|
|
227
255
|
export interface PatchSearchSchemaResponse {
|
|
228
256
|
/** 数据范式实例 */
|
|
229
257
|
schema?: Schema
|
package/src/types/sheets.ts
CHANGED
|
@@ -148,6 +148,11 @@ export interface CreateSheetsSpreadsheetRequest {
|
|
|
148
148
|
folder_token?: string
|
|
149
149
|
}
|
|
150
150
|
|
|
151
|
+
export interface CreateSheetsSpreadsheetResponse {
|
|
152
|
+
/** 表格信息 */
|
|
153
|
+
spreadsheet?: Spreadsheet
|
|
154
|
+
}
|
|
155
|
+
|
|
151
156
|
export interface PatchSheetsSpreadsheetRequest {
|
|
152
157
|
/** 表格标题 */
|
|
153
158
|
title?: string
|
|
@@ -158,6 +163,21 @@ export interface GetSheetsSpreadsheetQuery {
|
|
|
158
163
|
user_id_type?: 'user_id' | 'union_id' | 'open_id'
|
|
159
164
|
}
|
|
160
165
|
|
|
166
|
+
export interface GetSheetsSpreadsheetResponse {
|
|
167
|
+
/** 表格 */
|
|
168
|
+
spreadsheet?: GetSpreadsheet
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
export interface QuerySheetsSpreadsheetSheetResponse {
|
|
172
|
+
/** 工作表信息 */
|
|
173
|
+
sheets?: Sheet[]
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
export interface GetSheetsSpreadsheetSheetResponse {
|
|
177
|
+
/** 工作表 */
|
|
178
|
+
sheet?: Sheet
|
|
179
|
+
}
|
|
180
|
+
|
|
161
181
|
export interface MoveDimensionSheetsSpreadsheetSheetRequest {
|
|
162
182
|
/** 移动源位置参数 */
|
|
163
183
|
source?: Dimension
|
|
@@ -172,6 +192,11 @@ export interface FindSheetsSpreadsheetSheetRequest {
|
|
|
172
192
|
find: string
|
|
173
193
|
}
|
|
174
194
|
|
|
195
|
+
export interface FindSheetsSpreadsheetSheetResponse {
|
|
196
|
+
/** 查找返回符合条件的信息 */
|
|
197
|
+
find_result?: FindReplaceResult
|
|
198
|
+
}
|
|
199
|
+
|
|
175
200
|
export interface ReplaceSheetsSpreadsheetSheetRequest {
|
|
176
201
|
/** 查找条件 */
|
|
177
202
|
find_condition: FindCondition
|
|
@@ -181,6 +206,11 @@ export interface ReplaceSheetsSpreadsheetSheetRequest {
|
|
|
181
206
|
replacement: string
|
|
182
207
|
}
|
|
183
208
|
|
|
209
|
+
export interface ReplaceSheetsSpreadsheetSheetResponse {
|
|
210
|
+
/** 符合查找条件并替换的单元格信息 */
|
|
211
|
+
replace_result?: FindReplaceResult
|
|
212
|
+
}
|
|
213
|
+
|
|
184
214
|
export interface CreateSheetsSpreadsheetSheetFilterRequest {
|
|
185
215
|
/** 筛选应用范围 */
|
|
186
216
|
range: string
|
|
@@ -197,6 +227,11 @@ export interface UpdateSheetsSpreadsheetSheetFilterRequest {
|
|
|
197
227
|
condition: Condition
|
|
198
228
|
}
|
|
199
229
|
|
|
230
|
+
export interface GetSheetsSpreadsheetSheetFilterResponse {
|
|
231
|
+
/** 筛选信息 */
|
|
232
|
+
sheet_filter_info?: SheetFilterInfo
|
|
233
|
+
}
|
|
234
|
+
|
|
200
235
|
export interface CreateSheetsSpreadsheetSheetFilterViewRequest {
|
|
201
236
|
/** 筛选视图 id */
|
|
202
237
|
filter_view_id?: string
|
|
@@ -206,6 +241,11 @@ export interface CreateSheetsSpreadsheetSheetFilterViewRequest {
|
|
|
206
241
|
range?: string
|
|
207
242
|
}
|
|
208
243
|
|
|
244
|
+
export interface CreateSheetsSpreadsheetSheetFilterViewResponse {
|
|
245
|
+
/** 创建的筛选视图的 id 、name、range */
|
|
246
|
+
filter_view?: FilterView
|
|
247
|
+
}
|
|
248
|
+
|
|
209
249
|
export interface PatchSheetsSpreadsheetSheetFilterViewRequest {
|
|
210
250
|
/** 筛选视图名字 */
|
|
211
251
|
filter_view_name?: string
|
|
@@ -213,6 +253,21 @@ export interface PatchSheetsSpreadsheetSheetFilterViewRequest {
|
|
|
213
253
|
range?: string
|
|
214
254
|
}
|
|
215
255
|
|
|
256
|
+
export interface PatchSheetsSpreadsheetSheetFilterViewResponse {
|
|
257
|
+
/** 更新后的筛选视图的 id 、name、range */
|
|
258
|
+
filter_view?: FilterView
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
export interface QuerySheetsSpreadsheetSheetFilterViewResponse {
|
|
262
|
+
/** 子表的所有筛选视图信息,id、name、range */
|
|
263
|
+
items?: FilterView[]
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
export interface GetSheetsSpreadsheetSheetFilterViewResponse {
|
|
267
|
+
/** 筛选视图信息,包括 id、name、range */
|
|
268
|
+
filter_view?: FilterView
|
|
269
|
+
}
|
|
270
|
+
|
|
216
271
|
export interface CreateSheetsSpreadsheetSheetFilterViewConditionRequest {
|
|
217
272
|
/** 设置筛选条件的列,使用字母号 */
|
|
218
273
|
condition_id?: string
|
|
@@ -224,6 +279,11 @@ export interface CreateSheetsSpreadsheetSheetFilterViewConditionRequest {
|
|
|
224
279
|
expected?: string[]
|
|
225
280
|
}
|
|
226
281
|
|
|
282
|
+
export interface CreateSheetsSpreadsheetSheetFilterViewConditionResponse {
|
|
283
|
+
/** 创建的筛选条件 */
|
|
284
|
+
condition?: FilterViewCondition
|
|
285
|
+
}
|
|
286
|
+
|
|
227
287
|
export interface UpdateSheetsSpreadsheetSheetFilterViewConditionRequest {
|
|
228
288
|
/** 筛选类型 */
|
|
229
289
|
filter_type?: string
|
|
@@ -233,6 +293,21 @@ export interface UpdateSheetsSpreadsheetSheetFilterViewConditionRequest {
|
|
|
233
293
|
expected?: string[]
|
|
234
294
|
}
|
|
235
295
|
|
|
296
|
+
export interface UpdateSheetsSpreadsheetSheetFilterViewConditionResponse {
|
|
297
|
+
/** 更新后的筛选条件 */
|
|
298
|
+
condition?: FilterViewCondition
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
export interface QuerySheetsSpreadsheetSheetFilterViewConditionResponse {
|
|
302
|
+
/** 筛选视图设置的所有筛选条件 */
|
|
303
|
+
items?: FilterViewCondition[]
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
export interface GetSheetsSpreadsheetSheetFilterViewConditionResponse {
|
|
307
|
+
/** 筛选的条件 */
|
|
308
|
+
condition?: FilterViewCondition
|
|
309
|
+
}
|
|
310
|
+
|
|
236
311
|
export interface CreateSheetsSpreadsheetSheetFloatImageRequest {
|
|
237
312
|
/** 浮动图片 id */
|
|
238
313
|
float_image_id?: string
|
|
@@ -250,6 +325,11 @@ export interface CreateSheetsSpreadsheetSheetFloatImageRequest {
|
|
|
250
325
|
offset_y?: number
|
|
251
326
|
}
|
|
252
327
|
|
|
328
|
+
export interface CreateSheetsSpreadsheetSheetFloatImageResponse {
|
|
329
|
+
/** 浮动图片 */
|
|
330
|
+
float_image?: FloatImage
|
|
331
|
+
}
|
|
332
|
+
|
|
253
333
|
export interface PatchSheetsSpreadsheetSheetFloatImageRequest {
|
|
254
334
|
/** 浮动图片 token,需要先上传图片到表格获得此 token 之后再进行浮动图片的操作 */
|
|
255
335
|
float_image_token?: string
|
|
@@ -265,86 +345,6 @@ export interface PatchSheetsSpreadsheetSheetFloatImageRequest {
|
|
|
265
345
|
offset_y?: number
|
|
266
346
|
}
|
|
267
347
|
|
|
268
|
-
export interface CreateSheetsSpreadsheetResponse {
|
|
269
|
-
/** 表格信息 */
|
|
270
|
-
spreadsheet?: Spreadsheet
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
export interface GetSheetsSpreadsheetResponse {
|
|
274
|
-
/** 表格 */
|
|
275
|
-
spreadsheet?: GetSpreadsheet
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
export interface QuerySheetsSpreadsheetSheetResponse {
|
|
279
|
-
/** 工作表信息 */
|
|
280
|
-
sheets?: Sheet[]
|
|
281
|
-
}
|
|
282
|
-
|
|
283
|
-
export interface GetSheetsSpreadsheetSheetResponse {
|
|
284
|
-
/** 工作表 */
|
|
285
|
-
sheet?: Sheet
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
export interface FindSheetsSpreadsheetSheetResponse {
|
|
289
|
-
/** 查找返回符合条件的信息 */
|
|
290
|
-
find_result?: FindReplaceResult
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
export interface ReplaceSheetsSpreadsheetSheetResponse {
|
|
294
|
-
/** 符合查找条件并替换的单元格信息 */
|
|
295
|
-
replace_result?: FindReplaceResult
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
export interface GetSheetsSpreadsheetSheetFilterResponse {
|
|
299
|
-
/** 筛选信息 */
|
|
300
|
-
sheet_filter_info?: SheetFilterInfo
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
export interface CreateSheetsSpreadsheetSheetFilterViewResponse {
|
|
304
|
-
/** 创建的筛选视图的 id 、name、range */
|
|
305
|
-
filter_view?: FilterView
|
|
306
|
-
}
|
|
307
|
-
|
|
308
|
-
export interface PatchSheetsSpreadsheetSheetFilterViewResponse {
|
|
309
|
-
/** 更新后的筛选视图的 id 、name、range */
|
|
310
|
-
filter_view?: FilterView
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
export interface QuerySheetsSpreadsheetSheetFilterViewResponse {
|
|
314
|
-
/** 子表的所有筛选视图信息,id、name、range */
|
|
315
|
-
items?: FilterView[]
|
|
316
|
-
}
|
|
317
|
-
|
|
318
|
-
export interface GetSheetsSpreadsheetSheetFilterViewResponse {
|
|
319
|
-
/** 筛选视图信息,包括 id、name、range */
|
|
320
|
-
filter_view?: FilterView
|
|
321
|
-
}
|
|
322
|
-
|
|
323
|
-
export interface CreateSheetsSpreadsheetSheetFilterViewConditionResponse {
|
|
324
|
-
/** 创建的筛选条件 */
|
|
325
|
-
condition?: FilterViewCondition
|
|
326
|
-
}
|
|
327
|
-
|
|
328
|
-
export interface UpdateSheetsSpreadsheetSheetFilterViewConditionResponse {
|
|
329
|
-
/** 更新后的筛选条件 */
|
|
330
|
-
condition?: FilterViewCondition
|
|
331
|
-
}
|
|
332
|
-
|
|
333
|
-
export interface QuerySheetsSpreadsheetSheetFilterViewConditionResponse {
|
|
334
|
-
/** 筛选视图设置的所有筛选条件 */
|
|
335
|
-
items?: FilterViewCondition[]
|
|
336
|
-
}
|
|
337
|
-
|
|
338
|
-
export interface GetSheetsSpreadsheetSheetFilterViewConditionResponse {
|
|
339
|
-
/** 筛选的条件 */
|
|
340
|
-
condition?: FilterViewCondition
|
|
341
|
-
}
|
|
342
|
-
|
|
343
|
-
export interface CreateSheetsSpreadsheetSheetFloatImageResponse {
|
|
344
|
-
/** 浮动图片 */
|
|
345
|
-
float_image?: FloatImage
|
|
346
|
-
}
|
|
347
|
-
|
|
348
348
|
export interface PatchSheetsSpreadsheetSheetFloatImageResponse {
|
|
349
349
|
/** 浮动图片 */
|
|
350
350
|
float_image?: FloatImage
|
|
@@ -23,6 +23,11 @@ export interface FileRecognizeSpeechToTextSpeechRequest {
|
|
|
23
23
|
config: FileConfig
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
+
export interface FileRecognizeSpeechToTextSpeechResponse {
|
|
27
|
+
/** 语音识别后的文本信息 */
|
|
28
|
+
recognition_text: string
|
|
29
|
+
}
|
|
30
|
+
|
|
26
31
|
export interface StreamRecognizeSpeechToTextSpeechRequest {
|
|
27
32
|
/** 语音资源 */
|
|
28
33
|
speech: Speech
|
|
@@ -30,11 +35,6 @@ export interface StreamRecognizeSpeechToTextSpeechRequest {
|
|
|
30
35
|
config: StreamConfig
|
|
31
36
|
}
|
|
32
37
|
|
|
33
|
-
export interface FileRecognizeSpeechToTextSpeechResponse {
|
|
34
|
-
/** 语音识别后的文本信息 */
|
|
35
|
-
recognition_text: string
|
|
36
|
-
}
|
|
37
|
-
|
|
38
38
|
export interface StreamRecognizeSpeechToTextSpeechResponse {
|
|
39
39
|
/** 16 位 String 随机串作为同一数据流的标识 */
|
|
40
40
|
stream_id: string
|