@iflyrpa/actions 1.2.25-beta.0 → 1.2.25-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/dist/actions/baijiahaoLogin/index.d.ts +5 -0
  2. package/dist/actions/baijiahaoLogin/rpa-server.d.ts +2 -0
  3. package/dist/actions/baijiahaoLogin/rpa.d.ts +2 -0
  4. package/dist/actions/baijiahaoPublish/index.d.ts +1 -0
  5. package/dist/actions/common/sessionCheck/index.d.ts +56 -8
  6. package/dist/actions/getToutiaoCollection/index.d.ts +40 -0
  7. package/dist/actions/getXhsCollection/index.d.ts +17 -15
  8. package/dist/actions/getXhsGroup/index.d.ts +9 -7
  9. package/dist/actions/getXhsWebUnreadCount/index.d.ts +12 -0
  10. package/dist/actions/searchAccountInfo/getBjhInfo.d.ts +2 -1
  11. package/dist/actions/searchAccountInfo/getTTInfo.d.ts +2 -1
  12. package/dist/actions/searchAccountInfo/getWxInfo.d.ts +2 -1
  13. package/dist/actions/searchAccountInfo/getXhsInfo.d.ts +4 -3
  14. package/dist/actions/searchAccountInfo/index.d.ts +56 -5
  15. package/dist/actions/searchAccountInfo/types.d.ts +43 -38
  16. package/dist/actions/searchBjhUserArticle/index.d.ts +7 -0
  17. package/dist/actions/searchPublishInfo/handleBjhData.d.ts +4 -3
  18. package/dist/actions/searchPublishInfo/handleTTData.d.ts +2 -1
  19. package/dist/actions/searchPublishInfo/handleWXData.d.ts +4 -3
  20. package/dist/actions/searchPublishInfo/handleXhsData.d.ts +4 -3
  21. package/dist/actions/searchPublishInfo/index.d.ts +61 -14
  22. package/dist/actions/searchPublishInfo/types.d.ts +108 -47
  23. package/dist/actions/searchWeixinAccountCard/index.d.ts +18 -0
  24. package/dist/actions/searchWeixinUserArticle/index.d.ts +8 -0
  25. package/dist/actions/searchXhsWebConnections/index.d.ts +36 -0
  26. package/dist/actions/searchXhsWebLike/index.d.ts +73 -0
  27. package/dist/actions/searchXhsWebMentions/index.d.ts +72 -0
  28. package/dist/actions/searchXiaohongshuUserArticle/index.d.ts +7 -0
  29. package/dist/actions/toutiaoLogin/index.d.ts +5 -0
  30. package/dist/actions/toutiaoLogin/rpa-server.d.ts +2 -0
  31. package/dist/actions/toutiaoLogin/rpa.d.ts +2 -0
  32. package/dist/actions/toutiaoPublish/index.d.ts +1 -0
  33. package/dist/actions/weixinLogin/index.d.ts +5 -0
  34. package/dist/actions/weixinLogin/rpa-server.d.ts +2 -0
  35. package/dist/actions/weixinLogin/rpa.d.ts +2 -0
  36. package/dist/actions/weixinPublish/index.d.ts +2 -1
  37. package/dist/actions/xiaohongshuLogin/index.d.ts +5 -0
  38. package/dist/actions/xiaohongshuLogin/rpa-server.d.ts +2 -0
  39. package/dist/actions/xiaohongshuLogin/rpa.d.ts +2 -0
  40. package/dist/actions/xiaohongshuLogin/utils.d.ts +1 -0
  41. package/dist/actions/xiaohongshuPublish/index.d.ts +129 -35
  42. package/dist/actions/xiaohongshuPublish/mock.d.ts +1 -1
  43. package/dist/actions/xiaohongshuPublish/rpa-server-mock.d.ts +2 -0
  44. package/dist/actions/xiaohongshuPublish/rpa-server.d.ts +2 -0
  45. package/dist/actions/xiaohongshuWebCommentAction/index.d.ts +14 -0
  46. package/dist/actions/xiaohongshuWebIntimacySearch/index.d.ts +13 -0
  47. package/dist/actions/xiaohongshuWebMsgRead/index.d.ts +12 -0
  48. package/dist/actions/xiaohongshuWebMsgReply/index.d.ts +47 -0
  49. package/dist/actions/xiaohongshuWebNoteFeed/index.d.ts +19 -0
  50. package/dist/actions/xiaohongshuWebRelationAction/index.d.ts +17 -0
  51. package/dist/actions/xiaohongshuWebSearch/index.d.ts +62 -0
  52. package/dist/bundle.js +22647 -9012
  53. package/dist/bundle.js.map +1 -1
  54. package/dist/index.d.ts +187 -14
  55. package/dist/index.js +11100 -3326
  56. package/dist/index.js.map +1 -1
  57. package/dist/index.mjs +11013 -3258
  58. package/dist/index.mjs.map +1 -1
  59. package/dist/types.d.ts +80 -15
  60. package/dist/utils/http.d.ts +8 -3
  61. package/dist/utils/index.d.ts +2 -2
  62. package/dist/utils/proxy.d.ts +8 -1
  63. package/dist/utils/xhsXsEncrypt.d.ts +201 -17
  64. package/dist/utils/xhs_ob/index.d.ts +5 -0
  65. package/dist/utils/xhs_ob/mnsvc2.d.ts +7 -0
  66. package/package.json +6 -3
@@ -0,0 +1,13 @@
1
+ import { type CommonAction } from "@iflyrpa/share";
2
+ import type { ActiomCommonParams } from "../../types";
3
+ export interface searchXhsWebIntimacyListParams extends ActiomCommonParams {
4
+ searchValue?: string;
5
+ }
6
+ export interface Intimacy {
7
+ images: string;
8
+ rid: string;
9
+ userid: string;
10
+ nickname: string;
11
+ }
12
+ export type PublishAction = CommonAction<searchXhsWebIntimacyListParams, Intimacy[] | []>;
13
+ export declare const xiaohongshuWebIntimacySearch: PublishAction;
@@ -0,0 +1,12 @@
1
+ import { type CommonAction } from "@iflyrpa/share";
2
+ import type { ActiomCommonParams } from "../../types";
3
+ export interface xiaohongshuWebMsgReadParams extends ActiomCommonParams {
4
+ type: "mentions" | "likes" | "connections";
5
+ }
6
+ export interface ReadResponse {
7
+ code: number;
8
+ success: boolean;
9
+ msg: string;
10
+ }
11
+ export type PublishAction = CommonAction<xiaohongshuWebMsgReadParams, ReadResponse | Record<string, never>>;
12
+ export declare const xiaohongshuWebMsgRead: PublishAction;
@@ -0,0 +1,47 @@
1
+ import { type CommonAction } from "@iflyrpa/share";
2
+ import type { ActiomCommonParams } from "../../types";
3
+ export interface xiaohongshuWebMsgReplyParams extends ActiomCommonParams {
4
+ at_users?: {
5
+ user_id: string;
6
+ nickname: string;
7
+ }[];
8
+ note_id: string;
9
+ target_comment_id: string;
10
+ content: string;
11
+ }
12
+ export interface ReplyResponse {
13
+ code: number;
14
+ success: boolean;
15
+ msg: string;
16
+ data: ReplyDataDetail;
17
+ }
18
+ export interface ReplyDataDetail {
19
+ time: number;
20
+ toast: string;
21
+ comment: {
22
+ id: string;
23
+ note_id: string;
24
+ status: number;
25
+ content: string;
26
+ liked: boolean;
27
+ like_count: string;
28
+ show_tags: string[];
29
+ ip_location: string;
30
+ target_comment: {
31
+ id: string;
32
+ user_info: {
33
+ user_id: string;
34
+ nickname: string;
35
+ image: string;
36
+ };
37
+ };
38
+ user_info: {
39
+ nickname: string;
40
+ image: string;
41
+ user_id: string;
42
+ };
43
+ create_time: number;
44
+ };
45
+ }
46
+ export type PublishAction = CommonAction<xiaohongshuWebMsgReplyParams, ReplyDataDetail | Record<string, never>>;
47
+ export declare const xiaohongshuWebMsgReply: PublishAction;
@@ -0,0 +1,19 @@
1
+ import { type CommonAction } from "@iflyrpa/share";
2
+ import type { ActiomCommonParams } from "../../types";
3
+ export interface xiaohongshuWebNoteFeedParams extends ActiomCommonParams {
4
+ source_note_id: string;
5
+ xsec_token: string;
6
+ }
7
+ export interface FeedResponse {
8
+ code: number;
9
+ success: boolean;
10
+ msg: string;
11
+ data: {
12
+ items: FeedRespomseDetail[];
13
+ } | null;
14
+ }
15
+ export interface FeedRespomseDetail {
16
+ note_card: Record<string, unknown>;
17
+ }
18
+ export type PublishAction = CommonAction<xiaohongshuWebNoteFeedParams, FeedRespomseDetail[] | Record<string, unknown>>;
19
+ export declare const xiaohongshuWebNoteFeed: PublishAction;
@@ -0,0 +1,17 @@
1
+ import { type CommonAction } from "@iflyrpa/share";
2
+ import type { ActiomCommonParams } from "../../types";
3
+ export interface xiaohongshuWebRelationParams extends ActiomCommonParams {
4
+ action: "follow" | "unfollow";
5
+ target_user_id: string;
6
+ }
7
+ export interface RelationResponse {
8
+ code: number;
9
+ success: boolean;
10
+ msg: string;
11
+ data: RelationDetail;
12
+ }
13
+ export interface RelationDetail {
14
+ fstatus: string | null;
15
+ }
16
+ export type PublishAction = CommonAction<xiaohongshuWebRelationParams, RelationDetail | Record<string, never>>;
17
+ export declare const xiaohongshuWebRelationAction: PublishAction;
@@ -0,0 +1,62 @@
1
+ import { type CommonAction } from "@iflyrpa/share";
2
+ import type { ActiomCommonParams } from "../../types";
3
+ export interface XhsWebSearchParams extends ActiomCommonParams {
4
+ keyword: string;
5
+ page: number;
6
+ page_size: number;
7
+ sort_type: "general" | "time_descending" | "popular_descending";
8
+ time_filter: "不限" | "一周内";
9
+ }
10
+ export interface SearchResponse {
11
+ code: number;
12
+ success: boolean;
13
+ msg: string;
14
+ data: {
15
+ has_more: boolean;
16
+ item: NoteDetail[];
17
+ };
18
+ }
19
+ export interface NoteDetail {
20
+ xsec_token: string;
21
+ id: string;
22
+ model_type: string;
23
+ note_card: {
24
+ type: string;
25
+ display_title: string;
26
+ user: {
27
+ nick_name: string;
28
+ avatar: string;
29
+ user_id: string;
30
+ nickname: string;
31
+ xsec_token: string;
32
+ };
33
+ interact_info: {
34
+ shared_count: string;
35
+ liked: boolean;
36
+ liked_count: string;
37
+ collected: boolean;
38
+ collected_count: string;
39
+ comment_count: string;
40
+ };
41
+ cover: {
42
+ height: number;
43
+ width: number;
44
+ url_default: string;
45
+ url_pre: string;
46
+ };
47
+ image_list: Array<{
48
+ height: number;
49
+ width: number;
50
+ info_list: Array<{
51
+ image_scene: string;
52
+ url: string;
53
+ }>;
54
+ }>;
55
+ corner_tag_info: Array<{
56
+ type: string;
57
+ text: string;
58
+ }>;
59
+ };
60
+ }
61
+ export type PublishAction = CommonAction<XhsWebSearchParams, Record<string, unknown>>;
62
+ export declare const xiaohongshuWebSearch: PublishAction;