@iflyrpa/actions 1.2.11 → 1.2.12
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/baijiahaoPublish/index.d.ts +7 -1
- package/dist/actions/common/FansTool/index.d.ts +19 -0
- package/dist/actions/getBaijiaohaoConfig/index.d.ts +13 -0
- package/dist/actions/searchToutiaoLocation/index.d.ts +7 -0
- package/dist/actions/searchToutiaoUserID/index.d.ts +7 -0
- package/dist/actions/toutiaoPublish/index.d.ts +16 -0
- package/dist/actions/weixinPublish/index.d.ts +1 -0
- package/dist/bundle.js +1619 -80
- package/dist/bundle.js.map +1 -1
- package/dist/index.d.ts +15 -1
- package/dist/index.js +4353 -2801
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1631 -80
- package/dist/index.mjs.map +1 -1
- package/dist/types.d.ts +35 -5
- package/dist/utils/index.d.ts +9 -0
- package/package.json +1 -1
|
@@ -17,9 +17,15 @@ export interface BaijiahaoPublishParams extends ActiomCommonParams {
|
|
|
17
17
|
baijiahaoIsAi: string[];
|
|
18
18
|
baijiahaoSingleCover: string;
|
|
19
19
|
baijiahaoMultCover: string[];
|
|
20
|
-
baijiahaoVerticalCover
|
|
20
|
+
baijiahaoVerticalCover?: string;
|
|
21
21
|
baijiahaoActivity: ActivityData[];
|
|
22
|
+
baijiahaoPublishConf?: {
|
|
23
|
+
confName: string;
|
|
24
|
+
isChecked: boolean;
|
|
25
|
+
}[];
|
|
26
|
+
baijiahaoEvent2News: boolean;
|
|
22
27
|
baijiahaoSelectActivityCache: string[];
|
|
28
|
+
timer?: number;
|
|
23
29
|
};
|
|
24
30
|
}
|
|
25
31
|
export type PublishAction = CommonAction<BaijiahaoPublishParams, string>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { type CommonAction } from "@iflyrpa/share";
|
|
2
|
+
import type { ActiomCommonParams, Toutiao, Xiaohongshu, Weixin, BaiJiaHao } from "../../../types";
|
|
3
|
+
export interface GetTTFansSearchParams extends ActiomCommonParams {
|
|
4
|
+
}
|
|
5
|
+
export type ttSearchAction = CommonAction<GetTTFansSearchParams, Toutiao.FansCount>;
|
|
6
|
+
export interface GetXhsFansSearchParams extends ActiomCommonParams {
|
|
7
|
+
}
|
|
8
|
+
export type xhsSearchAction = CommonAction<GetXhsFansSearchParams, Xiaohongshu.FansCount>;
|
|
9
|
+
export interface GetWxFansSearchParams extends ActiomCommonParams {
|
|
10
|
+
token: string | number;
|
|
11
|
+
}
|
|
12
|
+
export type wxSearchAction = CommonAction<GetWxFansSearchParams, Weixin.FansCount>;
|
|
13
|
+
export interface GetBjhFansSearchParams extends ActiomCommonParams {
|
|
14
|
+
}
|
|
15
|
+
export type bjhSearchAction = CommonAction<GetBjhFansSearchParams, BaiJiaHao.FansCount>;
|
|
16
|
+
export declare const TTFansExport: ttSearchAction;
|
|
17
|
+
export declare const XhsFansExport: xhsSearchAction;
|
|
18
|
+
export declare const WxFansExport: wxSearchAction;
|
|
19
|
+
export declare const BjhFansExport: bjhSearchAction;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type CommonAction } from "@iflyrpa/share";
|
|
2
|
+
import type { ActiomCommonParams } from "../../types";
|
|
3
|
+
export interface GetBaijiahaoConfigParams extends ActiomCommonParams {
|
|
4
|
+
token: string;
|
|
5
|
+
}
|
|
6
|
+
export interface ConfigData {
|
|
7
|
+
id: string;
|
|
8
|
+
name: string;
|
|
9
|
+
detail: string;
|
|
10
|
+
is_enable: number;
|
|
11
|
+
}
|
|
12
|
+
export type PublishAction = CommonAction<GetBaijiahaoConfigParams, ConfigData[]>;
|
|
13
|
+
export declare const getBaijiahaoConfig: PublishAction;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type CommonAction } from "@iflyrpa/share";
|
|
2
|
+
import type { ActiomCommonParams, Toutiao } from "../../types";
|
|
3
|
+
export interface SearchToutiaoLocationParams extends ActiomCommonParams {
|
|
4
|
+
placeName: string;
|
|
5
|
+
}
|
|
6
|
+
export type PublishAction = CommonAction<SearchToutiaoLocationParams, Toutiao.CityPoi[]>;
|
|
7
|
+
export declare const searchToutiaoLocation: PublishAction;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type CommonAction } from "@iflyrpa/share";
|
|
2
|
+
import type { ActiomCommonParams, Toutiao } from "../../types";
|
|
3
|
+
export interface SearchToutiaoUserIDParams extends ActiomCommonParams {
|
|
4
|
+
UserName: string;
|
|
5
|
+
}
|
|
6
|
+
export type PublishAction = CommonAction<SearchToutiaoUserIDParams, Toutiao.SuggestWords[]>;
|
|
7
|
+
export declare const searchToutiaoUserInfo: PublishAction;
|
|
@@ -12,6 +12,21 @@ export interface ToutiaoPublishParams extends ActiomCommonParams {
|
|
|
12
12
|
toutiaoMultCover: string[];
|
|
13
13
|
toutiaoAd: string;
|
|
14
14
|
toutiaoOriginal: string;
|
|
15
|
+
toutiaoExclusive?: number;
|
|
16
|
+
toutiaoClaim?: {
|
|
17
|
+
type: number;
|
|
18
|
+
source_author_uid?: string;
|
|
19
|
+
source_author_name?: string;
|
|
20
|
+
time_format?: string;
|
|
21
|
+
position?: {
|
|
22
|
+
position: string;
|
|
23
|
+
city: string;
|
|
24
|
+
longitude: number;
|
|
25
|
+
latitude: number;
|
|
26
|
+
type_code: string;
|
|
27
|
+
poi_id: string;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
15
30
|
toutiaoLocation?: {
|
|
16
31
|
label: string;
|
|
17
32
|
value: string;
|
|
@@ -23,6 +38,7 @@ export interface ToutiaoPublishParams extends ActiomCommonParams {
|
|
|
23
38
|
}[];
|
|
24
39
|
cntWord: number;
|
|
25
40
|
subTitles: string[];
|
|
41
|
+
timer?: number;
|
|
26
42
|
};
|
|
27
43
|
}
|
|
28
44
|
export declare const COVER_TYPE: Record<CoverType, number>;
|