@iflyrpa/actions 4.0.9 → 4.1.0-beta.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/dist/actions/searchPublishInfo/index.d.ts +1 -1
- package/dist/actions/shipinhaoPublishVideo/index.d.ts +95 -0
- package/dist/actions/shipinhaoPublishVideo/mock.d.ts +4 -0
- package/dist/actions/shipinhaoPublishVideo/payload.d.ts +70 -0
- package/dist/actions/shipinhaoPublishVideo/rpa.d.ts +6 -0
- package/dist/actions/shipinhaoPublishVideo/uploader.d.ts +57 -0
- package/dist/actions/shipinhaoPublishVideo/videoMeta.d.ts +65 -0
- package/dist/actions/shipinhaoPublishVideo/videoValidator.d.ts +37 -0
- package/dist/bundle.js +1955 -83
- package/dist/bundle.js.map +1 -1
- package/dist/index.d.ts +17 -0
- package/dist/index.js +2039 -167
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2040 -169
- package/dist/index.mjs.map +1 -1
- package/dist/utils/errorMessages.d.ts +41 -0
- package/dist/utils/feishuAlarm.d.ts +27 -0
- package/dist/utils/http.d.ts +7 -0
- package/dist/utils/imageValidator.d.ts +67 -0
- package/dist/utils/shipinhao/auth.d.ts +31 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -52,6 +52,7 @@ import { ShipinhaoGetMsgParams } from "./actions/shipinhaoGetMsg";
|
|
|
52
52
|
import { ShipinhaoGetMsgImageParams } from "./actions/shipinhaoGetMsgImage";
|
|
53
53
|
import { ShipinhaoLoginParams } from "./actions/shipinhaoLogin";
|
|
54
54
|
import { type ShipinhaoPublishParams } from "./actions/shipinhaoPublish";
|
|
55
|
+
import { type ShipinhaoPublishVideoParams } from "./actions/shipinhaoPublishVideo";
|
|
55
56
|
import { ShipinhaoSendMsgParams } from "./actions/shipinhaoSendMsg";
|
|
56
57
|
import { type ToutiaoLoginParams } from "./actions/toutiaoLogin";
|
|
57
58
|
import { type ToutiaoPublishParams } from "./actions/toutiaoPublish";
|
|
@@ -73,6 +74,20 @@ export declare const BetaFlag = "HuiwenCanary";
|
|
|
73
74
|
export declare class Action {
|
|
74
75
|
private task;
|
|
75
76
|
constructor(task: AutomateTask);
|
|
77
|
+
/**
|
|
78
|
+
* 【测试专用】获取当前 Action 类的版本标识
|
|
79
|
+
*
|
|
80
|
+
* 用于验证热更新后内存中的 Action 实例是否真的被替换了。
|
|
81
|
+
* 每个版本的 @iflyrpa/actions 包应该返回不同的标识。
|
|
82
|
+
*
|
|
83
|
+
* @returns 包含版本号和时间戳的对象
|
|
84
|
+
*/
|
|
85
|
+
getActionVersionMarker(): {
|
|
86
|
+
version: string;
|
|
87
|
+
shareVersion: string;
|
|
88
|
+
marker: string;
|
|
89
|
+
timestamp: string;
|
|
90
|
+
};
|
|
76
91
|
private bindTask;
|
|
77
92
|
xiaohongshuWebSearch(params: XhsWebSearchParams): Promise<ResponseData<Record<string, unknown>>>;
|
|
78
93
|
xiaohongshuWebCommentAction(params: xiaohongshuWebCommentActionParams): Promise<ResponseData<Record<string, never> | import("./actions/xiaohongshuWebCommentAction").ActionResponse>>;
|
|
@@ -412,6 +427,7 @@ export declare class Action {
|
|
|
412
427
|
douyinCheckVerifyQrCode(params: DouyinCheckVerifyQrCodeParams): Promise<ResponseData<import(".").QrCodeCheckResult>>;
|
|
413
428
|
douyinGetVerifyQrCode(params: DouyinGetVerifyQrCodeParams): Promise<ResponseData<import("./actions/douyinGetVerifyQrCode").QrCodeResult>>;
|
|
414
429
|
shipinhaoPublish(params: ShipinhaoPublishParams): Promise<ResponseData<string>>;
|
|
430
|
+
shipinhaoPublishVideo(params: ShipinhaoPublishVideoParams): Promise<ResponseData<string>>;
|
|
415
431
|
douyinGetTopics(params: DouyinGetTopicsParams): Promise<ResponseData<{
|
|
416
432
|
topics: import("./actions/douyinGetTopics").Topic[];
|
|
417
433
|
total: number;
|
|
@@ -508,6 +524,7 @@ export { type ShipinhaoGetLocationParams, ShipinhaoGetLocationParamsSchema } fro
|
|
|
508
524
|
export { type ShipinhaoGetMsgParams, ShipinhaoGetMsgParamsSchema } from "./actions/shipinhaoGetMsg";
|
|
509
525
|
export type { ShipinhaoLoginParams } from "./actions/shipinhaoLogin";
|
|
510
526
|
export { type ShipinhaoPublishParams, ShipinhaoPublishParamsSchema } from "./actions/shipinhaoPublish";
|
|
527
|
+
export { type ShipinhaoPublishVideoParams, ShipinhaoPublishVideoParamsSchema } from "./actions/shipinhaoPublishVideo";
|
|
511
528
|
export { type ShipinhaoSendMsgParams, ShipinhaoSendMsgParamsSchema } from "./actions/shipinhaoSendMsg";
|
|
512
529
|
export { type ToutiaoPublishParams, ToutiaoPublishParamsSchema } from "./actions/toutiaoPublish";
|
|
513
530
|
export { type WeixinPublishParams, WeixinPublishParamsSchema } from "./actions/weixinPublish";
|