@iflyrpa/actions 1.2.25-beta.4 → 1.2.25-beta.5
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/common/FansTool/index.d.ts +1 -1
- package/dist/actions/common/sessionCheck/index.d.ts +4 -28
- package/dist/actions/getBaijiaohaoConfig/index.d.ts +9 -7
- package/dist/actions/getXhsCollection/index.d.ts +11 -17
- package/dist/actions/getXhsGroup/index.d.ts +1 -1
- package/dist/actions/getXhsWebUnreadCount/index.d.ts +1 -1
- package/dist/actions/searchAccountInfo/getBjhInfo.d.ts +1 -1
- package/dist/actions/searchAccountInfo/getTTInfo.d.ts +1 -1
- package/dist/actions/searchAccountInfo/getWxInfo.d.ts +1 -1
- package/dist/actions/searchAccountInfo/getXhsInfo.d.ts +1 -1
- package/dist/actions/searchAccountInfo/index.d.ts +4 -28
- package/dist/actions/searchAccountInfo/types.d.ts +1 -1
- package/dist/actions/searchPublishInfo/handleBjhData.d.ts +1 -1
- package/dist/actions/searchPublishInfo/handleTTData.d.ts +1 -1
- package/dist/actions/searchPublishInfo/handleXhsData.d.ts +1 -1
- package/dist/actions/searchPublishInfo/index.d.ts +4 -28
- package/dist/actions/searchPublishInfo/types.d.ts +1 -1
- package/dist/actions/weixinPublish/index.d.ts +1 -1
- package/dist/actions/xiaohongshuPublish/index.d.ts +19 -47
- package/dist/bundle.js +24595 -24607
- package/dist/bundle.js.map +1 -1
- package/dist/index.d.ts +45 -40
- package/dist/index.js +11142 -11123
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9020 -9002
- package/dist/index.mjs.map +1 -1
- package/dist/types.d.ts +3 -27
- package/dist/utils/http.d.ts +1 -4
- package/dist/utils/proxy.d.ts +1 -1
- package/package.json +2 -2
- package/dist/actions/xiaohongshuLogin/utils.d.ts +0 -1
package/dist/types.d.ts
CHANGED
|
@@ -9,38 +9,14 @@ declare module "axios" {
|
|
|
9
9
|
export declare const ActionCommonParamsSchema: z.ZodObject<{
|
|
10
10
|
url: z.ZodOptional<z.ZodString>;
|
|
11
11
|
cookies: z.ZodArray<z.ZodObject<{
|
|
12
|
+
name: z.ZodString;
|
|
13
|
+
value: z.ZodString;
|
|
12
14
|
domain: z.ZodOptional<z.ZodString>;
|
|
13
15
|
path: z.ZodOptional<z.ZodString>;
|
|
14
16
|
expires: z.ZodOptional<z.ZodNumber>;
|
|
15
17
|
httpOnly: z.ZodOptional<z.ZodBoolean>;
|
|
16
18
|
secure: z.ZodOptional<z.ZodBoolean>;
|
|
17
|
-
|
|
18
|
-
name: z.ZodString;
|
|
19
|
-
value: z.ZodString;
|
|
20
|
-
url: z.ZodOptional<z.ZodString>;
|
|
21
|
-
sameSite: z.ZodOptional<z.ZodEnum<{
|
|
22
|
-
Strict: "Strict";
|
|
23
|
-
Lax: "Lax";
|
|
24
|
-
None: "None";
|
|
25
|
-
}>>;
|
|
26
|
-
size: z.ZodOptional<z.ZodNumber>;
|
|
27
|
-
partitionKey: z.ZodOptional<z.ZodObject<{
|
|
28
|
-
topLevelSite: z.ZodString;
|
|
29
|
-
hasCrossSiteAncestor: z.ZodBoolean;
|
|
30
|
-
}, z.core.$strip>>;
|
|
31
|
-
priority: z.ZodOptional<z.ZodEnum<{
|
|
32
|
-
Low: "Low";
|
|
33
|
-
Medium: "Medium";
|
|
34
|
-
High: "High";
|
|
35
|
-
}>>;
|
|
36
|
-
sameParty: z.ZodOptional<z.ZodBoolean>;
|
|
37
|
-
sourceScheme: z.ZodOptional<z.ZodEnum<{
|
|
38
|
-
Unset: "Unset";
|
|
39
|
-
NonSecure: "NonSecure";
|
|
40
|
-
Secure: "Secure";
|
|
41
|
-
}>>;
|
|
42
|
-
sourcePort: z.ZodOptional<z.ZodNumber>;
|
|
43
|
-
}, z.core.$strip>>;
|
|
19
|
+
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
44
20
|
actionType: z.ZodOptional<z.ZodEnum<{
|
|
45
21
|
mockApi: "mockApi";
|
|
46
22
|
rpa: "rpa";
|
package/dist/utils/http.d.ts
CHANGED
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import type { LoggerImplement, ResponseData } from "@iflyrpa/share";
|
|
2
|
-
import { type
|
|
2
|
+
import { type AxiosRequestConfig, type AxiosResponse, type CreateAxiosDefaults } from "axios";
|
|
3
3
|
export declare class Http {
|
|
4
4
|
private readonly apiClient;
|
|
5
|
-
private readonly adr?;
|
|
6
|
-
private readonly ip?;
|
|
7
|
-
private readonly accountId?;
|
|
8
5
|
logger?: LoggerImplement;
|
|
9
6
|
proxyInfo?: string;
|
|
10
7
|
private readonly agentPromise?;
|
package/dist/utils/proxy.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { HttpsProxyAgent } from "https-proxy-agent";
|
|
2
1
|
import { LoggerImplement } from "@iflyrpa/share";
|
|
2
|
+
import { HttpsProxyAgent } from "https-proxy-agent";
|
|
3
3
|
export declare function ProxyAgent(this: {
|
|
4
4
|
logger?: LoggerImplement;
|
|
5
5
|
}, ip: string, adr?: string | null, accountId?: number, refresh?: boolean): Promise<{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@iflyrpa/actions",
|
|
3
|
-
"version": "1.2.25-beta.
|
|
3
|
+
"version": "1.2.25-beta.5",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"module": "./dist/index.mjs",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"mime-types": "^2.1.35",
|
|
19
19
|
"node-fetch": "^2.7.0",
|
|
20
20
|
"playwright-core": "^1.46.1",
|
|
21
|
-
"@iflyrpa/share": "0.0.15-beta.
|
|
21
|
+
"@iflyrpa/share": "0.0.15-beta.5"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@rslib/core": "^0.4.1",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function encode_mnsv2(mnsv2: string, platform: "Windows" | "Linux" | "PC", req_type: "object" | ""): string;
|