@larksuiteoapi/node-sdk 1.28.0 → 1.29.0
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/es/index.js +748 -11
- package/lib/index.js +748 -11
- package/package.json +1 -1
- package/types/index.d.ts +1962 -23
package/es/index.js
CHANGED
|
@@ -221,7 +221,7 @@ const formatErrors = (e) => {
|
|
|
221
221
|
};
|
|
222
222
|
|
|
223
223
|
// auto gen
|
|
224
|
-
class Client$
|
|
224
|
+
class Client$_ {
|
|
225
225
|
constructor() {
|
|
226
226
|
/**
|
|
227
227
|
* 智能门禁
|
|
@@ -284,6 +284,7 @@ class Client$Z {
|
|
|
284
284
|
method: "GET",
|
|
285
285
|
headers: pickBy(innerPayload.headers, identity),
|
|
286
286
|
params: pickBy(innerPayload.params, identity),
|
|
287
|
+
data,
|
|
287
288
|
})
|
|
288
289
|
.catch((e) => {
|
|
289
290
|
this.logger.error(formatErrors(e));
|
|
@@ -570,6 +571,7 @@ class Client$Z {
|
|
|
570
571
|
method: "GET",
|
|
571
572
|
headers: pickBy(innerPayload.headers, identity),
|
|
572
573
|
params: pickBy(innerPayload.params, identity),
|
|
574
|
+
data,
|
|
573
575
|
})
|
|
574
576
|
.catch((e) => {
|
|
575
577
|
this.logger.error(formatErrors(e));
|
|
@@ -763,6 +765,7 @@ class Client$Z {
|
|
|
763
765
|
method: "GET",
|
|
764
766
|
headers: pickBy(innerPayload.headers, identity),
|
|
765
767
|
params: pickBy(innerPayload.params, identity),
|
|
768
|
+
data,
|
|
766
769
|
})
|
|
767
770
|
.catch((e) => {
|
|
768
771
|
this.logger.error(formatErrors(e));
|
|
@@ -1049,6 +1052,7 @@ class Client$Z {
|
|
|
1049
1052
|
method: "GET",
|
|
1050
1053
|
headers: pickBy(innerPayload.headers, identity),
|
|
1051
1054
|
params: pickBy(innerPayload.params, identity),
|
|
1055
|
+
data,
|
|
1052
1056
|
})
|
|
1053
1057
|
.catch((e) => {
|
|
1054
1058
|
this.logger.error(formatErrors(e));
|
|
@@ -1190,11 +1194,11 @@ class Client$Z {
|
|
|
1190
1194
|
}
|
|
1191
1195
|
|
|
1192
1196
|
// auto gen
|
|
1193
|
-
class Client$
|
|
1197
|
+
class Client$Z extends Client$_ {
|
|
1194
1198
|
constructor() {
|
|
1195
1199
|
super(...arguments);
|
|
1196
1200
|
/**
|
|
1197
|
-
*
|
|
1201
|
+
* 管理后台-企业勋章
|
|
1198
1202
|
*/
|
|
1199
1203
|
this.admin = {
|
|
1200
1204
|
/**
|
|
@@ -1272,6 +1276,7 @@ class Client$Y extends Client$Z {
|
|
|
1272
1276
|
method: "GET",
|
|
1273
1277
|
headers: pickBy(innerPayload.headers, identity),
|
|
1274
1278
|
params: pickBy(innerPayload.params, identity),
|
|
1279
|
+
data,
|
|
1275
1280
|
})
|
|
1276
1281
|
.catch((e) => {
|
|
1277
1282
|
this.logger.error(formatErrors(e));
|
|
@@ -1315,6 +1320,8 @@ class Client$Y extends Client$Z {
|
|
|
1315
1320
|
* {@link https://open.feishu.cn/api-explorer?project=admin&resource=audit_info&apiName=list&version=v1 click to debug }
|
|
1316
1321
|
*
|
|
1317
1322
|
* {@link https://open.feishu.cn/document/ukTMukTMukTM/uQjM5YjL0ITO24CNykjN/audit_log/audit_data_get document }
|
|
1323
|
+
*
|
|
1324
|
+
* 用户行为日志搜索
|
|
1318
1325
|
*/
|
|
1319
1326
|
list: (payload, options) => __awaiter(this, void 0, void 0, function* () {
|
|
1320
1327
|
const { headers, params, data, path } = yield this.formatPayload(payload, options);
|
|
@@ -1393,6 +1400,7 @@ class Client$Y extends Client$Z {
|
|
|
1393
1400
|
method: "GET",
|
|
1394
1401
|
headers: pickBy(innerPayload.headers, identity),
|
|
1395
1402
|
params: pickBy(innerPayload.params, identity),
|
|
1403
|
+
data,
|
|
1396
1404
|
})
|
|
1397
1405
|
.catch((e) => {
|
|
1398
1406
|
this.logger.error(formatErrors(e));
|
|
@@ -1566,6 +1574,7 @@ class Client$Y extends Client$Z {
|
|
|
1566
1574
|
method: "GET",
|
|
1567
1575
|
headers: pickBy(innerPayload.headers, identity),
|
|
1568
1576
|
params: pickBy(innerPayload.params, identity),
|
|
1577
|
+
data,
|
|
1569
1578
|
})
|
|
1570
1579
|
.catch((e) => {
|
|
1571
1580
|
this.logger.error(formatErrors(e));
|
|
@@ -1789,6 +1798,7 @@ class Client$Y extends Client$Z {
|
|
|
1789
1798
|
method: "GET",
|
|
1790
1799
|
headers: pickBy(innerPayload.headers, identity),
|
|
1791
1800
|
params: pickBy(innerPayload.params, identity),
|
|
1801
|
+
data,
|
|
1792
1802
|
})
|
|
1793
1803
|
.catch((e) => {
|
|
1794
1804
|
this.logger.error(formatErrors(e));
|
|
@@ -1832,6 +1842,8 @@ class Client$Y extends Client$Z {
|
|
|
1832
1842
|
* {@link https://open.feishu.cn/api-explorer?project=admin&resource=audit_info&apiName=list&version=v1 click to debug }
|
|
1833
1843
|
*
|
|
1834
1844
|
* {@link https://open.feishu.cn/document/ukTMukTMukTM/uQjM5YjL0ITO24CNykjN/audit_log/audit_data_get document }
|
|
1845
|
+
*
|
|
1846
|
+
* 用户行为日志搜索
|
|
1835
1847
|
*/
|
|
1836
1848
|
list: (payload, options) => __awaiter(this, void 0, void 0, function* () {
|
|
1837
1849
|
const { headers, params, data, path } = yield this.formatPayload(payload, options);
|
|
@@ -1910,6 +1922,7 @@ class Client$Y extends Client$Z {
|
|
|
1910
1922
|
method: "GET",
|
|
1911
1923
|
headers: pickBy(innerPayload.headers, identity),
|
|
1912
1924
|
params: pickBy(innerPayload.params, identity),
|
|
1925
|
+
data,
|
|
1913
1926
|
})
|
|
1914
1927
|
.catch((e) => {
|
|
1915
1928
|
this.logger.error(formatErrors(e));
|
|
@@ -2083,6 +2096,7 @@ class Client$Y extends Client$Z {
|
|
|
2083
2096
|
method: "GET",
|
|
2084
2097
|
headers: pickBy(innerPayload.headers, identity),
|
|
2085
2098
|
params: pickBy(innerPayload.params, identity),
|
|
2099
|
+
data,
|
|
2086
2100
|
})
|
|
2087
2101
|
.catch((e) => {
|
|
2088
2102
|
this.logger.error(formatErrors(e));
|
|
@@ -2235,6 +2249,375 @@ class Client$Y extends Client$Z {
|
|
|
2235
2249
|
}
|
|
2236
2250
|
}
|
|
2237
2251
|
|
|
2252
|
+
// auto gen
|
|
2253
|
+
class Client$Y extends Client$Z {
|
|
2254
|
+
constructor() {
|
|
2255
|
+
super(...arguments);
|
|
2256
|
+
/**
|
|
2257
|
+
|
|
2258
|
+
*/
|
|
2259
|
+
this.aily = {
|
|
2260
|
+
v1: {
|
|
2261
|
+
/**
|
|
2262
|
+
* aily_session.aily_message
|
|
2263
|
+
*/
|
|
2264
|
+
ailySessionAilyMessage: {
|
|
2265
|
+
/**
|
|
2266
|
+
* {@link https://open.feishu.cn/api-explorer?project=aily&resource=aily_session.aily_message&apiName=create&version=v1 click to debug }
|
|
2267
|
+
*
|
|
2268
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=create&project=aily&resource=aily_session.aily_message&version=v1 document }
|
|
2269
|
+
*
|
|
2270
|
+
* 该 API 用于向某个飞书智能伙伴应用发送一条消息(Message)。
|
|
2271
|
+
*/
|
|
2272
|
+
create: (payload, options) => __awaiter(this, void 0, void 0, function* () {
|
|
2273
|
+
const { headers, params, data, path } = yield this.formatPayload(payload, options);
|
|
2274
|
+
return this.httpInstance
|
|
2275
|
+
.request({
|
|
2276
|
+
url: fillApiPath(`${this.domain}/open-apis/aily/v1/sessions/:aily_session_id/messages`, path),
|
|
2277
|
+
method: "POST",
|
|
2278
|
+
data,
|
|
2279
|
+
params,
|
|
2280
|
+
headers,
|
|
2281
|
+
})
|
|
2282
|
+
.catch((e) => {
|
|
2283
|
+
this.logger.error(formatErrors(e));
|
|
2284
|
+
throw e;
|
|
2285
|
+
});
|
|
2286
|
+
}),
|
|
2287
|
+
/**
|
|
2288
|
+
* {@link https://open.feishu.cn/api-explorer?project=aily&resource=aily_session.aily_message&apiName=get&version=v1 click to debug }
|
|
2289
|
+
*
|
|
2290
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=get&project=aily&resource=aily_session.aily_message&version=v1 document }
|
|
2291
|
+
*
|
|
2292
|
+
* 该 API 用于获取某个飞书智能伙伴应用的消息(Message)的详细信息;包括消息的内容、发送人等。
|
|
2293
|
+
*/
|
|
2294
|
+
get: (payload, options) => __awaiter(this, void 0, void 0, function* () {
|
|
2295
|
+
const { headers, params, data, path } = yield this.formatPayload(payload, options);
|
|
2296
|
+
return this.httpInstance
|
|
2297
|
+
.request({
|
|
2298
|
+
url: fillApiPath(`${this.domain}/open-apis/aily/v1/sessions/:aily_session_id/messages/:aily_message_id`, path),
|
|
2299
|
+
method: "GET",
|
|
2300
|
+
data,
|
|
2301
|
+
params,
|
|
2302
|
+
headers,
|
|
2303
|
+
})
|
|
2304
|
+
.catch((e) => {
|
|
2305
|
+
this.logger.error(formatErrors(e));
|
|
2306
|
+
throw e;
|
|
2307
|
+
});
|
|
2308
|
+
}),
|
|
2309
|
+
listWithIterator: (payload, options) => __awaiter(this, void 0, void 0, function* () {
|
|
2310
|
+
const { headers, params, data, path } = yield this.formatPayload(payload, options);
|
|
2311
|
+
const sendRequest = (innerPayload) => __awaiter(this, void 0, void 0, function* () {
|
|
2312
|
+
const res = yield this.httpInstance
|
|
2313
|
+
.request({
|
|
2314
|
+
url: fillApiPath(`${this.domain}/open-apis/aily/v1/sessions/:aily_session_id/messages`, path),
|
|
2315
|
+
method: "GET",
|
|
2316
|
+
headers: pickBy(innerPayload.headers, identity),
|
|
2317
|
+
params: pickBy(innerPayload.params, identity),
|
|
2318
|
+
data,
|
|
2319
|
+
})
|
|
2320
|
+
.catch((e) => {
|
|
2321
|
+
this.logger.error(formatErrors(e));
|
|
2322
|
+
});
|
|
2323
|
+
return res;
|
|
2324
|
+
});
|
|
2325
|
+
const Iterable = {
|
|
2326
|
+
[Symbol.asyncIterator]() {
|
|
2327
|
+
return __asyncGenerator(this, arguments, function* _a() {
|
|
2328
|
+
let hasMore = true;
|
|
2329
|
+
let pageToken;
|
|
2330
|
+
while (hasMore) {
|
|
2331
|
+
try {
|
|
2332
|
+
const res = yield __await(sendRequest({
|
|
2333
|
+
headers,
|
|
2334
|
+
params: Object.assign(Object.assign({}, params), { page_token: pageToken }),
|
|
2335
|
+
data,
|
|
2336
|
+
}));
|
|
2337
|
+
const _b = get(res, "data") || {}, {
|
|
2338
|
+
// @ts-ignore
|
|
2339
|
+
has_more,
|
|
2340
|
+
// @ts-ignore
|
|
2341
|
+
page_token,
|
|
2342
|
+
// @ts-ignore
|
|
2343
|
+
next_page_token } = _b, rest = __rest(_b, ["has_more", "page_token", "next_page_token"]);
|
|
2344
|
+
yield yield __await(rest);
|
|
2345
|
+
hasMore = Boolean(has_more);
|
|
2346
|
+
pageToken = page_token || next_page_token;
|
|
2347
|
+
}
|
|
2348
|
+
catch (e) {
|
|
2349
|
+
yield yield __await(null);
|
|
2350
|
+
break;
|
|
2351
|
+
}
|
|
2352
|
+
}
|
|
2353
|
+
});
|
|
2354
|
+
},
|
|
2355
|
+
};
|
|
2356
|
+
return Iterable;
|
|
2357
|
+
}),
|
|
2358
|
+
/**
|
|
2359
|
+
* {@link https://open.feishu.cn/api-explorer?project=aily&resource=aily_session.aily_message&apiName=list&version=v1 click to debug }
|
|
2360
|
+
*
|
|
2361
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=list&project=aily&resource=aily_session.aily_message&version=v1 document }
|
|
2362
|
+
*
|
|
2363
|
+
* 该 API 用于批量获取飞书智能伙伴应用的消息(Message)的详细信息
|
|
2364
|
+
*/
|
|
2365
|
+
list: (payload, options) => __awaiter(this, void 0, void 0, function* () {
|
|
2366
|
+
const { headers, params, data, path } = yield this.formatPayload(payload, options);
|
|
2367
|
+
return this.httpInstance
|
|
2368
|
+
.request({
|
|
2369
|
+
url: fillApiPath(`${this.domain}/open-apis/aily/v1/sessions/:aily_session_id/messages`, path),
|
|
2370
|
+
method: "GET",
|
|
2371
|
+
data,
|
|
2372
|
+
params,
|
|
2373
|
+
headers,
|
|
2374
|
+
})
|
|
2375
|
+
.catch((e) => {
|
|
2376
|
+
this.logger.error(formatErrors(e));
|
|
2377
|
+
throw e;
|
|
2378
|
+
});
|
|
2379
|
+
}),
|
|
2380
|
+
},
|
|
2381
|
+
/**
|
|
2382
|
+
* aily_session
|
|
2383
|
+
*/
|
|
2384
|
+
ailySession: {
|
|
2385
|
+
/**
|
|
2386
|
+
* {@link https://open.feishu.cn/api-explorer?project=aily&resource=aily_session&apiName=create&version=v1 click to debug }
|
|
2387
|
+
*
|
|
2388
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=create&project=aily&resource=aily_session&version=v1 document }
|
|
2389
|
+
*
|
|
2390
|
+
* 该 API 用于创建与某个飞书智能伙伴应用的一次会话(Session)。
|
|
2391
|
+
*/
|
|
2392
|
+
create: (payload, options) => __awaiter(this, void 0, void 0, function* () {
|
|
2393
|
+
const { headers, params, data, path } = yield this.formatPayload(payload, options);
|
|
2394
|
+
return this.httpInstance
|
|
2395
|
+
.request({
|
|
2396
|
+
url: fillApiPath(`${this.domain}/open-apis/aily/v1/sessions`, path),
|
|
2397
|
+
method: "POST",
|
|
2398
|
+
data,
|
|
2399
|
+
params,
|
|
2400
|
+
headers,
|
|
2401
|
+
})
|
|
2402
|
+
.catch((e) => {
|
|
2403
|
+
this.logger.error(formatErrors(e));
|
|
2404
|
+
throw e;
|
|
2405
|
+
});
|
|
2406
|
+
}),
|
|
2407
|
+
/**
|
|
2408
|
+
* {@link https://open.feishu.cn/api-explorer?project=aily&resource=aily_session&apiName=delete&version=v1 click to debug }
|
|
2409
|
+
*
|
|
2410
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=delete&project=aily&resource=aily_session&version=v1 document }
|
|
2411
|
+
*
|
|
2412
|
+
* 该 API 用于销毁与某个飞书智能伙伴应用的一次会话(Session),当会话销毁后、无法继续在会话中创建 / 拉取消息。
|
|
2413
|
+
*/
|
|
2414
|
+
delete: (payload, options) => __awaiter(this, void 0, void 0, function* () {
|
|
2415
|
+
const { headers, params, data, path } = yield this.formatPayload(payload, options);
|
|
2416
|
+
return this.httpInstance
|
|
2417
|
+
.request({
|
|
2418
|
+
url: fillApiPath(`${this.domain}/open-apis/aily/v1/sessions/:aily_session_id`, path),
|
|
2419
|
+
method: "DELETE",
|
|
2420
|
+
data,
|
|
2421
|
+
params,
|
|
2422
|
+
headers,
|
|
2423
|
+
})
|
|
2424
|
+
.catch((e) => {
|
|
2425
|
+
this.logger.error(formatErrors(e));
|
|
2426
|
+
throw e;
|
|
2427
|
+
});
|
|
2428
|
+
}),
|
|
2429
|
+
/**
|
|
2430
|
+
* {@link https://open.feishu.cn/api-explorer?project=aily&resource=aily_session&apiName=get&version=v1 click to debug }
|
|
2431
|
+
*
|
|
2432
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=get&project=aily&resource=aily_session&version=v1 document }
|
|
2433
|
+
*
|
|
2434
|
+
* 该 API 用于获取与某个飞书智能伙伴应用的一次会话(Session)的详细信息,包括会话的状态、渠道信息、创建时间等。
|
|
2435
|
+
*/
|
|
2436
|
+
get: (payload, options) => __awaiter(this, void 0, void 0, function* () {
|
|
2437
|
+
const { headers, params, data, path } = yield this.formatPayload(payload, options);
|
|
2438
|
+
return this.httpInstance
|
|
2439
|
+
.request({
|
|
2440
|
+
url: fillApiPath(`${this.domain}/open-apis/aily/v1/sessions/:aily_session_id`, path),
|
|
2441
|
+
method: "GET",
|
|
2442
|
+
data,
|
|
2443
|
+
params,
|
|
2444
|
+
headers,
|
|
2445
|
+
})
|
|
2446
|
+
.catch((e) => {
|
|
2447
|
+
this.logger.error(formatErrors(e));
|
|
2448
|
+
throw e;
|
|
2449
|
+
});
|
|
2450
|
+
}),
|
|
2451
|
+
/**
|
|
2452
|
+
* {@link https://open.feishu.cn/api-explorer?project=aily&resource=aily_session&apiName=update&version=v1 click to debug }
|
|
2453
|
+
*
|
|
2454
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=update&project=aily&resource=aily_session&version=v1 document }
|
|
2455
|
+
*
|
|
2456
|
+
* 该 API 用于更新与某个飞书智能伙伴应用的一次会话(Session)。
|
|
2457
|
+
*/
|
|
2458
|
+
update: (payload, options) => __awaiter(this, void 0, void 0, function* () {
|
|
2459
|
+
const { headers, params, data, path } = yield this.formatPayload(payload, options);
|
|
2460
|
+
return this.httpInstance
|
|
2461
|
+
.request({
|
|
2462
|
+
url: fillApiPath(`${this.domain}/open-apis/aily/v1/sessions/:aily_session_id`, path),
|
|
2463
|
+
method: "PUT",
|
|
2464
|
+
data,
|
|
2465
|
+
params,
|
|
2466
|
+
headers,
|
|
2467
|
+
})
|
|
2468
|
+
.catch((e) => {
|
|
2469
|
+
this.logger.error(formatErrors(e));
|
|
2470
|
+
throw e;
|
|
2471
|
+
});
|
|
2472
|
+
}),
|
|
2473
|
+
},
|
|
2474
|
+
/**
|
|
2475
|
+
* aily_session.run
|
|
2476
|
+
*/
|
|
2477
|
+
ailySessionRun: {
|
|
2478
|
+
/**
|
|
2479
|
+
* {@link https://open.feishu.cn/api-explorer?project=aily&resource=aily_session.run&apiName=cancel&version=v1 click to debug }
|
|
2480
|
+
*
|
|
2481
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=cancel&project=aily&resource=aily_session.run&version=v1 document }
|
|
2482
|
+
*
|
|
2483
|
+
* 该 API 用于取消指定的运行(Run)。
|
|
2484
|
+
*/
|
|
2485
|
+
cancel: (payload, options) => __awaiter(this, void 0, void 0, function* () {
|
|
2486
|
+
const { headers, params, data, path } = yield this.formatPayload(payload, options);
|
|
2487
|
+
return this.httpInstance
|
|
2488
|
+
.request({
|
|
2489
|
+
url: fillApiPath(`${this.domain}/open-apis/aily/v1/sessions/:aily_session_id/runs/:run_id/cancel`, path),
|
|
2490
|
+
method: "POST",
|
|
2491
|
+
data,
|
|
2492
|
+
params,
|
|
2493
|
+
headers,
|
|
2494
|
+
})
|
|
2495
|
+
.catch((e) => {
|
|
2496
|
+
this.logger.error(formatErrors(e));
|
|
2497
|
+
throw e;
|
|
2498
|
+
});
|
|
2499
|
+
}),
|
|
2500
|
+
/**
|
|
2501
|
+
* {@link https://open.feishu.cn/api-explorer?project=aily&resource=aily_session.run&apiName=create&version=v1 click to debug }
|
|
2502
|
+
*
|
|
2503
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=create&project=aily&resource=aily_session.run&version=v1 document }
|
|
2504
|
+
*
|
|
2505
|
+
* 该 API 用于启动一次运行(Run)。
|
|
2506
|
+
*/
|
|
2507
|
+
create: (payload, options) => __awaiter(this, void 0, void 0, function* () {
|
|
2508
|
+
const { headers, params, data, path } = yield this.formatPayload(payload, options);
|
|
2509
|
+
return this.httpInstance
|
|
2510
|
+
.request({
|
|
2511
|
+
url: fillApiPath(`${this.domain}/open-apis/aily/v1/sessions/:aily_session_id/runs`, path),
|
|
2512
|
+
method: "POST",
|
|
2513
|
+
data,
|
|
2514
|
+
params,
|
|
2515
|
+
headers,
|
|
2516
|
+
})
|
|
2517
|
+
.catch((e) => {
|
|
2518
|
+
this.logger.error(formatErrors(e));
|
|
2519
|
+
throw e;
|
|
2520
|
+
});
|
|
2521
|
+
}),
|
|
2522
|
+
/**
|
|
2523
|
+
* {@link https://open.feishu.cn/api-explorer?project=aily&resource=aily_session.run&apiName=get&version=v1 click to debug }
|
|
2524
|
+
*
|
|
2525
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=get&project=aily&resource=aily_session.run&version=v1 document }
|
|
2526
|
+
*
|
|
2527
|
+
* 该 API 用于获取运行(Run)的详细信息。
|
|
2528
|
+
*/
|
|
2529
|
+
get: (payload, options) => __awaiter(this, void 0, void 0, function* () {
|
|
2530
|
+
const { headers, params, data, path } = yield this.formatPayload(payload, options);
|
|
2531
|
+
return this.httpInstance
|
|
2532
|
+
.request({
|
|
2533
|
+
url: fillApiPath(`${this.domain}/open-apis/aily/v1/sessions/:aily_session_id/runs/:run_id`, path),
|
|
2534
|
+
method: "GET",
|
|
2535
|
+
data,
|
|
2536
|
+
params,
|
|
2537
|
+
headers,
|
|
2538
|
+
})
|
|
2539
|
+
.catch((e) => {
|
|
2540
|
+
this.logger.error(formatErrors(e));
|
|
2541
|
+
throw e;
|
|
2542
|
+
});
|
|
2543
|
+
}),
|
|
2544
|
+
listWithIterator: (payload, options) => __awaiter(this, void 0, void 0, function* () {
|
|
2545
|
+
const { headers, params, data, path } = yield this.formatPayload(payload, options);
|
|
2546
|
+
const sendRequest = (innerPayload) => __awaiter(this, void 0, void 0, function* () {
|
|
2547
|
+
const res = yield this.httpInstance
|
|
2548
|
+
.request({
|
|
2549
|
+
url: fillApiPath(`${this.domain}/open-apis/aily/v1/sessions/:aily_session_id/runs`, path),
|
|
2550
|
+
method: "GET",
|
|
2551
|
+
headers: pickBy(innerPayload.headers, identity),
|
|
2552
|
+
params: pickBy(innerPayload.params, identity),
|
|
2553
|
+
data,
|
|
2554
|
+
})
|
|
2555
|
+
.catch((e) => {
|
|
2556
|
+
this.logger.error(formatErrors(e));
|
|
2557
|
+
});
|
|
2558
|
+
return res;
|
|
2559
|
+
});
|
|
2560
|
+
const Iterable = {
|
|
2561
|
+
[Symbol.asyncIterator]() {
|
|
2562
|
+
return __asyncGenerator(this, arguments, function* _a() {
|
|
2563
|
+
let hasMore = true;
|
|
2564
|
+
let pageToken;
|
|
2565
|
+
while (hasMore) {
|
|
2566
|
+
try {
|
|
2567
|
+
const res = yield __await(sendRequest({
|
|
2568
|
+
headers,
|
|
2569
|
+
params: Object.assign(Object.assign({}, params), { page_token: pageToken }),
|
|
2570
|
+
data,
|
|
2571
|
+
}));
|
|
2572
|
+
const _b = get(res, "data") || {}, {
|
|
2573
|
+
// @ts-ignore
|
|
2574
|
+
has_more,
|
|
2575
|
+
// @ts-ignore
|
|
2576
|
+
page_token,
|
|
2577
|
+
// @ts-ignore
|
|
2578
|
+
next_page_token } = _b, rest = __rest(_b, ["has_more", "page_token", "next_page_token"]);
|
|
2579
|
+
yield yield __await(rest);
|
|
2580
|
+
hasMore = Boolean(has_more);
|
|
2581
|
+
pageToken = page_token || next_page_token;
|
|
2582
|
+
}
|
|
2583
|
+
catch (e) {
|
|
2584
|
+
yield yield __await(null);
|
|
2585
|
+
break;
|
|
2586
|
+
}
|
|
2587
|
+
}
|
|
2588
|
+
});
|
|
2589
|
+
},
|
|
2590
|
+
};
|
|
2591
|
+
return Iterable;
|
|
2592
|
+
}),
|
|
2593
|
+
/**
|
|
2594
|
+
* {@link https://open.feishu.cn/api-explorer?project=aily&resource=aily_session.run&apiName=list&version=v1 click to debug }
|
|
2595
|
+
*
|
|
2596
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=list&project=aily&resource=aily_session.run&version=v1 document }
|
|
2597
|
+
*
|
|
2598
|
+
* 该 API 用于批量获取运行(Run)的详细信息。
|
|
2599
|
+
*/
|
|
2600
|
+
list: (payload, options) => __awaiter(this, void 0, void 0, function* () {
|
|
2601
|
+
const { headers, params, data, path } = yield this.formatPayload(payload, options);
|
|
2602
|
+
return this.httpInstance
|
|
2603
|
+
.request({
|
|
2604
|
+
url: fillApiPath(`${this.domain}/open-apis/aily/v1/sessions/:aily_session_id/runs`, path),
|
|
2605
|
+
method: "GET",
|
|
2606
|
+
data,
|
|
2607
|
+
params,
|
|
2608
|
+
headers,
|
|
2609
|
+
})
|
|
2610
|
+
.catch((e) => {
|
|
2611
|
+
this.logger.error(formatErrors(e));
|
|
2612
|
+
throw e;
|
|
2613
|
+
});
|
|
2614
|
+
}),
|
|
2615
|
+
},
|
|
2616
|
+
},
|
|
2617
|
+
};
|
|
2618
|
+
}
|
|
2619
|
+
}
|
|
2620
|
+
|
|
2238
2621
|
// auto gen
|
|
2239
2622
|
class Client$X extends Client$Y {
|
|
2240
2623
|
constructor() {
|
|
@@ -2285,6 +2668,7 @@ class Client$X extends Client$Y {
|
|
|
2285
2668
|
method: "GET",
|
|
2286
2669
|
headers: pickBy(innerPayload.headers, identity),
|
|
2287
2670
|
params: pickBy(innerPayload.params, identity),
|
|
2671
|
+
data,
|
|
2288
2672
|
})
|
|
2289
2673
|
.catch((e) => {
|
|
2290
2674
|
this.logger.error(formatErrors(e));
|
|
@@ -2465,6 +2849,7 @@ class Client$X extends Client$Y {
|
|
|
2465
2849
|
method: "GET",
|
|
2466
2850
|
headers: pickBy(innerPayload.headers, identity),
|
|
2467
2851
|
params: pickBy(innerPayload.params, identity),
|
|
2852
|
+
data,
|
|
2468
2853
|
})
|
|
2469
2854
|
.catch((e) => {
|
|
2470
2855
|
this.logger.error(formatErrors(e));
|
|
@@ -2659,6 +3044,7 @@ class Client$X extends Client$Y {
|
|
|
2659
3044
|
method: "GET",
|
|
2660
3045
|
headers: pickBy(innerPayload.headers, identity),
|
|
2661
3046
|
params: pickBy(innerPayload.params, identity),
|
|
3047
|
+
data,
|
|
2662
3048
|
})
|
|
2663
3049
|
.catch((e) => {
|
|
2664
3050
|
this.logger.error(formatErrors(e));
|
|
@@ -2889,6 +3275,7 @@ class Client$X extends Client$Y {
|
|
|
2889
3275
|
method: "GET",
|
|
2890
3276
|
headers: pickBy(innerPayload.headers, identity),
|
|
2891
3277
|
params: pickBy(innerPayload.params, identity),
|
|
3278
|
+
data,
|
|
2892
3279
|
})
|
|
2893
3280
|
.catch((e) => {
|
|
2894
3281
|
this.logger.error(formatErrors(e));
|
|
@@ -3069,6 +3456,7 @@ class Client$X extends Client$Y {
|
|
|
3069
3456
|
method: "GET",
|
|
3070
3457
|
headers: pickBy(innerPayload.headers, identity),
|
|
3071
3458
|
params: pickBy(innerPayload.params, identity),
|
|
3459
|
+
data,
|
|
3072
3460
|
})
|
|
3073
3461
|
.catch((e) => {
|
|
3074
3462
|
this.logger.error(formatErrors(e));
|
|
@@ -3263,6 +3651,7 @@ class Client$X extends Client$Y {
|
|
|
3263
3651
|
method: "GET",
|
|
3264
3652
|
headers: pickBy(innerPayload.headers, identity),
|
|
3265
3653
|
params: pickBy(innerPayload.params, identity),
|
|
3654
|
+
data,
|
|
3266
3655
|
})
|
|
3267
3656
|
.catch((e) => {
|
|
3268
3657
|
this.logger.error(formatErrors(e));
|
|
@@ -3464,7 +3853,7 @@ class Client$W extends Client$X {
|
|
|
3464
3853
|
*/
|
|
3465
3854
|
this.approval = {
|
|
3466
3855
|
/**
|
|
3467
|
-
*
|
|
3856
|
+
* 事件
|
|
3468
3857
|
*/
|
|
3469
3858
|
approval: {
|
|
3470
3859
|
/**
|
|
@@ -3683,6 +4072,7 @@ class Client$W extends Client$X {
|
|
|
3683
4072
|
method: "GET",
|
|
3684
4073
|
headers: pickBy(innerPayload.headers, identity),
|
|
3685
4074
|
params: pickBy(innerPayload.params, identity),
|
|
4075
|
+
data,
|
|
3686
4076
|
})
|
|
3687
4077
|
.catch((e) => {
|
|
3688
4078
|
this.logger.error(formatErrors(e));
|
|
@@ -3748,7 +4138,7 @@ class Client$W extends Client$X {
|
|
|
3748
4138
|
}),
|
|
3749
4139
|
},
|
|
3750
4140
|
/**
|
|
3751
|
-
*
|
|
4141
|
+
* 原生审批实例
|
|
3752
4142
|
*/
|
|
3753
4143
|
instance: {
|
|
3754
4144
|
/**
|
|
@@ -3876,6 +4266,7 @@ class Client$W extends Client$X {
|
|
|
3876
4266
|
method: "GET",
|
|
3877
4267
|
headers: pickBy(innerPayload.headers, identity),
|
|
3878
4268
|
params: pickBy(innerPayload.params, identity),
|
|
4269
|
+
data,
|
|
3879
4270
|
})
|
|
3880
4271
|
.catch((e) => {
|
|
3881
4272
|
this.logger.error(formatErrors(e));
|
|
@@ -3968,6 +4359,7 @@ class Client$W extends Client$X {
|
|
|
3968
4359
|
method: "POST",
|
|
3969
4360
|
headers: pickBy(innerPayload.headers, identity),
|
|
3970
4361
|
params: pickBy(innerPayload.params, identity),
|
|
4362
|
+
data,
|
|
3971
4363
|
})
|
|
3972
4364
|
.catch((e) => {
|
|
3973
4365
|
this.logger.error(formatErrors(e));
|
|
@@ -4141,6 +4533,7 @@ class Client$W extends Client$X {
|
|
|
4141
4533
|
method: "GET",
|
|
4142
4534
|
headers: pickBy(innerPayload.headers, identity),
|
|
4143
4535
|
params: pickBy(innerPayload.params, identity),
|
|
4536
|
+
data,
|
|
4144
4537
|
})
|
|
4145
4538
|
.catch((e) => {
|
|
4146
4539
|
this.logger.error(formatErrors(e));
|
|
@@ -4266,6 +4659,7 @@ class Client$W extends Client$X {
|
|
|
4266
4659
|
method: "GET",
|
|
4267
4660
|
headers: pickBy(innerPayload.headers, identity),
|
|
4268
4661
|
params: pickBy(innerPayload.params, identity),
|
|
4662
|
+
data,
|
|
4269
4663
|
})
|
|
4270
4664
|
.catch((e) => {
|
|
4271
4665
|
this.logger.error(formatErrors(e));
|
|
@@ -4428,7 +4822,7 @@ class Client$W extends Client$X {
|
|
|
4428
4822
|
},
|
|
4429
4823
|
v4: {
|
|
4430
4824
|
/**
|
|
4431
|
-
*
|
|
4825
|
+
* 事件
|
|
4432
4826
|
*/
|
|
4433
4827
|
approval: {
|
|
4434
4828
|
/**
|
|
@@ -4647,6 +5041,7 @@ class Client$W extends Client$X {
|
|
|
4647
5041
|
method: "GET",
|
|
4648
5042
|
headers: pickBy(innerPayload.headers, identity),
|
|
4649
5043
|
params: pickBy(innerPayload.params, identity),
|
|
5044
|
+
data,
|
|
4650
5045
|
})
|
|
4651
5046
|
.catch((e) => {
|
|
4652
5047
|
this.logger.error(formatErrors(e));
|
|
@@ -4712,7 +5107,7 @@ class Client$W extends Client$X {
|
|
|
4712
5107
|
}),
|
|
4713
5108
|
},
|
|
4714
5109
|
/**
|
|
4715
|
-
*
|
|
5110
|
+
* 原生审批实例
|
|
4716
5111
|
*/
|
|
4717
5112
|
instance: {
|
|
4718
5113
|
/**
|
|
@@ -4840,6 +5235,7 @@ class Client$W extends Client$X {
|
|
|
4840
5235
|
method: "GET",
|
|
4841
5236
|
headers: pickBy(innerPayload.headers, identity),
|
|
4842
5237
|
params: pickBy(innerPayload.params, identity),
|
|
5238
|
+
data,
|
|
4843
5239
|
})
|
|
4844
5240
|
.catch((e) => {
|
|
4845
5241
|
this.logger.error(formatErrors(e));
|
|
@@ -4932,6 +5328,7 @@ class Client$W extends Client$X {
|
|
|
4932
5328
|
method: "POST",
|
|
4933
5329
|
headers: pickBy(innerPayload.headers, identity),
|
|
4934
5330
|
params: pickBy(innerPayload.params, identity),
|
|
5331
|
+
data,
|
|
4935
5332
|
})
|
|
4936
5333
|
.catch((e) => {
|
|
4937
5334
|
this.logger.error(formatErrors(e));
|
|
@@ -5105,6 +5502,7 @@ class Client$W extends Client$X {
|
|
|
5105
5502
|
method: "GET",
|
|
5106
5503
|
headers: pickBy(innerPayload.headers, identity),
|
|
5107
5504
|
params: pickBy(innerPayload.params, identity),
|
|
5505
|
+
data,
|
|
5108
5506
|
})
|
|
5109
5507
|
.catch((e) => {
|
|
5110
5508
|
this.logger.error(formatErrors(e));
|
|
@@ -5230,6 +5628,7 @@ class Client$W extends Client$X {
|
|
|
5230
5628
|
method: "GET",
|
|
5231
5629
|
headers: pickBy(innerPayload.headers, identity),
|
|
5232
5630
|
params: pickBy(innerPayload.params, identity),
|
|
5631
|
+
data,
|
|
5233
5632
|
})
|
|
5234
5633
|
.catch((e) => {
|
|
5235
5634
|
this.logger.error(formatErrors(e));
|
|
@@ -5590,6 +5989,7 @@ class Client$V extends Client$W {
|
|
|
5590
5989
|
method: "GET",
|
|
5591
5990
|
headers: pickBy(innerPayload.headers, identity),
|
|
5592
5991
|
params: pickBy(innerPayload.params, identity),
|
|
5992
|
+
data,
|
|
5593
5993
|
})
|
|
5594
5994
|
.catch((e) => {
|
|
5595
5995
|
this.logger.error(formatErrors(e));
|
|
@@ -5817,6 +6217,7 @@ class Client$V extends Client$W {
|
|
|
5817
6217
|
method: "GET",
|
|
5818
6218
|
headers: pickBy(innerPayload.headers, identity),
|
|
5819
6219
|
params: pickBy(innerPayload.params, identity),
|
|
6220
|
+
data,
|
|
5820
6221
|
})
|
|
5821
6222
|
.catch((e) => {
|
|
5822
6223
|
this.logger.error(formatErrors(e));
|
|
@@ -6556,6 +6957,7 @@ class Client$V extends Client$W {
|
|
|
6556
6957
|
method: "GET",
|
|
6557
6958
|
headers: pickBy(innerPayload.headers, identity),
|
|
6558
6959
|
params: pickBy(innerPayload.params, identity),
|
|
6960
|
+
data,
|
|
6559
6961
|
})
|
|
6560
6962
|
.catch((e) => {
|
|
6561
6963
|
this.logger.error(formatErrors(e));
|
|
@@ -6783,6 +7185,7 @@ class Client$V extends Client$W {
|
|
|
6783
7185
|
method: "GET",
|
|
6784
7186
|
headers: pickBy(innerPayload.headers, identity),
|
|
6785
7187
|
params: pickBy(innerPayload.params, identity),
|
|
7188
|
+
data,
|
|
6786
7189
|
})
|
|
6787
7190
|
.catch((e) => {
|
|
6788
7191
|
this.logger.error(formatErrors(e));
|
|
@@ -7879,6 +8282,7 @@ class Client$R extends Client$S {
|
|
|
7879
8282
|
method: "GET",
|
|
7880
8283
|
headers: pickBy(innerPayload.headers, identity),
|
|
7881
8284
|
params: pickBy(innerPayload.params, identity),
|
|
8285
|
+
data,
|
|
7882
8286
|
})
|
|
7883
8287
|
.catch((e) => {
|
|
7884
8288
|
this.logger.error(formatErrors(e));
|
|
@@ -8111,6 +8515,7 @@ class Client$R extends Client$S {
|
|
|
8111
8515
|
method: "GET",
|
|
8112
8516
|
headers: pickBy(innerPayload.headers, identity),
|
|
8113
8517
|
params: pickBy(innerPayload.params, identity),
|
|
8518
|
+
data,
|
|
8114
8519
|
})
|
|
8115
8520
|
.catch((e) => {
|
|
8116
8521
|
this.logger.error(formatErrors(e));
|
|
@@ -8207,6 +8612,7 @@ class Client$R extends Client$S {
|
|
|
8207
8612
|
method: "POST",
|
|
8208
8613
|
headers: pickBy(innerPayload.headers, identity),
|
|
8209
8614
|
params: pickBy(innerPayload.params, identity),
|
|
8615
|
+
data,
|
|
8210
8616
|
})
|
|
8211
8617
|
.catch((e) => {
|
|
8212
8618
|
this.logger.error(formatErrors(e));
|
|
@@ -8378,6 +8784,7 @@ class Client$R extends Client$S {
|
|
|
8378
8784
|
method: "GET",
|
|
8379
8785
|
headers: pickBy(innerPayload.headers, identity),
|
|
8380
8786
|
params: pickBy(innerPayload.params, identity),
|
|
8787
|
+
data,
|
|
8381
8788
|
})
|
|
8382
8789
|
.catch((e) => {
|
|
8383
8790
|
this.logger.error(formatErrors(e));
|
|
@@ -8610,6 +9017,7 @@ class Client$R extends Client$S {
|
|
|
8610
9017
|
method: "GET",
|
|
8611
9018
|
headers: pickBy(innerPayload.headers, identity),
|
|
8612
9019
|
params: pickBy(innerPayload.params, identity),
|
|
9020
|
+
data,
|
|
8613
9021
|
})
|
|
8614
9022
|
.catch((e) => {
|
|
8615
9023
|
this.logger.error(formatErrors(e));
|
|
@@ -8706,6 +9114,7 @@ class Client$R extends Client$S {
|
|
|
8706
9114
|
method: "POST",
|
|
8707
9115
|
headers: pickBy(innerPayload.headers, identity),
|
|
8708
9116
|
params: pickBy(innerPayload.params, identity),
|
|
9117
|
+
data,
|
|
8709
9118
|
})
|
|
8710
9119
|
.catch((e) => {
|
|
8711
9120
|
this.logger.error(formatErrors(e));
|
|
@@ -9012,6 +9421,7 @@ class Client$Q extends Client$R {
|
|
|
9012
9421
|
method: "GET",
|
|
9013
9422
|
headers: pickBy(innerPayload.headers, identity),
|
|
9014
9423
|
params: pickBy(innerPayload.params, identity),
|
|
9424
|
+
data,
|
|
9015
9425
|
})
|
|
9016
9426
|
.catch((e) => {
|
|
9017
9427
|
this.logger.error(formatErrors(e));
|
|
@@ -9139,6 +9549,7 @@ class Client$Q extends Client$R {
|
|
|
9139
9549
|
method: "GET",
|
|
9140
9550
|
headers: pickBy(innerPayload.headers, identity),
|
|
9141
9551
|
params: pickBy(innerPayload.params, identity),
|
|
9552
|
+
data,
|
|
9142
9553
|
})
|
|
9143
9554
|
.catch((e) => {
|
|
9144
9555
|
this.logger.error(formatErrors(e));
|
|
@@ -9338,6 +9749,7 @@ class Client$Q extends Client$R {
|
|
|
9338
9749
|
method: "GET",
|
|
9339
9750
|
headers: pickBy(innerPayload.headers, identity),
|
|
9340
9751
|
params: pickBy(innerPayload.params, identity),
|
|
9752
|
+
data,
|
|
9341
9753
|
})
|
|
9342
9754
|
.catch((e) => {
|
|
9343
9755
|
this.logger.error(formatErrors(e));
|
|
@@ -9519,6 +9931,7 @@ class Client$Q extends Client$R {
|
|
|
9519
9931
|
method: "GET",
|
|
9520
9932
|
headers: pickBy(innerPayload.headers, identity),
|
|
9521
9933
|
params: pickBy(innerPayload.params, identity),
|
|
9934
|
+
data,
|
|
9522
9935
|
})
|
|
9523
9936
|
.catch((e) => {
|
|
9524
9937
|
this.logger.error(formatErrors(e));
|
|
@@ -9670,6 +10083,7 @@ class Client$Q extends Client$R {
|
|
|
9670
10083
|
method: "GET",
|
|
9671
10084
|
headers: pickBy(innerPayload.headers, identity),
|
|
9672
10085
|
params: pickBy(innerPayload.params, identity),
|
|
10086
|
+
data,
|
|
9673
10087
|
})
|
|
9674
10088
|
.catch((e) => {
|
|
9675
10089
|
this.logger.error(formatErrors(e));
|
|
@@ -9775,6 +10189,7 @@ class Client$Q extends Client$R {
|
|
|
9775
10189
|
method: "GET",
|
|
9776
10190
|
headers: pickBy(innerPayload.headers, identity),
|
|
9777
10191
|
params: pickBy(innerPayload.params, identity),
|
|
10192
|
+
data,
|
|
9778
10193
|
})
|
|
9779
10194
|
.catch((e) => {
|
|
9780
10195
|
this.logger.error(formatErrors(e));
|
|
@@ -10093,6 +10508,7 @@ class Client$Q extends Client$R {
|
|
|
10093
10508
|
method: "GET",
|
|
10094
10509
|
headers: pickBy(innerPayload.headers, identity),
|
|
10095
10510
|
params: pickBy(innerPayload.params, identity),
|
|
10511
|
+
data,
|
|
10096
10512
|
})
|
|
10097
10513
|
.catch((e) => {
|
|
10098
10514
|
this.logger.error(formatErrors(e));
|
|
@@ -10167,6 +10583,7 @@ class Client$Q extends Client$R {
|
|
|
10167
10583
|
method: "POST",
|
|
10168
10584
|
headers: pickBy(innerPayload.headers, identity),
|
|
10169
10585
|
params: pickBy(innerPayload.params, identity),
|
|
10586
|
+
data,
|
|
10170
10587
|
})
|
|
10171
10588
|
.catch((e) => {
|
|
10172
10589
|
this.logger.error(formatErrors(e));
|
|
@@ -10344,6 +10761,7 @@ class Client$Q extends Client$R {
|
|
|
10344
10761
|
method: "GET",
|
|
10345
10762
|
headers: pickBy(innerPayload.headers, identity),
|
|
10346
10763
|
params: pickBy(innerPayload.params, identity),
|
|
10764
|
+
data,
|
|
10347
10765
|
})
|
|
10348
10766
|
.catch((e) => {
|
|
10349
10767
|
this.logger.error(formatErrors(e));
|
|
@@ -10571,6 +10989,7 @@ class Client$Q extends Client$R {
|
|
|
10571
10989
|
method: "GET",
|
|
10572
10990
|
headers: pickBy(innerPayload.headers, identity),
|
|
10573
10991
|
params: pickBy(innerPayload.params, identity),
|
|
10992
|
+
data,
|
|
10574
10993
|
})
|
|
10575
10994
|
.catch((e) => {
|
|
10576
10995
|
this.logger.error(formatErrors(e));
|
|
@@ -10698,6 +11117,7 @@ class Client$Q extends Client$R {
|
|
|
10698
11117
|
method: "GET",
|
|
10699
11118
|
headers: pickBy(innerPayload.headers, identity),
|
|
10700
11119
|
params: pickBy(innerPayload.params, identity),
|
|
11120
|
+
data,
|
|
10701
11121
|
})
|
|
10702
11122
|
.catch((e) => {
|
|
10703
11123
|
this.logger.error(formatErrors(e));
|
|
@@ -10897,6 +11317,7 @@ class Client$Q extends Client$R {
|
|
|
10897
11317
|
method: "GET",
|
|
10898
11318
|
headers: pickBy(innerPayload.headers, identity),
|
|
10899
11319
|
params: pickBy(innerPayload.params, identity),
|
|
11320
|
+
data,
|
|
10900
11321
|
})
|
|
10901
11322
|
.catch((e) => {
|
|
10902
11323
|
this.logger.error(formatErrors(e));
|
|
@@ -11078,6 +11499,7 @@ class Client$Q extends Client$R {
|
|
|
11078
11499
|
method: "GET",
|
|
11079
11500
|
headers: pickBy(innerPayload.headers, identity),
|
|
11080
11501
|
params: pickBy(innerPayload.params, identity),
|
|
11502
|
+
data,
|
|
11081
11503
|
})
|
|
11082
11504
|
.catch((e) => {
|
|
11083
11505
|
this.logger.error(formatErrors(e));
|
|
@@ -11229,6 +11651,7 @@ class Client$Q extends Client$R {
|
|
|
11229
11651
|
method: "GET",
|
|
11230
11652
|
headers: pickBy(innerPayload.headers, identity),
|
|
11231
11653
|
params: pickBy(innerPayload.params, identity),
|
|
11654
|
+
data,
|
|
11232
11655
|
})
|
|
11233
11656
|
.catch((e) => {
|
|
11234
11657
|
this.logger.error(formatErrors(e));
|
|
@@ -11334,6 +11757,7 @@ class Client$Q extends Client$R {
|
|
|
11334
11757
|
method: "GET",
|
|
11335
11758
|
headers: pickBy(innerPayload.headers, identity),
|
|
11336
11759
|
params: pickBy(innerPayload.params, identity),
|
|
11760
|
+
data,
|
|
11337
11761
|
})
|
|
11338
11762
|
.catch((e) => {
|
|
11339
11763
|
this.logger.error(formatErrors(e));
|
|
@@ -11652,6 +12076,7 @@ class Client$Q extends Client$R {
|
|
|
11652
12076
|
method: "GET",
|
|
11653
12077
|
headers: pickBy(innerPayload.headers, identity),
|
|
11654
12078
|
params: pickBy(innerPayload.params, identity),
|
|
12079
|
+
data,
|
|
11655
12080
|
})
|
|
11656
12081
|
.catch((e) => {
|
|
11657
12082
|
this.logger.error(formatErrors(e));
|
|
@@ -11726,6 +12151,7 @@ class Client$Q extends Client$R {
|
|
|
11726
12151
|
method: "POST",
|
|
11727
12152
|
headers: pickBy(innerPayload.headers, identity),
|
|
11728
12153
|
params: pickBy(innerPayload.params, identity),
|
|
12154
|
+
data,
|
|
11729
12155
|
})
|
|
11730
12156
|
.catch((e) => {
|
|
11731
12157
|
this.logger.error(formatErrors(e));
|
|
@@ -11903,6 +12329,7 @@ class Client$Q extends Client$R {
|
|
|
11903
12329
|
method: "GET",
|
|
11904
12330
|
headers: pickBy(innerPayload.headers, identity),
|
|
11905
12331
|
params: pickBy(innerPayload.params, identity),
|
|
12332
|
+
data,
|
|
11906
12333
|
})
|
|
11907
12334
|
.catch((e) => {
|
|
11908
12335
|
this.logger.error(formatErrors(e));
|
|
@@ -12290,6 +12717,7 @@ class Client$N extends Client$O {
|
|
|
12290
12717
|
method: "GET",
|
|
12291
12718
|
headers: pickBy(innerPayload.headers, identity),
|
|
12292
12719
|
params: pickBy(innerPayload.params, identity),
|
|
12720
|
+
data,
|
|
12293
12721
|
})
|
|
12294
12722
|
.catch((e) => {
|
|
12295
12723
|
this.logger.error(formatErrors(e));
|
|
@@ -12573,6 +13001,7 @@ class Client$N extends Client$O {
|
|
|
12573
13001
|
method: "POST",
|
|
12574
13002
|
headers: pickBy(innerPayload.headers, identity),
|
|
12575
13003
|
params: pickBy(innerPayload.params, identity),
|
|
13004
|
+
data,
|
|
12576
13005
|
})
|
|
12577
13006
|
.catch((e) => {
|
|
12578
13007
|
this.logger.error(formatErrors(e));
|
|
@@ -12802,6 +13231,7 @@ class Client$N extends Client$O {
|
|
|
12802
13231
|
method: "GET",
|
|
12803
13232
|
headers: pickBy(innerPayload.headers, identity),
|
|
12804
13233
|
params: pickBy(innerPayload.params, identity),
|
|
13234
|
+
data,
|
|
12805
13235
|
})
|
|
12806
13236
|
.catch((e) => {
|
|
12807
13237
|
this.logger.error(formatErrors(e));
|
|
@@ -12881,6 +13311,7 @@ class Client$N extends Client$O {
|
|
|
12881
13311
|
method: "GET",
|
|
12882
13312
|
headers: pickBy(innerPayload.headers, identity),
|
|
12883
13313
|
params: pickBy(innerPayload.params, identity),
|
|
13314
|
+
data,
|
|
12884
13315
|
})
|
|
12885
13316
|
.catch((e) => {
|
|
12886
13317
|
this.logger.error(formatErrors(e));
|
|
@@ -13150,6 +13581,7 @@ class Client$N extends Client$O {
|
|
|
13150
13581
|
method: "POST",
|
|
13151
13582
|
headers: pickBy(innerPayload.headers, identity),
|
|
13152
13583
|
params: pickBy(innerPayload.params, identity),
|
|
13584
|
+
data,
|
|
13153
13585
|
})
|
|
13154
13586
|
.catch((e) => {
|
|
13155
13587
|
this.logger.error(formatErrors(e));
|
|
@@ -13573,6 +14005,7 @@ class Client$N extends Client$O {
|
|
|
13573
14005
|
method: "GET",
|
|
13574
14006
|
headers: pickBy(innerPayload.headers, identity),
|
|
13575
14007
|
params: pickBy(innerPayload.params, identity),
|
|
14008
|
+
data,
|
|
13576
14009
|
})
|
|
13577
14010
|
.catch((e) => {
|
|
13578
14011
|
this.logger.error(formatErrors(e));
|
|
@@ -13856,6 +14289,7 @@ class Client$N extends Client$O {
|
|
|
13856
14289
|
method: "POST",
|
|
13857
14290
|
headers: pickBy(innerPayload.headers, identity),
|
|
13858
14291
|
params: pickBy(innerPayload.params, identity),
|
|
14292
|
+
data,
|
|
13859
14293
|
})
|
|
13860
14294
|
.catch((e) => {
|
|
13861
14295
|
this.logger.error(formatErrors(e));
|
|
@@ -14085,6 +14519,7 @@ class Client$N extends Client$O {
|
|
|
14085
14519
|
method: "GET",
|
|
14086
14520
|
headers: pickBy(innerPayload.headers, identity),
|
|
14087
14521
|
params: pickBy(innerPayload.params, identity),
|
|
14522
|
+
data,
|
|
14088
14523
|
})
|
|
14089
14524
|
.catch((e) => {
|
|
14090
14525
|
this.logger.error(formatErrors(e));
|
|
@@ -14164,6 +14599,7 @@ class Client$N extends Client$O {
|
|
|
14164
14599
|
method: "GET",
|
|
14165
14600
|
headers: pickBy(innerPayload.headers, identity),
|
|
14166
14601
|
params: pickBy(innerPayload.params, identity),
|
|
14602
|
+
data,
|
|
14167
14603
|
})
|
|
14168
14604
|
.catch((e) => {
|
|
14169
14605
|
this.logger.error(formatErrors(e));
|
|
@@ -14433,6 +14869,7 @@ class Client$N extends Client$O {
|
|
|
14433
14869
|
method: "POST",
|
|
14434
14870
|
headers: pickBy(innerPayload.headers, identity),
|
|
14435
14871
|
params: pickBy(innerPayload.params, identity),
|
|
14872
|
+
data,
|
|
14436
14873
|
})
|
|
14437
14874
|
.catch((e) => {
|
|
14438
14875
|
this.logger.error(formatErrors(e));
|
|
@@ -14827,6 +15264,7 @@ class Client$L extends Client$M {
|
|
|
14827
15264
|
method: "GET",
|
|
14828
15265
|
headers: pickBy(innerPayload.headers, identity),
|
|
14829
15266
|
params: pickBy(innerPayload.params, identity),
|
|
15267
|
+
data,
|
|
14830
15268
|
})
|
|
14831
15269
|
.catch((e) => {
|
|
14832
15270
|
this.logger.error(formatErrors(e));
|
|
@@ -14926,6 +15364,7 @@ class Client$L extends Client$M {
|
|
|
14926
15364
|
method: "GET",
|
|
14927
15365
|
headers: pickBy(innerPayload.headers, identity),
|
|
14928
15366
|
params: pickBy(innerPayload.params, identity),
|
|
15367
|
+
data,
|
|
14929
15368
|
})
|
|
14930
15369
|
.catch((e) => {
|
|
14931
15370
|
this.logger.error(formatErrors(e));
|
|
@@ -15078,6 +15517,7 @@ class Client$L extends Client$M {
|
|
|
15078
15517
|
method: "GET",
|
|
15079
15518
|
headers: pickBy(innerPayload.headers, identity),
|
|
15080
15519
|
params: pickBy(innerPayload.params, identity),
|
|
15520
|
+
data,
|
|
15081
15521
|
})
|
|
15082
15522
|
.catch((e) => {
|
|
15083
15523
|
this.logger.error(formatErrors(e));
|
|
@@ -15146,6 +15586,7 @@ class Client$L extends Client$M {
|
|
|
15146
15586
|
method: "GET",
|
|
15147
15587
|
headers: pickBy(innerPayload.headers, identity),
|
|
15148
15588
|
params: pickBy(innerPayload.params, identity),
|
|
15589
|
+
data,
|
|
15149
15590
|
})
|
|
15150
15591
|
.catch((e) => {
|
|
15151
15592
|
this.logger.error(formatErrors(e));
|
|
@@ -15246,6 +15687,7 @@ class Client$L extends Client$M {
|
|
|
15246
15687
|
method: "POST",
|
|
15247
15688
|
headers: pickBy(innerPayload.headers, identity),
|
|
15248
15689
|
params: pickBy(innerPayload.params, identity),
|
|
15690
|
+
data,
|
|
15249
15691
|
})
|
|
15250
15692
|
.catch((e) => {
|
|
15251
15693
|
this.logger.error(formatErrors(e));
|
|
@@ -15443,6 +15885,7 @@ class Client$L extends Client$M {
|
|
|
15443
15885
|
method: "GET",
|
|
15444
15886
|
headers: pickBy(innerPayload.headers, identity),
|
|
15445
15887
|
params: pickBy(innerPayload.params, identity),
|
|
15888
|
+
data,
|
|
15446
15889
|
})
|
|
15447
15890
|
.catch((e) => {
|
|
15448
15891
|
this.logger.error(formatErrors(e));
|
|
@@ -15669,6 +16112,7 @@ class Client$L extends Client$M {
|
|
|
15669
16112
|
method: "GET",
|
|
15670
16113
|
headers: pickBy(innerPayload.headers, identity),
|
|
15671
16114
|
params: pickBy(innerPayload.params, identity),
|
|
16115
|
+
data,
|
|
15672
16116
|
})
|
|
15673
16117
|
.catch((e) => {
|
|
15674
16118
|
this.logger.error(formatErrors(e));
|
|
@@ -15882,6 +16326,7 @@ class Client$L extends Client$M {
|
|
|
15882
16326
|
method: "GET",
|
|
15883
16327
|
headers: pickBy(innerPayload.headers, identity),
|
|
15884
16328
|
params: pickBy(innerPayload.params, identity),
|
|
16329
|
+
data,
|
|
15885
16330
|
})
|
|
15886
16331
|
.catch((e) => {
|
|
15887
16332
|
this.logger.error(formatErrors(e));
|
|
@@ -16148,6 +16593,7 @@ class Client$L extends Client$M {
|
|
|
16148
16593
|
method: "GET",
|
|
16149
16594
|
headers: pickBy(innerPayload.headers, identity),
|
|
16150
16595
|
params: pickBy(innerPayload.params, identity),
|
|
16596
|
+
data,
|
|
16151
16597
|
})
|
|
16152
16598
|
.catch((e) => {
|
|
16153
16599
|
this.logger.error(formatErrors(e));
|
|
@@ -16301,6 +16747,7 @@ class Client$L extends Client$M {
|
|
|
16301
16747
|
method: "GET",
|
|
16302
16748
|
headers: pickBy(innerPayload.headers, identity),
|
|
16303
16749
|
params: pickBy(innerPayload.params, identity),
|
|
16750
|
+
data,
|
|
16304
16751
|
})
|
|
16305
16752
|
.catch((e) => {
|
|
16306
16753
|
this.logger.error(formatErrors(e));
|
|
@@ -16414,6 +16861,7 @@ class Client$L extends Client$M {
|
|
|
16414
16861
|
method: "GET",
|
|
16415
16862
|
headers: pickBy(innerPayload.headers, identity),
|
|
16416
16863
|
params: pickBy(innerPayload.params, identity),
|
|
16864
|
+
data,
|
|
16417
16865
|
})
|
|
16418
16866
|
.catch((e) => {
|
|
16419
16867
|
this.logger.error(formatErrors(e));
|
|
@@ -16487,6 +16935,7 @@ class Client$L extends Client$M {
|
|
|
16487
16935
|
method: "GET",
|
|
16488
16936
|
headers: pickBy(innerPayload.headers, identity),
|
|
16489
16937
|
params: pickBy(innerPayload.params, identity),
|
|
16938
|
+
data,
|
|
16490
16939
|
})
|
|
16491
16940
|
.catch((e) => {
|
|
16492
16941
|
this.logger.error(formatErrors(e));
|
|
@@ -16859,6 +17308,7 @@ class Client$L extends Client$M {
|
|
|
16859
17308
|
method: "GET",
|
|
16860
17309
|
headers: pickBy(innerPayload.headers, identity),
|
|
16861
17310
|
params: pickBy(innerPayload.params, identity),
|
|
17311
|
+
data,
|
|
16862
17312
|
})
|
|
16863
17313
|
.catch((e) => {
|
|
16864
17314
|
this.logger.error(formatErrors(e));
|
|
@@ -16957,6 +17407,7 @@ class Client$L extends Client$M {
|
|
|
16957
17407
|
method: "GET",
|
|
16958
17408
|
headers: pickBy(innerPayload.headers, identity),
|
|
16959
17409
|
params: pickBy(innerPayload.params, identity),
|
|
17410
|
+
data,
|
|
16960
17411
|
})
|
|
16961
17412
|
.catch((e) => {
|
|
16962
17413
|
this.logger.error(formatErrors(e));
|
|
@@ -17146,6 +17597,7 @@ class Client$L extends Client$M {
|
|
|
17146
17597
|
method: "GET",
|
|
17147
17598
|
headers: pickBy(innerPayload.headers, identity),
|
|
17148
17599
|
params: pickBy(innerPayload.params, identity),
|
|
17600
|
+
data,
|
|
17149
17601
|
})
|
|
17150
17602
|
.catch((e) => {
|
|
17151
17603
|
this.logger.error(formatErrors(e));
|
|
@@ -17220,6 +17672,7 @@ class Client$L extends Client$M {
|
|
|
17220
17672
|
method: "GET",
|
|
17221
17673
|
headers: pickBy(innerPayload.headers, identity),
|
|
17222
17674
|
params: pickBy(innerPayload.params, identity),
|
|
17675
|
+
data,
|
|
17223
17676
|
})
|
|
17224
17677
|
.catch((e) => {
|
|
17225
17678
|
this.logger.error(formatErrors(e));
|
|
@@ -17319,6 +17772,7 @@ class Client$L extends Client$M {
|
|
|
17319
17772
|
method: "GET",
|
|
17320
17773
|
headers: pickBy(innerPayload.headers, identity),
|
|
17321
17774
|
params: pickBy(innerPayload.params, identity),
|
|
17775
|
+
data,
|
|
17322
17776
|
})
|
|
17323
17777
|
.catch((e) => {
|
|
17324
17778
|
this.logger.error(formatErrors(e));
|
|
@@ -17471,6 +17925,7 @@ class Client$L extends Client$M {
|
|
|
17471
17925
|
method: "GET",
|
|
17472
17926
|
headers: pickBy(innerPayload.headers, identity),
|
|
17473
17927
|
params: pickBy(innerPayload.params, identity),
|
|
17928
|
+
data,
|
|
17474
17929
|
})
|
|
17475
17930
|
.catch((e) => {
|
|
17476
17931
|
this.logger.error(formatErrors(e));
|
|
@@ -17539,6 +17994,7 @@ class Client$L extends Client$M {
|
|
|
17539
17994
|
method: "GET",
|
|
17540
17995
|
headers: pickBy(innerPayload.headers, identity),
|
|
17541
17996
|
params: pickBy(innerPayload.params, identity),
|
|
17997
|
+
data,
|
|
17542
17998
|
})
|
|
17543
17999
|
.catch((e) => {
|
|
17544
18000
|
this.logger.error(formatErrors(e));
|
|
@@ -17639,6 +18095,7 @@ class Client$L extends Client$M {
|
|
|
17639
18095
|
method: "POST",
|
|
17640
18096
|
headers: pickBy(innerPayload.headers, identity),
|
|
17641
18097
|
params: pickBy(innerPayload.params, identity),
|
|
18098
|
+
data,
|
|
17642
18099
|
})
|
|
17643
18100
|
.catch((e) => {
|
|
17644
18101
|
this.logger.error(formatErrors(e));
|
|
@@ -17836,6 +18293,7 @@ class Client$L extends Client$M {
|
|
|
17836
18293
|
method: "GET",
|
|
17837
18294
|
headers: pickBy(innerPayload.headers, identity),
|
|
17838
18295
|
params: pickBy(innerPayload.params, identity),
|
|
18296
|
+
data,
|
|
17839
18297
|
})
|
|
17840
18298
|
.catch((e) => {
|
|
17841
18299
|
this.logger.error(formatErrors(e));
|
|
@@ -18062,6 +18520,7 @@ class Client$L extends Client$M {
|
|
|
18062
18520
|
method: "GET",
|
|
18063
18521
|
headers: pickBy(innerPayload.headers, identity),
|
|
18064
18522
|
params: pickBy(innerPayload.params, identity),
|
|
18523
|
+
data,
|
|
18065
18524
|
})
|
|
18066
18525
|
.catch((e) => {
|
|
18067
18526
|
this.logger.error(formatErrors(e));
|
|
@@ -18275,6 +18734,7 @@ class Client$L extends Client$M {
|
|
|
18275
18734
|
method: "GET",
|
|
18276
18735
|
headers: pickBy(innerPayload.headers, identity),
|
|
18277
18736
|
params: pickBy(innerPayload.params, identity),
|
|
18737
|
+
data,
|
|
18278
18738
|
})
|
|
18279
18739
|
.catch((e) => {
|
|
18280
18740
|
this.logger.error(formatErrors(e));
|
|
@@ -18541,6 +19001,7 @@ class Client$L extends Client$M {
|
|
|
18541
19001
|
method: "GET",
|
|
18542
19002
|
headers: pickBy(innerPayload.headers, identity),
|
|
18543
19003
|
params: pickBy(innerPayload.params, identity),
|
|
19004
|
+
data,
|
|
18544
19005
|
})
|
|
18545
19006
|
.catch((e) => {
|
|
18546
19007
|
this.logger.error(formatErrors(e));
|
|
@@ -18694,6 +19155,7 @@ class Client$L extends Client$M {
|
|
|
18694
19155
|
method: "GET",
|
|
18695
19156
|
headers: pickBy(innerPayload.headers, identity),
|
|
18696
19157
|
params: pickBy(innerPayload.params, identity),
|
|
19158
|
+
data,
|
|
18697
19159
|
})
|
|
18698
19160
|
.catch((e) => {
|
|
18699
19161
|
this.logger.error(formatErrors(e));
|
|
@@ -18807,6 +19269,7 @@ class Client$L extends Client$M {
|
|
|
18807
19269
|
method: "GET",
|
|
18808
19270
|
headers: pickBy(innerPayload.headers, identity),
|
|
18809
19271
|
params: pickBy(innerPayload.params, identity),
|
|
19272
|
+
data,
|
|
18810
19273
|
})
|
|
18811
19274
|
.catch((e) => {
|
|
18812
19275
|
this.logger.error(formatErrors(e));
|
|
@@ -18880,6 +19343,7 @@ class Client$L extends Client$M {
|
|
|
18880
19343
|
method: "GET",
|
|
18881
19344
|
headers: pickBy(innerPayload.headers, identity),
|
|
18882
19345
|
params: pickBy(innerPayload.params, identity),
|
|
19346
|
+
data,
|
|
18883
19347
|
})
|
|
18884
19348
|
.catch((e) => {
|
|
18885
19349
|
this.logger.error(formatErrors(e));
|
|
@@ -19252,6 +19716,7 @@ class Client$L extends Client$M {
|
|
|
19252
19716
|
method: "GET",
|
|
19253
19717
|
headers: pickBy(innerPayload.headers, identity),
|
|
19254
19718
|
params: pickBy(innerPayload.params, identity),
|
|
19719
|
+
data,
|
|
19255
19720
|
})
|
|
19256
19721
|
.catch((e) => {
|
|
19257
19722
|
this.logger.error(formatErrors(e));
|
|
@@ -19350,6 +19815,7 @@ class Client$L extends Client$M {
|
|
|
19350
19815
|
method: "GET",
|
|
19351
19816
|
headers: pickBy(innerPayload.headers, identity),
|
|
19352
19817
|
params: pickBy(innerPayload.params, identity),
|
|
19818
|
+
data,
|
|
19353
19819
|
})
|
|
19354
19820
|
.catch((e) => {
|
|
19355
19821
|
this.logger.error(formatErrors(e));
|
|
@@ -19539,6 +20005,7 @@ class Client$L extends Client$M {
|
|
|
19539
20005
|
method: "GET",
|
|
19540
20006
|
headers: pickBy(innerPayload.headers, identity),
|
|
19541
20007
|
params: pickBy(innerPayload.params, identity),
|
|
20008
|
+
data,
|
|
19542
20009
|
})
|
|
19543
20010
|
.catch((e) => {
|
|
19544
20011
|
this.logger.error(formatErrors(e));
|
|
@@ -19663,6 +20130,31 @@ class Client$I extends Client$J {
|
|
|
19663
20130
|
});
|
|
19664
20131
|
}),
|
|
19665
20132
|
},
|
|
20133
|
+
/**
|
|
20134
|
+
* common_data.id
|
|
20135
|
+
*/
|
|
20136
|
+
commonDataId: {
|
|
20137
|
+
/**
|
|
20138
|
+
* {@link https://open.feishu.cn/api-explorer?project=corehr&resource=common_data.id&apiName=convert&version=v1 click to debug }
|
|
20139
|
+
*
|
|
20140
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=convert&project=corehr&resource=common_data.id&version=v1 document }
|
|
20141
|
+
*/
|
|
20142
|
+
convert: (payload, options) => __awaiter(this, void 0, void 0, function* () {
|
|
20143
|
+
const { headers, params, data, path } = yield this.formatPayload(payload, options);
|
|
20144
|
+
return this.httpInstance
|
|
20145
|
+
.request({
|
|
20146
|
+
url: fillApiPath(`${this.domain}/open-apis/corehr/v1/common_data/id/convert`, path),
|
|
20147
|
+
method: "POST",
|
|
20148
|
+
data,
|
|
20149
|
+
params,
|
|
20150
|
+
headers,
|
|
20151
|
+
})
|
|
20152
|
+
.catch((e) => {
|
|
20153
|
+
this.logger.error(formatErrors(e));
|
|
20154
|
+
throw e;
|
|
20155
|
+
});
|
|
20156
|
+
}),
|
|
20157
|
+
},
|
|
19666
20158
|
/**
|
|
19667
20159
|
* 公司
|
|
19668
20160
|
*/
|
|
@@ -21410,6 +21902,7 @@ class Client$I extends Client$J {
|
|
|
21410
21902
|
method: "POST",
|
|
21411
21903
|
headers: pickBy(innerPayload.headers, identity),
|
|
21412
21904
|
params: pickBy(innerPayload.params, identity),
|
|
21905
|
+
data,
|
|
21413
21906
|
})
|
|
21414
21907
|
.catch((e) => {
|
|
21415
21908
|
this.logger.error(formatErrors(e));
|
|
@@ -22076,6 +22569,31 @@ class Client$I extends Client$J {
|
|
|
22076
22569
|
});
|
|
22077
22570
|
}),
|
|
22078
22571
|
},
|
|
22572
|
+
/**
|
|
22573
|
+
* common_data.id
|
|
22574
|
+
*/
|
|
22575
|
+
commonDataId: {
|
|
22576
|
+
/**
|
|
22577
|
+
* {@link https://open.feishu.cn/api-explorer?project=corehr&resource=common_data.id&apiName=convert&version=v1 click to debug }
|
|
22578
|
+
*
|
|
22579
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=convert&project=corehr&resource=common_data.id&version=v1 document }
|
|
22580
|
+
*/
|
|
22581
|
+
convert: (payload, options) => __awaiter(this, void 0, void 0, function* () {
|
|
22582
|
+
const { headers, params, data, path } = yield this.formatPayload(payload, options);
|
|
22583
|
+
return this.httpInstance
|
|
22584
|
+
.request({
|
|
22585
|
+
url: fillApiPath(`${this.domain}/open-apis/corehr/v1/common_data/id/convert`, path),
|
|
22586
|
+
method: "POST",
|
|
22587
|
+
data,
|
|
22588
|
+
params,
|
|
22589
|
+
headers,
|
|
22590
|
+
})
|
|
22591
|
+
.catch((e) => {
|
|
22592
|
+
this.logger.error(formatErrors(e));
|
|
22593
|
+
throw e;
|
|
22594
|
+
});
|
|
22595
|
+
}),
|
|
22596
|
+
},
|
|
22079
22597
|
/**
|
|
22080
22598
|
* 公司
|
|
22081
22599
|
*/
|
|
@@ -23823,6 +24341,7 @@ class Client$I extends Client$J {
|
|
|
23823
24341
|
method: "POST",
|
|
23824
24342
|
headers: pickBy(innerPayload.headers, identity),
|
|
23825
24343
|
params: pickBy(innerPayload.params, identity),
|
|
24344
|
+
data,
|
|
23826
24345
|
})
|
|
23827
24346
|
.catch((e) => {
|
|
23828
24347
|
this.logger.error(formatErrors(e));
|
|
@@ -24474,6 +24993,7 @@ class Client$I extends Client$J {
|
|
|
24474
24993
|
method: "POST",
|
|
24475
24994
|
headers: pickBy(innerPayload.headers, identity),
|
|
24476
24995
|
params: pickBy(innerPayload.params, identity),
|
|
24996
|
+
data,
|
|
24477
24997
|
})
|
|
24478
24998
|
.catch((e) => {
|
|
24479
24999
|
this.logger.error(formatErrors(e));
|
|
@@ -24547,6 +25067,7 @@ class Client$I extends Client$J {
|
|
|
24547
25067
|
method: "POST",
|
|
24548
25068
|
headers: pickBy(innerPayload.headers, identity),
|
|
24549
25069
|
params: pickBy(innerPayload.params, identity),
|
|
25070
|
+
data,
|
|
24550
25071
|
})
|
|
24551
25072
|
.catch((e) => {
|
|
24552
25073
|
this.logger.error(formatErrors(e));
|
|
@@ -24620,6 +25141,7 @@ class Client$I extends Client$J {
|
|
|
24620
25141
|
method: "POST",
|
|
24621
25142
|
headers: pickBy(innerPayload.headers, identity),
|
|
24622
25143
|
params: pickBy(innerPayload.params, identity),
|
|
25144
|
+
data,
|
|
24623
25145
|
})
|
|
24624
25146
|
.catch((e) => {
|
|
24625
25147
|
this.logger.error(formatErrors(e));
|
|
@@ -24693,6 +25215,7 @@ class Client$I extends Client$J {
|
|
|
24693
25215
|
method: "POST",
|
|
24694
25216
|
headers: pickBy(innerPayload.headers, identity),
|
|
24695
25217
|
params: pickBy(innerPayload.params, identity),
|
|
25218
|
+
data,
|
|
24696
25219
|
})
|
|
24697
25220
|
.catch((e) => {
|
|
24698
25221
|
this.logger.error(formatErrors(e));
|
|
@@ -24766,6 +25289,7 @@ class Client$I extends Client$J {
|
|
|
24766
25289
|
method: "POST",
|
|
24767
25290
|
headers: pickBy(innerPayload.headers, identity),
|
|
24768
25291
|
params: pickBy(innerPayload.params, identity),
|
|
25292
|
+
data,
|
|
24769
25293
|
})
|
|
24770
25294
|
.catch((e) => {
|
|
24771
25295
|
this.logger.error(formatErrors(e));
|
|
@@ -24839,6 +25363,7 @@ class Client$I extends Client$J {
|
|
|
24839
25363
|
method: "POST",
|
|
24840
25364
|
headers: pickBy(innerPayload.headers, identity),
|
|
24841
25365
|
params: pickBy(innerPayload.params, identity),
|
|
25366
|
+
data,
|
|
24842
25367
|
})
|
|
24843
25368
|
.catch((e) => {
|
|
24844
25369
|
this.logger.error(formatErrors(e));
|
|
@@ -24912,6 +25437,7 @@ class Client$I extends Client$J {
|
|
|
24912
25437
|
method: "POST",
|
|
24913
25438
|
headers: pickBy(innerPayload.headers, identity),
|
|
24914
25439
|
params: pickBy(innerPayload.params, identity),
|
|
25440
|
+
data,
|
|
24915
25441
|
})
|
|
24916
25442
|
.catch((e) => {
|
|
24917
25443
|
this.logger.error(formatErrors(e));
|
|
@@ -24985,6 +25511,7 @@ class Client$I extends Client$J {
|
|
|
24985
25511
|
method: "POST",
|
|
24986
25512
|
headers: pickBy(innerPayload.headers, identity),
|
|
24987
25513
|
params: pickBy(innerPayload.params, identity),
|
|
25514
|
+
data,
|
|
24988
25515
|
})
|
|
24989
25516
|
.catch((e) => {
|
|
24990
25517
|
this.logger.error(formatErrors(e));
|
|
@@ -25078,6 +25605,7 @@ class Client$I extends Client$J {
|
|
|
25078
25605
|
method: "GET",
|
|
25079
25606
|
headers: pickBy(innerPayload.headers, identity),
|
|
25080
25607
|
params: pickBy(innerPayload.params, identity),
|
|
25608
|
+
data,
|
|
25081
25609
|
})
|
|
25082
25610
|
.catch((e) => {
|
|
25083
25611
|
this.logger.error(formatErrors(e));
|
|
@@ -25180,6 +25708,7 @@ class Client$I extends Client$J {
|
|
|
25180
25708
|
method: "POST",
|
|
25181
25709
|
headers: pickBy(innerPayload.headers, identity),
|
|
25182
25710
|
params: pickBy(innerPayload.params, identity),
|
|
25711
|
+
data,
|
|
25183
25712
|
})
|
|
25184
25713
|
.catch((e) => {
|
|
25185
25714
|
this.logger.error(formatErrors(e));
|
|
@@ -25448,6 +25977,28 @@ class Client$I extends Client$J {
|
|
|
25448
25977
|
throw e;
|
|
25449
25978
|
});
|
|
25450
25979
|
}),
|
|
25980
|
+
/**
|
|
25981
|
+
* {@link https://open.feishu.cn/api-explorer?project=corehr&resource=department&apiName=query_timeline&version=v2 click to debug }
|
|
25982
|
+
*
|
|
25983
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=query_timeline&project=corehr&resource=department&version=v2 document }
|
|
25984
|
+
*
|
|
25985
|
+
* 查询任意日期部门信息
|
|
25986
|
+
*/
|
|
25987
|
+
queryTimeline: (payload, options) => __awaiter(this, void 0, void 0, function* () {
|
|
25988
|
+
const { headers, params, data, path } = yield this.formatPayload(payload, options);
|
|
25989
|
+
return this.httpInstance
|
|
25990
|
+
.request({
|
|
25991
|
+
url: fillApiPath(`${this.domain}/open-apis/corehr/v2/departments/query_timeline`, path),
|
|
25992
|
+
method: "POST",
|
|
25993
|
+
data,
|
|
25994
|
+
params,
|
|
25995
|
+
headers,
|
|
25996
|
+
})
|
|
25997
|
+
.catch((e) => {
|
|
25998
|
+
this.logger.error(formatErrors(e));
|
|
25999
|
+
throw e;
|
|
26000
|
+
});
|
|
26001
|
+
}),
|
|
25451
26002
|
searchWithIterator: (payload, options) => __awaiter(this, void 0, void 0, function* () {
|
|
25452
26003
|
const { headers, params, data, path } = yield this.formatPayload(payload, options);
|
|
25453
26004
|
const sendRequest = (innerPayload) => __awaiter(this, void 0, void 0, function* () {
|
|
@@ -25457,6 +26008,7 @@ class Client$I extends Client$J {
|
|
|
25457
26008
|
method: "POST",
|
|
25458
26009
|
headers: pickBy(innerPayload.headers, identity),
|
|
25459
26010
|
params: pickBy(innerPayload.params, identity),
|
|
26011
|
+
data,
|
|
25460
26012
|
})
|
|
25461
26013
|
.catch((e) => {
|
|
25462
26014
|
this.logger.error(formatErrors(e));
|
|
@@ -25554,6 +26106,7 @@ class Client$I extends Client$J {
|
|
|
25554
26106
|
method: "POST",
|
|
25555
26107
|
headers: pickBy(innerPayload.headers, identity),
|
|
25556
26108
|
params: pickBy(innerPayload.params, identity),
|
|
26109
|
+
data,
|
|
25557
26110
|
})
|
|
25558
26111
|
.catch((e) => {
|
|
25559
26112
|
this.logger.error(formatErrors(e));
|
|
@@ -25748,6 +26301,7 @@ class Client$I extends Client$J {
|
|
|
25748
26301
|
method: "POST",
|
|
25749
26302
|
headers: pickBy(innerPayload.headers, identity),
|
|
25750
26303
|
params: pickBy(innerPayload.params, identity),
|
|
26304
|
+
data,
|
|
25751
26305
|
})
|
|
25752
26306
|
.catch((e) => {
|
|
25753
26307
|
this.logger.error(formatErrors(e));
|
|
@@ -25966,6 +26520,50 @@ class Client$I extends Client$J {
|
|
|
25966
26520
|
throw e;
|
|
25967
26521
|
});
|
|
25968
26522
|
}),
|
|
26523
|
+
/**
|
|
26524
|
+
* {@link https://open.feishu.cn/api-explorer?project=corehr&resource=pre_hire&apiName=delete&version=v2 click to debug }
|
|
26525
|
+
*
|
|
26526
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=delete&project=corehr&resource=pre_hire&version=v2 document }
|
|
26527
|
+
*
|
|
26528
|
+
* 删除待入职
|
|
26529
|
+
*/
|
|
26530
|
+
delete: (payload, options) => __awaiter(this, void 0, void 0, function* () {
|
|
26531
|
+
const { headers, params, data, path } = yield this.formatPayload(payload, options);
|
|
26532
|
+
return this.httpInstance
|
|
26533
|
+
.request({
|
|
26534
|
+
url: fillApiPath(`${this.domain}/open-apis/corehr/v2/pre_hires/:pre_hire_id`, path),
|
|
26535
|
+
method: "DELETE",
|
|
26536
|
+
data,
|
|
26537
|
+
params,
|
|
26538
|
+
headers,
|
|
26539
|
+
})
|
|
26540
|
+
.catch((e) => {
|
|
26541
|
+
this.logger.error(formatErrors(e));
|
|
26542
|
+
throw e;
|
|
26543
|
+
});
|
|
26544
|
+
}),
|
|
26545
|
+
/**
|
|
26546
|
+
* {@link https://open.feishu.cn/api-explorer?project=corehr&resource=pre_hire&apiName=patch&version=v2 click to debug }
|
|
26547
|
+
*
|
|
26548
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=patch&project=corehr&resource=pre_hire&version=v2 document }
|
|
26549
|
+
*
|
|
26550
|
+
* 更新待入职
|
|
26551
|
+
*/
|
|
26552
|
+
patch: (payload, options) => __awaiter(this, void 0, void 0, function* () {
|
|
26553
|
+
const { headers, params, data, path } = yield this.formatPayload(payload, options);
|
|
26554
|
+
return this.httpInstance
|
|
26555
|
+
.request({
|
|
26556
|
+
url: fillApiPath(`${this.domain}/open-apis/corehr/v2/pre_hires/:pre_hire_id`, path),
|
|
26557
|
+
method: "PATCH",
|
|
26558
|
+
data,
|
|
26559
|
+
params,
|
|
26560
|
+
headers,
|
|
26561
|
+
})
|
|
26562
|
+
.catch((e) => {
|
|
26563
|
+
this.logger.error(formatErrors(e));
|
|
26564
|
+
throw e;
|
|
26565
|
+
});
|
|
26566
|
+
}),
|
|
25969
26567
|
searchWithIterator: (payload, options) => __awaiter(this, void 0, void 0, function* () {
|
|
25970
26568
|
const { headers, params, data, path } = yield this.formatPayload(payload, options);
|
|
25971
26569
|
const sendRequest = (innerPayload) => __awaiter(this, void 0, void 0, function* () {
|
|
@@ -25975,6 +26573,7 @@ class Client$I extends Client$J {
|
|
|
25975
26573
|
method: "POST",
|
|
25976
26574
|
headers: pickBy(innerPayload.headers, identity),
|
|
25977
26575
|
params: pickBy(innerPayload.params, identity),
|
|
26576
|
+
data,
|
|
25978
26577
|
})
|
|
25979
26578
|
.catch((e) => {
|
|
25980
26579
|
this.logger.error(formatErrors(e));
|
|
@@ -26135,6 +26734,7 @@ class Client$I extends Client$J {
|
|
|
26135
26734
|
method: "POST",
|
|
26136
26735
|
headers: pickBy(innerPayload.headers, identity),
|
|
26137
26736
|
params: pickBy(innerPayload.params, identity),
|
|
26737
|
+
data,
|
|
26138
26738
|
})
|
|
26139
26739
|
.catch((e) => {
|
|
26140
26740
|
this.logger.error(formatErrors(e));
|
|
@@ -26195,6 +26795,31 @@ class Client$I extends Client$J {
|
|
|
26195
26795
|
});
|
|
26196
26796
|
}),
|
|
26197
26797
|
},
|
|
26798
|
+
/**
|
|
26799
|
+
* process.form_variable_data
|
|
26800
|
+
*/
|
|
26801
|
+
processFormVariableData: {
|
|
26802
|
+
/**
|
|
26803
|
+
* {@link https://open.feishu.cn/api-explorer?project=corehr&resource=process.form_variable_data&apiName=get&version=v2 click to debug }
|
|
26804
|
+
*
|
|
26805
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=get&project=corehr&resource=process.form_variable_data&version=v2 document }
|
|
26806
|
+
*/
|
|
26807
|
+
get: (payload, options) => __awaiter(this, void 0, void 0, function* () {
|
|
26808
|
+
const { headers, params, data, path } = yield this.formatPayload(payload, options);
|
|
26809
|
+
return this.httpInstance
|
|
26810
|
+
.request({
|
|
26811
|
+
url: fillApiPath(`${this.domain}/open-apis/corehr/v2/processes/:process_id/form_variable_data`, path),
|
|
26812
|
+
method: "GET",
|
|
26813
|
+
data,
|
|
26814
|
+
params,
|
|
26815
|
+
headers,
|
|
26816
|
+
})
|
|
26817
|
+
.catch((e) => {
|
|
26818
|
+
this.logger.error(formatErrors(e));
|
|
26819
|
+
throw e;
|
|
26820
|
+
});
|
|
26821
|
+
}),
|
|
26822
|
+
},
|
|
26198
26823
|
/**
|
|
26199
26824
|
* process
|
|
26200
26825
|
*/
|
|
@@ -26228,6 +26853,7 @@ class Client$I extends Client$J {
|
|
|
26228
26853
|
method: "GET",
|
|
26229
26854
|
headers: pickBy(innerPayload.headers, identity),
|
|
26230
26855
|
params: pickBy(innerPayload.params, identity),
|
|
26856
|
+
data,
|
|
26231
26857
|
})
|
|
26232
26858
|
.catch((e) => {
|
|
26233
26859
|
this.logger.error(formatErrors(e));
|
|
@@ -26863,6 +27489,7 @@ class Client$F extends Client$G {
|
|
|
26863
27489
|
method: "GET",
|
|
26864
27490
|
headers: pickBy(innerPayload.headers, identity),
|
|
26865
27491
|
params: pickBy(innerPayload.params, identity),
|
|
27492
|
+
data,
|
|
26866
27493
|
})
|
|
26867
27494
|
.catch((e) => {
|
|
26868
27495
|
this.logger.error(formatErrors(e));
|
|
@@ -27028,6 +27655,7 @@ class Client$F extends Client$G {
|
|
|
27028
27655
|
method: "GET",
|
|
27029
27656
|
headers: pickBy(innerPayload.headers, identity),
|
|
27030
27657
|
params: pickBy(innerPayload.params, identity),
|
|
27658
|
+
data,
|
|
27031
27659
|
})
|
|
27032
27660
|
.catch((e) => {
|
|
27033
27661
|
this.logger.error(formatErrors(e));
|
|
@@ -27255,6 +27883,7 @@ class Client$F extends Client$G {
|
|
|
27255
27883
|
method: "GET",
|
|
27256
27884
|
headers: pickBy(innerPayload.headers, identity),
|
|
27257
27885
|
params: pickBy(innerPayload.params, identity),
|
|
27886
|
+
data,
|
|
27258
27887
|
})
|
|
27259
27888
|
.catch((e) => {
|
|
27260
27889
|
this.logger.error(formatErrors(e));
|
|
@@ -27420,6 +28049,7 @@ class Client$F extends Client$G {
|
|
|
27420
28049
|
method: "GET",
|
|
27421
28050
|
headers: pickBy(innerPayload.headers, identity),
|
|
27422
28051
|
params: pickBy(innerPayload.params, identity),
|
|
28052
|
+
data,
|
|
27423
28053
|
})
|
|
27424
28054
|
.catch((e) => {
|
|
27425
28055
|
this.logger.error(formatErrors(e));
|
|
@@ -27767,6 +28397,7 @@ class Client$E extends Client$F {
|
|
|
27767
28397
|
method: "GET",
|
|
27768
28398
|
headers: pickBy(innerPayload.headers, identity),
|
|
27769
28399
|
params: pickBy(innerPayload.params, identity),
|
|
28400
|
+
data,
|
|
27770
28401
|
})
|
|
27771
28402
|
.catch((e) => {
|
|
27772
28403
|
this.logger.error(formatErrors(e));
|
|
@@ -27892,6 +28523,7 @@ class Client$E extends Client$F {
|
|
|
27892
28523
|
method: "GET",
|
|
27893
28524
|
headers: pickBy(innerPayload.headers, identity),
|
|
27894
28525
|
params: pickBy(innerPayload.params, identity),
|
|
28526
|
+
data,
|
|
27895
28527
|
})
|
|
27896
28528
|
.catch((e) => {
|
|
27897
28529
|
this.logger.error(formatErrors(e));
|
|
@@ -27981,7 +28613,7 @@ class Client$E extends Client$F {
|
|
|
27981
28613
|
}),
|
|
27982
28614
|
},
|
|
27983
28615
|
/**
|
|
27984
|
-
*
|
|
28616
|
+
* 上传
|
|
27985
28617
|
*/
|
|
27986
28618
|
file: {
|
|
27987
28619
|
/**
|
|
@@ -28182,6 +28814,7 @@ class Client$E extends Client$F {
|
|
|
28182
28814
|
method: "GET",
|
|
28183
28815
|
headers: pickBy(innerPayload.headers, identity),
|
|
28184
28816
|
params: pickBy(innerPayload.params, identity),
|
|
28817
|
+
data,
|
|
28185
28818
|
})
|
|
28186
28819
|
.catch((e) => {
|
|
28187
28820
|
this.logger.error(formatErrors(e));
|
|
@@ -28619,6 +29252,7 @@ class Client$E extends Client$F {
|
|
|
28619
29252
|
method: "GET",
|
|
28620
29253
|
headers: pickBy(innerPayload.headers, identity),
|
|
28621
29254
|
params: pickBy(innerPayload.params, identity),
|
|
29255
|
+
data,
|
|
28622
29256
|
})
|
|
28623
29257
|
.catch((e) => {
|
|
28624
29258
|
this.logger.error(formatErrors(e));
|
|
@@ -28696,6 +29330,7 @@ class Client$E extends Client$F {
|
|
|
28696
29330
|
method: "GET",
|
|
28697
29331
|
headers: pickBy(innerPayload.headers, identity),
|
|
28698
29332
|
params: pickBy(innerPayload.params, identity),
|
|
29333
|
+
data,
|
|
28699
29334
|
})
|
|
28700
29335
|
.catch((e) => {
|
|
28701
29336
|
this.logger.error(formatErrors(e));
|
|
@@ -29461,6 +30096,7 @@ class Client$E extends Client$F {
|
|
|
29461
30096
|
method: "GET",
|
|
29462
30097
|
headers: pickBy(innerPayload.headers, identity),
|
|
29463
30098
|
params: pickBy(innerPayload.params, identity),
|
|
30099
|
+
data,
|
|
29464
30100
|
})
|
|
29465
30101
|
.catch((e) => {
|
|
29466
30102
|
this.logger.error(formatErrors(e));
|
|
@@ -29586,6 +30222,7 @@ class Client$E extends Client$F {
|
|
|
29586
30222
|
method: "GET",
|
|
29587
30223
|
headers: pickBy(innerPayload.headers, identity),
|
|
29588
30224
|
params: pickBy(innerPayload.params, identity),
|
|
30225
|
+
data,
|
|
29589
30226
|
})
|
|
29590
30227
|
.catch((e) => {
|
|
29591
30228
|
this.logger.error(formatErrors(e));
|
|
@@ -29675,7 +30312,7 @@ class Client$E extends Client$F {
|
|
|
29675
30312
|
}),
|
|
29676
30313
|
},
|
|
29677
30314
|
/**
|
|
29678
|
-
*
|
|
30315
|
+
* 上传
|
|
29679
30316
|
*/
|
|
29680
30317
|
file: {
|
|
29681
30318
|
/**
|
|
@@ -29876,6 +30513,7 @@ class Client$E extends Client$F {
|
|
|
29876
30513
|
method: "GET",
|
|
29877
30514
|
headers: pickBy(innerPayload.headers, identity),
|
|
29878
30515
|
params: pickBy(innerPayload.params, identity),
|
|
30516
|
+
data,
|
|
29879
30517
|
})
|
|
29880
30518
|
.catch((e) => {
|
|
29881
30519
|
this.logger.error(formatErrors(e));
|
|
@@ -30313,6 +30951,7 @@ class Client$E extends Client$F {
|
|
|
30313
30951
|
method: "GET",
|
|
30314
30952
|
headers: pickBy(innerPayload.headers, identity),
|
|
30315
30953
|
params: pickBy(innerPayload.params, identity),
|
|
30954
|
+
data,
|
|
30316
30955
|
})
|
|
30317
30956
|
.catch((e) => {
|
|
30318
30957
|
this.logger.error(formatErrors(e));
|
|
@@ -30390,6 +31029,7 @@ class Client$E extends Client$F {
|
|
|
30390
31029
|
method: "GET",
|
|
30391
31030
|
headers: pickBy(innerPayload.headers, identity),
|
|
30392
31031
|
params: pickBy(innerPayload.params, identity),
|
|
31032
|
+
data,
|
|
30393
31033
|
})
|
|
30394
31034
|
.catch((e) => {
|
|
30395
31035
|
this.logger.error(formatErrors(e));
|
|
@@ -31107,6 +31747,7 @@ class Client$C extends Client$D {
|
|
|
31107
31747
|
method: "GET",
|
|
31108
31748
|
headers: pickBy(innerPayload.headers, identity),
|
|
31109
31749
|
params: pickBy(innerPayload.params, identity),
|
|
31750
|
+
data,
|
|
31110
31751
|
})
|
|
31111
31752
|
.catch((e) => {
|
|
31112
31753
|
this.logger.error(formatErrors(e));
|
|
@@ -31231,6 +31872,7 @@ class Client$C extends Client$D {
|
|
|
31231
31872
|
method: "GET",
|
|
31232
31873
|
headers: pickBy(innerPayload.headers, identity),
|
|
31233
31874
|
params: pickBy(innerPayload.params, identity),
|
|
31875
|
+
data,
|
|
31234
31876
|
})
|
|
31235
31877
|
.catch((e) => {
|
|
31236
31878
|
this.logger.error(formatErrors(e));
|
|
@@ -31332,6 +31974,7 @@ class Client$A extends Client$B {
|
|
|
31332
31974
|
method: "GET",
|
|
31333
31975
|
headers: pickBy(innerPayload.headers, identity),
|
|
31334
31976
|
params: pickBy(innerPayload.params, identity),
|
|
31977
|
+
data,
|
|
31335
31978
|
})
|
|
31336
31979
|
.catch((e) => {
|
|
31337
31980
|
this.logger.error(formatErrors(e));
|
|
@@ -31412,6 +32055,7 @@ class Client$A extends Client$B {
|
|
|
31412
32055
|
method: "GET",
|
|
31413
32056
|
headers: pickBy(innerPayload.headers, identity),
|
|
31414
32057
|
params: pickBy(innerPayload.params, identity),
|
|
32058
|
+
data,
|
|
31415
32059
|
})
|
|
31416
32060
|
.catch((e) => {
|
|
31417
32061
|
this.logger.error(formatErrors(e));
|
|
@@ -31577,6 +32221,7 @@ class Client$w extends Client$x {
|
|
|
31577
32221
|
method: "GET",
|
|
31578
32222
|
headers: pickBy(innerPayload.headers, identity),
|
|
31579
32223
|
params: pickBy(innerPayload.params, identity),
|
|
32224
|
+
data,
|
|
31580
32225
|
})
|
|
31581
32226
|
.catch((e) => {
|
|
31582
32227
|
this.logger.error(formatErrors(e));
|
|
@@ -31691,6 +32336,7 @@ class Client$w extends Client$x {
|
|
|
31691
32336
|
method: "GET",
|
|
31692
32337
|
headers: pickBy(innerPayload.headers, identity),
|
|
31693
32338
|
params: pickBy(innerPayload.params, identity),
|
|
32339
|
+
data,
|
|
31694
32340
|
})
|
|
31695
32341
|
.catch((e) => {
|
|
31696
32342
|
this.logger.error(formatErrors(e));
|
|
@@ -32432,6 +33078,7 @@ class Client$v extends Client$w {
|
|
|
32432
33078
|
method: "GET",
|
|
32433
33079
|
headers: pickBy(innerPayload.headers, identity),
|
|
32434
33080
|
params: pickBy(innerPayload.params, identity),
|
|
33081
|
+
data,
|
|
32435
33082
|
})
|
|
32436
33083
|
.catch((e) => {
|
|
32437
33084
|
this.logger.error(formatErrors(e));
|
|
@@ -32528,6 +33175,7 @@ class Client$v extends Client$w {
|
|
|
32528
33175
|
method: "GET",
|
|
32529
33176
|
headers: pickBy(innerPayload.headers, identity),
|
|
32530
33177
|
params: pickBy(innerPayload.params, identity),
|
|
33178
|
+
data,
|
|
32531
33179
|
})
|
|
32532
33180
|
.catch((e) => {
|
|
32533
33181
|
this.logger.error(formatErrors(e));
|
|
@@ -33115,6 +33763,7 @@ class Client$v extends Client$w {
|
|
|
33115
33763
|
method: "GET",
|
|
33116
33764
|
headers: pickBy(innerPayload.headers, identity),
|
|
33117
33765
|
params: pickBy(innerPayload.params, identity),
|
|
33766
|
+
data,
|
|
33118
33767
|
})
|
|
33119
33768
|
.catch((e) => {
|
|
33120
33769
|
this.logger.error(formatErrors(e));
|
|
@@ -33872,6 +34521,7 @@ class Client$v extends Client$w {
|
|
|
33872
34521
|
method: "GET",
|
|
33873
34522
|
headers: pickBy(innerPayload.headers, identity),
|
|
33874
34523
|
params: pickBy(innerPayload.params, identity),
|
|
34524
|
+
data,
|
|
33875
34525
|
})
|
|
33876
34526
|
.catch((e) => {
|
|
33877
34527
|
this.logger.error(formatErrors(e));
|
|
@@ -33968,6 +34618,7 @@ class Client$v extends Client$w {
|
|
|
33968
34618
|
method: "GET",
|
|
33969
34619
|
headers: pickBy(innerPayload.headers, identity),
|
|
33970
34620
|
params: pickBy(innerPayload.params, identity),
|
|
34621
|
+
data,
|
|
33971
34622
|
})
|
|
33972
34623
|
.catch((e) => {
|
|
33973
34624
|
this.logger.error(formatErrors(e));
|
|
@@ -34555,6 +35206,7 @@ class Client$v extends Client$w {
|
|
|
34555
35206
|
method: "GET",
|
|
34556
35207
|
headers: pickBy(innerPayload.headers, identity),
|
|
34557
35208
|
params: pickBy(innerPayload.params, identity),
|
|
35209
|
+
data,
|
|
34558
35210
|
})
|
|
34559
35211
|
.catch((e) => {
|
|
34560
35212
|
this.logger.error(formatErrors(e));
|
|
@@ -35420,6 +36072,7 @@ class Client$u extends Client$v {
|
|
|
35420
36072
|
method: "GET",
|
|
35421
36073
|
headers: pickBy(innerPayload.headers, identity),
|
|
35422
36074
|
params: pickBy(innerPayload.params, identity),
|
|
36075
|
+
data,
|
|
35423
36076
|
})
|
|
35424
36077
|
.catch((e) => {
|
|
35425
36078
|
this.logger.error(formatErrors(e));
|
|
@@ -36065,6 +36718,7 @@ class Client$u extends Client$v {
|
|
|
36065
36718
|
method: "GET",
|
|
36066
36719
|
headers: pickBy(innerPayload.headers, identity),
|
|
36067
36720
|
params: pickBy(innerPayload.params, identity),
|
|
36721
|
+
data,
|
|
36068
36722
|
})
|
|
36069
36723
|
.catch((e) => {
|
|
36070
36724
|
this.logger.error(formatErrors(e));
|
|
@@ -36574,6 +37228,7 @@ class Client$u extends Client$v {
|
|
|
36574
37228
|
method: "GET",
|
|
36575
37229
|
headers: pickBy(innerPayload.headers, identity),
|
|
36576
37230
|
params: pickBy(innerPayload.params, identity),
|
|
37231
|
+
data,
|
|
36577
37232
|
})
|
|
36578
37233
|
.catch((e) => {
|
|
36579
37234
|
this.logger.error(formatErrors(e));
|
|
@@ -36649,6 +37304,7 @@ class Client$u extends Client$v {
|
|
|
36649
37304
|
method: "GET",
|
|
36650
37305
|
headers: pickBy(innerPayload.headers, identity),
|
|
36651
37306
|
params: pickBy(innerPayload.params, identity),
|
|
37307
|
+
data,
|
|
36652
37308
|
})
|
|
36653
37309
|
.catch((e) => {
|
|
36654
37310
|
this.logger.error(formatErrors(e));
|
|
@@ -36722,6 +37378,7 @@ class Client$u extends Client$v {
|
|
|
36722
37378
|
method: "GET",
|
|
36723
37379
|
headers: pickBy(innerPayload.headers, identity),
|
|
36724
37380
|
params: pickBy(innerPayload.params, identity),
|
|
37381
|
+
data,
|
|
36725
37382
|
})
|
|
36726
37383
|
.catch((e) => {
|
|
36727
37384
|
this.logger.error(formatErrors(e));
|
|
@@ -36900,6 +37557,7 @@ class Client$u extends Client$v {
|
|
|
36900
37557
|
method: "GET",
|
|
36901
37558
|
headers: pickBy(innerPayload.headers, identity),
|
|
36902
37559
|
params: pickBy(innerPayload.params, identity),
|
|
37560
|
+
data,
|
|
36903
37561
|
})
|
|
36904
37562
|
.catch((e) => {
|
|
36905
37563
|
this.logger.error(formatErrors(e));
|
|
@@ -37758,6 +38416,7 @@ class Client$u extends Client$v {
|
|
|
37758
38416
|
method: "GET",
|
|
37759
38417
|
headers: pickBy(innerPayload.headers, identity),
|
|
37760
38418
|
params: pickBy(innerPayload.params, identity),
|
|
38419
|
+
data,
|
|
37761
38420
|
})
|
|
37762
38421
|
.catch((e) => {
|
|
37763
38422
|
this.logger.error(formatErrors(e));
|
|
@@ -38403,6 +39062,7 @@ class Client$u extends Client$v {
|
|
|
38403
39062
|
method: "GET",
|
|
38404
39063
|
headers: pickBy(innerPayload.headers, identity),
|
|
38405
39064
|
params: pickBy(innerPayload.params, identity),
|
|
39065
|
+
data,
|
|
38406
39066
|
})
|
|
38407
39067
|
.catch((e) => {
|
|
38408
39068
|
this.logger.error(formatErrors(e));
|
|
@@ -38912,6 +39572,7 @@ class Client$u extends Client$v {
|
|
|
38912
39572
|
method: "GET",
|
|
38913
39573
|
headers: pickBy(innerPayload.headers, identity),
|
|
38914
39574
|
params: pickBy(innerPayload.params, identity),
|
|
39575
|
+
data,
|
|
38915
39576
|
})
|
|
38916
39577
|
.catch((e) => {
|
|
38917
39578
|
this.logger.error(formatErrors(e));
|
|
@@ -38987,6 +39648,7 @@ class Client$u extends Client$v {
|
|
|
38987
39648
|
method: "GET",
|
|
38988
39649
|
headers: pickBy(innerPayload.headers, identity),
|
|
38989
39650
|
params: pickBy(innerPayload.params, identity),
|
|
39651
|
+
data,
|
|
38990
39652
|
})
|
|
38991
39653
|
.catch((e) => {
|
|
38992
39654
|
this.logger.error(formatErrors(e));
|
|
@@ -39060,6 +39722,7 @@ class Client$u extends Client$v {
|
|
|
39060
39722
|
method: "GET",
|
|
39061
39723
|
headers: pickBy(innerPayload.headers, identity),
|
|
39062
39724
|
params: pickBy(innerPayload.params, identity),
|
|
39725
|
+
data,
|
|
39063
39726
|
})
|
|
39064
39727
|
.catch((e) => {
|
|
39065
39728
|
this.logger.error(formatErrors(e));
|
|
@@ -39238,6 +39901,7 @@ class Client$u extends Client$v {
|
|
|
39238
39901
|
method: "GET",
|
|
39239
39902
|
headers: pickBy(innerPayload.headers, identity),
|
|
39240
39903
|
params: pickBy(innerPayload.params, identity),
|
|
39904
|
+
data,
|
|
39241
39905
|
})
|
|
39242
39906
|
.catch((e) => {
|
|
39243
39907
|
this.logger.error(formatErrors(e));
|
|
@@ -39677,6 +40341,7 @@ class Client$s extends Client$t {
|
|
|
39677
40341
|
method: "GET",
|
|
39678
40342
|
headers: pickBy(innerPayload.headers, identity),
|
|
39679
40343
|
params: pickBy(innerPayload.params, identity),
|
|
40344
|
+
data,
|
|
39680
40345
|
})
|
|
39681
40346
|
.catch((e) => {
|
|
39682
40347
|
this.logger.error(formatErrors(e));
|
|
@@ -39751,6 +40416,7 @@ class Client$s extends Client$t {
|
|
|
39751
40416
|
method: "GET",
|
|
39752
40417
|
headers: pickBy(innerPayload.headers, identity),
|
|
39753
40418
|
params: pickBy(innerPayload.params, identity),
|
|
40419
|
+
data,
|
|
39754
40420
|
})
|
|
39755
40421
|
.catch((e) => {
|
|
39756
40422
|
this.logger.error(formatErrors(e));
|
|
@@ -39965,6 +40631,7 @@ class Client$s extends Client$t {
|
|
|
39965
40631
|
method: "GET",
|
|
39966
40632
|
headers: pickBy(innerPayload.headers, identity),
|
|
39967
40633
|
params: pickBy(innerPayload.params, identity),
|
|
40634
|
+
data,
|
|
39968
40635
|
})
|
|
39969
40636
|
.catch((e) => {
|
|
39970
40637
|
this.logger.error(formatErrors(e));
|
|
@@ -40236,6 +40903,7 @@ class Client$s extends Client$t {
|
|
|
40236
40903
|
method: "GET",
|
|
40237
40904
|
headers: pickBy(innerPayload.headers, identity),
|
|
40238
40905
|
params: pickBy(innerPayload.params, identity),
|
|
40906
|
+
data,
|
|
40239
40907
|
})
|
|
40240
40908
|
.catch((e) => {
|
|
40241
40909
|
this.logger.error(formatErrors(e));
|
|
@@ -40667,7 +41335,7 @@ class Client$s extends Client$t {
|
|
|
40667
41335
|
}),
|
|
40668
41336
|
},
|
|
40669
41337
|
/**
|
|
40670
|
-
*
|
|
41338
|
+
* 消息加急
|
|
40671
41339
|
*/
|
|
40672
41340
|
message: {
|
|
40673
41341
|
/**
|
|
@@ -40779,6 +41447,7 @@ class Client$s extends Client$t {
|
|
|
40779
41447
|
method: "GET",
|
|
40780
41448
|
headers: pickBy(innerPayload.headers, identity),
|
|
40781
41449
|
params: pickBy(innerPayload.params, identity),
|
|
41450
|
+
data,
|
|
40782
41451
|
})
|
|
40783
41452
|
.catch((e) => {
|
|
40784
41453
|
this.logger.error(formatErrors(e));
|
|
@@ -41212,6 +41881,7 @@ class Client$s extends Client$t {
|
|
|
41212
41881
|
method: "GET",
|
|
41213
41882
|
headers: pickBy(innerPayload.headers, identity),
|
|
41214
41883
|
params: pickBy(innerPayload.params, identity),
|
|
41884
|
+
data,
|
|
41215
41885
|
})
|
|
41216
41886
|
.catch((e) => {
|
|
41217
41887
|
this.logger.error(formatErrors(e));
|
|
@@ -41389,6 +42059,7 @@ class Client$s extends Client$t {
|
|
|
41389
42059
|
method: "GET",
|
|
41390
42060
|
headers: pickBy(innerPayload.headers, identity),
|
|
41391
42061
|
params: pickBy(innerPayload.params, identity),
|
|
42062
|
+
data,
|
|
41392
42063
|
})
|
|
41393
42064
|
.catch((e) => {
|
|
41394
42065
|
this.logger.error(formatErrors(e));
|
|
@@ -41740,6 +42411,7 @@ class Client$s extends Client$t {
|
|
|
41740
42411
|
method: "GET",
|
|
41741
42412
|
headers: pickBy(innerPayload.headers, identity),
|
|
41742
42413
|
params: pickBy(innerPayload.params, identity),
|
|
42414
|
+
data,
|
|
41743
42415
|
})
|
|
41744
42416
|
.catch((e) => {
|
|
41745
42417
|
this.logger.error(formatErrors(e));
|
|
@@ -41814,6 +42486,7 @@ class Client$s extends Client$t {
|
|
|
41814
42486
|
method: "GET",
|
|
41815
42487
|
headers: pickBy(innerPayload.headers, identity),
|
|
41816
42488
|
params: pickBy(innerPayload.params, identity),
|
|
42489
|
+
data,
|
|
41817
42490
|
})
|
|
41818
42491
|
.catch((e) => {
|
|
41819
42492
|
this.logger.error(formatErrors(e));
|
|
@@ -42028,6 +42701,7 @@ class Client$s extends Client$t {
|
|
|
42028
42701
|
method: "GET",
|
|
42029
42702
|
headers: pickBy(innerPayload.headers, identity),
|
|
42030
42703
|
params: pickBy(innerPayload.params, identity),
|
|
42704
|
+
data,
|
|
42031
42705
|
})
|
|
42032
42706
|
.catch((e) => {
|
|
42033
42707
|
this.logger.error(formatErrors(e));
|
|
@@ -42299,6 +42973,7 @@ class Client$s extends Client$t {
|
|
|
42299
42973
|
method: "GET",
|
|
42300
42974
|
headers: pickBy(innerPayload.headers, identity),
|
|
42301
42975
|
params: pickBy(innerPayload.params, identity),
|
|
42976
|
+
data,
|
|
42302
42977
|
})
|
|
42303
42978
|
.catch((e) => {
|
|
42304
42979
|
this.logger.error(formatErrors(e));
|
|
@@ -42730,7 +43405,7 @@ class Client$s extends Client$t {
|
|
|
42730
43405
|
}),
|
|
42731
43406
|
},
|
|
42732
43407
|
/**
|
|
42733
|
-
*
|
|
43408
|
+
* 消息加急
|
|
42734
43409
|
*/
|
|
42735
43410
|
message: {
|
|
42736
43411
|
/**
|
|
@@ -42842,6 +43517,7 @@ class Client$s extends Client$t {
|
|
|
42842
43517
|
method: "GET",
|
|
42843
43518
|
headers: pickBy(innerPayload.headers, identity),
|
|
42844
43519
|
params: pickBy(innerPayload.params, identity),
|
|
43520
|
+
data,
|
|
42845
43521
|
})
|
|
42846
43522
|
.catch((e) => {
|
|
42847
43523
|
this.logger.error(formatErrors(e));
|
|
@@ -43275,6 +43951,7 @@ class Client$s extends Client$t {
|
|
|
43275
43951
|
method: "GET",
|
|
43276
43952
|
headers: pickBy(innerPayload.headers, identity),
|
|
43277
43953
|
params: pickBy(innerPayload.params, identity),
|
|
43954
|
+
data,
|
|
43278
43955
|
})
|
|
43279
43956
|
.catch((e) => {
|
|
43280
43957
|
this.logger.error(formatErrors(e));
|
|
@@ -43452,6 +44129,7 @@ class Client$s extends Client$t {
|
|
|
43452
44129
|
method: "GET",
|
|
43453
44130
|
headers: pickBy(innerPayload.headers, identity),
|
|
43454
44131
|
params: pickBy(innerPayload.params, identity),
|
|
44132
|
+
data,
|
|
43455
44133
|
})
|
|
43456
44134
|
.catch((e) => {
|
|
43457
44135
|
this.logger.error(formatErrors(e));
|
|
@@ -43829,6 +44507,7 @@ class Client$r extends Client$s {
|
|
|
43829
44507
|
method: "GET",
|
|
43830
44508
|
headers: pickBy(innerPayload.headers, identity),
|
|
43831
44509
|
params: pickBy(innerPayload.params, identity),
|
|
44510
|
+
data,
|
|
43832
44511
|
})
|
|
43833
44512
|
.catch((e) => {
|
|
43834
44513
|
this.logger.error(formatErrors(e));
|
|
@@ -44027,6 +44706,7 @@ class Client$r extends Client$s {
|
|
|
44027
44706
|
method: "GET",
|
|
44028
44707
|
headers: pickBy(innerPayload.headers, identity),
|
|
44029
44708
|
params: pickBy(innerPayload.params, identity),
|
|
44709
|
+
data,
|
|
44030
44710
|
})
|
|
44031
44711
|
.catch((e) => {
|
|
44032
44712
|
this.logger.error(formatErrors(e));
|
|
@@ -44115,6 +44795,7 @@ class Client$r extends Client$s {
|
|
|
44115
44795
|
method: "POST",
|
|
44116
44796
|
headers: pickBy(innerPayload.headers, identity),
|
|
44117
44797
|
params: pickBy(innerPayload.params, identity),
|
|
44798
|
+
data,
|
|
44118
44799
|
})
|
|
44119
44800
|
.catch((e) => {
|
|
44120
44801
|
this.logger.error(formatErrors(e));
|
|
@@ -44456,6 +45137,7 @@ class Client$q extends Client$r {
|
|
|
44456
45137
|
method: "GET",
|
|
44457
45138
|
headers: pickBy(innerPayload.headers, identity),
|
|
44458
45139
|
params: pickBy(innerPayload.params, identity),
|
|
45140
|
+
data,
|
|
44459
45141
|
})
|
|
44460
45142
|
.catch((e) => {
|
|
44461
45143
|
this.logger.error(formatErrors(e));
|
|
@@ -44629,6 +45311,7 @@ class Client$q extends Client$r {
|
|
|
44629
45311
|
method: "GET",
|
|
44630
45312
|
headers: pickBy(innerPayload.headers, identity),
|
|
44631
45313
|
params: pickBy(innerPayload.params, identity),
|
|
45314
|
+
data,
|
|
44632
45315
|
})
|
|
44633
45316
|
.catch((e) => {
|
|
44634
45317
|
this.logger.error(formatErrors(e));
|
|
@@ -44818,6 +45501,7 @@ class Client$q extends Client$r {
|
|
|
44818
45501
|
method: "GET",
|
|
44819
45502
|
headers: pickBy(innerPayload.headers, identity),
|
|
44820
45503
|
params: pickBy(innerPayload.params, identity),
|
|
45504
|
+
data,
|
|
44821
45505
|
})
|
|
44822
45506
|
.catch((e) => {
|
|
44823
45507
|
this.logger.error(formatErrors(e));
|
|
@@ -45007,6 +45691,7 @@ class Client$q extends Client$r {
|
|
|
45007
45691
|
method: "GET",
|
|
45008
45692
|
headers: pickBy(innerPayload.headers, identity),
|
|
45009
45693
|
params: pickBy(innerPayload.params, identity),
|
|
45694
|
+
data,
|
|
45010
45695
|
})
|
|
45011
45696
|
.catch((e) => {
|
|
45012
45697
|
this.logger.error(formatErrors(e));
|
|
@@ -45233,6 +45918,7 @@ class Client$q extends Client$r {
|
|
|
45233
45918
|
method: "GET",
|
|
45234
45919
|
headers: pickBy(innerPayload.headers, identity),
|
|
45235
45920
|
params: pickBy(innerPayload.params, identity),
|
|
45921
|
+
data,
|
|
45236
45922
|
})
|
|
45237
45923
|
.catch((e) => {
|
|
45238
45924
|
this.logger.error(formatErrors(e));
|
|
@@ -45494,6 +46180,7 @@ class Client$q extends Client$r {
|
|
|
45494
46180
|
method: "GET",
|
|
45495
46181
|
headers: pickBy(innerPayload.headers, identity),
|
|
45496
46182
|
params: pickBy(innerPayload.params, identity),
|
|
46183
|
+
data,
|
|
45497
46184
|
})
|
|
45498
46185
|
.catch((e) => {
|
|
45499
46186
|
this.logger.error(formatErrors(e));
|
|
@@ -45648,6 +46335,7 @@ class Client$q extends Client$r {
|
|
|
45648
46335
|
method: "GET",
|
|
45649
46336
|
headers: pickBy(innerPayload.headers, identity),
|
|
45650
46337
|
params: pickBy(innerPayload.params, identity),
|
|
46338
|
+
data,
|
|
45651
46339
|
})
|
|
45652
46340
|
.catch((e) => {
|
|
45653
46341
|
this.logger.error(formatErrors(e));
|
|
@@ -45904,6 +46592,7 @@ class Client$q extends Client$r {
|
|
|
45904
46592
|
method: "GET",
|
|
45905
46593
|
headers: pickBy(innerPayload.headers, identity),
|
|
45906
46594
|
params: pickBy(innerPayload.params, identity),
|
|
46595
|
+
data,
|
|
45907
46596
|
})
|
|
45908
46597
|
.catch((e) => {
|
|
45909
46598
|
this.logger.error(formatErrors(e));
|
|
@@ -46077,6 +46766,7 @@ class Client$q extends Client$r {
|
|
|
46077
46766
|
method: "GET",
|
|
46078
46767
|
headers: pickBy(innerPayload.headers, identity),
|
|
46079
46768
|
params: pickBy(innerPayload.params, identity),
|
|
46769
|
+
data,
|
|
46080
46770
|
})
|
|
46081
46771
|
.catch((e) => {
|
|
46082
46772
|
this.logger.error(formatErrors(e));
|
|
@@ -46266,6 +46956,7 @@ class Client$q extends Client$r {
|
|
|
46266
46956
|
method: "GET",
|
|
46267
46957
|
headers: pickBy(innerPayload.headers, identity),
|
|
46268
46958
|
params: pickBy(innerPayload.params, identity),
|
|
46959
|
+
data,
|
|
46269
46960
|
})
|
|
46270
46961
|
.catch((e) => {
|
|
46271
46962
|
this.logger.error(formatErrors(e));
|
|
@@ -46455,6 +47146,7 @@ class Client$q extends Client$r {
|
|
|
46455
47146
|
method: "GET",
|
|
46456
47147
|
headers: pickBy(innerPayload.headers, identity),
|
|
46457
47148
|
params: pickBy(innerPayload.params, identity),
|
|
47149
|
+
data,
|
|
46458
47150
|
})
|
|
46459
47151
|
.catch((e) => {
|
|
46460
47152
|
this.logger.error(formatErrors(e));
|
|
@@ -46681,6 +47373,7 @@ class Client$q extends Client$r {
|
|
|
46681
47373
|
method: "GET",
|
|
46682
47374
|
headers: pickBy(innerPayload.headers, identity),
|
|
46683
47375
|
params: pickBy(innerPayload.params, identity),
|
|
47376
|
+
data,
|
|
46684
47377
|
})
|
|
46685
47378
|
.catch((e) => {
|
|
46686
47379
|
this.logger.error(formatErrors(e));
|
|
@@ -46942,6 +47635,7 @@ class Client$q extends Client$r {
|
|
|
46942
47635
|
method: "GET",
|
|
46943
47636
|
headers: pickBy(innerPayload.headers, identity),
|
|
46944
47637
|
params: pickBy(innerPayload.params, identity),
|
|
47638
|
+
data,
|
|
46945
47639
|
})
|
|
46946
47640
|
.catch((e) => {
|
|
46947
47641
|
this.logger.error(formatErrors(e));
|
|
@@ -47096,6 +47790,7 @@ class Client$q extends Client$r {
|
|
|
47096
47790
|
method: "GET",
|
|
47097
47791
|
headers: pickBy(innerPayload.headers, identity),
|
|
47098
47792
|
params: pickBy(innerPayload.params, identity),
|
|
47793
|
+
data,
|
|
47099
47794
|
})
|
|
47100
47795
|
.catch((e) => {
|
|
47101
47796
|
this.logger.error(formatErrors(e));
|
|
@@ -48301,6 +48996,7 @@ class Client$h extends Client$i {
|
|
|
48301
48996
|
method: "GET",
|
|
48302
48997
|
headers: pickBy(innerPayload.headers, identity),
|
|
48303
48998
|
params: pickBy(innerPayload.params, identity),
|
|
48999
|
+
data,
|
|
48304
49000
|
})
|
|
48305
49001
|
.catch((e) => {
|
|
48306
49002
|
this.logger.error(formatErrors(e));
|
|
@@ -48505,6 +49201,7 @@ class Client$h extends Client$i {
|
|
|
48505
49201
|
method: "GET",
|
|
48506
49202
|
headers: pickBy(innerPayload.headers, identity),
|
|
48507
49203
|
params: pickBy(innerPayload.params, identity),
|
|
49204
|
+
data,
|
|
48508
49205
|
})
|
|
48509
49206
|
.catch((e) => {
|
|
48510
49207
|
this.logger.error(formatErrors(e));
|
|
@@ -48917,6 +49614,7 @@ class Client$e extends Client$f {
|
|
|
48917
49614
|
method: "GET",
|
|
48918
49615
|
headers: pickBy(innerPayload.headers, identity),
|
|
48919
49616
|
params: pickBy(innerPayload.params, identity),
|
|
49617
|
+
data,
|
|
48920
49618
|
})
|
|
48921
49619
|
.catch((e) => {
|
|
48922
49620
|
this.logger.error(formatErrors(e));
|
|
@@ -49319,6 +50017,7 @@ class Client$e extends Client$f {
|
|
|
49319
50017
|
method: "GET",
|
|
49320
50018
|
headers: pickBy(innerPayload.headers, identity),
|
|
49321
50019
|
params: pickBy(innerPayload.params, identity),
|
|
50020
|
+
data,
|
|
49322
50021
|
})
|
|
49323
50022
|
.catch((e) => {
|
|
49324
50023
|
this.logger.error(formatErrors(e));
|
|
@@ -51412,6 +52111,7 @@ class Client$8 extends Client$9 {
|
|
|
51412
52111
|
method: "GET",
|
|
51413
52112
|
headers: pickBy(innerPayload.headers, identity),
|
|
51414
52113
|
params: pickBy(innerPayload.params, identity),
|
|
52114
|
+
data,
|
|
51415
52115
|
})
|
|
51416
52116
|
.catch((e) => {
|
|
51417
52117
|
this.logger.error(formatErrors(e));
|
|
@@ -51585,6 +52285,7 @@ class Client$8 extends Client$9 {
|
|
|
51585
52285
|
method: "GET",
|
|
51586
52286
|
headers: pickBy(innerPayload.headers, identity),
|
|
51587
52287
|
params: pickBy(innerPayload.params, identity),
|
|
52288
|
+
data,
|
|
51588
52289
|
})
|
|
51589
52290
|
.catch((e) => {
|
|
51590
52291
|
this.logger.error(formatErrors(e));
|
|
@@ -51734,6 +52435,7 @@ class Client$8 extends Client$9 {
|
|
|
51734
52435
|
method: "GET",
|
|
51735
52436
|
headers: pickBy(innerPayload.headers, identity),
|
|
51736
52437
|
params: pickBy(innerPayload.params, identity),
|
|
52438
|
+
data,
|
|
51737
52439
|
})
|
|
51738
52440
|
.catch((e) => {
|
|
51739
52441
|
this.logger.error(formatErrors(e));
|
|
@@ -51883,6 +52585,7 @@ class Client$8 extends Client$9 {
|
|
|
51883
52585
|
method: "GET",
|
|
51884
52586
|
headers: pickBy(innerPayload.headers, identity),
|
|
51885
52587
|
params: pickBy(innerPayload.params, identity),
|
|
52588
|
+
data,
|
|
51886
52589
|
})
|
|
51887
52590
|
.catch((e) => {
|
|
51888
52591
|
this.logger.error(formatErrors(e));
|
|
@@ -52008,6 +52711,7 @@ class Client$8 extends Client$9 {
|
|
|
52008
52711
|
method: "GET",
|
|
52009
52712
|
headers: pickBy(innerPayload.headers, identity),
|
|
52010
52713
|
params: pickBy(innerPayload.params, identity),
|
|
52714
|
+
data,
|
|
52011
52715
|
})
|
|
52012
52716
|
.catch((e) => {
|
|
52013
52717
|
this.logger.error(formatErrors(e));
|
|
@@ -52230,6 +52934,7 @@ class Client$8 extends Client$9 {
|
|
|
52230
52934
|
method: "GET",
|
|
52231
52935
|
headers: pickBy(innerPayload.headers, identity),
|
|
52232
52936
|
params: pickBy(innerPayload.params, identity),
|
|
52937
|
+
data,
|
|
52233
52938
|
})
|
|
52234
52939
|
.catch((e) => {
|
|
52235
52940
|
this.logger.error(formatErrors(e));
|
|
@@ -52403,6 +53108,7 @@ class Client$8 extends Client$9 {
|
|
|
52403
53108
|
method: "GET",
|
|
52404
53109
|
headers: pickBy(innerPayload.headers, identity),
|
|
52405
53110
|
params: pickBy(innerPayload.params, identity),
|
|
53111
|
+
data,
|
|
52406
53112
|
})
|
|
52407
53113
|
.catch((e) => {
|
|
52408
53114
|
this.logger.error(formatErrors(e));
|
|
@@ -52552,6 +53258,7 @@ class Client$8 extends Client$9 {
|
|
|
52552
53258
|
method: "GET",
|
|
52553
53259
|
headers: pickBy(innerPayload.headers, identity),
|
|
52554
53260
|
params: pickBy(innerPayload.params, identity),
|
|
53261
|
+
data,
|
|
52555
53262
|
})
|
|
52556
53263
|
.catch((e) => {
|
|
52557
53264
|
this.logger.error(formatErrors(e));
|
|
@@ -52701,6 +53408,7 @@ class Client$8 extends Client$9 {
|
|
|
52701
53408
|
method: "GET",
|
|
52702
53409
|
headers: pickBy(innerPayload.headers, identity),
|
|
52703
53410
|
params: pickBy(innerPayload.params, identity),
|
|
53411
|
+
data,
|
|
52704
53412
|
})
|
|
52705
53413
|
.catch((e) => {
|
|
52706
53414
|
this.logger.error(formatErrors(e));
|
|
@@ -52826,6 +53534,7 @@ class Client$8 extends Client$9 {
|
|
|
52826
53534
|
method: "GET",
|
|
52827
53535
|
headers: pickBy(innerPayload.headers, identity),
|
|
52828
53536
|
params: pickBy(innerPayload.params, identity),
|
|
53537
|
+
data,
|
|
52829
53538
|
})
|
|
52830
53539
|
.catch((e) => {
|
|
52831
53540
|
this.logger.error(formatErrors(e));
|
|
@@ -52945,6 +53654,7 @@ class Client$8 extends Client$9 {
|
|
|
52945
53654
|
method: "GET",
|
|
52946
53655
|
headers: pickBy(innerPayload.headers, identity),
|
|
52947
53656
|
params: pickBy(innerPayload.params, identity),
|
|
53657
|
+
data,
|
|
52948
53658
|
})
|
|
52949
53659
|
.catch((e) => {
|
|
52950
53660
|
this.logger.error(formatErrors(e));
|
|
@@ -53099,6 +53809,7 @@ class Client$8 extends Client$9 {
|
|
|
53099
53809
|
method: "GET",
|
|
53100
53810
|
headers: pickBy(innerPayload.headers, identity),
|
|
53101
53811
|
params: pickBy(innerPayload.params, identity),
|
|
53812
|
+
data,
|
|
53102
53813
|
})
|
|
53103
53814
|
.catch((e) => {
|
|
53104
53815
|
this.logger.error(formatErrors(e));
|
|
@@ -53252,6 +53963,7 @@ class Client$8 extends Client$9 {
|
|
|
53252
53963
|
method: "GET",
|
|
53253
53964
|
headers: pickBy(innerPayload.headers, identity),
|
|
53254
53965
|
params: pickBy(innerPayload.params, identity),
|
|
53966
|
+
data,
|
|
53255
53967
|
})
|
|
53256
53968
|
.catch((e) => {
|
|
53257
53969
|
this.logger.error(formatErrors(e));
|
|
@@ -53470,6 +54182,7 @@ class Client$8 extends Client$9 {
|
|
|
53470
54182
|
method: "GET",
|
|
53471
54183
|
headers: pickBy(innerPayload.headers, identity),
|
|
53472
54184
|
params: pickBy(innerPayload.params, identity),
|
|
54185
|
+
data,
|
|
53473
54186
|
})
|
|
53474
54187
|
.catch((e) => {
|
|
53475
54188
|
this.logger.error(formatErrors(e));
|
|
@@ -53558,6 +54271,7 @@ class Client$8 extends Client$9 {
|
|
|
53558
54271
|
method: "GET",
|
|
53559
54272
|
headers: pickBy(innerPayload.headers, identity),
|
|
53560
54273
|
params: pickBy(innerPayload.params, identity),
|
|
54274
|
+
data,
|
|
53561
54275
|
})
|
|
53562
54276
|
.catch((e) => {
|
|
53563
54277
|
this.logger.error(formatErrors(e));
|
|
@@ -53771,6 +54485,7 @@ class Client$8 extends Client$9 {
|
|
|
53771
54485
|
method: "GET",
|
|
53772
54486
|
headers: pickBy(innerPayload.headers, identity),
|
|
53773
54487
|
params: pickBy(innerPayload.params, identity),
|
|
54488
|
+
data,
|
|
53774
54489
|
})
|
|
53775
54490
|
.catch((e) => {
|
|
53776
54491
|
this.logger.error(formatErrors(e));
|
|
@@ -53984,6 +54699,7 @@ class Client$8 extends Client$9 {
|
|
|
53984
54699
|
method: "GET",
|
|
53985
54700
|
headers: pickBy(innerPayload.headers, identity),
|
|
53986
54701
|
params: pickBy(innerPayload.params, identity),
|
|
54702
|
+
data,
|
|
53987
54703
|
})
|
|
53988
54704
|
.catch((e) => {
|
|
53989
54705
|
this.logger.error(formatErrors(e));
|
|
@@ -54242,6 +54958,7 @@ class Client$8 extends Client$9 {
|
|
|
54242
54958
|
method: "GET",
|
|
54243
54959
|
headers: pickBy(innerPayload.headers, identity),
|
|
54244
54960
|
params: pickBy(innerPayload.params, identity),
|
|
54961
|
+
data,
|
|
54245
54962
|
})
|
|
54246
54963
|
.catch((e) => {
|
|
54247
54964
|
this.logger.error(formatErrors(e));
|
|
@@ -54653,6 +55370,7 @@ class Client$4 extends Client$5 {
|
|
|
54653
55370
|
method: "GET",
|
|
54654
55371
|
headers: pickBy(innerPayload.headers, identity),
|
|
54655
55372
|
params: pickBy(innerPayload.params, identity),
|
|
55373
|
+
data,
|
|
54656
55374
|
})
|
|
54657
55375
|
.catch((e) => {
|
|
54658
55376
|
this.logger.error(formatErrors(e));
|
|
@@ -54996,6 +55714,7 @@ class Client$4 extends Client$5 {
|
|
|
54996
55714
|
method: "GET",
|
|
54997
55715
|
headers: pickBy(innerPayload.headers, identity),
|
|
54998
55716
|
params: pickBy(innerPayload.params, identity),
|
|
55717
|
+
data,
|
|
54999
55718
|
})
|
|
55000
55719
|
.catch((e) => {
|
|
55001
55720
|
this.logger.error(formatErrors(e));
|
|
@@ -55208,6 +55927,7 @@ class Client$4 extends Client$5 {
|
|
|
55208
55927
|
method: "GET",
|
|
55209
55928
|
headers: pickBy(innerPayload.headers, identity),
|
|
55210
55929
|
params: pickBy(innerPayload.params, identity),
|
|
55930
|
+
data,
|
|
55211
55931
|
})
|
|
55212
55932
|
.catch((e) => {
|
|
55213
55933
|
this.logger.error(formatErrors(e));
|
|
@@ -55281,6 +56001,7 @@ class Client$4 extends Client$5 {
|
|
|
55281
56001
|
method: "GET",
|
|
55282
56002
|
headers: pickBy(innerPayload.headers, identity),
|
|
55283
56003
|
params: pickBy(innerPayload.params, identity),
|
|
56004
|
+
data,
|
|
55284
56005
|
})
|
|
55285
56006
|
.catch((e) => {
|
|
55286
56007
|
this.logger.error(formatErrors(e));
|
|
@@ -55354,6 +56075,7 @@ class Client$4 extends Client$5 {
|
|
|
55354
56075
|
method: "GET",
|
|
55355
56076
|
headers: pickBy(innerPayload.headers, identity),
|
|
55356
56077
|
params: pickBy(innerPayload.params, identity),
|
|
56078
|
+
data,
|
|
55357
56079
|
})
|
|
55358
56080
|
.catch((e) => {
|
|
55359
56081
|
this.logger.error(formatErrors(e));
|
|
@@ -55807,6 +56529,7 @@ class Client$4 extends Client$5 {
|
|
|
55807
56529
|
method: "GET",
|
|
55808
56530
|
headers: pickBy(innerPayload.headers, identity),
|
|
55809
56531
|
params: pickBy(innerPayload.params, identity),
|
|
56532
|
+
data,
|
|
55810
56533
|
})
|
|
55811
56534
|
.catch((e) => {
|
|
55812
56535
|
this.logger.error(formatErrors(e));
|
|
@@ -55952,6 +56675,7 @@ class Client$4 extends Client$5 {
|
|
|
55952
56675
|
method: "GET",
|
|
55953
56676
|
headers: pickBy(innerPayload.headers, identity),
|
|
55954
56677
|
params: pickBy(innerPayload.params, identity),
|
|
56678
|
+
data,
|
|
55955
56679
|
})
|
|
55956
56680
|
.catch((e) => {
|
|
55957
56681
|
this.logger.error(formatErrors(e));
|
|
@@ -56258,6 +56982,7 @@ class Client$4 extends Client$5 {
|
|
|
56258
56982
|
method: "GET",
|
|
56259
56983
|
headers: pickBy(innerPayload.headers, identity),
|
|
56260
56984
|
params: pickBy(innerPayload.params, identity),
|
|
56985
|
+
data,
|
|
56261
56986
|
})
|
|
56262
56987
|
.catch((e) => {
|
|
56263
56988
|
this.logger.error(formatErrors(e));
|
|
@@ -56461,6 +57186,7 @@ class Client$4 extends Client$5 {
|
|
|
56461
57186
|
method: "GET",
|
|
56462
57187
|
headers: pickBy(innerPayload.headers, identity),
|
|
56463
57188
|
params: pickBy(innerPayload.params, identity),
|
|
57189
|
+
data,
|
|
56464
57190
|
})
|
|
56465
57191
|
.catch((e) => {
|
|
56466
57192
|
this.logger.error(formatErrors(e));
|
|
@@ -56804,6 +57530,7 @@ class Client$4 extends Client$5 {
|
|
|
56804
57530
|
method: "GET",
|
|
56805
57531
|
headers: pickBy(innerPayload.headers, identity),
|
|
56806
57532
|
params: pickBy(innerPayload.params, identity),
|
|
57533
|
+
data,
|
|
56807
57534
|
})
|
|
56808
57535
|
.catch((e) => {
|
|
56809
57536
|
this.logger.error(formatErrors(e));
|
|
@@ -57016,6 +57743,7 @@ class Client$4 extends Client$5 {
|
|
|
57016
57743
|
method: "GET",
|
|
57017
57744
|
headers: pickBy(innerPayload.headers, identity),
|
|
57018
57745
|
params: pickBy(innerPayload.params, identity),
|
|
57746
|
+
data,
|
|
57019
57747
|
})
|
|
57020
57748
|
.catch((e) => {
|
|
57021
57749
|
this.logger.error(formatErrors(e));
|
|
@@ -57089,6 +57817,7 @@ class Client$4 extends Client$5 {
|
|
|
57089
57817
|
method: "GET",
|
|
57090
57818
|
headers: pickBy(innerPayload.headers, identity),
|
|
57091
57819
|
params: pickBy(innerPayload.params, identity),
|
|
57820
|
+
data,
|
|
57092
57821
|
})
|
|
57093
57822
|
.catch((e) => {
|
|
57094
57823
|
this.logger.error(formatErrors(e));
|
|
@@ -57162,6 +57891,7 @@ class Client$4 extends Client$5 {
|
|
|
57162
57891
|
method: "GET",
|
|
57163
57892
|
headers: pickBy(innerPayload.headers, identity),
|
|
57164
57893
|
params: pickBy(innerPayload.params, identity),
|
|
57894
|
+
data,
|
|
57165
57895
|
})
|
|
57166
57896
|
.catch((e) => {
|
|
57167
57897
|
this.logger.error(formatErrors(e));
|
|
@@ -57615,6 +58345,7 @@ class Client$4 extends Client$5 {
|
|
|
57615
58345
|
method: "GET",
|
|
57616
58346
|
headers: pickBy(innerPayload.headers, identity),
|
|
57617
58347
|
params: pickBy(innerPayload.params, identity),
|
|
58348
|
+
data,
|
|
57618
58349
|
})
|
|
57619
58350
|
.catch((e) => {
|
|
57620
58351
|
this.logger.error(formatErrors(e));
|
|
@@ -57760,6 +58491,7 @@ class Client$4 extends Client$5 {
|
|
|
57760
58491
|
method: "GET",
|
|
57761
58492
|
headers: pickBy(innerPayload.headers, identity),
|
|
57762
58493
|
params: pickBy(innerPayload.params, identity),
|
|
58494
|
+
data,
|
|
57763
58495
|
})
|
|
57764
58496
|
.catch((e) => {
|
|
57765
58497
|
this.logger.error(formatErrors(e));
|
|
@@ -58066,6 +58798,7 @@ class Client$4 extends Client$5 {
|
|
|
58066
58798
|
method: "GET",
|
|
58067
58799
|
headers: pickBy(innerPayload.headers, identity),
|
|
58068
58800
|
params: pickBy(innerPayload.params, identity),
|
|
58801
|
+
data,
|
|
58069
58802
|
})
|
|
58070
58803
|
.catch((e) => {
|
|
58071
58804
|
this.logger.error(formatErrors(e));
|
|
@@ -58402,6 +59135,7 @@ class Client$2 extends Client$3 {
|
|
|
58402
59135
|
method: "GET",
|
|
58403
59136
|
headers: pickBy(innerPayload.headers, identity),
|
|
58404
59137
|
params: pickBy(innerPayload.params, identity),
|
|
59138
|
+
data,
|
|
58405
59139
|
})
|
|
58406
59140
|
.catch((e) => {
|
|
58407
59141
|
this.logger.error(formatErrors(e));
|
|
@@ -58588,6 +59322,7 @@ class Client$2 extends Client$3 {
|
|
|
58588
59322
|
method: "GET",
|
|
58589
59323
|
headers: pickBy(innerPayload.headers, identity),
|
|
58590
59324
|
params: pickBy(innerPayload.params, identity),
|
|
59325
|
+
data,
|
|
58591
59326
|
})
|
|
58592
59327
|
.catch((e) => {
|
|
58593
59328
|
this.logger.error(formatErrors(e));
|
|
@@ -58888,6 +59623,7 @@ class Client$2 extends Client$3 {
|
|
|
58888
59623
|
method: "GET",
|
|
58889
59624
|
headers: pickBy(innerPayload.headers, identity),
|
|
58890
59625
|
params: pickBy(innerPayload.params, identity),
|
|
59626
|
+
data,
|
|
58891
59627
|
})
|
|
58892
59628
|
.catch((e) => {
|
|
58893
59629
|
this.logger.error(formatErrors(e));
|
|
@@ -59074,6 +59810,7 @@ class Client$2 extends Client$3 {
|
|
|
59074
59810
|
method: "GET",
|
|
59075
59811
|
headers: pickBy(innerPayload.headers, identity),
|
|
59076
59812
|
params: pickBy(innerPayload.params, identity),
|
|
59813
|
+
data,
|
|
59077
59814
|
})
|
|
59078
59815
|
.catch((e) => {
|
|
59079
59816
|
this.logger.error(formatErrors(e));
|